Lines Matching refs:hp
81 struct heuristic *hp;
106 for (hp = hlist; hp; hp = hp->next) {
107 if (has_fs(hp->prog, slice)) {
109 libdiskmgt_add_str(attrs, DM_USED_NAME, hp->type, errp);
240 struct heuristic *hp;
242 hp = (struct heuristic *)
245 if (hp == NULL) {
251 if ((hp->prog = strdup(progpath)) == NULL) {
257 if ((hp->type = strdup(dp->d_name)) == NULL) {
263 hp->next = hlist;
264 hlist = hp;