/linux-2.6.39/fs/nfs/ |
D | callback.c | 31 struct svc_serv *serv; member 105 nfs4_callback_up(struct svc_serv *serv) in nfs4_callback_up() argument 109 ret = svc_create_xprt(serv, "tcp", &init_net, PF_INET, in nfs4_callback_up() 117 ret = svc_create_xprt(serv, "tcp", &init_net, PF_INET6, in nfs4_callback_up() 128 return svc_prepare_thread(serv, &serv->sv_pools[0]); in nfs4_callback_up() 144 struct svc_serv *serv = rqstp->rq_server; in nfs41_callback_svc() local 152 prepare_to_wait(&serv->sv_cb_waitq, &wq, TASK_INTERRUPTIBLE); in nfs41_callback_svc() 153 spin_lock_bh(&serv->sv_cb_lock); in nfs41_callback_svc() 154 if (!list_empty(&serv->sv_cb_list)) { in nfs41_callback_svc() 155 req = list_first_entry(&serv->sv_cb_list, in nfs41_callback_svc() [all …]
|
/linux-2.6.39/net/sunrpc/ |
D | svc.c | 33 static void svc_unregister(const struct svc_serv *serv); 35 #define svc_serv_is_pooled(serv) ((serv)->sv_function) argument 334 svc_pool_for_cpu(struct svc_serv *serv, int cpu) in svc_pool_for_cpu() argument 344 if (svc_serv_is_pooled(serv)) { in svc_pool_for_cpu() 354 return &serv->sv_pools[pidx % serv->sv_nrpools]; in svc_pool_for_cpu() 363 void (*shutdown)(struct svc_serv *serv)) in __svc_create() argument 365 struct svc_serv *serv; in __svc_create() local 370 if (!(serv = kzalloc(sizeof(*serv), GFP_KERNEL))) in __svc_create() 372 serv->sv_name = prog->pg_name; in __svc_create() 373 serv->sv_program = prog; in __svc_create() [all …]
|
D | svc_xprt.c | 150 struct svc_serv *serv) in svc_xprt_init() argument 156 xprt->xpt_server = serv; in svc_xprt_init() 170 struct svc_serv *serv, in __svc_xpo_create() argument 206 return xcl->xcl_ops->xpo_create(serv, net, sap, len, flags); in __svc_xpo_create() 209 int svc_create_xprt(struct svc_serv *serv, const char *xprt_name, in svc_create_xprt() argument 228 newxprt = __svc_xpo_create(xcl, serv, net, family, port, flags); in svc_create_xprt() 235 spin_lock_bh(&serv->sv_lock); in svc_create_xprt() 236 list_add(&newxprt->xpt_list, &serv->sv_permsocks); in svc_create_xprt() 237 spin_unlock_bh(&serv->sv_lock); in svc_create_xprt() 326 struct svc_serv *serv = xprt->xpt_server; in svc_xprt_enqueue() local [all …]
|
D | svcsock.c | 318 int svc_sock_names(struct svc_serv *serv, char *buf, const size_t buflen, in svc_sock_names() argument 324 if (!serv) in svc_sock_names() 327 spin_lock_bh(&serv->sv_lock); in svc_sock_names() 328 list_for_each_entry(svsk, &serv->sv_permsocks, sk_xprt.xpt_list) { in svc_sock_names() 340 spin_unlock_bh(&serv->sv_lock); in svc_sock_names() 519 struct svc_serv *serv = svsk->sk_xprt.xpt_server; in svc_udp_recvfrom() local 545 (serv->sv_nrthreads+3) * serv->sv_max_mesg, in svc_udp_recvfrom() 546 (serv->sv_nrthreads+3) * serv->sv_max_mesg); in svc_udp_recvfrom() 624 if (serv->sv_stats) in svc_udp_recvfrom() 625 serv->sv_stats->netudpcnt++; in svc_udp_recvfrom() [all …]
|
/linux-2.6.39/net/caif/ |
D | cfrfml.c | 17 #define container_obj(layr) container_of(layr, struct cfrfml, serv.layer) 25 struct cfsrvl serv; member 57 cfsrvl_init(&this->serv, channel_id, dev_info, false); in cfrfml_create() 58 this->serv.release = cfrfml_release; in cfrfml_create() 59 this->serv.layer.receive = cfrfml_receive; in cfrfml_create() 60 this->serv.layer.transmit = cfrfml_transmit; in cfrfml_create() 68 snprintf(this->serv.layer.name, CAIF_LAYER_NAME_SZ, in cfrfml_create() 71 return &this->serv.layer; in cfrfml_create() 170 err = rfml->serv.layer.up->receive(rfml->serv.layer.up, pkt); in cfrfml_receive() 187 rfml->serv.dev_info.id); in cfrfml_receive() [all …]
|
D | cfctrl.c | 16 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer) 44 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_create() 48 cfsrvl_init(&this->serv, 0, &dev_info, false); in cfctrl_create() 51 this->serv.layer.receive = cfctrl_recv; in cfctrl_create() 52 sprintf(this->serv.layer.name, "ctrl"); in cfctrl_create() 53 this->serv.layer.ctrlcmd = cfctrl_ctrlcmd; in cfctrl_create() 58 return &this->serv.layer; in cfctrl_create() 170 info->channel_id = cfctrl->serv.layer.id; in init_info() 171 info->dev_info = &cfctrl->serv.dev_info; in init_info() 183 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_enum_req() [all …]
|
D | cfcnfg.c | 67 enum cfctrl_srv serv, u8 phyid, 317 cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id, enum cfctrl_srv serv, in cfcnfg_linkup_rsp() argument 346 switch (serv) { in cfcnfg_linkup_rsp()
|
/linux-2.6.39/fs/lockd/ |
D | svc.c | 191 static int create_lockd_listener(struct svc_serv *serv, const char *name, in create_lockd_listener() argument 196 xprt = svc_find_xprt(serv, name, family, 0); in create_lockd_listener() 198 return svc_create_xprt(serv, name, &init_net, family, port, in create_lockd_listener() 204 static int create_lockd_family(struct svc_serv *serv, const int family) in create_lockd_family() argument 208 err = create_lockd_listener(serv, "udp", family, nlm_udpport); in create_lockd_family() 212 return create_lockd_listener(serv, "tcp", family, nlm_tcpport); in create_lockd_family() 225 static int make_socks(struct svc_serv *serv) in make_socks() argument 230 err = create_lockd_family(serv, PF_INET); in make_socks() 234 err = create_lockd_family(serv, PF_INET6); in make_socks() 253 struct svc_serv *serv; in lockd_up() local [all …]
|
/linux-2.6.39/include/linux/sunrpc/ |
D | svcsock.h | 40 void svc_sock_update_bufs(struct svc_serv *serv); 41 int svc_sock_names(struct svc_serv *serv, char *buf, 44 int svc_addsock(struct svc_serv *serv, const int fd, 48 struct svc_xprt *svc_sock_create(struct svc_serv *serv, int prot);
|
D | svc.h | 87 void (*sv_shutdown)(struct svc_serv *serv); 112 static inline void svc_get(struct svc_serv *serv) in svc_get() argument 114 serv->sv_nrthreads++; in svc_get() 405 struct svc_rqst *svc_prepare_thread(struct svc_serv *serv, 412 int svc_pool_stats_open(struct svc_serv *serv, struct file *file); 422 struct svc_pool * svc_pool_for_cpu(struct svc_serv *serv, int cpu);
|
D | svc_xprt.h | 123 struct svc_xprt *svc_find_xprt(struct svc_serv *serv, const char *xcl_name, 125 int svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen);
|
/linux-2.6.39/include/net/caif/ |
D | cfctrl.h | 44 enum cfctrl_srv serv, u8 phyid, 102 struct cfsrvl serv; member
|
/linux-2.6.39/net/sunrpc/xprtrdma/ |
D | svc_rdma_transport.c | 55 static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, 447 static struct svcxprt_rdma *rdma_create_xprt(struct svc_serv *serv, in rdma_create_xprt() argument 454 svc_xprt_init(&svc_rdma_class, &cma_xprt->sc_xprt, serv); in rdma_create_xprt() 678 static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, in svc_rdma_create() argument 693 cma_xprt = rdma_create_xprt(serv, 1); in svc_rdma_create()
|
/linux-2.6.39/tools/perf/Documentation/ |
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-2.6.39/fs/nfsd/ |
D | nfssvc.c | 253 static void nfsd_last_thread(struct svc_serv *serv) in nfsd_last_thread() argument
|