Home
last modified time | relevance | path

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

/drivers/net/wireguard/
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()
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()
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()
Ddevice.c53 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_stop()
306 INIT_LIST_HEAD(&wg->peer_list); in wg_newlink()
412 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_netns_pre_exit()
Dallowedips.c78 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()
Ddevice.h52 struct list_head device_list, peer_list; member
Dallowedips.h24 struct list_head peer_list; member
Dpeer.h62 struct list_head peer_list; member
/drivers/firewire/
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()
1434 list_add_tail(&peer->peer_link, &dev->peer_list); in fwnet_add_peer()
1479 INIT_LIST_HEAD(&dev->peer_list); in fwnet_probe()
1576 if (list_empty(&dev->peer_list)) { in fwnet_remove()
/drivers/staging/fwserial/
Dfwserial.h332 struct list_head peer_list; member
Dfwserial.c1493 list_for_each_entry_rcu(peer, &serial->peer_list, list) in fwtty_peers_show()
1927 list_for_each_entry_rcu(peer, &serial->peer_list, list) { in __fwserial_peer_by_node_id()
1948 list_for_each_entry_rcu(peer, &serial->peer_list, list) { in __dump_peer_list()
2046 list_add_rcu(&peer->list, &serial->peer_list); in fwserial_add_peer()
2155 INIT_LIST_HEAD(&serial->peer_list); in fwserial_create()
2351 if (list_empty(&serial->peer_list)) { in fwserial_remove()
/drivers/net/wireguard/selftest/
Dallowedips.c618 list_for_each_entry(iter_node, &a->allowedips_list, peer_list) { in wg_allowedips_selftest()