Searched refs:inode (Results 1 – 3 of 3) sorted by relevance
/block/ |
D | bsg.c | 750 static struct bsg_device *bsg_add_device(struct inode *inode, in bsg_add_device() argument 773 hlist_add_head(&bd->dev_list, bsg_dev_idx_hash(iminor(inode))); in bsg_add_device() 777 format_dev_t(buf, inode->i_rdev), bd->max_queue); in bsg_add_device() 801 static struct bsg_device *bsg_get_device(struct inode *inode, struct file *file) in bsg_get_device() argument 810 bcd = idr_find(&bsg_minor_idr, iminor(inode)); in bsg_get_device() 818 bd = __bsg_get_device(iminor(inode), bcd->queue); in bsg_get_device() 822 bd = bsg_add_device(inode, bcd->queue, file); in bsg_get_device() 829 static int bsg_open(struct inode *inode, struct file *file) in bsg_open() argument 833 bd = bsg_get_device(inode, file); in bsg_open() 842 static int bsg_release(struct inode *inode, struct file *file) in bsg_release() argument
|
D | compat_ioctl.c | 321 struct inode *inode = file->f_mapping->host; in compat_blkdev_ioctl() local 322 struct block_device *bdev = inode->i_bdev; in compat_blkdev_ioctl()
|
D | genhd.c | 883 static int partitions_open(struct inode *inode, struct file *file) in partitions_open() argument 1219 static int diskstats_open(struct inode *inode, struct file *file) in diskstats_open() argument
|