Searched refs:ldt (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/lustre/lustre/lov/ |
D | lovsub_dev.c | 97 struct lu_device_type *ldt; in lovsub_device_init() local 101 ldt = next->ld_type; in lovsub_device_init() 102 LASSERT(ldt != NULL); in lovsub_device_init() 103 rc = ldt->ldt_ops->ldto_device_init(env, next, ldt->ldt_name, NULL); in lovsub_device_init()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | lu_object.c | 731 int lu_device_type_init(struct lu_device_type *ldt) in lu_device_type_init() argument 735 INIT_LIST_HEAD(&ldt->ldt_linkage); in lu_device_type_init() 736 if (ldt->ldt_ops->ldto_init) in lu_device_type_init() 737 result = ldt->ldt_ops->ldto_init(ldt); in lu_device_type_init() 739 list_add(&ldt->ldt_linkage, &lu_device_types); in lu_device_type_init() 744 void lu_device_type_fini(struct lu_device_type *ldt) in lu_device_type_fini() argument 746 list_del_init(&ldt->ldt_linkage); in lu_device_type_fini() 747 if (ldt->ldt_ops->ldto_fini) in lu_device_type_fini() 748 ldt->ldt_ops->ldto_fini(ldt); in lu_device_type_fini() 754 struct lu_device_type *ldt; in lu_types_stop() local [all …]
|
D | cl_object.c | 927 struct lu_device_type *ldt, in cl_type_setup() argument 933 LASSERT(ldt != NULL); in cl_type_setup() 935 typename = ldt->ldt_name; in cl_type_setup() 936 d = ldt->ldt_ops->ldto_device_alloc(env, ldt, NULL); in cl_type_setup() 942 rc = ldt->ldt_ops->ldto_device_init(env, d, typename, next); in cl_type_setup() 948 ldt->ldt_ops->ldto_device_free(env, d); in cl_type_setup()
|
D | genops.c | 155 struct lu_device_type *ldt) in class_register_type() argument 205 if (ldt != NULL) { in class_register_type() 206 type->typ_lu = ldt; in class_register_type() 207 rc = lu_device_type_init(ldt); in class_register_type()
|
/drivers/staging/lustre/lustre/include/ |
D | obd_class.h | 76 const char *nm, struct lu_device_type *ldt); 460 #define DECLARE_LU_VARS(ldt, d) \ argument 461 struct lu_device_type *ldt; \ 467 DECLARE_LU_VARS(ldt, d); in obd_setup() 469 ldt = obd->obd_type->typ_lu; in obd_setup() 470 if (ldt != NULL) { in obd_setup() 478 rc = lu_env_init(&env, ldt->ldt_ctx_tags); in obd_setup() 481 d = ldt->ldt_ops->ldto_device_alloc(&env, ldt, cfg); in obd_setup() 505 DECLARE_LU_VARS(ldt, d); in obd_precleanup() 510 ldt = obd->obd_type->typ_lu; in obd_precleanup() [all …]
|
D | lu_object.h | 678 int lu_device_type_init(struct lu_device_type *ldt); 679 void lu_device_type_fini(struct lu_device_type *ldt);
|
D | cl_object.h | 3243 struct lu_device_type *ldt,
|