/kernel/linux/linux-5.10/net/qrtr/ |
D | ns.c | 91 static int server_match(const struct qrtr_server *srv, in server_match() argument 96 if (f->service != 0 && srv->service != f->service) in server_match() 101 return (srv->instance & ifilter) == f->instance; in server_match() 105 struct qrtr_server *srv) in service_announce_new() argument 111 trace_qrtr_ns_service_announce_new(srv->service, srv->instance, in service_announce_new() 112 srv->node, srv->port); in service_announce_new() 119 pkt.server.service = cpu_to_le32(srv->service); in service_announce_new() 120 pkt.server.instance = cpu_to_le32(srv->instance); in service_announce_new() 121 pkt.server.node = cpu_to_le32(srv->node); in service_announce_new() 122 pkt.server.port = cpu_to_le32(srv->port); in service_announce_new() [all …]
|
/kernel/linux/linux-5.10/net/tipc/ |
D | topsrv.c | 251 struct tipc_topsrv *srv = con->server; in tipc_conn_send_to_sock() local 285 tipc_topsrv_kern_evt(srv->net, evt); in tipc_conn_send_to_sock() 316 struct tipc_topsrv *srv = tipc_topsrv(net); in tipc_topsrv_queue_evt() local 320 con = tipc_conn_lookup(srv, conid); in tipc_topsrv_queue_evt() 336 if (queue_work(srv->send_wq, &con->swork)) in tipc_topsrv_queue_evt() 360 static int tipc_conn_rcv_sub(struct tipc_topsrv *srv, in tipc_conn_rcv_sub() argument 364 struct tipc_net *tn = tipc_net(srv->net); in tipc_conn_rcv_sub() 377 sub = tipc_sub_subscribe(srv->net, s, con->conid); in tipc_conn_rcv_sub() 389 struct tipc_topsrv *srv = con->server; in tipc_conn_rcv_from_sock() local 407 ret = tipc_conn_rcv_sub(srv, con, &s); in tipc_conn_rcv_from_sock() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv-sysfs.c | 159 struct rtrs_srv *srv = sess->srv; in rtrs_srv_create_once_sysfs_root_folders() local 162 mutex_lock(&srv->paths_mutex); in rtrs_srv_create_once_sysfs_root_folders() 163 if (srv->dev_ref++) { in rtrs_srv_create_once_sysfs_root_folders() 169 srv->dev.class = rtrs_dev_class; in rtrs_srv_create_once_sysfs_root_folders() 170 err = dev_set_name(&srv->dev, "%s", sess->s.sessname); in rtrs_srv_create_once_sysfs_root_folders() 178 dev_set_uevent_suppress(&srv->dev, true); in rtrs_srv_create_once_sysfs_root_folders() 179 err = device_add(&srv->dev); in rtrs_srv_create_once_sysfs_root_folders() 184 srv->kobj_paths = kobject_create_and_add("paths", &srv->dev.kobj); in rtrs_srv_create_once_sysfs_root_folders() 185 if (!srv->kobj_paths) { in rtrs_srv_create_once_sysfs_root_folders() 188 device_del(&srv->dev); in rtrs_srv_create_once_sysfs_root_folders() [all …]
|
D | rtrs-srv.c | 147 struct rtrs_srv *srv = sess->srv; in rtrs_srv_free_ops_ids() local 152 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids() 167 struct rtrs_srv *srv = sess->srv; in rtrs_srv_alloc_ops_ids() local 171 sess->ops_ids = kcalloc(srv->queue_depth, sizeof(*sess->ops_ids), in rtrs_srv_alloc_ops_ids() 176 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids() 234 struct rtrs_srv *srv = sess->srv; in rdma_write_sg() local 302 flags = (atomic_inc_return(&id->con->wr_cnt) % srv->queue_depth) ? in rdma_write_sg() 380 struct rtrs_srv *srv = sess->srv; in send_io_resp_imm() local 429 flags = (atomic_inc_return(&con->wr_cnt) % srv->queue_depth) ? in send_io_resp_imm() 573 void rtrs_srv_set_sess_priv(struct rtrs_srv *srv, void *priv) in rtrs_srv_set_sess_priv() argument [all …]
|
D | Makefile | 7 rtrs-server-y := rtrs-srv.o \ 8 rtrs-srv-stats.o \ 9 rtrs-srv-sysfs.o
|
D | rtrs-srv.h | 78 struct rtrs_srv *srv; member
|
/kernel/linux/linux-5.10/drivers/pci/pcie/ |
D | pme.c | 43 struct pcie_device *srv; member 217 struct pci_dev *port = data->srv->port; in pcie_pme_work_fn() 321 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe() argument 333 data->srv = srv; in pcie_pme_probe() 334 set_service_data(srv, data); in pcie_pme_probe() 336 port = srv->port; in pcie_pme_probe() 340 ret = request_irq(srv->irq, pcie_pme_irq, IRQF_SHARED, "PCIe PME", srv); in pcie_pme_probe() 346 pci_info(port, "Signaling with IRQ %d\n", srv->irq); in pcie_pme_probe() 382 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend() argument 384 struct pcie_pme_service_data *data = get_service_data(srv); in pcie_pme_suspend() [all …]
|
/kernel/linux/linux-5.10/drivers/hv/ |
D | hv_util.c | 107 static int hv_shutdown_init(struct hv_util_service *srv) in hv_shutdown_init() argument 109 struct vmbus_channel *channel = srv->channel; in hv_shutdown_init() 125 static int hv_timesync_init(struct hv_util_service *srv); 509 struct hv_util_service *srv = in util_probe() local 513 srv->recv_buffer = kmalloc(HV_HYP_PAGE_SIZE * 4, GFP_KERNEL); in util_probe() 514 if (!srv->recv_buffer) in util_probe() 516 srv->channel = dev->channel; in util_probe() 517 if (srv->util_init) { in util_probe() 518 ret = srv->util_init(srv); in util_probe() 534 hv_set_drvdata(dev, srv); in util_probe() [all …]
|
D | hyperv_vmbus.h | 358 int hv_kvp_init(struct hv_util_service *srv); 364 int hv_vss_init(struct hv_util_service *srv); 370 int hv_fcopy_init(struct hv_util_service *srv);
|
D | hv_fcopy.c | 328 int hv_fcopy_init(struct hv_util_service *srv) in hv_fcopy_init() argument 330 recv_buffer = srv->recv_buffer; in hv_fcopy_init() 331 fcopy_transaction.recv_channel = srv->channel; in hv_fcopy_init()
|
D | hv_snapshot.c | 354 hv_vss_init(struct hv_util_service *srv) in hv_vss_init() argument 361 recv_buffer = srv->recv_buffer; in hv_vss_init() 362 vss_transaction.recv_channel = srv->channel; in hv_vss_init()
|
D | hv_kvp.c | 740 hv_kvp_init(struct hv_util_service *srv) in hv_kvp_init() argument 742 recv_buffer = srv->recv_buffer; in hv_kvp_init() 743 kvp_transaction.recv_channel = srv->channel; in hv_kvp_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_reg.c | 72 void dmub_reg_update(struct dmub_srv *srv, uint32_t addr, int n, uint8_t shift1, in dmub_reg_update() argument 84 reg_val = srv->funcs.reg_read(srv->user_ctx, addr); in dmub_reg_update() 86 srv->funcs.reg_write(srv->user_ctx, addr, reg_val); in dmub_reg_update() 89 void dmub_reg_set(struct dmub_srv *srv, uint32_t addr, uint32_t reg_val, int n, in dmub_reg_set() argument 101 srv->funcs.reg_write(srv->user_ctx, addr, reg_val); in dmub_reg_set() 104 void dmub_reg_get(struct dmub_srv *srv, uint32_t addr, uint8_t shift, in dmub_reg_get() argument 107 uint32_t reg_val = srv->funcs.reg_read(srv->user_ctx, addr); in dmub_reg_get()
|
D | dmub_reg.h | 115 void dmub_reg_set(struct dmub_srv *srv, uint32_t addr, uint32_t reg_val, int n, 118 void dmub_reg_update(struct dmub_srv *srv, uint32_t addr, int n, uint8_t shift1, 121 void dmub_reg_get(struct dmub_srv *srv, uint32_t addr, uint8_t shift,
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_ktls.c | 43 int err, cli, srv, zero = 0; in test_sockmap_ktls_disconnect_after_delete() local 45 srv = tcp_server(family); in test_sockmap_ktls_disconnect_after_delete() 46 if (srv == -1) in test_sockmap_ktls_disconnect_after_delete() 49 err = getsockname(srv, (struct sockaddr *)&addr, &len); in test_sockmap_ktls_disconnect_after_delete() 92 close(srv); in test_sockmap_ktls_disconnect_after_delete()
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | Makefile | 10 rnbd-srv.o \ 11 rnbd-srv-dev.o \ 12 rnbd-srv-sysfs.o
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_net_container_005.cpp | 182 pthread_t srv; in ItNetContainer005() local 188 ret = pthread_create(&srv, &attr, UdpServerThread, nullptr); in ItNetContainer005() 205 ret = pthread_join(srv, &tret); in ItNetContainer005()
|
D | It_net_container_009.cpp | 208 pthread_t srv; in ItNetContainer009() local 222 ret = pthread_create(&srv, &attr, TcpClientThread, nullptr); in ItNetContainer009() 225 ret = pthread_join(srv, &tret); in ItNetContainer009()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_psr.c | 78 struct dmub_srv *srv = dmub->ctx->dmub_srv->dmub; in dmub_psr_get_state() local 81 dmub_srv_send_gpint_command(srv, DMUB_GPINT__GET_PSR_STATE, 0, 30); in dmub_psr_get_state() 83 dmub_srv_get_gpint_response(srv, psr_state); in dmub_psr_get_state()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_003.cpp | 286 pthread_t srv, cli; in TcpTest() local 295 ret = pthread_create(&srv, &attr, TcpServerRoutine, NULL); in TcpTest() 306 ret = pthread_join(srv, &sret); in TcpTest()
|
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.c | 34 #define SRVTRACE_LEVEL(srv) \ argument 35 (((srv) && (srv)->trace) ? VCHIQ_LOG_TRACE : vchiq_core_msg_log_level) 36 #define SRVTRACE_ENABLED(srv, lev) \ argument 37 (((srv) && (srv)->trace) || (vchiq_core_msg_log_level >= (lev))) 242 struct vchiq_service *srv; in __next_service_by_instance() local 244 srv = rcu_dereference(state->services[idx++]); in __next_service_by_instance() 245 if (srv && srv->srvstate != VCHIQ_SRVSTATE_FREE && in __next_service_by_instance() 246 srv->instance == instance) { in __next_service_by_instance() 247 service = srv; in __next_service_by_instance() 2417 struct vchiq_service *srv; in vchiq_add_service_internal() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.h | 63 struct SVGA3dCmdDXDestroyShaderResourceView srv; member
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | cifsglob.h | 940 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns() argument 942 return srv->net; in cifs_net_ns() 945 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns() argument 947 srv->net = net; in cifs_set_net_ns() 952 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns() argument 957 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns() argument
|
D | misc.c | 407 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break() argument 424 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break() 478 list_for_each(tmp, &srv->smb_ses_list) { in is_valid_oplock_break()
|
/kernel/linux/linux-5.10/Documentation/networking/mac80211_hwsim/ |
D | mac80211_hwsim.rst | 79 git://w1.fi/srv/git/hostap.git and mac80211_hwsim/tests subdirectory
|