Home
last modified time | relevance | path

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

/linux/block/
H A Dholder.c67 if (WARN_ON_ONCE(!disk->slave_dir)) in bd_link_disk_holder()
105 ret = add_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_link_disk_holder()
117 del_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_link_disk_holder()
142 if (WARN_ON_ONCE(!disk->slave_dir)) in bd_unlink_disk_holder()
148 del_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_unlink_disk_holder()
H A Dgenhd.c483 disk->slave_dir = kobject_create_and_add("slaves", &ddev->kobj); in device_add_disk()
484 if (!disk->slave_dir) { in device_add_disk()
539 kobject_put(disk->slave_dir); in device_add_disk()
540 disk->slave_dir = NULL; in device_add_disk()
689 kobject_put(disk->slave_dir); in del_gendisk()
690 disk->slave_dir = NULL; in del_gendisk()
/linux/drivers/i2c/busses/
H A Di2c-stm32f7.c351 u32 slave_dir; member
1291 if (i2c_dev->slave_dir) { in stm32f7_i2c_slave_start()
1345 i2c_dev->slave_dir = dir; in stm32f7_i2c_slave_addr()
1482 if (i2c_dev->slave_dir) { in stm32f7_i2c_slave_isr_event()
/linux/include/linux/
H A Dblkdev.h179 struct kobject *slave_dir; member
/linux/drivers/md/
H A Ddm.c753 if (md->disk->slave_dir) { in open_table_device()
780 if (md->disk->slave_dir) in close_table_device()