Home
last modified time | relevance | path

Searched refs:bdops (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/fs/
Dblock_dev.c429 struct block_device_operations *bdops; member
439 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() argument
472 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 …]
Dsuper.c659 struct block_device_operations *bdops; in get_sb_bdev() local
684 bdops = devfs_get_ops (de); /* Increments module use count */ in get_sb_bdev()
685 if (bdops) bdev->bd_op = bdops; in get_sb_bdev()
/linux-2.4.37.9/include/linux/
Ddevfs_fs_kernel.h100 struct block_device_operations *bdops);
250 struct block_device_operations *bdops) in devfs_register_blkdev() argument
252 return register_blkdev (major, name, bdops); in devfs_register_blkdev()
/linux-2.4.37.9/mm/
Dswapfile.c930 struct block_device_operations *bdops; in sys_swapon() local
944 bdops = devfs_get_ops(de); /* Increments module use count */ in sys_swapon()
945 if (bdops) bdev->bd_op = bdops; in sys_swapon()
/linux-2.4.37.9/fs/devfs/
Dbase.c2267 struct block_device_operations *bdops) in devfs_register_blkdev() argument
2270 return register_blkdev (major, name, bdops); in devfs_register_blkdev()
2449 struct block_device_operations *bdops; in check_disc_changed() local
2453 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()