Searched refs:slave_dir (Results 1 – 5 of 5) sorted by relevance
67 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()
483 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()
351 u32 slave_dir; member1291 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()
179 struct kobject *slave_dir; member
753 if (md->disk->slave_dir) { in open_table_device()780 if (md->disk->slave_dir) in close_table_device()