Lines Matching refs:hname
129 * @hname - The hierarchical name
135 __counted char *hname;
141 * basename - find the last component of an hname
142 * @name: hname to find the base profile name component of (NOT NULL)
144 * Returns: the tail (base profile name) name component of an hname
146 static inline const char *basename(const char *hname)
150 hname = strim((char *)hname);
151 for (split = strstr(hname, "//"); split; split = strstr(hname, "//"))
152 hname = split + 2;
154 return hname;