Searched refs:fnip (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vfsops.c | 355 fninfo_t *fnip = NULL; in auto_mount() local 440 fnip = vfstofni(vfsp); in auto_mount() 441 if (fnip == NULL) in auto_mount() 445 fnip->fi_flags |= MF_DIRECT; in auto_mount() 447 fnip->fi_flags &= ~MF_DIRECT; in auto_mount() 448 fnip->fi_mount_to = args.mount_to; in auto_mount() 449 fnip->fi_rpc_to = args.rpc_to; in auto_mount() 468 kmem_free(fnip->fi_opts, fnip->fi_optslen); in auto_mount() 469 fnip->fi_opts = kmem_alloc(len, KM_SLEEP); in auto_mount() 470 fnip->fi_optslen = (int)len; in auto_mount() [all …]
|
H A D | auto_subr.c | 156 struct fninfo *fnip; in auto_lookup_aux() local 161 fnip = vfstofni(fntovn(fnp)->v_vfsp); in auto_lookup_aux() 163 error = auto_lookup_request(fnip, name, &link, TRUE, &mountreq, cred); in auto_lookup_aux() 247 struct fninfo *fnip; in auto_mount_thread() local 264 fnip = vfstofni(vp->v_vfsp); in auto_mount_thread() 267 ASSERT(crgetzoneid(argsp->fnc_cred) == fnip->fi_zoneid); in auto_mount_thread() 269 error = auto_mount_request(fnip, name, &alp, cred, TRUE); in auto_mount_thread() 271 error = auto_perform_actions(fnip, fnp, alp, cred); in auto_mount_thread() 629 fninfo_t *fnip, in auto_lookup_request() argument 644 fnip->fi_path, key)); in auto_lookup_request() [all …]
|
H A D | auto_vnops.c | 961 fninfo_t *fnip = vfstofni(vp->v_vfsp); in auto_readdir() local 967 struct autofs_globals *fngp = vntofn(fnip->fi_rootvp)->fn_globals; in auto_readdir() 999 rda.rda_map = fnip->fi_map; in auto_readdir() 1202 auto_nobrowse_option(fnip->fi_opts) || in auto_readdir() 1203 (fnip->fi_flags & MF_DIRECT) || in auto_readdir() 1392 fninfo_t *fnip = vfstofni(vp->v_vfsp); in auto_trigger_mount() local 1406 if (fnip->fi_zoneid != getzoneid()) in auto_trigger_mount() 1484 ((fnip->fi_flags & MF_DIRECT) == 0) && in auto_trigger_mount() 1495 ((fnip->fi_flags & MF_DIRECT) && (fnp->fn_dirents == NULL))) { in auto_trigger_mount()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_autofs.c | 62 autofs_args *fnip = NULL; in mount_autofs() local 90 if ((fnip = (autofs_args *) in mount_autofs() 94 (void) memset((void *) fnip, 0, sizeof (*fnip)); in mount_autofs() 96 if ((fnip->addr.buf = (char *)malloc(MAXADDRLEN)) == NULL) in mount_autofs() 99 (void) strcpy(fnip->addr.buf, utsname.nodename); in mount_autofs() 100 (void) strcat(fnip->addr.buf, ".autofs"); in mount_autofs() 102 if ((fnip->opts = malloc(MAX_MNTOPT_STR)) == NULL) in mount_autofs() 104 strcpy(fnip->opts, me->map_mntopts); in mount_autofs() 106 if (process_opts(fnip->opts, &fnip->direct, &sawnest) != 0) in mount_autofs() 109 fnip->addr.len = strlen(fnip->addr.buf); in mount_autofs() [all …]
|