Home
last modified time | relevance | path

Searched refs:bdev_kobj (Results 1 – 7 of 7) sorted by relevance

/linux/block/
A Dholder.c36 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 Dgenhd.c367 kobject_uevent(bdev_kobj(part), action); in disk_uevent()
/linux/drivers/block/rnbd/
A Drnbd-srv-sysfs.c45 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 Dblk_types.h79 #define bdev_kobj(_bdev) \ macro
/linux/fs/btrfs/
A Dsysfs.c1451 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 Dsuper.c1469 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 Dmd.c2455 err = sysfs_create_link(&rdev->kobj, bdev_kobj(rdev->bdev), "block"); in bind_rdev_to_array()

Completed in 29 milliseconds