Searched refs:bdev_kobj (Results 1 – 7 of 7) sorted by relevance
/linux/block/ |
A D | holder.c | 36 ret = add_symlink(disk->slave_dir, bdev_kobj(bdev)); in __link_disk_holder() 41 del_symlink(disk->slave_dir, bdev_kobj(bdev)); in __link_disk_holder() 125 del_symlink(disk->slave_dir, bdev_kobj(bdev)); in __unlink_disk_holder()
|
A D | genhd.c | 367 kobject_uevent(bdev_kobj(part), action); in disk_uevent()
|
/linux/drivers/block/rnbd/ |
A D | rnbd-srv-sysfs.c | 45 struct kobject *bdev_kobj; in rnbd_srv_create_dev_sysfs() local 62 bdev_kobj = &disk_to_dev(bdev->bd_disk)->kobj; in rnbd_srv_create_dev_sysfs() 63 ret = sysfs_create_link(&dev->dev_kobj, bdev_kobj, "block_dev"); in rnbd_srv_create_dev_sysfs()
|
/linux/include/linux/ |
A D | blk_types.h | 79 #define bdev_kobj(_bdev) \ macro
|
/linux/fs/btrfs/ |
A D | sysfs.c | 1451 sysfs_remove_link(devices_kobj, bdev_kobj(device->bdev)->name); in btrfs_sysfs_remove_device() 1618 struct kobject *disk_kobj = bdev_kobj(device->bdev); in btrfs_sysfs_add_device()
|
/linux/drivers/md/bcache/ |
A D | super.c | 1469 if (kobject_add(&dc->disk.kobj, bdev_kobj(bdev), "bcache")) in register_bdev() 2377 if (kobject_add(&ca->kobj, bdev_kobj(bdev), "bcache")) { in register_cache()
|
/linux/drivers/md/ |
A D | md.c | 2455 err = sysfs_create_link(&rdev->kobj, bdev_kobj(rdev->bdev), "block"); in bind_rdev_to_array()
|
Completed in 41 milliseconds