Searched refs:nlm_init (Results 1 – 3 of 3) sorted by relevance
45 struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init) in nlmclnt_init() argument48 u32 nlm_version = (nlm_init->nfs_version == 2) ? 1 : 4; in nlmclnt_init()51 status = lockd_up(nlm_init->net, nlm_init->cred); in nlmclnt_init()55 host = nlmclnt_lookup_host(nlm_init->address, nlm_init->addrlen, in nlmclnt_init()56 nlm_init->protocol, nlm_version, in nlmclnt_init()57 nlm_init->hostname, nlm_init->noresvport, in nlmclnt_init()58 nlm_init->net, nlm_init->cred); in nlmclnt_init()64 host->h_nlmclnt_ops = nlm_init->nlmclnt_ops; in nlmclnt_init()69 lockd_down(nlm_init->net); in nlmclnt_init()
58 extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init);
571 struct nlmclnt_initdata nlm_init = { in nfs_start_lockd() local583 if (nlm_init.nfs_version > 3) in nfs_start_lockd()591 nlm_init.protocol = IPPROTO_TCP; in nfs_start_lockd()595 nlm_init.protocol = IPPROTO_UDP; in nfs_start_lockd()599 host = nlmclnt_init(&nlm_init); in nfs_start_lockd()