Home
last modified time | relevance | path

Searched refs:ln (Results 1 – 6 of 6) sorted by relevance

/fs/lockd/
Dsvc.c94 struct lockd_net *ln = container_of(dwork, struct lockd_net, in grace_ender() local
97 locks_end_grace(&ln->lockd_manager); in grace_ender()
103 struct lockd_net *ln = net_generic(net, lockd_net_id); in set_grace_period() local
105 locks_start_grace(net, &ln->lockd_manager); in set_grace_period()
106 cancel_delayed_work_sync(&ln->grace_period_end); in set_grace_period()
107 schedule_delayed_work(&ln->grace_period_end, grace_period); in set_grace_period()
114 struct lockd_net *ln = net_generic(net, lockd_net_id); in restart_grace() local
116 cancel_delayed_work_sync(&ln->grace_period_end); in restart_grace()
117 locks_end_grace(&ln->lockd_manager); in restart_grace()
243 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd_up_net() local
[all …]
Dmon.c89 static struct rpc_clnt *nsm_client_set(struct lockd_net *ln, in nsm_client_set() argument
92 spin_lock(&ln->nsm_clnt_lock); in nsm_client_set()
93 if (ln->nsm_users == 0) { in nsm_client_set()
96 ln->nsm_clnt = clnt; in nsm_client_set()
98 clnt = ln->nsm_clnt; in nsm_client_set()
99 ln->nsm_users++; in nsm_client_set()
101 spin_unlock(&ln->nsm_clnt_lock); in nsm_client_set()
108 struct lockd_net *ln = net_generic(net, lockd_net_id); in nsm_client_get() local
110 clnt = nsm_client_set(ln, NULL); in nsm_client_get()
118 clnt = nsm_client_set(ln, new); in nsm_client_get()
[all …]
Dgrace.c26 struct lockd_net *ln = net_generic(net, lockd_net_id); in locks_start_grace() local
29 list_add(&lm->list, &ln->grace_list); in locks_start_grace()
61 struct lockd_net *ln = net_generic(net, lockd_net_id); in locks_in_grace() local
63 return !list_empty(&ln->grace_list); in locks_in_grace()
Dhost.c177 struct lockd_net *ln = net_generic(host->net, lockd_net_id); in nlm_destroy_host_locked() local
191 ln->nrhosts--; in nlm_destroy_host_locked()
231 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmclnt_lookup_host() local
266 ln->nrhosts++; in nlmclnt_lookup_host()
340 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmsvc_lookup_host() local
348 if (time_after_eq(jiffies, ln->next_gc)) in nlmsvc_lookup_host()
386 ln->nrhosts++; in nlmsvc_lookup_host()
574 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_complain_hosts() local
576 if (ln->nrhosts == 0) in nlm_complain_hosts()
579 dprintk("lockd: %lu hosts left in net %p:\n", ln->nrhosts, net); in nlm_complain_hosts()
[all …]
/fs/gfs2/
Ddir.c786 u64 ln; in gfs2_dirent_search() local
802 ln = be64_to_cpu(leaf->lf_next); in gfs2_dirent_search()
804 if (!ln) in gfs2_dirent_search()
807 error = get_leaf(ip, ln, &bh); in gfs2_dirent_search()
/fs/cifs/
DREADME178 ln -s /mnt/foo bar