Home
last modified time | relevance | path

Searched refs:srv (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.1.9/net/qrtr/
Dns.c91 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 …]
/linux-6.1.9/drivers/block/rnbd/
Drnbd-srv-trace.h19 TP_PROTO(struct rnbd_srv_session *srv),
21 TP_ARGS(srv),
25 __string(sessname, srv->sessname)
29 __entry->qdepth = srv->queue_depth;
30 __assign_str(sessname, srv->sessname);
41 TP_PROTO(struct rnbd_srv_session *srv), \
42 TP_ARGS(srv))
66 TP_PROTO(struct rnbd_srv_session *srv,
72 TP_ARGS(srv, msg, id, datalen, usrlen),
75 __string(sessname, srv->sessname)
[all …]
DMakefile9 CFLAGS_rnbd-srv-trace.o = -I$(src)
12 rnbd-srv.o \
13 rnbd-srv-sysfs.o \
14 rnbd-srv-trace.o
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs-srv-sysfs.c157 struct rtrs_srv_sess *srv = srv_path->srv; in rtrs_srv_create_once_sysfs_root_folders() local
160 mutex_lock(&srv->paths_mutex); in rtrs_srv_create_once_sysfs_root_folders()
161 if (srv->dev_ref++) { in rtrs_srv_create_once_sysfs_root_folders()
167 srv->dev.class = rtrs_dev_class; in rtrs_srv_create_once_sysfs_root_folders()
168 err = dev_set_name(&srv->dev, "%s", srv_path->s.sessname); in rtrs_srv_create_once_sysfs_root_folders()
176 dev_set_uevent_suppress(&srv->dev, true); in rtrs_srv_create_once_sysfs_root_folders()
177 err = device_add(&srv->dev); in rtrs_srv_create_once_sysfs_root_folders()
180 put_device(&srv->dev); in rtrs_srv_create_once_sysfs_root_folders()
183 srv->kobj_paths = kobject_create_and_add("paths", &srv->dev.kobj); in rtrs_srv_create_once_sysfs_root_folders()
184 if (!srv->kobj_paths) { in rtrs_srv_create_once_sysfs_root_folders()
[all …]
Drtrs-srv.c102 struct rtrs_srv_sess *srv = srv_path->srv; in rtrs_srv_free_ops_ids() local
106 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids()
131 struct rtrs_srv_sess *srv = srv_path->srv; in rtrs_srv_alloc_ops_ids() local
135 srv_path->ops_ids = kcalloc(srv->queue_depth, in rtrs_srv_alloc_ops_ids()
141 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids()
537 void rtrs_srv_set_sess_priv(struct rtrs_srv_sess *srv, void *priv) in rtrs_srv_set_sess_priv() argument
539 srv->priv = priv; in rtrs_srv_set_sess_priv()
562 struct rtrs_srv_sess *srv = srv_path->srv; in map_cont_bufs() local
577 mrs_num = srv->queue_depth; in map_cont_bufs()
581 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs()
[all …]
DMakefile10 CFLAGS_rtrs-srv-trace.o = -I$(src)
12 rtrs-server-y := rtrs-srv.o \
13 rtrs-srv-stats.o \
14 rtrs-srv-sysfs.o \
15 rtrs-srv-trace.o
Drtrs-srv-trace.h86 #define TRACE_INCLUDE_FILE rtrs-srv-trace
Drtrs-srv.h77 struct rtrs_srv_sess *srv; member
/linux-6.1.9/net/tipc/
Dtopsrv.c251 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 …]
/linux-6.1.9/drivers/pci/pcie/
Dpme.c43 struct pcie_device *srv; member
217 struct pci_dev *port = data->srv->port; in pcie_pme_work_fn()
324 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe() argument
326 struct pci_dev *port = srv->port; in pcie_pme_probe()
342 data->srv = srv; in pcie_pme_probe()
343 set_service_data(srv, data); in pcie_pme_probe()
348 ret = request_irq(srv->irq, pcie_pme_irq, IRQF_SHARED, "PCIe PME", srv); in pcie_pme_probe()
354 pci_info(port, "Signaling with IRQ %d\n", srv->irq); in pcie_pme_probe()
390 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend() argument
392 struct pcie_pme_service_data *data = get_service_data(srv); in pcie_pme_suspend()
[all …]
/linux-6.1.9/drivers/hv/
Dhv_util.c106 static int hv_shutdown_init(struct hv_util_service *srv) in hv_shutdown_init() argument
108 struct vmbus_channel *channel = srv->channel; in hv_shutdown_init()
124 static int hv_timesync_init(struct hv_util_service *srv);
562 struct hv_util_service *srv = in util_probe() local
566 srv->recv_buffer = kmalloc(HV_HYP_PAGE_SIZE * 4, GFP_KERNEL); in util_probe()
567 if (!srv->recv_buffer) in util_probe()
569 srv->channel = dev->channel; in util_probe()
570 if (srv->util_init) { in util_probe()
571 ret = srv->util_init(srv); in util_probe()
587 hv_set_drvdata(dev, srv); in util_probe()
[all …]
Dhyperv_vmbus.h367 int hv_kvp_init(struct hv_util_service *srv);
373 int hv_vss_init(struct hv_util_service *srv);
379 int hv_fcopy_init(struct hv_util_service *srv);
Dhv_fcopy.c348 int hv_fcopy_init(struct hv_util_service *srv) in hv_fcopy_init() argument
350 recv_buffer = srv->recv_buffer; in hv_fcopy_init()
351 fcopy_transaction.recv_channel = srv->channel; in hv_fcopy_init()
Dhv_snapshot.c372 hv_vss_init(struct hv_util_service *srv) in hv_vss_init() argument
379 recv_buffer = srv->recv_buffer; in hv_vss_init()
380 vss_transaction.recv_channel = srv->channel; in hv_vss_init()
Dhv_kvp.c756 hv_kvp_init(struct hv_util_service *srv) in hv_kvp_init() argument
758 recv_buffer = srv->recv_buffer; in hv_kvp_init()
759 kvp_transaction.recv_channel = srv->channel; in hv_kvp_init()
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_reg.c72 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()
Ddmub_reg.h115 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,
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dsockmap_ktls.c40 int err, cli, srv, zero = 0; in test_sockmap_ktls_disconnect_after_delete() local
42 srv = tcp_server(family); in test_sockmap_ktls_disconnect_after_delete()
43 if (srv == -1) in test_sockmap_ktls_disconnect_after_delete()
46 err = getsockname(srv, (struct sockaddr *)&addr, &len); in test_sockmap_ktls_disconnect_after_delete()
76 close(srv); in test_sockmap_ktls_disconnect_after_delete()
/linux-6.1.9/tools/testing/selftests/netfilter/
Dnft_nat_zones.sh38 srv="ns-srv-$sfx"
50 ip netns del $srv
95 ip netns add "$srv"
97 echo "SKIP: Could not create server netns $srv"
101 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv"
103 ip -net "$srv" link set lo up
104 ip -net "$srv" link set eth0 up
158 ip -net "$srv" addr add 10.3.0.99/24 dev eth0
159 ip -net "$srv" addr add dead:3::99/64 dev eth0
268 ip netns exec $srv iperf3 -s > /dev/null 2>&1 &
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_psr.c102 struct dmub_srv *srv = dmub->ctx->dmub_srv->dmub; in dmub_psr_get_state() local
109 status = dmub_srv_send_gpint_command(srv, DMUB_GPINT__GET_PSR_STATE, panel_inst, 30); in dmub_psr_get_state()
113 dmub_srv_get_gpint_response(srv, &raw_state); in dmub_psr_get_state()
445 struct dmub_srv *srv = dmub->ctx->dmub_srv->dmub; in dmub_psr_get_residency() local
449 dmub_srv_send_gpint_command(srv, DMUB_GPINT__PSR_RESIDENCY, param, 30); in dmub_psr_get_residency()
451 dmub_srv_get_gpint_response(srv, residency); in dmub_psr_get_residency()
/linux-6.1.9/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c106 #define SRVTRACE_LEVEL(srv) \ argument
107 (((srv) && (srv)->trace) ? VCHIQ_LOG_TRACE : vchiq_core_msg_log_level)
108 #define SRVTRACE_ENABLED(srv, lev) \ argument
109 (((srv) && (srv)->trace) || (vchiq_core_msg_log_level >= (lev)))
337 struct vchiq_service *srv; in __next_service_by_instance() local
339 srv = rcu_dereference(state->services[idx]); in __next_service_by_instance()
341 if (srv && srv->srvstate != VCHIQ_SRVSTATE_FREE && in __next_service_by_instance()
342 srv->instance == instance) { in __next_service_by_instance()
343 service = srv; in __next_service_by_instance()
2429 struct vchiq_service *srv; in vchiq_add_service_internal() local
[all …]
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_so.h63 struct SVGA3dCmdDXDestroyShaderResourceView srv; member
/linux-6.1.9/fs/cifs/
Dcifsglob.h539 void (*is_network_name_deleted)(char *buf, struct TCP_Server_Info *srv);
929 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns() argument
931 return srv->net; in cifs_net_ns()
934 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns() argument
936 srv->net = net; in cifs_set_net_ns()
941 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns() argument
946 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns() argument
Dmisc.c399 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break() argument
416 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
469 pserver = CIFS_SERVER_IS_CHAN(srv) ? srv->primary_server : srv; in is_valid_oplock_break()
/linux-6.1.9/Documentation/networking/mac80211_hwsim/
Dmac80211_hwsim.rst79 git://w1.fi/srv/git/hostap.git and mac80211_hwsim/tests subdirectory

12