Searched refs:nlm_init (Results 1 – 3 of 3) sorted by relevance
53 struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init) in nlmclnt_init() argument56 u32 nlm_version = (nlm_init->nfs_version == 2) ? 1 : 4; in nlmclnt_init()59 status = lockd_up(nlm_init->net); in nlmclnt_init()63 host = nlmclnt_lookup_host(nlm_init->address, nlm_init->addrlen, in nlmclnt_init()64 nlm_init->protocol, nlm_version, in nlmclnt_init()65 nlm_init->hostname, nlm_init->noresvport, in nlmclnt_init()66 nlm_init->net); in nlmclnt_init()72 host->h_nlmclnt_ops = nlm_init->nlmclnt_ops; in nlmclnt_init()77 lockd_down(nlm_init->net); in nlmclnt_init()
55 extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init);
557 struct nlmclnt_initdata nlm_init = { in nfs_start_lockd() local568 if (nlm_init.nfs_version > 3) in nfs_start_lockd()576 nlm_init.protocol = IPPROTO_TCP; in nfs_start_lockd()579 nlm_init.protocol = IPPROTO_UDP; in nfs_start_lockd()582 host = nlmclnt_init(&nlm_init); in nfs_start_lockd()