/linux/block/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | genhd.c | 746 bdev->bd_mapping->wb_err = 0; in invalidate_disk()
|
/linux/fs/ |
H A 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/drivers/scsi/ |
H A D | scsicam.c | 35 struct address_space *mapping = bdev_whole(dev)->bd_mapping; in scsi_bios_ptable()
|
/linux/include/linux/ |
H A 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()
|
H A D | blk_types.h | 58 struct address_space *bd_mapping; /* page cache */ member
|
H A 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/fs/erofs/ |
H A D | data.c | 69 buf->mapping = sb->s_bdev->bd_mapping; in erofs_init_metabuf()
|
/linux/block/partitions/ |
H A D | core.c | 706 struct address_space *mapping = state->disk->part0->bd_mapping; in read_part_sector()
|
/linux/fs/ext4/ |
H A D | dir.c | 196 sb->s_bdev->bd_mapping, in ext4_readdir()
|
H A 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/fs/cramfs/ |
H A D | inode.c | 186 struct address_space *mapping = sb->s_bdev->bd_mapping; in cramfs_blkdev_read()
|
/linux/fs/btrfs/ |
H A 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()
|
H A D | zoned.c | 120 struct address_space *mapping = bdev->bd_mapping; in sb_write_pointer()
|
H A D | volumes.c | 1296 page = read_cache_page_gfp(bdev->bd_mapping, index, GFP_KERNEL); in btrfs_read_disk_super()
|
/linux/fs/f2fs/ |
H A 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/fs/gfs2/ |
H A D | ops_fstype.c | 116 mapping->host = sb->s_bdev->bd_mapping->host; in init_sbd()
|
H A D | glock.c | 1243 mapping->host = s->s_bdev->bd_mapping->host; in gfs2_glock_get()
|
/linux/fs/jbd2/ |
H A D | journal.c | 2015 truncate_inode_pages_range(journal->j_dev->bd_mapping, in __jbd2_journal_erase()
|
/linux/drivers/md/bcache/ |
H A D | super.c | 174 page = read_cache_page_gfp(bdev->bd_mapping, in read_super()
|