Searched refs:MAX_CALLID (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ppp/ |
H A D | pptp.c | 42 #define MAX_CALLID 65535 macro 44 static DECLARE_BITMAP(callid_bitmap, MAX_CALLID + 1); 80 for_each_set_bit_from(i, callid_bitmap, MAX_CALLID) { in lookup_chan_dst() 91 return i < MAX_CALLID; in lookup_chan_dst() 101 call_id = find_next_zero_bit(callid_bitmap, MAX_CALLID, call_id + 1); in add_chan() 102 if (call_id == MAX_CALLID) { in add_chan() 103 call_id = find_next_zero_bit(callid_bitmap, MAX_CALLID, 1); in add_chan() 104 if (call_id == MAX_CALLID) in add_chan() 653 callid_sock = vzalloc(array_size(sizeof(void *), (MAX_CALLID + 1))); in pptp_init_module()
|
/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A D | pptp.c | 42 #define MAX_CALLID 65535 macro 44 static DECLARE_BITMAP(callid_bitmap, MAX_CALLID + 1); 80 for_each_set_bit_from(i, callid_bitmap, MAX_CALLID) { in lookup_chan_dst() 91 return i < MAX_CALLID; in lookup_chan_dst() 101 call_id = find_next_zero_bit(callid_bitmap, MAX_CALLID, call_id + 1); in add_chan() 102 if (call_id == MAX_CALLID) { in add_chan() 103 call_id = find_next_zero_bit(callid_bitmap, MAX_CALLID, 1); in add_chan() 104 if (call_id == MAX_CALLID) in add_chan() 651 callid_sock = vzalloc(array_size(sizeof(void *), (MAX_CALLID + 1))); in pptp_init_module()
|
Completed in 2 milliseconds