Searched refs:id_bitmap (Results 1 – 2 of 2) sorted by relevance
/linux/net/mptcp/ |
H A D | pm_userspace.c | 33 DECLARE_BITMAP(id_bitmap, MPTCP_PM_MAX_ADDR_ID + 1); in mptcp_userspace_pm_append_new_local_addr() 41 bitmap_zero(id_bitmap, MPTCP_PM_MAX_ADDR_ID + 1); in mptcp_userspace_pm_append_new_local_addr() 55 __set_bit(e->addr.id, id_bitmap); in mptcp_userspace_pm_append_new_local_addr() 70 e->addr.id = find_next_zero_bit(id_bitmap, in mptcp_userspace_pm_append_new_local_addr() 631 struct id_bitmap { in mptcp_userspace_pm_dump_addr() struct 643 bitmap = (struct id_bitmap *)cb->ctx; in mptcp_userspace_pm_dump_addr()
|
H A D | pm_netlink.c | 40 DECLARE_BITMAP(id_bitmap, MPTCP_PM_MAX_ADDR_ID + 1); 246 (find_next_and_bit(pernet->id_bitmap, msk->pm.id_avail_bitmap, in mptcp_pm_nl_check_work_pending() 987 if (test_bit(entry->addr.id, pernet->id_bitmap)) { in mptcp_pm_nl_append_new_local_addr() 1021 entry->addr.id = find_next_zero_bit(pernet->id_bitmap, in mptcp_pm_nl_append_new_local_addr() 1033 __set_bit(entry->addr.id, pernet->id_bitmap); in mptcp_pm_nl_append_new_local_addr() 1625 __clear_bit(entry->addr.id, pernet->id_bitmap); in mptcp_pm_nl_del_addr_doit() 1747 bitmap_zero(pernet->id_bitmap, MPTCP_PM_MAX_ADDR_ID + 1); in mptcp_pm_nl_flush_addrs_doit() 1863 if (test_bit(i, pernet->id_bitmap)) { in mptcp_pm_nl_dump_addr()
|