FreeBSD/sys/fs/nfsclient/nfs_clsubs.c
/*
 * Called once to initialize data structures...
 */
Called once to initialize data structures
Called once to initialize data structures
int
ncl_init(struct vfsconf *vfsp)
{
	int i;
	for (i = 0; i < NFS_MAXASYNCDAEMON; i++) {
		ncl_iodwant[i] = NFSIOD_NOT_AVAILABLE;
		ncl_iodmount[i] = NULL;
	}
	TASK_INIT(&ncl_nfsiodnew_task, 0, ncl_nfsiodnew_tq, NULL);
	ncl_nhinit();			
	return (0);
}
int ncl_init ( struct vfsconf * vfsp ) { int i ; for ( i = 0 ; i < NFS_MAXASYNCDAEMON ; i ++ ) { ncl_iodwant [ i ] = NFSIOD_NOT_AVAILABLE ; ncl_iodmount [ i ] = NULL ; } TASK_INIT ( & ncl_nfsiodnew_task , 0 , ncl_nfsiodnew_tq , NULL ) ; ncl_nhinit ( ) ; return ( 0 ) ; }
Called once to initialize data structures...
Called once to initialize data structures ...
/* Ensure async daemons disabled */ /* Init the nfsnode table */