Home
last modified time | relevance | path

Searched refs:fngp (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/fs/autofs/
H A Dauto_sys.c45 struct autofs_globals *fngp; in autofssys() local
54 fngp = zone_getspecific(autofs_key, zone); in autofssys()
55 if (fngp == NULL) { in autofssys()
64 unmount_tree(fngp, B_TRUE); in autofssys()
70 struct autofs_globals *fngp; in autofssys() local
76 fngp = zone_getspecific(autofs_key, curproc->p_zone); in autofssys()
77 if (fngp == NULL) { in autofssys()
78 fngp = autofs_zone_init(); in autofssys()
80 curproc->p_zone, fngp); in autofssys()
83 ASSERT(fngp != NULL); in autofssys()
[all …]
H A Dauto_vfsops.c184 struct autofs_globals *fngp = arg; in autofs_zone_destructor() local
187 if (fngp == NULL) in autofs_zone_destructor()
189 ASSERT(fngp->fng_fnnode_count == 1); in autofs_zone_destructor()
190 ASSERT(fngp->fng_unmount_threads == 0); in autofs_zone_destructor()
192 if (fngp->fng_autofs_daemon_dh != NULL) in autofs_zone_destructor()
193 door_ki_rele(fngp->fng_autofs_daemon_dh); in autofs_zone_destructor()
198 vp = fntovn(fngp->fng_rootfnnodep); in autofs_zone_destructor()
201 auto_freefnnode(fngp->fng_rootfnnodep); in autofs_zone_destructor()
202 mutex_destroy(&fngp->fng_unmount_threads_lock); in autofs_zone_destructor()
203 kmem_free(fngp, sizeof (*fngp)); in autofs_zone_destructor()
[all …]
H A Dauto_subr.c342 struct autofs_globals *fngp = NULL; in auto_calldaemon() local
369 fngp = zone_getspecific(autofs_key, curproc->p_zone); in auto_calldaemon()
371 if (fngp == NULL) { in auto_calldaemon()
396 fngp->fng_printed_not_running_msg = printed_not_running_msg; in auto_calldaemon()
399 ASSERT(fngp != NULL); in auto_calldaemon()
433 mutex_enter(&fngp->fng_autofs_daemon_lock); in auto_calldaemon()
434 dh = fngp->fng_autofs_daemon_dh; in auto_calldaemon()
437 mutex_exit(&fngp->fng_autofs_daemon_lock); in auto_calldaemon()
555 mutex_enter(&fngp->fng_autofs_daemon_lock); in auto_calldaemon()
556 if (dh == fngp->fng_autofs_daemon_dh) { in auto_calldaemon()
[all …]
H A Dauto_vnops.c966 struct autofs_globals *fngp = vntofn(fnip->fi_rootvp)->fn_globals; in auto_readdir() local
1004 error = auto_calldaemon(fngp->fng_zoneid, in auto_readdir()