Home
last modified time | relevance | path

Searched refs:bd_mapping (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/block/
Dbdev.c85 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()
Dioctl.c144 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()
Dblk-zoned.c324 filemap_invalidate_lock(bdev->bd_mapping); in blkdev_zone_mgmt_ioctl()
346 filemap_invalidate_unlock(bdev->bd_mapping); in blkdev_zone_mgmt_ioctl()
Dgenhd.c746 bdev->bd_mapping->wb_err = 0; in invalidate_disk()
/linux-6.12.1/fs/
Dbuffer.c192 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/
Dscsicam.c35 struct address_space *mapping = bdev_whole(dev)->bd_mapping; in scsi_bios_ptable()
/linux-6.12.1/include/linux/
Dbuffer_head.h366 gfp = mapping_gfp_constraint(bdev->bd_mapping, ~__GFP_FS); in getblk_unmovable()
377 gfp = mapping_gfp_constraint(bdev->bd_mapping, ~__GFP_FS); in __getblk()
Dblk_types.h58 struct address_space *bd_mapping; /* page cache */ member
Djbd2.h1709 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/
Dext4_jbd2.c209 struct address_space *mapping = sb->s_bdev->bd_mapping; in ext4_check_bdev_write_error()
Ddir.c196 sb->s_bdev->bd_mapping, in ext4_readdir()
Dsuper.c247 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/
Ddata.c69 buf->mapping = sb->s_bdev->bd_mapping; in erofs_init_metabuf()
/linux-6.12.1/block/partitions/
Dcore.c706 struct address_space *mapping = state->disk->part0->bd_mapping; in read_part_sector()
/linux-6.12.1/drivers/s390/block/
Ddasd_ioctl.c218 block->gdp->part0->bd_mapping->host->i_blkbits = in dasd_format()
/linux-6.12.1/fs/cramfs/
Dinode.c186 struct address_space *mapping = sb->s_bdev->bd_mapping; in cramfs_blkdev_read()
/linux-6.12.1/fs/btrfs/
Ddisk-io.c3651 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()
Dzoned.c120 struct address_space *mapping = bdev->bd_mapping; in sb_write_pointer()
Dvolumes.c1296 page = read_cache_page_gfp(bdev->bd_mapping, index, GFP_KERNEL); in btrfs_read_disk_super()
/linux-6.12.1/fs/f2fs/
Dsuper.c3973 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/
Dops_fstype.c116 mapping->host = sb->s_bdev->bd_mapping->host; in init_sbd()
Dglock.c1243 mapping->host = s->s_bdev->bd_mapping->host; in gfs2_glock_get()
/linux-6.12.1/fs/jbd2/
Djournal.c2015 truncate_inode_pages_range(journal->j_dev->bd_mapping, in __jbd2_journal_erase()
/linux-6.12.1/drivers/md/bcache/
Dsuper.c174 page = read_cache_page_gfp(bdev->bd_mapping, in read_super()