Lines Matching defs:hname
140 * @hname - The hierarchical name
146 __counted char *hname;
152 * basename - find the last component of an hname
153 * @name: hname to find the base profile name component of (NOT NULL)
155 * Returns: the tail (base profile name) name component of an hname
157 static inline const char *basename(const char *hname)
161 hname = strim((char *)hname);
162 for (split = strstr(hname, "//"); split; split = strstr(hname, "//"))
163 hname = split + 2;
165 return hname;