/net/sunrpc/ |
D | svc.c | 36 static void svc_unregister(const struct svc_serv *serv, struct net *net); 38 #define svc_serv_is_pooled(serv) ((serv)->sv_ops->svo_function) argument 336 svc_pool_for_cpu(struct svc_serv *serv, int cpu) in svc_pool_for_cpu() argument 346 if (svc_serv_is_pooled(serv)) { in svc_pool_for_cpu() 356 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu() 359 int svc_rpcb_setup(struct svc_serv *serv, struct net *net) in svc_rpcb_setup() argument 368 svc_unregister(serv, net); in svc_rpcb_setup() 373 void svc_rpcb_cleanup(struct svc_serv *serv, struct net *net) in svc_rpcb_cleanup() argument 375 svc_unregister(serv, net); in svc_rpcb_cleanup() 380 static int svc_uses_rpcbind(struct svc_serv *serv) in svc_uses_rpcbind() argument [all …]
|
D | svc_xprt.c | 172 struct svc_xprt *xprt, struct svc_serv *serv) in svc_xprt_init() argument 178 xprt->xpt_server = serv; in svc_xprt_init() 192 struct svc_serv *serv, in __svc_xpo_create() argument 229 xprt = xcl->xcl_ops->xpo_create(serv, net, sap, len, flags); in __svc_xpo_create() 231 trace_svc_xprt_create_err(serv->sv_program->pg_name, in __svc_xpo_create() 261 void svc_add_new_perm_xprt(struct svc_serv *serv, struct svc_xprt *new) in svc_add_new_perm_xprt() argument 264 spin_lock_bh(&serv->sv_lock); in svc_add_new_perm_xprt() 265 list_add(&new->xpt_list, &serv->sv_permsocks); in svc_add_new_perm_xprt() 266 spin_unlock_bh(&serv->sv_lock); in svc_add_new_perm_xprt() 270 static int _svc_create_xprt(struct svc_serv *serv, const char *xprt_name, in _svc_create_xprt() argument [all …]
|
D | svcsock.c | 435 struct svc_serv *serv = svsk->sk_xprt.xpt_server; in svc_udp_recvfrom() local 460 svc_sock_setbufsize(svsk, serv->sv_nrthreads + 3); in svc_udp_recvfrom() 519 if (serv->sv_stats) in svc_udp_recvfrom() 520 serv->sv_stats->netudpcnt++; in svc_udp_recvfrom() 601 struct svc_serv *serv = xprt->xpt_server; in svc_udp_has_wspace() local 609 required = atomic_read(&svsk->sk_xprt.xpt_reserved) + serv->sv_max_mesg; in svc_udp_has_wspace() 626 static struct svc_xprt *svc_udp_create(struct svc_serv *serv, in svc_udp_create() argument 631 return svc_create_socket(serv, IPPROTO_UDP, net, sa, salen, flags); in svc_udp_create() 656 static void svc_udp_init(struct svc_sock *svsk, struct svc_serv *serv) in svc_udp_init() argument 659 &svsk->sk_xprt, serv); in svc_udp_init() [all …]
|
/net/caif/ |
D | cfrfml.c | 17 #define container_obj(layr) container_of(layr, struct cfrfml, serv.layer) 25 struct cfsrvl serv; member 54 cfsrvl_init(&this->serv, channel_id, dev_info, false); in cfrfml_create() 55 this->serv.release = cfrfml_release; in cfrfml_create() 56 this->serv.layer.receive = cfrfml_receive; in cfrfml_create() 57 this->serv.layer.transmit = cfrfml_transmit; in cfrfml_create() 65 snprintf(this->serv.layer.name, CAIF_LAYER_NAME_SZ, in cfrfml_create() 68 return &this->serv.layer; in cfrfml_create() 167 err = rfml->serv.layer.up->receive(rfml->serv.layer.up, pkt); in cfrfml_receive() 184 rfml->serv.dev_info.id); in cfrfml_receive() [all …]
|
D | cfctrl.c | 17 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer) 42 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_create() 45 cfsrvl_init(&this->serv, 0, &dev_info, false); in cfctrl_create() 48 this->serv.layer.receive = cfctrl_recv; in cfctrl_create() 49 sprintf(this->serv.layer.name, "ctrl"); in cfctrl_create() 50 this->serv.layer.ctrlcmd = cfctrl_ctrlcmd; in cfctrl_create() 57 return &this->serv.layer; in cfctrl_create() 172 info->channel_id = cfctrl->serv.layer.id; in init_info() 173 info->dev_info = &cfctrl->serv.dev_info; in init_info() 180 struct cflayer *dn = cfctrl->serv.layer.dn; in cfctrl_enum_req() [all …]
|
D | cfcnfg.c | 64 enum cfctrl_srv serv, u8 phyid, 372 cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id, enum cfctrl_srv serv, in cfcnfg_linkup_rsp() argument 412 switch (serv) { in cfcnfg_linkup_rsp()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_transport.c | 66 static struct svcxprt_rdma *svc_rdma_create_xprt(struct svc_serv *serv, 68 static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, 128 static struct svcxprt_rdma *svc_rdma_create_xprt(struct svc_serv *serv, in svc_rdma_create_xprt() argument 137 svc_xprt_init(net, &svc_rdma_class, &cma_xprt->sc_xprt, serv); in svc_rdma_create_xprt() 298 static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, in svc_rdma_create() argument 309 cma_xprt = svc_rdma_create_xprt(serv, net); in svc_rdma_create()
|