Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c840 struct lustre_profile *lprof; in class_get_profile() local
842 list_for_each_entry(lprof, &lustre_profile_list, lp_list) { in class_get_profile()
843 if (!strcmp(lprof->lp_profile, prof)) { in class_get_profile()
844 return lprof; in class_get_profile()
858 struct lustre_profile *lprof; in class_add_profile() local
863 OBD_ALLOC(lprof, sizeof(*lprof)); in class_add_profile()
864 if (lprof == NULL) in class_add_profile()
866 INIT_LIST_HEAD(&lprof->lp_list); in class_add_profile()
869 OBD_ALLOC(lprof->lp_profile, proflen); in class_add_profile()
870 if (lprof->lp_profile == NULL) { in class_add_profile()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_lib.c913 struct lustre_profile *lprof = NULL; in ll_fill_super() local
970 lprof = class_get_profile(profilenm); in ll_fill_super()
971 if (lprof == NULL) { in ll_fill_super()
978 lprof->lp_md, lprof->lp_dt); in ll_fill_super()
980 dt = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_dt, cfg->cfg_instance); in ll_fill_super()
986 md = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_md, cfg->cfg_instance); in ll_fill_super()
997 OBD_FREE(md, strlen(lprof->lp_md) + instlen + 2); in ll_fill_super()
999 OBD_FREE(dt, strlen(lprof->lp_dt) + instlen + 2); in ll_fill_super()