Searched refs:nsm (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/fs/lockd/ |
| D | mon.c | 63 static inline struct sockaddr *nsm_addr(const struct nsm_handle *nsm) in nsm_addr() argument 65 return (struct sockaddr *)&nsm->sm_addr; in nsm_addr() 91 static int nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res, in nsm_mon_unmon() argument 97 .priv = &nsm->sm_priv, in nsm_mon_unmon() 101 .mon_name = nsm->sm_mon_name, in nsm_mon_unmon() 150 struct nsm_handle *nsm = host->h_nsmhandle; in nsm_monitor() local 154 dprintk("lockd: nsm_monitor(%s)\n", nsm->sm_name); in nsm_monitor() 156 if (nsm->sm_monitored) in nsm_monitor() 163 nsm->sm_mon_name = nsm_use_hostnames ? nsm->sm_name : nsm->sm_addrbuf; in nsm_monitor() 165 status = nsm_mon_unmon(nsm, NSMPROC_MON, &res, host); in nsm_monitor() [all …]
|
| D | host.c | 112 struct nsm_handle *nsm) in nlm_alloc_host() argument 117 if (nsm != NULL) in nlm_alloc_host() 118 refcount_inc(&nsm->sm_count); in nlm_alloc_host() 121 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, in nlm_alloc_host() 123 if (unlikely(nsm == NULL)) { in nlm_alloc_host() 133 nsm_release(nsm); in nlm_alloc_host() 143 host->h_name = nsm->sm_name; in nlm_alloc_host() 163 host->h_nsmhandle = nsm; in nlm_alloc_host() 164 host->h_addrbuf = nsm->sm_addrbuf; in nlm_alloc_host() 239 struct nsm_handle *nsm = NULL; in nlmclnt_lookup_host() local [all …]
|
| /Linux-v5.4/drivers/rpmsg/ |
| D | virtio_rpmsg_bus.c | 335 struct rpmsg_ns_msg nsm; in virtio_rpmsg_announce_create() local 337 strncpy(nsm.name, rpdev->id.name, RPMSG_NAME_SIZE); in virtio_rpmsg_announce_create() 338 nsm.addr = rpdev->ept->addr; in virtio_rpmsg_announce_create() 339 nsm.flags = RPMSG_NS_CREATE; in virtio_rpmsg_announce_create() 341 err = rpmsg_sendto(rpdev->ept, &nsm, sizeof(nsm), RPMSG_NS_ADDR); in virtio_rpmsg_announce_create() 359 struct rpmsg_ns_msg nsm; in virtio_rpmsg_announce_destroy() local 361 strncpy(nsm.name, rpdev->id.name, RPMSG_NAME_SIZE); in virtio_rpmsg_announce_destroy() 362 nsm.addr = rpdev->ept->addr; in virtio_rpmsg_announce_destroy() 363 nsm.flags = RPMSG_NS_DESTROY; in virtio_rpmsg_announce_destroy() 365 err = rpmsg_sendto(rpdev->ept, &nsm, sizeof(nsm), RPMSG_NS_ADDR); in virtio_rpmsg_announce_destroy()
|
| /Linux-v5.4/include/linux/lockd/ |
| D | lockd.h | 261 void nsm_release(struct nsm_handle *nsm);
|