/kernel/linux/linux-5.10/fs/ |
D | block_dev.c | 59 struct inode *inode = bdev->bd_inode; in bdev_write_inode() 80 struct address_space *mapping = bdev->bd_inode->i_mapping; in kill_bdev() 92 struct address_space *mapping = bdev->bd_inode->i_mapping; in invalidate_bdev() 128 truncate_inode_pages_range(bdev->bd_inode->i_mapping, lstart, lend); in truncate_bdev_range() 138 return invalidate_inode_pages2_range(bdev->bd_inode->i_mapping, in truncate_bdev_range() 147 loff_t size = i_size_read(bdev->bd_inode); in set_init_blocksize() 154 bdev->bd_inode->i_blkbits = blksize_bits(bsize); in set_init_blocksize() 168 if (bdev->bd_inode->i_blkbits != blksize_bits(size)) { in set_blocksize() 170 bdev->bd_inode->i_blkbits = blksize_bits(size); in set_blocksize() 529 return filemap_flush(bdev->bd_inode->i_mapping); in __sync_blockdev() [all …]
|
D | sync.c | 88 filemap_fdatawrite(bdev->bd_inode->i_mapping); in fdatawrite_one_bdev() 98 filemap_fdatawait_keep_errors(bdev->bd_inode->i_mapping); in fdatawait_one_bdev()
|
D | buffer.c | 191 struct inode *bd_inode = bdev->bd_inode; in __find_get_block_slow() local 192 struct address_space *bd_mapping = bd_inode->i_mapping; in __find_get_block_slow() 201 index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in __find_get_block_slow() 235 1 << bd_inode->i_blkbits); in __find_get_block_slow() 906 loff_t sz = i_size_read(bdev->bd_inode); in blkdev_max_block() 925 sector_t end_block = blkdev_max_block(I_BDEV(bdev->bd_inode), size); in init_page_buffers() 957 struct inode *inode = bdev->bd_inode; in grow_dev_page() 1608 struct inode *bd_inode = bdev->bd_inode; in clean_bdev_aliases() local 1609 struct address_space *bd_mapping = bd_inode->i_mapping; in clean_bdev_aliases() 1611 pgoff_t index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in clean_bdev_aliases() [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
D | block2mtd.c | 55 struct address_space *mapping = dev->blkdev->bd_inode->i_mapping; in _block2mtd_erase() 117 page = page_read(dev->blkdev->bd_inode->i_mapping, index); in block2mtd_read() 139 struct address_space *mapping = dev->blkdev->bd_inode->i_mapping; in _block2mtd_write() 207 invalidate_mapping_pages(dev->blkdev->bd_inode->i_mapping, in block2mtd_free_device() 272 if ((long)dev->blkdev->bd_inode->i_size % erase_size) { in add_device() 287 dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK; in add_device()
|
/kernel/linux/linux-5.10/fs/pstore/ |
D | blk.c | 300 file.f_mapping = bdev->bd_inode->i_mapping; in psblk_generic_blk_read() 302 file.f_inode = bdev->bd_inode; in psblk_generic_blk_read() 330 file.f_mapping = bdev->bd_inode->i_mapping; in psblk_generic_blk_write() 332 file.f_inode = bdev->bd_inode; in psblk_generic_blk_write() 338 inode_lock(bdev->bd_inode); in psblk_generic_blk_write() 342 inode_unlock(bdev->bd_inode); in psblk_generic_blk_write()
|
/kernel/linux/linux-5.10/block/ |
D | ioctl.c | 143 if (start + len > i_size_read(bdev->bd_inode)) in blk_ioctl_discard() 175 if (end >= (uint64_t)i_size_read(bdev->bd_inode)) in blk_ioctl_zeroout() 610 size = i_size_read(bdev->bd_inode); in blkdev_ioctl() 621 return put_u64(argp, i_size_read(bdev->bd_inode)); in blkdev_ioctl() 681 size = i_size_read(bdev->bd_inode); in compat_blkdev_ioctl() 692 return put_u64(argp, i_size_read(bdev->bd_inode)); in compat_blkdev_ioctl()
|
/kernel/linux/linux-5.10/fs/udf/ |
D | lowlevel.c | 59 lblock = i_size_read(bdev->bd_inode) >> sb->s_blocksize_bits; in udf_get_last_block()
|
/kernel/linux/linux-5.10/block/partitions/ |
D | aix.c | 80 if (!bdev || !bdev->bd_inode) in last_lba() 82 return (bdev->bd_inode->i_size >> 9) - 1ULL; in last_lba()
|
D | efi.c | 136 if (!bdev || !bdev->bd_inode) in last_lba() 138 return div_u64(bdev->bd_inode->i_size, in last_lba() 590 sector_t total_sectors = i_size_read(state->bdev->bd_inode) >> 9; in find_valid_gpt()
|
D | atari.c | 58 hd_size = state->bdev->bd_inode->i_size >> 9; in atari_partition()
|
D | core.c | 353 remove_inode_hash(bdev->bd_inode); in delete_partition() 788 struct address_space *mapping = state->bdev->bd_inode->i_mapping; in read_part_sector()
|
D | acorn.c | 278 nr_sects = (state->bdev->bd_inode->i_size >> 9) - start_sect; in adfspart_check_ADFS()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | raw.c | 90 filp->f_mapping = bdev->bd_inode->i_mapping; in raw_open() 93 bdev->bd_inode->i_mapping; in raw_open()
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | resize.c | 89 VolumeSize = i_size_read(sb->s_bdev->bd_inode) >> sb->s_blocksize_bits; in jfs_extendfs() 202 sbi->direct_inode->i_size = i_size_read(sb->s_bdev->bd_inode); in jfs_extendfs()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-exception-store.h | 171 return i_size_read(bdev->bd_inode) >> SECTOR_SHIFT; in get_dev_size()
|
D | dm-dust.c | 418 sector_t size = i_size_read(dd->dev->bdev->bd_inode) >> SECTOR_SHIFT; in dust_message() 544 ti->len != i_size_read(dev->bdev->bd_inode) >> SECTOR_SHIFT) in dust_prepare_ioctl()
|
D | dm-linear.c | 133 ti->len != i_size_read(dev->bdev->bd_inode) >> SECTOR_SHIFT) in linear_prepare_ioctl()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsicam.c | 35 struct address_space *mapping = dev->bd_contains->bd_inode->i_mapping; in scsi_bios_ptable()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | io-cmd-bdev.c | 81 ns->size = i_size_read(ns->bdev->bd_inode); in nvmet_bdev_ns_enable() 102 ns->size = i_size_read(ns->bdev->bd_inode); in nvmet_bdev_ns_revalidate()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
D | wrapper.c | 134 *size = i_size_read(sb->s_bdev->bd_inode) >> 9; in hfsplus_get_last_session()
|
/kernel/linux/linux-5.10/include/linux/ |
D | blk_types.h | 25 struct inode * bd_inode; /* will die */ member
|
/kernel/linux/linux-5.10/fs/nfs/blocklayout/ |
D | dev.c | 255 d->len = i_size_read(d->bdev->bd_inode); in bl_parse_simple() 370 d->len = i_size_read(d->bdev->bd_inode); in bl_parse_scsi()
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | data.c | 37 struct address_space *const mapping = sb->s_bdev->bd_inode->i_mapping; in erofs_get_meta_page()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | ext4_jbd2.c | 202 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in ext4_check_bdev_write_error()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | loop.c | 1246 bdev->bd_inode->i_mapping->wb_err = 0; in __loop_clr_fd() 1379 if (size_changed && lo->lo_device->bd_inode->i_mapping->nrpages) { in loop_set_status() 1384 lo->lo_device->bd_inode->i_mapping->nrpages); in loop_set_status() 1625 if (lo->lo_device->bd_inode->i_mapping->nrpages) { in loop_set_block_size() 1629 lo->lo_device->bd_inode->i_mapping->nrpages); in loop_set_block_size()
|