/linux-6.3-rc2/fs/nfs/ |
A D | callback.c | 34 struct svc_serv *serv; member 151 xprt->bc_serv = serv; in nfs_callback_bc_serv() 243 if (cb_info->serv) in nfs_callback_create_svc() 264 if (!serv) { in nfs_callback_create_svc() 268 cb_info->serv = serv; in nfs_callback_create_svc() 274 return serv; in nfs_callback_create_svc() 290 if (IS_ERR(serv)) { in nfs_callback_up() 307 svc_put(serv); in nfs_callback_up() 327 serv = cb_info->serv; in nfs_callback_down() 331 svc_get(serv); in nfs_callback_down() [all …]
|
/linux-6.3-rc2/net/sunrpc/ |
A D | svc.c | 388 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu() 464 if (!(serv = kzalloc(sizeof(*serv), GFP_KERNEL))) in __svc_create() 501 kfree(serv); in __svc_create() 521 return serv; in __svc_create() 555 if (!serv) in svc_create_pooled() 557 return serv; in svc_create_pooled() 596 kfree(serv); in svc_destroy() 687 svc_get(serv); in svc_prepare_thread() 708 return &serv->sv_pools[(*state)++ % serv->sv_nrpools]; in choose_pool() 725 pool = &serv->sv_pools[--(*state) % serv->sv_nrpools]; in choose_victim() [all …]
|
A D | svc_xprt.c | 193 xprt->xpt_server = serv; in svc_xprt_init() 633 unsigned int limit = serv->sv_maxconn ? serv->sv_maxconn : in svc_check_conn_limits() 642 serv->sv_name, serv->sv_maxconn ? in svc_check_conn_limits() 792 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() 1156 while (svc_close_list(serv, &serv->sv_permsocks, net) + in svc_xprt_destroy_all() 1157 svc_close_list(serv, &serv->sv_tempsocks, net)) { in svc_xprt_destroy_all() 1367 if (!serv) in svc_xprt_names() [all …]
|
A D | svcsock.c | 508 if (serv->sv_stats) in svc_udp_recvfrom() 509 serv->sv_stats->netudpcnt++; in svc_udp_recvfrom() 654 &svsk->sk_xprt, serv); in svc_udp_init() 755 serv->sv_name); in svc_tcp_accept() 796 if (serv->sv_stats) in svc_tcp_accept() 1030 if (serv->sv_stats) in svc_tcp_recvfrom() 1031 serv->sv_stats->nettcpcnt++; in svc_tcp_recvfrom() 1243 &svsk->sk_xprt, serv); in svc_tcp_init() 1282 spin_lock_bh(&serv->sv_lock); in svc_sock_update_bufs() 1333 svc_udp_init(svsk, serv); in svc_setup_socket() [all …]
|
/linux-6.3-rc2/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() 378 enum cfctrl_srv serv; in cfctrl_recv() local 391 serv = tmp & CFCTRL_SRV_MASK; in cfctrl_recv() 392 linkparam.linktype = serv; in cfctrl_recv() 406 switch (serv) { in cfctrl_recv() 492 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-6.3-rc2/fs/lockd/ |
A D | svc.c | 250 svc_xprt_destroy_all(serv, net); in make_socks() 251 svc_rpcb_cleanup(serv, net); in make_socks() 264 error = svc_bind(serv, net); in lockd_up_net() 268 error = make_socks(serv, net, cred); in lockd_up_net() 289 svc_xprt_destroy_all(serv, net); in lockd_down_net() 290 svc_rpcb_cleanup(serv, net); in lockd_down_net() 354 struct svc_serv *serv; in lockd_get() local 376 if (!serv) { in lockd_get() 381 serv->sv_maxconn = nlm_max_connections; in lockd_get() 384 svc_put(serv); in lockd_get() [all …]
|
/linux-6.3-rc2/include/linux/sunrpc/ |
A D | svc.h | 103 static inline struct svc_serv *svc_get(struct svc_serv *serv) in svc_get() argument 105 kref_get(&serv->sv_refcnt); in svc_get() 106 return serv; in svc_get() 118 static inline void svc_put(struct svc_serv *serv) in svc_put() argument 120 kref_put(&serv->sv_refcnt, svc_destroy); in svc_put() 131 static inline bool svc_put_not_last(struct svc_serv *serv) in svc_put_not_last() argument 133 return refcount_dec_not_one(&serv->sv_refcnt.refcount); in svc_put_not_last() 418 int svc_rpcb_setup(struct svc_serv *serv, struct net *net); 420 int svc_bind(struct svc_serv *serv, struct net *net); 423 struct svc_rqst *svc_rqst_alloc(struct svc_serv *serv, [all …]
|
A D | bc_xprt.h | 42 static inline void set_bc_enabled(struct svc_serv *serv) in set_bc_enabled() argument 44 serv->sv_bc_enabled = true; in set_bc_enabled() 63 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 | 131 int svc_xprt_create(struct svc_serv *serv, const char *xprt_name, 135 void svc_xprt_destroy_all(struct svc_serv *serv, struct net *net); 143 struct svc_xprt *svc_find_xprt(struct svc_serv *serv, const char *xcl_name, 146 int svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen); 147 void svc_add_new_perm_xprt(struct svc_serv *serv, struct svc_xprt *xprt);
|
/linux-6.3-rc2/fs/nfsd/ |
A D | nfssvc.c | 558 svc_rpcb_cleanup(serv, net); in nfsd_last_thread() 630 struct svc_serv *serv; in nfsd_shutdown_threads() local 633 serv = nn->nfsd_serv; in nfsd_shutdown_threads() 634 if (serv == NULL) { in nfsd_shutdown_threads() 639 svc_get(serv); in nfsd_shutdown_threads() 641 svc_set_num_threads(serv, NULL, 0); in nfsd_shutdown_threads() 655 struct svc_serv *serv; in nfsd_create_serv() local 666 if (serv == NULL) in nfsd_create_serv() 670 error = svc_bind(serv, net); in nfsd_create_serv() 675 svc_put(serv); in nfsd_create_serv() [all …]
|
/linux-6.3-rc2/include/net/caif/ |
A D | cfctrl.h | 44 enum cfctrl_srv serv, u8 phyid, 102 struct cfsrvl serv; member
|
/linux-6.3-rc2/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-6.3-rc2/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, 125 static struct svcxprt_rdma *svc_rdma_create_xprt(struct svc_serv *serv, in svc_rdma_create_xprt() argument 134 svc_xprt_init(net, &svc_rdma_class, &cma_xprt->sc_xprt, serv); in svc_rdma_create_xprt() 296 static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, in svc_rdma_create() argument 307 cma_xprt = svc_rdma_create_xprt(serv, net); in svc_rdma_create()
|
/linux-6.3-rc2/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-6.3-rc2/tools/testing/selftests/net/mptcp/ |
A D | mptcp_connect.c | 165 char *serv, socklen_t servlen) in xgetnameinfo() argument 168 int err = getnameinfo(addr, addrlen, host, hostlen, serv, servlen, in xgetnameinfo()
|