• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/autofs-246/automountd/

Lines Matching +defs:cl +defs:key

170  * parse_entry(const char *key, const char *mapname, const char *mapopts,
173 * Looks up the specified key in the specified map, and then parses the
189 parse_entry(const char *key, const char *mapname, const char *mapopts,
222 mapents = do_mapent_hosts(mapopts, key, isdirect, err);
229 *err = hierarchical_sort(mapents, &rootnode, key, mapname);
241 mapents = do_mapent_fstab(mapopts, key, isdirect, node_type,
249 *err = hierarchical_sort(mapents, &rootnode, key, mapname);
264 mapents = do_mapent_static(key, isdirect, err);
271 *err = hierarchical_sort(mapents, &rootnode, key, mapname);
279 /* Is there an entry for that map/key in the readdir cache? */
280 dirp = rddir_entry_lookup(mapname, key);
294 switch (getmapent(key, mapname, &ml, stack, &stkptr,
309 syslog(LOG_ERR, "parse_entry: getmapent for map %s, key %s failed",
310 mapname, key);
350 *err = mapline_to_mapent(&mapents, &ml, key, mapname,
360 *err = hierarchical_sort(mapents, &rootnode, key, mapname);
386 rootnode, key, isdirect, mount_access);
426 syslog(LOG_ERR, "parse_entry: mapentry parse error: map=%s key=%s",
427 mapname, key);
440 * const char *key, const char *mapname, const char *mapopts,
446 * (especially the first line). Note that the key is the full pathname of the
447 * directory to be mounted in a direct map, and ml is the mapentry beyond key.
459 mapline_to_mapent(struct mapent **mapents, struct mapline *ml, const char *key,
474 switch (macro_expand(key, lp, lq, LINESZ)) {
532 * by the entire path later. Indirect maps get /key as the
538 me->map_root = strprefix_slash(key);
584 "mapline_to_mapent: bad location=%s map=%s key=%s",
585 w, mapname, key);
653 * hierarchical_sort(struct mapent *mapents, hiernode **rootnode, char *key
662 hierarchical_sort(struct mapent *mapents, hiernode **rootnode, const char *key,
746 key, me->map_mntpnt);
752 "Duplicate submounts for %s%s in map %s, key %s",
753 root, me->map_mntpnt, mapname, key);
1075 * hiernode *rootnode, const char *key,
1087 hiernode *rootnode, const char *key,
1102 if ((rc = set_and_fake_mapent_mntlevel(rootnode, subdir, key, mapname,
1126 dump_mapent_err(me, key, mapname);
1180 * const char *key, const char *mapname,
1193 const char *key, const char *mapname,
1309 traversed_path, key, mapname, faked_mapents, isdirect,
1399 * char *key,char *mapname, struct mapent **faked_mapents,
1410 const char *key, const char *mapname,
1471 me->map_root = strprefix_slash(key);
2341 CLIENT *cl;
2481 cl = clnt_create_timeout((char *)host, MOUNTPROG, MOUNTVERS, "tcp", &timeout);
2482 if (cl == NULL) {
2483 cl = clnt_create_timeout((char *)host, MOUNTPROG, MOUNTVERS, "udp", &timeout);
2484 if (cl == NULL) {
2493 add_alloc("CLNT_HANDLE", cl, 0, __FILE__, __LINE__);
2494 add_alloc("AUTH_HANDLE", cl->cl_auth, 0,
2498 if ((clnt_stat = clnt_call(cl, MOUNTPROC_EXPORT, (xdrproc_t)xdr_void, 0,
2502 clnt_destroy(cl);
2511 drop_alloc("CLNT_HANDLE", cl, __FILE__, __LINE__);
2512 drop_alloc("AUTH_HANDLE", cl->cl_auth,
2515 clnt_destroy(cl);
2521 drop_alloc("CLNT_HANDLE", cl, __FILE__, __LINE__);
2522 drop_alloc("AUTH_HANDLE", cl->cl_auth,
2525 clnt_destroy(cl);
2936 do_mapent_static(key, isdirect, err)
2937 const char *key;
2946 * Look up the fstab entry with the specified key
2949 static_ent = get_staticmap_entry(key);
2960 * by the entire path later. Indirect maps get /key as the
2966 me->map_root = strprefix_slash(key);
3024 * dump_mapent_err(struct mapent *me, const char *key, const char *mapname)
3027 static void dump_mapent_err(struct mapent *me, const char *key,
3034 "map=%s key=%s mntpnt=%s: no error",
3035 mapname, key, me->map_mntpnt);
3039 "mountpoint %s in map %s key %s not mounted: %s",
3040 me->map_mntpnt, mapname, key, uatfs_err);
3045 "map=%s key=%s mntpnt=%s: unknown mapentry error",
3046 mapname, key, me->map_mntpnt);