Home
last modified time | relevance | path

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

/linux-6.6.21/block/
Dholder.c65 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()
Dgenhd.c484 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()
/linux-6.6.21/drivers/i2c/busses/
Di2c-stm32f7.c345 u32 slave_dir; member
1273 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()
/linux-6.6.21/include/linux/
Dblkdev.h166 struct kobject *slave_dir; member
/linux-6.6.21/drivers/md/
Ddm.c747 if (md->disk->slave_dir) { in open_table_device()
772 if (md->disk->slave_dir) in close_table_device()