/linux-6.3-rc2/block/ |
A D | bdev.c | 51 struct inode *inode = bdev->bd_inode; in bdev_write_inode() 70 struct address_space *mapping = bdev->bd_inode->i_mapping; in kill_bdev() 128 loff_t size = i_size_read(bdev->bd_inode); in set_init_blocksize() 135 bdev->bd_inode->i_blkbits = blksize_bits(bsize); in set_init_blocksize() 149 if (bdev->bd_inode->i_blkbits != blksize_bits(size)) { in set_blocksize() 151 bdev->bd_inode->i_blkbits = blksize_bits(size); in set_blocksize() 186 return filemap_flush(bdev->bd_inode->i_mapping); in sync_blockdev_nowait() 419 bdev->bd_inode = inode; in bdev_alloc() 433 bdev->bd_inode->i_rdev = dev; in bdev_add() 434 bdev->bd_inode->i_ino = dev; in bdev_add() [all …]
|
A D | fops.c | 442 struct inode *bd_inode = bdev_file_inode(file); in blkdev_llseek() local 445 inode_lock(bd_inode); in blkdev_llseek() 446 retval = fixed_size_llseek(file, offset, whence, i_size_read(bd_inode)); in blkdev_llseek() 447 inode_unlock(bd_inode); in blkdev_llseek() 498 filp->f_mapping = bdev->bd_inode->i_mapping; in blkdev_open() 521 struct inode *bd_inode = bdev->bd_inode; in blkdev_write_iter() local 530 if (IS_SWAPFILE(bd_inode) && !is_hibernate_resume_dev(bd_inode->i_rdev)) in blkdev_write_iter()
|
A D | ioctl.c | 90 struct inode *inode = bdev->bd_inode; in blk_ioctl_discard() 144 filemap_invalidate_lock(bdev->bd_inode->i_mapping); in blk_ioctl_secure_erase() 149 filemap_invalidate_unlock(bdev->bd_inode->i_mapping); in blk_ioctl_secure_erase() 159 struct inode *inode = bdev->bd_inode; in blk_ioctl_zeroout()
|
A D | genhd.c | 63 i_size_write(bdev->bd_inode, (loff_t)sectors << SECTOR_SHIFT); in set_capacity() 622 remove_inode_hash(disk->part0->bd_inode); in del_gendisk() 713 bdev->bd_inode->i_mapping->wb_err = 0; in invalidate_disk() 1207 iput(disk->part0->bd_inode); /* frees the disk */ in disk_release() 1426 iput(disk->part0->bd_inode); in __alloc_disk_node()
|
A D | blk-zoned.c | 410 filemap_invalidate_lock(bdev->bd_inode->i_mapping); in blkdev_zone_mgmt_ioctl() 433 filemap_invalidate_unlock(bdev->bd_inode->i_mapping); in blkdev_zone_mgmt_ioctl()
|
/linux-6.3-rc2/drivers/mtd/devices/ |
A D | block2mtd.c | 58 struct address_space *mapping = dev->blkdev->bd_inode->i_mapping; in _block2mtd_erase() 120 page = page_read(dev->blkdev->bd_inode->i_mapping, index); in block2mtd_read() 142 struct address_space *mapping = dev->blkdev->bd_inode->i_mapping; in _block2mtd_write() 210 invalidate_mapping_pages(dev->blkdev->bd_inode->i_mapping, in block2mtd_free_device() 275 if ((long)dev->blkdev->bd_inode->i_size % erase_size) { in add_device() 293 dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK; in add_device()
|
/linux-6.3-rc2/block/partitions/ |
A D | core.c | 91 i_size_write(bdev->bd_inode, (loff_t)sectors << SECTOR_SHIFT); in bdev_set_nr_sectors() 254 iput(dev_to_bdev(dev)->bd_inode); in part_release() 289 remove_inode_hash(part->bd_inode); in delete_partition() 709 struct address_space *mapping = state->disk->part0->bd_inode->i_mapping; in read_part_sector()
|
/linux-6.3-rc2/fs/ |
A D | buffer.c | 192 struct inode *bd_inode = bdev->bd_inode; in __find_get_block_slow() local 193 struct address_space *bd_mapping = bd_inode->i_mapping; in __find_get_block_slow() 202 index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in __find_get_block_slow() 236 1 << bd_inode->i_blkbits); in __find_get_block_slow() 972 struct inode *inode = bdev->bd_inode; in grow_dev_page() 1633 struct inode *bd_inode = bdev->bd_inode; in clean_bdev_aliases() local 1634 struct address_space *bd_mapping = bd_inode->i_mapping; in clean_bdev_aliases() 1636 pgoff_t index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in clean_bdev_aliases() 1642 end = (block + len - 1) >> (PAGE_SHIFT - bd_inode->i_blkbits); in clean_bdev_aliases()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | scsicam.c | 35 struct address_space *mapping = bdev_whole(dev)->bd_inode->i_mapping; in scsi_bios_ptable()
|
/linux-6.3-rc2/include/linux/ |
A D | blk_types.h | 48 struct inode * bd_inode; /* will die */ member
|
A D | blkdev.h | 209 return !inode_unhashed(disk->part0->bd_inode); in disk_live() 1361 return 1 << bdev->bd_inode->i_blkbits; in block_size()
|
/linux-6.3-rc2/fs/ext4/ |
A D | ext4_jbd2.c | 208 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in ext4_check_bdev_write_error()
|
A D | dir.c | 195 sb->s_bdev->bd_inode->i_mapping, in ext4_readdir()
|
A D | super.c | 446 struct inode *bd_inode = sb->s_bdev->bd_inode; in block_device_ejected() local 447 struct backing_dev_info *bdi = inode_to_bdi(bd_inode); in block_device_ejected() 5505 errseq_check_and_advance(&sb->s_bdev->bd_inode->i_mapping->wb_err, in __ext4_fill_super()
|
/linux-6.3-rc2/fs/erofs/ |
A D | data.c | 73 return erofs_bread(buf, sb->s_bdev->bd_inode, blkaddr, type); in erofs_read_metabuf()
|
/linux-6.3-rc2/drivers/s390/block/ |
A D | dasd_ioctl.c | 223 block->gdp->part0->bd_inode->i_blkbits = in dasd_format()
|
/linux-6.3-rc2/fs/cramfs/ |
A D | inode.c | 185 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in cramfs_blkdev_read()
|
/linux-6.3-rc2/drivers/block/xen-blkback/ |
A D | xenbus.c | 107 invalidate_inode_pages2(blkif->vbd.bdev->bd_inode->i_mapping); in xen_update_blkif_status()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | disk-io.c | 3826 struct address_space *mapping = bdev->bd_inode->i_mapping; in btrfs_read_dev_one_super() 3913 struct address_space *mapping = device->bdev->bd_inode->i_mapping; in write_dev_supers() 4032 page = find_get_page(device->bdev->bd_inode->i_mapping, in wait_dev_supers()
|
A D | zoned.c | 119 struct address_space *mapping = bdev->bd_inode->i_mapping; in sb_write_pointer()
|
A D | check-integrity.c | 713 struct address_space *mapping = superblock_bdev->bd_inode->i_mapping; in btrfsic_process_superblock_dev_mirror()
|
/linux-6.3-rc2/fs/gfs2/ |
A D | ops_fstype.c | 117 mapping->host = sb->s_bdev->bd_inode; in init_sbd()
|
A D | glock.c | 1213 mapping->host = s->s_bdev->bd_inode; in gfs2_glock_get()
|
/linux-6.3-rc2/fs/jbd2/ |
A D | journal.c | 1829 truncate_inode_pages_range(journal->j_dev->bd_inode->i_mapping, in __jbd2_journal_erase()
|
/linux-6.3-rc2/drivers/md/bcache/ |
A D | super.c | 174 page = read_cache_page_gfp(bdev->bd_inode->i_mapping, in read_super()
|