Searched refs:kobj_paths (Results 1 – 5 of 5) sorted by relevance
183 srv->kobj_paths = kobject_create_and_add("paths", &srv->dev.kobj); in rtrs_srv_create_once_sysfs_root_folders()184 if (!srv->kobj_paths) { in rtrs_srv_create_once_sysfs_root_folders()206 kobject_put(srv->kobj_paths); in rtrs_srv_destroy_once_sysfs_root_folders()276 err = kobject_init_and_add(&srv_path->kobj, &ktype, srv->kobj_paths, in rtrs_srv_create_path_files()
439 clt->kobj_paths, in rtrs_clt_create_path_files()510 if (clt->kobj_paths) { in rtrs_clt_destroy_sysfs_root()511 kobject_del(clt->kobj_paths); in rtrs_clt_destroy_sysfs_root()512 kobject_put(clt->kobj_paths); in rtrs_clt_destroy_sysfs_root()
114 struct kobject *kobj_paths; member
180 struct kobject *kobj_paths; member
2743 clt->kobj_paths = kobject_create_and_add("paths", &clt->dev.kobj); in alloc_clt()2744 if (!clt->kobj_paths) { in alloc_clt()2750 kobject_del(clt->kobj_paths); in alloc_clt()2751 kobject_put(clt->kobj_paths); in alloc_clt()