Home
last modified time | relevance | path

Searched refs:I_BDEV (Results 1 – 10 of 10) sorted by relevance

/linux/block/
H A Dfops.c367 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in blkdev_direct_IO()
391 struct block_device *bdev = I_BDEV(inode); in blkdev_iomap_begin()
414 bh->b_bdev = I_BDEV(inode); in blkdev_get_block()
548 struct block_device *bdev = I_BDEV(filp->f_mapping->host); in blkdev_fsync()
679 struct block_device *bdev = I_BDEV(bd_inode); in blkdev_write_iter()
735 struct block_device *bdev = I_BDEV(iocb->ki_filp->f_mapping->host); in blkdev_read_iter()
786 struct block_device *bdev = I_BDEV(inode); in blkdev_fallocate()
852 if (bdev_read_only(I_BDEV(bd_inode))) in blkdev_mmap()
H A Dbdev.c52 struct block_device *I_BDEV(struct inode *inode) in I_BDEV() function
56 EXPORT_SYMBOL(I_BDEV);
60 return I_BDEV(bdev_file->f_mapping->host); in file_bdev()
156 struct block_device *bdev = I_BDEV(inode); in set_blocksize()
337 struct block_device *bdev = I_BDEV(inode); in bdev_free_inode()
427 bdev = I_BDEV(inode); in bdev_alloc()
1244 bdev = I_BDEV(inode); in sync_bdevs()
H A Dioctl.c529 dev_t dev = I_BDEV(file->f_mapping->host)->bd_dev; in blkdev_bszset()
648 struct block_device *bdev = I_BDEV(file->f_mapping->host); in blkdev_ioctl()
709 struct block_device *bdev = I_BDEV(file->f_mapping->host); in compat_blkdev_ioctl()
841 struct block_device *bdev = I_BDEV(cmd->file->f_mapping->host); in blkdev_uring_cmd()
/linux/drivers/target/
H A Dtarget_core_file.c96 I_BDEV(inode)); in fd_configure_unmap()
155 struct block_device *bdev = I_BDEV(inode); in fd_configure_device()
551 struct block_device *bdev = I_BDEV(inode); in fd_execute_unmap()
/linux/fs/pstore/
H A Dblk.c225 bdev_nr_bytes(I_BDEV(psblk_file->f_mapping->host)); in __register_pstore_blk()
/linux/drivers/block/
H A Dloop.c193 backing_bdev = I_BDEV(inode); in __loop_update_dio()
561 l = I_BDEV(f->f_mapping->host)->bd_disk->private_data; in loop_validate_file()
788 struct block_device *bdev = I_BDEV(inode); in loop_get_discard_config()
989 backing_bdev = I_BDEV(inode); in loop_reconfigure_limits()
/linux/drivers/usb/gadget/function/
H A Dstorage_common.c236 blksize = bdev_logical_block_size(I_BDEV(inode)); in fsg_lun_open()
/linux/mm/
H A Dbacking-dev.c1208 return I_BDEV(inode)->bd_disk->bdi;
H A Dswapfile.c3120 si->bdev = I_BDEV(inode); in claim_swapfile()
/linux/drivers/block/zram/
H A Dzram_drv.c632 zram->bdev = I_BDEV(inode); in backing_dev_store()