Lines Matching refs:maplen
98 frontier(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen,
110 frontier_aux(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen,
143 append_mapname(char *map, size_t maplen, const char *name);
212 size_t maplen; in getmapent_fn() local
244 maplen = strlen(map); in getmapent_fn()
246 if ((maplen - FNPREFIXLEN + strlen(key)) >= COMPNAMESZ) { in getmapent_fn()
252 if (maplen == FNPREFIXLEN) { in getmapent_fn()
318 size_t maplen; in process_ref() local
407 if ((maplen = append_mapname(map, strlen(map), key)) == 0) { in process_ref()
410 return (frontier(mapents, ref, map, maplen, map + maplen, in process_ref()
433 frontier(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen, in frontier() argument
469 mapents = frontier_aux(mapents, child_ref, map, maplen, in frontier()
498 frontier_aux(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen, in frontier_aux() argument
504 size_t maplen_save = maplen; in frontier_aux()
517 if ((maplen = append_mapname(map, maplen, name)) == 0) { in frontier_aux()
566 frontier(mapents, ref, map, maplen, mntpnt, opts, status); in frontier_aux()
650 append_mapname(char *map, size_t maplen, const char *name) in append_mapname() argument
654 if (maplen + 1 + namelen >= MAPNAMESZ) { in append_mapname()
661 sprintf(map + maplen, "/%s", name); in append_mapname()
662 return (maplen + 1 + namelen); in append_mapname()