Lines Matching defs:prefix
141 char *prefix = *prefixp;
144 if (prefix == NULL /* terminated early */
145 || *prefix != '/') { /* empty or not absolute */
151 * Compute the max path prefix based on the length of the provided
168 if (*prefix == ':' || *prefix == '\0')
170 pnbuf[i] = *prefix++;
173 if (*prefix != ':' && *prefix != '\0') {
174 /* Path prefix was too long. */
179 if (*prefix != '\0')
180 prefix++;
181 *prefixp = prefix;
208 char *pnbuf, *path, *prefix;
229 for (path = firmware_path_first(drvname, imgname, pnbuf, &prefix);
231 path = firmware_path_next(drvname, imgname, pnbuf, &prefix)) {