Home
last modified time | relevance | path

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

/linux-4.19.296/fs/lockd/
Dclntlock.c53 struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init) in nlmclnt_init() argument
56 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()
/linux-4.19.296/include/linux/lockd/
Dbind.h55 extern struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init);
/linux-4.19.296/fs/nfs/
Dclient.c557 struct nlmclnt_initdata nlm_init = { in nfs_start_lockd() local
568 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()