Lines Matching refs:nlm
34 /* __FBSDID("FreeBSD: head/sys/nlm/nlm_prot_impl.c 302216 2016-06-26 20:08:42Z kib "); */
67 #include <fs/nfs/nlm/nlm_prot.h>
68 #include <fs/nfs/nlm/sm_inter.h>
69 #include <fs/nfs/nlm/nlm.h>
74 MALLOC_DEFINE(M_NLM, "NLM", "Network Lock Manager");
93 * Support for sysctl vfs.nlm.sysid
95 static SYSCTL_NODE(_vfs, OID_AUTO, nlm, CTLFLAG_RW, NULL,
215 * nh_pending list of the NLM host.
231 * NLM host.
255 rpcvers_t nh_vers; /* (s) NLM version of host */
259 struct sysctl_ctx_list nh_sysctl; /* (c) vfs.nlm.sysid nodes */
294 * Initialise NLM globals.
308 NLM_ERR("Can't register NLM syscall\n");
433 * that can talk to the remote NLM.
491 * We may have a positive response from the portmapper, but the NLM
519 NLM_ERR("NLM: failed to contact remote rpcbind, "
574 NLM_DEBUG(2, "NLM: async lock %p for %s (sysid %d) granted,"
672 NLM_DEBUG(2, "NLM: async lock %p for %s (sysid %d) "
697 NLM_DEBUG(2, "NLM: async lock %p for %s (sysid %d) expired,"
744 NLM_DEBUG(1, "NLM: client lock recovery for %s started\n",
749 NLM_DEBUG(1, "NLM: client lock recovery for %s completed\n",
771 NLM_DEBUG(1, "NLM: host %s (sysid %d) rebooted, new "
841 * Create a new NLM host.
851 NLM_DEBUG(1, "NLM: new host %s (sysid %d)\n",
896 * Acquire the next sysid for remote locks not handled by the NLM.
979 * Search for an existing NLM host that matches the given name
983 * responses. If 'vers' is greater than zero then record the NLM
1054 * Search for an existing NLM host that matches the given remote
1056 * address and remember 'vers' as the NLM protocol version to use for
1119 * Find the NLM host that matches the value of 'sysid'. If none
1148 * Unregister this NLM host with the local NSM due to idleness.
1158 NLM_DEBUG(1, "NLM: unmonitoring %s (sysid %d)\n",
1192 * Register this NLM host with the local NSM so that we can be
1210 NLM_DEBUG(1, "NLM: host %s (sysid %d) has NSM state %d\n",
1222 NLM_DEBUG(1, "NLM: monitoring %s (sysid %d)\n",
1260 * Return an RPC client handle that can be used to talk to the NLM
1278 * call/reply protocol used by some NLM clients makes it hard
1448 NLM_ERR("NLM: no service addresses given - can't start server");
1453 NLM_ERR("NLM: too many service addresses (%d) given, "
1495 NLM_ERR("NLM: unable to create "
1506 NLM_ERR("NLM: can't register "
1526 * state and send SM_UNMON_ALL. Registers the NLM services and then
1552 NLM_ERR("NLM: can't start server - "
1563 NLM_ERR("NLM: can't create IPv4 socket - error %d\n",
1580 NLM_ERR("NLM: can't create IPv6 socket - error %d\n",
1617 NLM_ERR("Can't start NLM - unable to contact NSM\n");
1622 pool = svcpool_create("NLM", NULL);
1629 id.my_name = "NFS NLM";
1641 NLM_ERR("NLM: unexpected error contacting NSM, "
1648 NLM_DEBUG(1, "NLM: local NSM state is %d\n", smstat.state);
1729 * NLM implementation details, called from the RPC stubs.
1933 * our caller's NLM to keep track.
2026 * First, make sure we can contact the host's NLM.
2112 NLM_DEBUG(2, "NLM: pending async lock %p for %s "
2354 NLM_DEBUG(1, "NLM: bogus grant cookie");
2360 NLM_DEBUG(1, "NLM: Unknown host rejected our grant");
2374 NLM_DEBUG(1, "NLM: host %s (sysid %d) replied to our grant "
2385 NLM_DEBUG(1, "NLM: host %s (sysid %d) rejected our grant "
2391 NLM_DEBUG(5, "NLM: async lock %p rejected by host %s (sysid %d)",
2394 NLM_DEBUG(5, "NLM: async lock %p accepted by host %s (sysid %d)",
2427 /* The NLM module cannot be safely unloaded. */