Searched refs:fops (Results 1 – 10 of 10) sorted by relevance
/block/ |
D | ioctl.c | 249 if (disk->fops->ioctl) in blkdev_compat_ptr_ioctl() 250 return disk->fops->ioctl(bdev, mode, cmd, in blkdev_compat_ptr_ioctl() 261 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops; in blkdev_pr_register() 279 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops; in blkdev_pr_reserve() 297 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops; in blkdev_pr_release() 315 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops; in blkdev_pr_preempt() 333 const struct pr_ops *ops = bdev->bd_disk->fops->pr_ops; in blkdev_pr_clear() 368 if (bdev->bd_disk->fops->set_read_only) { in blkdev_roset() 369 ret = bdev->bd_disk->fops->set_read_only(bdev, n); in blkdev_roset() 386 if (!disk->fops->getgeo) in blkdev_getgeo() [all …]
|
D | bdev.c | 324 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_read_page() 362 const struct block_device_operations *ops = bdev->bd_disk->fops; in bdev_write_page() 668 if (disk->fops->open) { in blkdev_get_whole() 669 ret = disk->fops->open(bdev, mode); in blkdev_get_whole() 691 if (bdev->bd_disk->fops->release) in blkdev_put_whole() 692 bdev->bd_disk->fops->release(bdev->bd_disk, mode); in blkdev_put_whole() 755 !try_module_get(bdev->bd_disk->fops->owner)) { in blkdev_get_no_open() 765 module_put(bdev->bd_disk->fops->owner); in blkdev_put_no_open()
|
D | blk-zoned.c | 147 WARN_ON_ONCE(!disk->fops->report_zones)) in blkdev_report_zones() 153 return disk->fops->report_zones(disk, sector, nr_zones, cb, data); in blkdev_report_zones() 198 ret = bdev->bd_disk->fops->report_zones(bdev->bd_disk, 0, in blkdev_zone_reset_all_emulated() 594 ret = disk->fops->report_zones(disk, 0, UINT_MAX, in blk_revalidate_disk_zones()
|
D | disk-events.c | 193 events = disk->fops->check_events(disk, clearing); in disk_check_events() 452 if (!disk->fops->check_events || !disk->events) in disk_alloc_events()
|
D | Makefile | 6 obj-y := bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \
|
D | blk-core.c | 919 if (disk->fops->submit_bio) { in __submit_bio() 920 ret = disk->fops->submit_bio(bio); in __submit_bio() 1032 if (!bio->bi_bdev->bd_disk->fops->submit_bio) in submit_bio_noacct()
|
D | genhd.c | 1138 if (disk->fops->devnode) in block_devnode() 1139 return disk->fops->devnode(disk, mode); in block_devnode()
|
/block/partitions/ |
D | efi.c | 589 const struct block_device_operations *fops = disk->fops; in find_valid_gpt() local 624 if (!good_agpt && force_gpt && fops->alternative_gpt_sector) { in find_valid_gpt() 628 err = fops->alternative_gpt_sector(disk, &agpt_sector); in find_valid_gpt()
|
D | ibm.c | 305 if (!disk->fops->getgeo) in ibm_partition() 325 if (disk->fops->getgeo(bdev, geo)) in ibm_partition()
|
D | core.c | 534 if (!disk->fops->unlock_native_capacity || in disk_unlock_native_capacity() 541 disk->fops->unlock_native_capacity(disk); in disk_unlock_native_capacity()
|