Home
last modified time | relevance | path

Searched refs:bd_device (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Dblk_types.h81 struct device bd_device; member
88 container_of((device), struct block_device, bd_device)
91 (&((_bdev)->bd_device.kobj))
/linux/block/partitions/
H A Dcore.c278 device_del(&part->bd_device); in drop_partition()
279 put_device(&part->bd_device); in drop_partition()
333 pdev = &bdev->bd_device; in add_partition()
/linux/block/
H A Dgenhd.c331 if (!kobject_get_unless_zero(&part->bd_device.kobj)) in disk_uevent()
336 put_device(&part->bd_device); in disk_uevent()
592 if (!kobject_get_unless_zero(&bdev->bd_device.kobj)) in blk_report_disk_dead()
598 put_device(&bdev->bd_device); in blk_report_disk_dead()
H A Dbdev.c794 if (!kobject_get_unless_zero(&bdev->bd_device.kobj)) in blkdev_get_no_open()
802 put_device(&bdev->bd_device); in blkdev_put_no_open()