Home
last modified time | relevance | path

Searched refs:nlm_init (Results 1 – 2 of 2) sorted by relevance

/fs/lockd/
A Dclntlock.c45 struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init) in nlmclnt_init() argument
48 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()
/fs/nfs/
A Dclient.c585 struct nlmclnt_initdata nlm_init = { in nfs_start_lockd() local
597 if (nlm_init.nfs_version > 3) in nfs_start_lockd()
605 nlm_init.protocol = IPPROTO_TCP; in nfs_start_lockd()
609 nlm_init.protocol = IPPROTO_UDP; in nfs_start_lockd()
613 host = nlmclnt_init(&nlm_init); in nfs_start_lockd()

Completed in 6 milliseconds