Lines Matching refs:to
24 static int add_symlink(struct kobject *from, struct kobject *to)
26 return sysfs_create_link(from, to, kobject_name(to));
29 static void del_symlink(struct kobject *from, struct kobject *to)
31 sysfs_remove_link(from, kobject_name(to));
43 * - from "slaves" directory of the holder @disk to the claimed @bdev
44 * - from "holders" directory of the @bdev to the holder @disk
46 * For example, if /dev/dm-0 maps to /dev/sda and disk for dm-0 is
47 * passed to bd_link_disk_holder(), then:
74 * del_gendisk drops the initial reference to bd_holder_dir, so we
75 * need to keep our own here to allow for cleanup past that point.