Home
last modified time | relevance | path

Searched refs:lprof (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c608 struct lustre_profile *lprof; in class_get_profile() local
610 list_for_each_entry(lprof, &lustre_profile_list, lp_list) { in class_get_profile()
611 if (!strcmp(lprof->lp_profile, prof)) { in class_get_profile()
612 return lprof; in class_get_profile()
626 struct lustre_profile *lprof; in class_add_profile() local
631 lprof = kzalloc(sizeof(*lprof), GFP_NOFS); in class_add_profile()
632 if (!lprof) in class_add_profile()
634 INIT_LIST_HEAD(&lprof->lp_list); in class_add_profile()
637 lprof->lp_profile = kmemdup(prof, proflen, GFP_NOFS); in class_add_profile()
638 if (!lprof->lp_profile) { in class_add_profile()
[all …]
/drivers/staging/lustre/lustre/llite/
Dllite_lib.c851 struct lustre_profile *lprof = NULL; in ll_fill_super() local
906 lprof = class_get_profile(profilenm); in ll_fill_super()
907 if (lprof == NULL) { in ll_fill_super()
914 lprof->lp_md, lprof->lp_dt); in ll_fill_super()
916 dt = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_dt, cfg->cfg_instance); in ll_fill_super()
922 md = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_md, cfg->cfg_instance); in ll_fill_super()