/openbmc/linux/drivers/net/wireguard/ |
H A D | peer.c | 59 list_add_tail(&peer->peer_list, &wg->peer_list); in wg_peer_create() 83 list_del_init(&peer->peer_list); in peer_make_dead() 177 list_for_each_entry_safe(peer, temp, &wg->peer_list, peer_list) { in wg_peer_remove_all() 179 list_add_tail(&peer->peer_list, &dead_peers); in wg_peer_remove_all() 182 list_for_each_entry_safe(peer, temp, &dead_peers, peer_list) in wg_peer_remove_all()
|
H A D | device.c | 54 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_open() 83 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_pm_notification() 105 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_vm_notification() 122 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_stop() 323 INIT_LIST_HEAD(&wg->peer_list); in wg_newlink() 429 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_netns_pre_exit()
|
H A D | netlink.c | 162 struct allowedips_node, peer_list); in get_peer() 176 peer_list) { in get_peer() 264 if (list_empty(&wg->peer_list) || in wg_get_device_dump() 269 peer = list_prepare_entry(ctx->next_peer, &wg->peer_list, peer_list); in wg_get_device_dump() 270 list_for_each_entry_continue(peer, &wg->peer_list, peer_list) { in wg_get_device_dump() 320 list_for_each_entry(peer, &wg->peer_list, peer_list) in set_port() 529 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_set_device() 573 list_for_each_entry_safe(peer, temp, &wg->peer_list, peer_list) { in wg_set_device()
|
H A D | allowedips.c | 78 list_del(&node->peer_list); in root_remove_peer_lists() 194 list_add_tail(&node->peer_list, &peer->allowedips_list); in add() 201 list_move_tail(&node->peer_list, &peer->allowedips_list); in add() 209 list_add_tail(&newnode->peer_list, &peer->allowedips_list); in add() 236 list_del(&newnode->peer_list); in add() 240 INIT_LIST_HEAD(&node->peer_list); in add() 312 list_for_each_entry_safe(node, tmp, &peer->allowedips_list, peer_list) { in wg_allowedips_remove_by_peer() 313 list_del_init(&node->peer_list); in wg_allowedips_remove_by_peer()
|
H A D | device.h | 52 struct list_head device_list, peer_list; member
|
H A D | allowedips.h | 24 struct list_head peer_list; member
|
H A D | peer.h | 63 struct list_head peer_list; member
|
/openbmc/qemu/contrib/ivshmem-server/ |
H A D | ivshmem-server.c | 81 QTAILQ_REMOVE(&server->peer_list, peer, next); in ivshmem_server_free_peer() 84 QTAILQ_FOREACH(other_peer, &server->peer_list, next) { in ivshmem_server_free_peer() 189 QTAILQ_FOREACH(other_peer, &server->peer_list, next) { in ivshmem_server_handle_new_conn() 197 QTAILQ_FOREACH(other_peer, &server->peer_list, next) { in ivshmem_server_handle_new_conn() 210 QTAILQ_INSERT_TAIL(&server->peer_list, peer, next); in ivshmem_server_handle_new_conn() 282 QTAILQ_INIT(&server->peer_list); in ivshmem_server_init() 371 QTAILQ_FOREACH_SAFE(peer, &server->peer_list, next, npeer) { in ivshmem_server_close() 400 QTAILQ_FOREACH(peer, &server->peer_list, next) { in ivshmem_server_get_fds() 421 QTAILQ_FOREACH_SAFE(peer, &server->peer_list, next, peer_next) { in ivshmem_server_handle_fds() 438 QTAILQ_FOREACH(peer, &server->peer_list, next) { in ivshmem_server_search_peer() [all …]
|
H A D | ivshmem-server.h | 72 QTAILQ_HEAD(, IvshmemServerPeer) peer_list; /**< list of peers */
|
/openbmc/qemu/contrib/ivshmem-client/ |
H A D | ivshmem-client.c | 81 QTAILQ_REMOVE(&client->peer_list, peer, next); in ivshmem_client_free_peer() 124 QTAILQ_INSERT_TAIL(&client->peer_list, peer, next); in ivshmem_client_handle_server_msg() 165 QTAILQ_INIT(&client->peer_list); in ivshmem_client_init() 254 while ((peer = QTAILQ_FIRST(&client->peer_list)) != NULL) { in ivshmem_client_close() 394 QTAILQ_FOREACH(peer, &client->peer_list, next) { in ivshmem_client_notify_broadcast() 413 QTAILQ_FOREACH(peer, &client->peer_list, next) { in ivshmem_client_search_peer() 437 QTAILQ_FOREACH(peer, &client->peer_list, next) { in ivshmem_client_dump()
|
H A D | ivshmem-client.h | 74 QTAILQ_HEAD(, IvshmemClientPeer) peer_list; /**< list of peers */
|
/openbmc/linux/drivers/firewire/ |
H A D | net.c | 167 struct list_head peer_list; member 447 list_for_each_entry(peer, &dev->peer_list, peer_link) in fwnet_peer_find_by_guid() 460 list_for_each_entry(peer, &dev->peer_list, peer_link) in fwnet_peer_find_by_node_id() 1424 list_add_tail(&peer->peer_link, &dev->peer_list); in fwnet_add_peer() 1469 INIT_LIST_HEAD(&dev->peer_list); in fwnet_probe() 1565 if (list_empty(&dev->peer_list)) { in fwnet_remove()
|
/openbmc/linux/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 618 list_for_each_entry(iter_node, &a->allowedips_list, peer_list) { in wg_allowedips_selftest()
|