/linux-6.12.1/block/ |
D | bdev.c | 85 struct address_space *mapping = bdev->bd_mapping; in kill_bdev() 97 struct address_space *mapping = bdev->bd_mapping; in invalidate_bdev() 125 truncate_inode_pages_range(bdev->bd_mapping, lstart, lend); in truncate_bdev_range() 135 return invalidate_inode_pages2_range(bdev->bd_mapping, in truncate_bdev_range() 207 return filemap_flush(bdev->bd_mapping); in sync_blockdev_nowait() 219 return filemap_write_and_wait(bdev->bd_mapping); in sync_blockdev() 225 return filemap_write_and_wait_range(bdev->bd_mapping, in sync_blockdev_range() 433 bdev->bd_mapping = &inode->i_data; in bdev_alloc() 458 mapping_set_stable_writes(bdev->bd_mapping); in bdev_add() 948 bdev_file->f_mapping = bdev->bd_mapping; in bdev_open()
|
D | ioctl.c | 144 filemap_invalidate_lock(bdev->bd_mapping); in blk_ioctl_discard() 175 filemap_invalidate_unlock(bdev->bd_mapping); in blk_ioctl_discard() 201 filemap_invalidate_lock(bdev->bd_mapping); in blk_ioctl_secure_erase() 206 filemap_invalidate_unlock(bdev->bd_mapping); in blk_ioctl_secure_erase() 238 filemap_invalidate_lock(bdev->bd_mapping); in blk_ioctl_zeroout() 247 filemap_invalidate_unlock(bdev->bd_mapping); in blk_ioctl_zeroout() 803 err = filemap_invalidate_pages(bdev->bd_mapping, start, in blkdev_cmd_discard()
|
D | blk-zoned.c | 324 filemap_invalidate_lock(bdev->bd_mapping); in blkdev_zone_mgmt_ioctl() 346 filemap_invalidate_unlock(bdev->bd_mapping); in blkdev_zone_mgmt_ioctl()
|
D | genhd.c | 746 bdev->bd_mapping->wb_err = 0; in invalidate_disk()
|
/linux-6.12.1/fs/ |
D | buffer.c | 192 struct address_space *bd_mapping = bdev->bd_mapping; in __find_get_block_slow() local 193 const int blkbits = bd_mapping->host->i_blkbits; in __find_get_block_slow() 203 folio = __filemap_get_folio(bd_mapping, index, FGP_ACCESSED, 0); in __find_get_block_slow() 207 spin_lock(&bd_mapping->i_private_lock); in __find_get_block_slow() 239 spin_unlock(&bd_mapping->i_private_lock); in __find_get_block_slow() 1038 struct address_space *mapping = bdev->bd_mapping; in grow_dev_folio() 1483 gfp |= mapping_gfp_constraint(bdev->bd_mapping, ~__GFP_FS); in __bread_gfp() 1716 struct address_space *bd_mapping = bdev->bd_mapping; in clean_bdev_aliases() local 1717 const int blkbits = bd_mapping->host->i_blkbits; in clean_bdev_aliases() 1727 while (filemap_get_folios(bd_mapping, &index, end, &fbatch)) { in clean_bdev_aliases()
|
/linux-6.12.1/drivers/scsi/ |
D | scsicam.c | 35 struct address_space *mapping = bdev_whole(dev)->bd_mapping; in scsi_bios_ptable()
|
/linux-6.12.1/include/linux/ |
D | buffer_head.h | 366 gfp = mapping_gfp_constraint(bdev->bd_mapping, ~__GFP_FS); in getblk_unmovable() 377 gfp = mapping_gfp_constraint(bdev->bd_mapping, ~__GFP_FS); in __getblk()
|
D | blk_types.h | 58 struct address_space *bd_mapping; /* page cache */ member
|
D | jbd2.h | 1709 struct address_space *mapping = journal->j_fs_dev->bd_mapping; in jbd2_init_fs_dev_write_error() 1720 struct address_space *mapping = journal->j_fs_dev->bd_mapping; in jbd2_check_fs_dev_write_error()
|
/linux-6.12.1/fs/ext4/ |
D | ext4_jbd2.c | 209 struct address_space *mapping = sb->s_bdev->bd_mapping; in ext4_check_bdev_write_error()
|
D | dir.c | 196 sb->s_bdev->bd_mapping, in ext4_readdir()
|
D | super.c | 247 gfp_t gfp = mapping_gfp_constraint(sb->s_bdev->bd_mapping, in ext4_sb_bread() 256 gfp_t gfp = mapping_gfp_constraint(sb->s_bdev->bd_mapping, in ext4_sb_bread_unmovable() 5560 errseq_check_and_advance(&sb->s_bdev->bd_mapping->wb_err, in __ext4_fill_super()
|
/linux-6.12.1/fs/erofs/ |
D | data.c | 69 buf->mapping = sb->s_bdev->bd_mapping; in erofs_init_metabuf()
|
/linux-6.12.1/block/partitions/ |
D | core.c | 706 struct address_space *mapping = state->disk->part0->bd_mapping; in read_part_sector()
|
/linux-6.12.1/drivers/s390/block/ |
D | dasd_ioctl.c | 218 block->gdp->part0->bd_mapping->host->i_blkbits = in dasd_format()
|
/linux-6.12.1/fs/cramfs/ |
D | inode.c | 186 struct address_space *mapping = sb->s_bdev->bd_mapping; in cramfs_blkdev_read()
|
/linux-6.12.1/fs/btrfs/ |
D | disk-io.c | 3651 struct address_space *mapping = bdev->bd_mapping; in btrfs_read_dev_one_super() 3738 struct address_space *mapping = device->bdev->bd_mapping; in write_dev_supers() 3856 folio = filemap_get_folio(device->bdev->bd_mapping, in wait_dev_supers()
|
D | zoned.c | 120 struct address_space *mapping = bdev->bd_mapping; in sb_write_pointer()
|
D | volumes.c | 1296 page = read_cache_page_gfp(bdev->bd_mapping, index, GFP_KERNEL); in btrfs_read_disk_super()
|
/linux-6.12.1/fs/f2fs/ |
D | super.c | 3973 folio = read_mapping_folio(sb->s_bdev->bd_mapping, block, NULL); in read_raw_super_block() 4032 folio = read_mapping_folio(sbi->sb->s_bdev->bd_mapping, index, NULL); in f2fs_commit_super() 4044 folio = read_mapping_folio(sbi->sb->s_bdev->bd_mapping, index, NULL); in f2fs_commit_super()
|
/linux-6.12.1/fs/gfs2/ |
D | ops_fstype.c | 116 mapping->host = sb->s_bdev->bd_mapping->host; in init_sbd()
|
D | glock.c | 1243 mapping->host = s->s_bdev->bd_mapping->host; in gfs2_glock_get()
|
/linux-6.12.1/fs/jbd2/ |
D | journal.c | 2015 truncate_inode_pages_range(journal->j_dev->bd_mapping, in __jbd2_journal_erase()
|
/linux-6.12.1/drivers/md/bcache/ |
D | super.c | 174 page = read_cache_page_gfp(bdev->bd_mapping, in read_super()
|