Lines Matching refs:kobject
872 * If a kobject is passed to bd_claim_by_kobject()
873 * and the kobject has a parent directory,
875 * o from the kobject to the claimed bdev
876 * o from "holders" directory of the bdev to the parent of the kobject
880 * If /dev/dm-0 maps to /dev/sda, kobject corresponding to
886 static int add_symlink(struct kobject *from, struct kobject *to)
893 static void del_symlink(struct kobject *from, struct kobject *to)
908 struct kobject *sdir; /* holder object, e.g. "/block/dm-0/slaves" */
909 struct kobject *hdev; /* e.g. "/block/dm-0" */
910 struct kobject *hdir; /* e.g. "/block/sda/holders" */
911 struct kobject *sdev; /* e.g. "/block/sda" */
963 static struct bd_holder *alloc_bd_holder(struct kobject *kobj)
1045 * @kobj: holder's kobject
1048 * and no other bd_claim() from the same kobject,
1054 * by the same kobject.
1057 struct kobject *kobj)
1080 * bd_claim_by_kobject - bd_claim() with additional kobject signature
1084 * @kobj: holder's kobject
1087 * the bdev and the holder's kobject.
1094 struct kobject *kobj)
1128 * bd_release_from_kobject - bd_release() with additional kobject signature
1131 * @kobj: holder's kobject
1136 struct kobject *kobj)