Home
last modified time | relevance | path

Searched refs:peer_list (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/wireguard/
A Dpeer.c60 list_add_tail(&peer->peer_list, &wg->peer_list); in wg_peer_create()
84 list_del_init(&peer->peer_list); in peer_make_dead()
178 list_for_each_entry_safe(peer, temp, &wg->peer_list, peer_list) { in wg_peer_remove_all()
180 list_add_tail(&peer->peer_list, &dead_peers); in wg_peer_remove_all()
183 list_for_each_entry_safe(peer, temp, &dead_peers, peer_list) in wg_peer_remove_all()
A Dnetlink.c162 struct allowedips_node, peer_list); in get_peer()
176 peer_list) { in get_peer()
263 if (list_empty(&wg->peer_list) || in wg_get_device_dump()
264 (ctx->next_peer && list_empty(&ctx->next_peer->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()
530 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_set_device()
570 list_for_each_entry_safe(peer, temp, &wg->peer_list, in wg_set_device()
571 peer_list) { in wg_set_device()
A Ddevice.c52 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_open()
82 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_pm_notification()
104 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_stop()
305 INIT_LIST_HEAD(&wg->peer_list); in wg_newlink()
411 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_netns_pre_exit()
A Dallowedips.c75 list_del(&node->peer_list); in root_remove_peer_lists()
191 list_add_tail(&node->peer_list, &peer->allowedips_list); in add()
198 list_move_tail(&node->peer_list, &peer->allowedips_list); in add()
206 list_add_tail(&newnode->peer_list, &peer->allowedips_list); in add()
233 list_del(&newnode->peer_list); in add()
237 INIT_LIST_HEAD(&node->peer_list); in add()
309 list_for_each_entry_safe(node, tmp, &peer->allowedips_list, peer_list) { in wg_allowedips_remove_by_peer()
310 list_del_init(&node->peer_list); in wg_allowedips_remove_by_peer()
A Ddevice.h52 struct list_head device_list, peer_list; member
A Dallowedips.h24 struct list_head peer_list; member
A Dpeer.h63 struct list_head peer_list; member
/linux/drivers/firewire/
A Dnet.c167 struct list_head peer_list; member
456 list_for_each_entry(peer, &dev->peer_list, peer_link) in fwnet_peer_find_by_guid()
469 list_for_each_entry(peer, &dev->peer_list, peer_link) in fwnet_peer_find_by_node_id()
1430 list_add_tail(&peer->peer_link, &dev->peer_list); in fwnet_add_peer()
1475 INIT_LIST_HEAD(&dev->peer_list); in fwnet_probe()
1572 if (list_empty(&dev->peer_list)) { in fwnet_remove()
/linux/drivers/staging/fwserial/
A Dfwserial.h332 struct list_head peer_list; member
A Dfwserial.c1492 list_for_each_entry_rcu(peer, &serial->peer_list, list) in fwtty_peers_show()
1926 list_for_each_entry_rcu(peer, &serial->peer_list, list) { in __fwserial_peer_by_node_id()
1947 list_for_each_entry_rcu(peer, &serial->peer_list, list) { in __dump_peer_list()
2045 list_add_rcu(&peer->list, &serial->peer_list); in fwserial_add_peer()
2154 INIT_LIST_HEAD(&serial->peer_list); in fwserial_create()
2350 if (list_empty(&serial->peer_list)) { in fwserial_remove()
/linux/drivers/net/wireguard/selftest/
A Dallowedips.c614 list_for_each_entry(iter_node, &a->allowedips_list, peer_list) { in wg_allowedips_selftest()

Completed in 40 milliseconds