Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/ulp/rtrs/
Drtrs-srv-sysfs.c183 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()
Drtrs-clt-sysfs.c439 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()
Drtrs-srv.h114 struct kobject *kobj_paths; member
Drtrs-clt.h180 struct kobject *kobj_paths; member
Drtrs-clt.c2743 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()