Searched refs:nlm_init (Results 1 – 2 of 2) 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()76 lockd_down(nlm_init->net); in nlmclnt_init()
532 struct nlmclnt_initdata nlm_init = { in nfs_start_lockd() local542 if (nlm_init.nfs_version > 3) in nfs_start_lockd()550 nlm_init.protocol = IPPROTO_TCP; in nfs_start_lockd()553 nlm_init.protocol = IPPROTO_UDP; in nfs_start_lockd()556 host = nlmclnt_init(&nlm_init); in nfs_start_lockd()