Searched refs:slave_dir (Results 1 – 5 of 5) sorted by relevance
65 if (WARN_ON_ONCE(!disk->slave_dir)) in bd_link_disk_holder()103 ret = add_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_link_disk_holder()115 del_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_link_disk_holder()140 if (WARN_ON_ONCE(!disk->slave_dir)) in bd_unlink_disk_holder()146 del_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_unlink_disk_holder()
484 disk->slave_dir = kobject_create_and_add("slaves", &ddev->kobj); in device_add_disk()485 if (!disk->slave_dir) { in device_add_disk()541 kobject_put(disk->slave_dir); in device_add_disk()542 disk->slave_dir = NULL; in device_add_disk()684 kobject_put(disk->slave_dir); in del_gendisk()685 disk->slave_dir = NULL; in del_gendisk()
345 u32 slave_dir; member1273 if (i2c_dev->slave_dir) { in stm32f7_i2c_slave_start()1327 i2c_dev->slave_dir = dir; in stm32f7_i2c_slave_addr()1466 if (i2c_dev->slave_dir) { in stm32f7_i2c_slave_isr_event()
166 struct kobject *slave_dir; member
747 if (md->disk->slave_dir) { in open_table_device()772 if (md->disk->slave_dir) in close_table_device()