Searched refs:bdops (Results 1 – 5 of 5) sorted by relevance
429 struct block_device_operations *bdops; member439 if (blkdevs[i].bdops) { in get_blkdev_list()457 if (!blkdevs[major].bdops) { in get_blkfops()463 ret = blkdevs[major].bdops; in get_blkfops()468 int register_blkdev(unsigned int major, const char * name, struct block_device_operations *bdops) in register_blkdev() argument472 if (blkdevs[major].bdops == NULL) { in register_blkdev()474 blkdevs[major].bdops = bdops; in register_blkdev()482 if (blkdevs[major].bdops && blkdevs[major].bdops != bdops) in register_blkdev()485 blkdevs[major].bdops = bdops; in register_blkdev()493 if (!blkdevs[major].bdops) in unregister_blkdev()[all …]
659 struct block_device_operations *bdops; in get_sb_bdev() local684 bdops = devfs_get_ops (de); /* Increments module use count */ in get_sb_bdev()685 if (bdops) bdev->bd_op = bdops; in get_sb_bdev()
100 struct block_device_operations *bdops);250 struct block_device_operations *bdops) in devfs_register_blkdev() argument252 return register_blkdev (major, name, bdops); in devfs_register_blkdev()
930 struct block_device_operations *bdops; in sys_swapon() local944 bdops = devfs_get_ops(de); /* Increments module use count */ in sys_swapon()945 if (bdops) bdev->bd_op = bdops; in sys_swapon()
2267 struct block_device_operations *bdops) in devfs_register_blkdev() argument2270 return register_blkdev (major, name, bdops); in devfs_register_blkdev()2449 struct block_device_operations *bdops; in check_disc_changed() local2453 bdops = devfs_get_ops (de); in check_disc_changed()2454 if (!bdops) return 0; in check_disc_changed()2455 if (bdops->check_media_change == NULL) goto out; in check_disc_changed()2456 if ( !bdops->check_media_change (dev) ) goto out; in check_disc_changed()2465 if (bdops->revalidate) bdops->revalidate (dev); in check_disc_changed()