Lines Matching defs:hname
196 * @hname - The hierarchical name
202 __counted char *hname;
208 * basename - find the last component of an hname
209 * @hname: hname to find the base profile name component of (NOT NULL)
211 * Returns: the tail (base profile name) name component of an hname
213 static inline const char *basename(const char *hname)
217 hname = strim((char *)hname);
218 for (split = strstr(hname, "//"); split; split = strstr(hname, "//"))
219 hname = split + 2;
221 return hname;