Searched refs:ldt (Results 1 - 7 of 7) sorted by relevance

/drivers/staging/lustre/lustre/lov/
H A Dlovsub_dev.c97 struct lu_device_type *ldt; local
101 ldt = next->ld_type;
102 LASSERT(ldt != NULL);
103 rc = ldt->ldt_ops->ldto_device_init(env, next, ldt->ldt_name, NULL);
/drivers/staging/lustre/lustre/include/
H A Dobd_class.h78 struct lu_device_type *ldt);
550 #define DECLARE_LU_VARS(ldt, d) \
551 struct lu_device_type *ldt; \
557 DECLARE_LU_VARS(ldt, d);
559 ldt = obd->obd_type->typ_lu;
560 if (ldt != NULL) {
567 rc = lu_env_init(&env, ldt->ldt_ctx_tags);
570 d = ldt->ldt_ops->ldto_device_alloc(&env, ldt, cfg);
594 DECLARE_LU_VARS(ldt,
[all...]
H A Dlu_object.h682 int lu_device_type_init(struct lu_device_type *ldt);
683 void lu_device_type_fini(struct lu_device_type *ldt);
H A Dcl_object.h3280 struct lu_device_type *ldt,
/drivers/staging/lustre/lustre/obdclass/
H A Dlu_object.c749 int lu_device_type_init(struct lu_device_type *ldt) argument
753 INIT_LIST_HEAD(&ldt->ldt_linkage);
754 if (ldt->ldt_ops->ldto_init)
755 result = ldt->ldt_ops->ldto_init(ldt);
757 list_add(&ldt->ldt_linkage, &lu_device_types);
762 void lu_device_type_fini(struct lu_device_type *ldt) argument
764 list_del_init(&ldt->ldt_linkage);
765 if (ldt->ldt_ops->ldto_fini)
766 ldt
772 struct lu_device_type *ldt; local
1282 const struct lu_device_type *ldt = scan->ld_type; local
[all...]
H A Dcl_object.c966 struct lu_device_type *ldt,
972 LASSERT(ldt != NULL);
974 typename = ldt->ldt_name;
975 d = ldt->ldt_ops->ldto_device_alloc(env, ldt, NULL);
981 rc = ldt->ldt_ops->ldto_device_init(env, d, typename, next);
987 ldt->ldt_ops->ldto_device_free(env, d);
965 cl_type_setup(const struct lu_env *env, struct lu_site *site, struct lu_device_type *ldt, struct lu_device *next) argument
H A Dgenops.c161 struct lu_device_type *ldt)
203 if (ldt != NULL) {
204 type->typ_lu = ldt;
205 rc = lu_device_type_init(ldt);
159 class_register_type(struct obd_ops *dt_ops, struct md_ops *md_ops, struct lprocfs_vars *vars, const char *name, struct lu_device_type *ldt) argument

Completed in 730 milliseconds