| /linux/net/qrtr/ |
| H A D | ns.c | 96 static int server_match(const struct qrtr_server *srv, in server_match() argument 101 if (f->service != 0 && srv->service != f->service) in server_match() 106 return (srv->instance & ifilter) == f->instance; in server_match() 110 struct qrtr_server *srv) in service_announce_new() argument 116 trace_qrtr_ns_service_announce_new(srv->service, srv->instance, in service_announce_new() 117 srv->node, srv->port); in service_announce_new() 124 pkt.server.service = cpu_to_le32(srv->service); in service_announce_new() 125 pkt.server.instance = cpu_to_le32(srv in service_announce_new() 136 service_announce_del(struct sockaddr_qrtr * dest,struct qrtr_server * srv) service_announce_del() argument 166 lookup_notify(struct sockaddr_qrtr * to,struct qrtr_server * srv,bool new) lookup_notify() argument 197 struct qrtr_server *srv; announce_servers() local 225 struct qrtr_server *srv; server_add() local 270 struct qrtr_server *srv; server_del() local 338 struct qrtr_server *srv; ctrl_cmd_bye() local 390 struct qrtr_server *srv; ctrl_cmd_del_client() local 462 struct qrtr_server *srv; ctrl_cmd_new_server() local 528 struct qrtr_server *srv; ctrl_cmd_new_lookup() local [all...] |
| /linux/net/tipc/ |
| H A D | topsrv.c | 252 struct tipc_topsrv *srv = con->server; in tipc_conn_send_to_sock() local 286 tipc_topsrv_kern_evt(srv->net, evt); in tipc_conn_send_to_sock() 317 struct tipc_topsrv *srv = tipc_topsrv(net); in tipc_topsrv_queue_evt() local 321 con = tipc_conn_lookup(srv, conid); in tipc_topsrv_queue_evt() 337 if (queue_work(srv->send_wq, &con->swork)) in tipc_topsrv_queue_evt() 361 static int tipc_conn_rcv_sub(struct tipc_topsrv *srv, in tipc_conn_rcv_sub() argument 365 struct tipc_net *tn = tipc_net(srv->net); in tipc_conn_rcv_sub() 378 sub = tipc_sub_subscribe(srv->net, s, con->conid); in tipc_conn_rcv_sub() 390 struct tipc_topsrv *srv = con->server; in tipc_conn_rcv_from_sock() local 408 ret = tipc_conn_rcv_sub(srv, con, &s); in tipc_conn_rcv_from_sock() [all …]
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-srv-sysfs.c | 157 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 …]
|
| H A D | rtrs-srv.c | 108 struct rtrs_srv_sess *srv = srv_path->srv; in rtrs_srv_free_ops_ids() local 112 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids() 137 struct rtrs_srv_sess *srv = srv_path->srv; in rtrs_srv_alloc_ops_ids() local 141 srv_path->ops_ids = kcalloc(srv->queue_depth, in rtrs_srv_alloc_ops_ids() 147 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids() 543 void rtrs_srv_set_sess_priv(struct rtrs_srv_sess *srv, void *priv) in rtrs_srv_set_sess_priv() argument 545 srv->priv = priv; in rtrs_srv_set_sess_priv() 571 struct rtrs_srv_sess *srv = srv_path->srv; in map_cont_bufs() local 588 mrs_num = srv->queue_depth; in map_cont_bufs() 592 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs() [all …]
|
| H A D | Makefile | 10 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
|
| H A D | rtrs-srv-trace.h | 86 #define TRACE_INCLUDE_FILE rtrs-srv-trace
|
| H A D | rtrs-srv.h | 77 struct rtrs_srv_sess *srv; member
|
| /linux/drivers/pci/pcie/ |
| H A D | bwctrl.c | 182 static void pcie_bwnotif_enable(struct pcie_device *srv) in pcie_bwnotif_enable() argument 184 struct pci_dev *port = srv->port; in pcie_bwnotif_enable() 213 struct pcie_device *srv = context; in pcie_bwnotif_irq() local 214 struct pci_dev *port = srv->port; in pcie_bwnotif_irq() 248 static int pcie_bwnotif_probe(struct pcie_device *srv) in pcie_bwnotif_probe() argument 250 struct pci_dev *port = srv->port; in pcie_bwnotif_probe() 257 struct pcie_bwctrl_data *data = devm_kzalloc(&srv->device, in pcie_bwnotif_probe() 262 ret = devm_mutex_init(&srv->device, &data->set_speed_mutex); in pcie_bwnotif_probe() 269 ret = request_irq(srv->irq, pcie_bwnotif_irq, in pcie_bwnotif_probe() 270 IRQF_SHARED, "PCIe bwctrl", srv); in pcie_bwnotif_probe() [all …]
|
| H A D | pme.c | 44 struct pcie_device *srv; member 218 struct pci_dev *port = data->srv->port; in pcie_pme_work_fn() 326 static int pcie_pme_probe(struct pcie_device *srv) in pcie_pme_probe() argument 328 struct pci_dev *port = srv->port; in pcie_pme_probe() 344 data->srv = srv; in pcie_pme_probe() 345 set_service_data(srv, data); in pcie_pme_probe() 350 ret = request_irq(srv->irq, pcie_pme_irq, IRQF_SHARED, "PCIe PME", srv); in pcie_pme_probe() 356 pci_info(port, "Signaling with IRQ %d\n", srv->irq); in pcie_pme_probe() 392 static int pcie_pme_suspend(struct pcie_device *srv) in pcie_pme_suspend() argument 394 struct pcie_pme_service_data *data = get_service_data(srv); in pcie_pme_suspend() [all …]
|
| /linux/drivers/hv/ |
| H A D | hv_util.c | 106 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); 585 struct hv_util_service *srv = in util_probe() local 589 srv->recv_buffer = kmalloc_array(4, HV_HYP_PAGE_SIZE, GFP_KERNEL); in util_probe() 590 if (!srv->recv_buffer) in util_probe() 592 srv->channel = dev->channel; in util_probe() 593 if (srv->util_init) { in util_probe() 594 ret = srv->util_init(srv); in util_probe() 608 hv_set_drvdata(dev, srv); in util_probe() [all …]
|
| H A D | hv_snapshot.c | 373 hv_vss_init(struct hv_util_service *srv) in hv_vss_init() argument 380 recv_buffer = srv->recv_buffer; in hv_vss_init() 381 vss_transaction.recv_channel = srv->channel; in hv_vss_init()
|
| H A D | hyperv_vmbus.h | 430 int hv_kvp_init(struct hv_util_service *srv); 437 int hv_vss_init(struct hv_util_service *srv);
|
| H A D | hv_kvp.c | 756 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/drivers/gpu/drm/amd/display/dmub/src/ |
| H A 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()
|
| H A D | dmub_reg.h | 114 void dmub_reg_set(struct dmub_srv *srv, uint32_t addr, uint32_t reg_val, int n, 117 void dmub_reg_update(struct dmub_srv *srv, uint32_t addr, int n, uint8_t shift1, 120 void dmub_reg_get(struct dmub_srv *srv, uint32_t addr, uint8_t shift,
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | net_test.c | 40 static int set_service(struct service_fixture *const srv, in set_service() argument 44 memset(srv, 0, sizeof(*srv)); in set_service() 50 srv->protocol = prot; in set_service() 55 srv->port = sock_port_start << (2 * index); in set_service() 60 srv->ipv4_addr.sin_family = prot.domain; in set_service() 61 srv->ipv4_addr.sin_port = htons(srv->port); in set_service() 62 srv->ipv4_addr.sin_addr.s_addr = inet_addr(loopback_ipv4); in set_service() 66 srv->ipv6_addr.sin6_family = prot.domain; in set_service() 67 srv->ipv6_addr.sin6_port = htons(srv->port); in set_service() 68 inet_pton(AF_INET6, loopback_ipv6, &srv->ipv6_addr.sin6_addr); in set_service() [all …]
|
| H A D | common.h | 243 static void __maybe_unused set_unix_address(struct service_fixture *const srv, in set_unix_address() argument 246 srv->unix_addr.sun_family = AF_UNIX; in set_unix_address() 247 sprintf(srv->unix_addr.sun_path, in set_unix_address() 250 srv->unix_addr_len = SUN_LEN(&srv->unix_addr); in set_unix_address() 251 srv->unix_addr.sun_path[0] = '\0'; in set_unix_address()
|
| /linux/drivers/block/rnbd/ |
| H A D | Makefile | 8 CFLAGS_rnbd-srv-trace.o = -I$(src) 10 rnbd-server-y := rnbd-srv.o \ 11 rnbd-srv-sysfs.o \ 12 rnbd-srv-trace.o
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | psp.py | 602 srv = None 605 exit_wait=True) as srv: 631 if srv and (srv.stdout or srv.stderr): 634 if srv and srv.stdout: 635 ksft_pr("STDOUT:\n# " + srv.stdout.strip().replace("\n", "\n# ")) 636 if srv and srv.stderr: 637 ksft_pr("STDERR:\n# " + srv.stderr.strip().replace("\n", "\n# "))
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | nft_nat_zones.sh | 60 setup_ns gw srv 64 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv" 66 ip -net "$srv" link set eth0 up 113 ip -net "$srv" addr add 10.3.0.99/24 dev eth0 114 ip -net "$srv" addr add dead:3::99/64 dev eth0 nodad 226 ip netns exec "$srv" socat -u TCP-LISTEN:5201,fork STDOUT > /dev/null 2>/dev/null & 229 busywait 1000 listener_ready "$srv"
|
| /linux/fs/smb/client/ |
| H A D | cifsglob.h | 626 bool (*is_network_name_deleted)(char *buf, struct TCP_Server_Info *srv); 1010 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns() argument 1012 return srv->net; in cifs_net_ns() 1015 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns() argument 1017 srv->net = net; in cifs_set_net_ns() 1022 static inline struct net *cifs_net_ns(struct TCP_Server_Info *srv) in cifs_net_ns() argument 1027 static inline void cifs_set_net_ns(struct TCP_Server_Info *srv, struct net *net) in cifs_set_net_ns() argument 1675 typedef void (*mid_callback_t)(struct TCP_Server_Info *srv, struct mid_q_entry *mid);
|
| H A D | misc.c | 444 is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) in is_valid_oplock_break() argument 461 size_t len = srv->total_read - srv->pdu_size; in is_valid_oplock_break() 514 pserver = SERVER_IS_CHAN(srv) ? srv->primary_server : srv; in is_valid_oplock_break()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_so.h | 63 struct SVGA3dCmdDXDestroyShaderResourceView srv; member
|
| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | vchiq_core.c | 327 struct vchiq_service *srv; in __next_service_by_instance() local 329 srv = rcu_dereference(state->services[idx]); in __next_service_by_instance() 331 if (srv && srv->srvstate != VCHIQ_SRVSTATE_FREE && in __next_service_by_instance() 332 srv->instance == instance) { in __next_service_by_instance() 333 service = srv; in __next_service_by_instance() 2781 struct vchiq_service *srv; in vchiq_add_service_internal() local 2783 srv = rcu_dereference(state->services[i]); in vchiq_add_service_internal() 2784 if (!srv) { in vchiq_add_service_internal() 2786 } else if ((srv->public_fourcc == params->fourcc) && in vchiq_add_service_internal() 2787 ((srv->instance != instance) || in vchiq_add_service_internal() [all …]
|
| /linux/Documentation/networking/mac80211_hwsim/ |
| H A D | mac80211_hwsim.rst | 79 git://w1.fi/srv/git/hostap.git and mac80211_hwsim/tests subdirectory
|