Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 25 of 220) sorted by relevance

123456789

/openbmc/linux/tools/testing/vsock/
H A Dvsock_diag_test.c236 static void add_vsock_stat(struct list_head *sockets, in add_vsock_stat() argument
248 list_add_tail(&st->list, sockets); in add_vsock_stat()
254 static void read_vsock_stat(struct list_head *sockets) in read_vsock_stat() argument
309 add_vsock_stat(sockets, NLMSG_DATA(h)); in read_vsock_stat()
319 static void free_sock_stat(struct list_head *sockets) in free_sock_stat() argument
324 list_for_each_entry_safe(st, next, sockets, list) in free_sock_stat()
330 LIST_HEAD(sockets); in test_no_sockets()
332 read_vsock_stat(&sockets); in test_no_sockets()
334 check_no_sockets(&sockets); in test_no_sockets()
349 LIST_HEAD(sockets); in test_listen_socket_server()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Di82092.c69 static struct socket_info sockets[MAX_SOCKETS]; variable
113 sockets[i].card_state = 1; /* 1 = present but empty */ in i82092aa_pci_probe()
114 sockets[i].io_base = pci_resource_start(dev, 0); in i82092aa_pci_probe()
115 sockets[i].dev = dev; in i82092aa_pci_probe()
116 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe()
117 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe()
118 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe()
119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe()
120 sockets[i].socket.cb_dev = dev; in i82092aa_pci_probe()
121 sockets[i].socket.owner = THIS_MODULE; in i82092aa_pci_probe()
[all …]
H A Di82365.c158 static int sockets = 0; variable
578 socket[sockets].ioaddr = port; in identify()
579 socket[sockets].psock = sock; in identify()
583 i365_bclr(sockets, PD67_MISC_CTL_2, PD67_MC2_SUSPEND); in identify()
588 if ((val = i365_get(sockets, I365_IDENT)) & 0x70) in identify()
604 i365_bset(sockets, VG468_MISC, VG468_MISC_VADEMREV); in identify()
605 val = i365_get(sockets, I365_IDENT); in identify()
607 i365_bclr(sockets, VG468_MISC, VG468_MISC_VADEMREV); in identify()
612 val = i365_get(sockets, RF5C_CHIP_ID); in identify()
617 i365_set(sockets, PD67_CHIP_INFO, 0); in identify()
[all …]
H A Dtcic.c114 static int sockets; variable
401 sockets = 0; in init_tcic()
404 socket_table[sockets].psock = i; in init_tcic()
405 socket_table[sockets].id = get_tcic_id(); in init_tcic()
407 socket_table[sockets].socket.owner = THIS_MODULE; in init_tcic()
410 socket_table[sockets].socket.features = SS_CAP_PCCARD | SS_CAP_MEM_ALIGN; in init_tcic()
412 socket_table[sockets].socket.irq_mask = 0x4cf8; in init_tcic()
414 socket_table[sockets].socket.map_size = 0x1000; in init_tcic()
415 sockets++; in init_tcic()
441 printk(KERN_CONT ", %d sockets\n", sockets); in init_tcic()
[all …]
/openbmc/qemu/hw/core/
H A Dmachine-smp.c44 g_string_append_printf(s, "sockets (%u)", ms->smp.sockets); in cpu_hierarchy_to_string()
92 unsigned sockets = config->has_sockets ? config->sockets : 0; in machine_parse_smp_config() local
108 (config->has_sockets && config->sockets == 0) || in machine_parse_smp_config()
166 sockets = sockets > 0 ? sockets : 1; in machine_parse_smp_config()
174 if (sockets == 0) { in machine_parse_smp_config()
177 sockets = maxcpus / in machine_parse_smp_config()
183 (drawers * books * sockets * dies * in machine_parse_smp_config()
189 sockets = sockets > 0 ? sockets : 1; in machine_parse_smp_config()
192 (drawers * books * sockets * dies * in machine_parse_smp_config()
194 } else if (sockets == 0) { in machine_parse_smp_config()
[all …]
/openbmc/qemu/tests/qtest/
H A Dcpu-plug-test.c20 unsigned sockets; member
40 td->sockets, td->cores, td->threads, td->maxcpus); in test_plug_with_device_add()
94 data->sockets = 1; in add_pc_test_case()
97 data->maxcpus = data->sockets * data->cores * data->threads; in add_pc_test_case()
100 mname, data->sockets, data->cores, in add_pc_test_case()
120 data->sockets = 2; in add_pseries_test_case()
123 data->maxcpus = data->sockets * data->cores * data->threads; in add_pseries_test_case()
126 mname, data->sockets, data->cores, in add_pseries_test_case()
146 data->sockets = 1; in add_s390x_test_case()
149 data->maxcpus = data->sockets * data->cores * data->threads; in add_s390x_test_case()
[all …]
/openbmc/linux/net/xdp/
H A DKconfig3 bool "XDP sockets"
7 XDP sockets allows a channel between XDP programs and
11 tristate "XDP sockets: monitoring interface"
15 Support for PF_XDP sockets monitoring interface used by the ss tool.
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch10 include/cutils/sockets.h | 2 +-
38 diff --git a/include/cutils/sockets.h b/include/cutils/sockets.h
40 --- a/include/cutils/sockets.h
41 +++ b/include/cutils/sockets.h
/openbmc/linux/net/unix/
H A DKconfig7 bool "Unix domain sockets"
9 If you say Y here, you will include support for Unix domain sockets;
10 sockets are the standard Unix mechanism for establishing and
12 the X Window system and syslog use these sockets even if your
/openbmc/linux/drivers/misc/
H A Dtifm_7xx1.c53 sock = fm->sockets[cnt]; in tifm_7xx1_isr()
160 sock = fm->sockets[cnt]; in tifm_7xx1_switch_media()
165 fm->sockets[cnt] = NULL; in tifm_7xx1_switch_media()
186 if (!fm->sockets[cnt]) { in tifm_7xx1_switch_media()
187 fm->sockets[cnt] = sock; in tifm_7xx1_switch_media()
219 if (fm->sockets[cnt]) in tifm_7xx1_suspend()
220 tifm_7xx1_sock_power_off(fm->sockets[cnt]->addr); in tifm_7xx1_suspend()
251 if (fm->sockets[rc]) { in tifm_7xx1_resume()
252 if (fm->sockets[rc]->type == new_ids[rc]) in tifm_7xx1_resume()
/openbmc/qemu/include/hw/s390x/
H A Dcpu-topology.h68 return (n / smp->cores) % smp->sockets; in s390_std_socket()
73 return (n / (smp->cores * smp->sockets)) % smp->books; in s390_std_book()
78 return (n / (smp->cores * smp->sockets * smp->books)) % smp->drawers; in s390_std_drawer()
/openbmc/linux/Documentation/networking/
H A Dkcm.rst10 datagram sockets.
34 KCM sockets
37 The KCM sockets provide the user interface to the multiplexor. All the KCM sockets
39 operations in different sockets may be done in parallel without the need for
50 TCP sockets & Psocks
53 TCP sockets may be bound to a KCM multiplexor. A Psock structure is allocated
123 Cloning KCM sockets
127 above, additional sockets for the multiplexor can be created by cloning
144 Attach transport sockets
147 Attaching of transport sockets to a multiplexor is performed by calling an
[all …]
H A Dsmc-sysctl.rst21 know how/when to uncork their sockets.
46 Initial size of send buffer used by SMC sockets.
55 Initial size of receive buffer (RMB) used by SMC sockets.
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/dovecot/dovecot/
H A Ddovecot.socket5 #dovecot expects separate IPv4 and IPv6 sockets
14 WantedBy=sockets.target
/openbmc/linux/net/kcm/
H A DKconfig4 tristate "KCM sockets"
9 KCM (Kernel Connection Multiplexor) sockets provide a method
/openbmc/openbmc/meta-security/recipes-mac/smack/
H A Dtcp-smack-test_1.0.bb1 SUMMARY = "Binary used to test smack tcp sockets"
2 DESCRIPTION = "Server and client binaries used to test smack attributes on TCP sockets"
H A Dudp-smack-test_1.0.bb1 SUMMARY = "Binary used to test smack udp sockets"
2 DESCRIPTION = "Server and client binaries used to test smack attributes on UDP sockets"
/openbmc/qemu/block/
H A Dcurl.c111 GHashTable *sockets; /* GINT_TO_POINTER(fd) -> socket */ member
140 static void curl_drop_all_sockets(GHashTable *sockets) in curl_drop_all_sockets() argument
142 g_hash_table_foreach_remove(sockets, curl_drop_socket, NULL); in curl_drop_all_sockets()
172 socket = g_hash_table_lookup(s->sockets, GINT_TO_POINTER(fd)); in curl_sock_cb()
177 g_hash_table_insert(s->sockets, GINT_TO_POINTER(fd), socket); in curl_sock_cb()
202 g_hash_table_remove(s->sockets, GINT_TO_POINTER(fd)); in curl_sock_cb()
575 curl_drop_all_sockets(s->sockets); in curl_detach_aio_context()
789 s->sockets = g_hash_table_new_full(NULL, NULL, NULL, g_free); in curl_open()
877 if (s->sockets) { in curl_open()
878 curl_drop_all_sockets(s->sockets); in curl_open()
[all …]
/openbmc/linux/net/packet/
H A DKconfig20 tristate "Packet: sockets monitoring interface"
24 Support for PF_PACKET sockets monitoring interface used by the ss tool.
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/
H A Dserv.py157 for s in self.server.sockets:
171 name = self.server.sockets[0].getsockname()
172 if self.server.sockets[0].family == socket.AF_INET6:
238 for s in self.server.sockets:
248 name = self.server.sockets[0].getsockname()
249 if self.server.sockets[0].family == socket.AF_INET6:
/openbmc/linux/net/rxrpc/
H A DKconfig3 # RxRPC session sockets
7 tristate "RxRPC session sockets"
13 Say Y or M here to include support for RxRPC session sockets (just
/openbmc/qemu/docs/system/s390x/
H A Dcpu-topology.rst7 topology containers: drawers, books and sockets. They define a
59 If none of the containers attributes (drawers, books, sockets) are
67 -smp cpus=5,drawer=1,books=1,sockets=8,cores=4,maxcpus=32
73 -smp cpus=5,sockets=8,cores=4,maxcpus=32
95 If none of the tree attributes (drawer, book, sockets), are specified
133 In the following machine we define 8 sockets with 4 cores each.
139 -smp cpus=5,sockets=8,cores=4,maxcpus=32 \
234 -smp cpus=1,sockets=8,cores=4,maxcpus=32 \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/
H A Dadb.mk14 adb_SRC_FILES += sockets.c
47 libcutils_SRC_FILES += sockets.c
/openbmc/openbmc/poky/meta/recipes-core/dbus/
H A Ddbus_1.14.10.bb77 ${bindir}/dbus-cleanup-sockets \
95 ${systemd_system_unitdir}/sockets.target.wants \
97 ${systemd_user_unitdir}/sockets.target.wants \
140 for i in dbus.target.wants sockets.target.wants multi-user.target.wants; do \
144 ln -fs ../dbus.socket ${D}${systemd_system_unitdir}/sockets.target.wants/dbus.socket
/openbmc/qemu/tests/unit/
H A Dtest-smp-parse.c35 .has_sockets = hb, .sockets = b, \
44 .sockets = b, \
58 .has_sockets = hb, .sockets = b, \
73 .has_sockets = hb, .sockets = b, \
90 .has_sockets = hd, .sockets = d, \
106 .has_sockets = true, .sockets = d, \
722 config->has_sockets ? "true" : "false", config->sockets, in smp_config_to_string()
735 if (!topo->drawers || !topo->books || !topo->sockets) { in cpu_topology_get_threads_per_socket()
738 return topo->max_cpus / topo->drawers / topo->books / topo->sockets; in cpu_topology_get_threads_per_socket()
775 topo->sockets, topo->dies, topo->clusters, in cpu_topology_to_string()
[all …]

123456789