/linux/fs/nfs/ |
A D | callback.c | 35 struct svc_serv *serv; member 175 ret = serv->sv_ops->svo_setup(serv, NULL, nrservs); in nfs_callback_start_svc() 177 serv->sv_ops->svo_setup(serv, NULL, 0); in nfs_callback_start_svc() 298 if (!serv) { in nfs_callback_create_svc() 302 cb_info->serv = serv; in nfs_callback_create_svc() 308 return serv; in nfs_callback_create_svc() 324 if (IS_ERR(serv)) { in nfs_callback_up() 347 svc_destroy(serv); in nfs_callback_up() 367 serv = cb_info->serv; in nfs_callback_down() 371 svc_get(serv); in nfs_callback_down() [all …]
|
/linux/net/sunrpc/ |
A D | svc.c | 40 #define svc_serv_is_pooled(serv) ((serv)->sv_ops->svo_function) argument 358 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu() 434 if (!(serv = kzalloc(sizeof(*serv), GFP_KERNEL))) in __svc_create() 471 kfree(serv); in __svc_create() 487 return serv; in __svc_create() 506 if (!serv) in svc_create_pooled() 508 return serv; in svc_create_pooled() 520 serv->sv_ops->svo_shutdown(serv, net); in svc_shutdown_net() 558 kfree(serv); in svc_destroy() 668 return &serv->sv_pools[(*state)++ % serv->sv_nrpools]; in choose_pool() [all …]
|
A D | svc_xprt.c | 192 xprt->xpt_server = serv; in svc_xprt_init() 631 unsigned int limit = serv->sv_maxconn ? serv->sv_maxconn : in svc_check_conn_limits() 640 serv->sv_name, serv->sv_maxconn ? in svc_check_conn_limits() 790 serv->sv_tmpcnt++; in svc_add_new_temp_xprt() 891 if (serv->sv_stats) in svc_recv() 950 struct svc_serv *serv = from_timer(serv, t, sv_temptimer); in svc_age_temp_xprts() local 1054 serv->sv_tmpcnt--; in svc_delete_xprt() 1147 while (svc_close_list(serv, &serv->sv_permsocks, net) + in svc_close_net() 1148 svc_close_list(serv, &serv->sv_tempsocks, net)) { in svc_close_net() 1356 if (!serv) in svc_xprt_names() [all …]
|
A D | svcsock.c | 519 if (serv->sv_stats) in svc_udp_recvfrom() 520 serv->sv_stats->netudpcnt++; in svc_udp_recvfrom() 662 &svsk->sk_xprt, serv); in svc_udp_init() 761 serv->sv_name); in svc_tcp_accept() 802 if (serv->sv_stats) in svc_tcp_accept() 1036 if (serv->sv_stats) in svc_tcp_recvfrom() 1037 serv->sv_stats->nettcpcnt++; in svc_tcp_recvfrom() 1247 &svsk->sk_xprt, serv); in svc_tcp_init() 1286 spin_lock_bh(&serv->sv_lock); in svc_sock_update_bufs() 1337 svc_udp_init(svsk, serv); in svc_setup_socket() [all …]
|
/linux/fs/lockd/ |
A D | svc.c | 250 svc_shutdown_net(serv, net); in make_socks() 386 nlmsvc_rqst = svc_prepare_thread(serv, &serv->sv_pools[0], NUMA_NO_NODE); in lockd_start_svc() 397 svc_sock_update_bufs(serv); in lockd_start_svc() 428 struct svc_serv *serv; in lockd_create_svc() local 455 if (!serv) { in lockd_create_svc() 464 return serv; in lockd_create_svc() 472 struct svc_serv *serv; in lockd_up() local 477 serv = lockd_create_svc(); in lockd_up() 478 if (IS_ERR(serv)) { in lockd_up() 479 error = PTR_ERR(serv); in lockd_up() [all …]
|
/linux/net/caif/ |
A D | cfrfml.c | 25 struct cfsrvl serv; member 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() 210 return rfml->serv.layer.dn->transmit(rfml->serv.layer.dn, pkt); in cfrfml_transmit_segment() 225 if (!cfsrvl_ready(&rfml->serv, &err)) in cfrfml_transmit() [all …]
|
A D | cfctrl.c | 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() 192 cfctrl->serv.dev_info.id = physlinkid; in cfctrl_enum_req() 374 enum cfctrl_srv serv; in cfctrl_recv() local 387 serv = tmp & CFCTRL_SRV_MASK; in cfctrl_recv() 388 linkparam.linktype = serv; in cfctrl_recv() 402 switch (serv) { in cfctrl_recv() 488 serv); in cfctrl_recv() [all …]
|
A 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()
|
/linux/include/linux/sunrpc/ |
A D | svc.h | 123 static inline void svc_get(struct svc_serv *serv) in svc_get() argument 125 serv->sv_nrthreads++; in svc_get() 497 int svc_rpcb_setup(struct svc_serv *serv, struct net *net); 498 void svc_rpcb_cleanup(struct svc_serv *serv, struct net *net); 499 int svc_bind(struct svc_serv *serv, struct net *net); 502 struct svc_rqst *svc_rqst_alloc(struct svc_serv *serv, 504 struct svc_rqst *svc_prepare_thread(struct svc_serv *serv, 516 int svc_pool_stats_open(struct svc_serv *serv, struct file *file); 527 struct svc_pool * svc_pool_for_cpu(struct svc_serv *serv, int cpu);
|
A D | bc_xprt.h | 56 static inline void set_bc_enabled(struct svc_serv *serv) in set_bc_enabled() argument 58 serv->sv_bc_enabled = true; in set_bc_enabled() 77 static inline void set_bc_enabled(struct svc_serv *serv) in set_bc_enabled() argument
|
A D | svcsock.h | 61 void svc_sock_update_bufs(struct svc_serv *serv); 63 int svc_addsock(struct svc_serv *serv, const int fd, 68 struct svc_xprt *svc_sock_create(struct svc_serv *serv, int prot);
|
A D | svc_xprt.h | 141 struct svc_xprt *svc_find_xprt(struct svc_serv *serv, const char *xcl_name, 144 int svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen); 145 void svc_add_new_perm_xprt(struct svc_serv *serv, struct svc_xprt *xprt);
|
/linux/net/sunrpc/xprtrdma/ |
A 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, 127 static struct svcxprt_rdma *svc_rdma_create_xprt(struct svc_serv *serv, in svc_rdma_create_xprt() argument 136 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()
|
/linux/tools/usb/usbip/libsrc/ |
A D | vhci_driver.c | 430 char serv[NI_MAXSERV] = "unknown port"; in usbip_vhci_imported_device_dump() local 438 ret = read_record(idev->port, host, sizeof(host), serv, sizeof(serv), in usbip_vhci_imported_device_dump() 456 host, serv, remote_busid); in usbip_vhci_imported_device_dump()
|
/linux/fs/nfsd/ |
A D | nfssvc.c | 504 static void nfsd_last_thread(struct svc_serv *serv, struct net *net) in nfsd_last_thread() argument 524 svc_rpcb_cleanup(serv, net); in nfsd_last_thread() 614 struct svc_serv *serv; in nfsd_shutdown_threads() local 617 serv = nn->nfsd_serv; in nfsd_shutdown_threads() 618 if (serv == NULL) { in nfsd_shutdown_threads() 623 svc_get(serv); in nfsd_shutdown_threads() 625 serv->sv_ops->svo_setup(serv, NULL, 0); in nfsd_shutdown_threads()
|
/linux/include/net/caif/ |
A D | cfctrl.h | 44 enum cfctrl_srv serv, u8 phyid, 102 struct cfsrvl serv; member
|
/linux/tools/perf/Documentation/ |
A D | examples.txt | 97 0.90% git-update-serv /lib64/libc-2.5.so 98 0.73% git-update-serv /lib64/ld-2.5.so
|
/linux/tools/testing/selftests/net/mptcp/ |
A D | mptcp_connect.c | 126 char *serv, socklen_t servlen) in xgetnameinfo() argument 129 int err = getnameinfo(addr, addrlen, host, hostlen, serv, servlen, in xgetnameinfo()
|