Searched refs:seq_bits (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/net/batman-adv/ |
D | bitarray.c | 15 static void batadv_bitmap_shift_left(unsigned long *seq_bits, s32 n) in batadv_bitmap_shift_left() argument 20 bitmap_shift_left(seq_bits, seq_bits, n, BATADV_TQ_LOCAL_WINDOW_SIZE); in batadv_bitmap_shift_left() 35 bool batadv_bit_get_packet(void *priv, unsigned long *seq_bits, in batadv_bit_get_packet() argument 45 batadv_set_bit(seq_bits, -seq_num_diff); in batadv_bit_get_packet() 53 batadv_bitmap_shift_left(seq_bits, seq_num_diff); in batadv_bit_get_packet() 56 batadv_set_bit(seq_bits, 0); in batadv_bit_get_packet() 66 bitmap_zero(seq_bits, BATADV_TQ_LOCAL_WINDOW_SIZE); in batadv_bit_get_packet() 68 batadv_set_bit(seq_bits, 0); in batadv_bit_get_packet() 84 bitmap_zero(seq_bits, BATADV_TQ_LOCAL_WINDOW_SIZE); in batadv_bit_get_packet() 86 batadv_set_bit(seq_bits, 0); in batadv_bit_get_packet()
|
D | bitarray.h | 27 static inline bool batadv_test_bit(const unsigned long *seq_bits, in batadv_test_bit() argument 35 return test_bit(diff, seq_bits) != 0; in batadv_test_bit() 44 static inline void batadv_set_bit(unsigned long *seq_bits, s32 n) in batadv_set_bit() argument 50 set_bit(n, seq_bits); /* turn the position on */ in batadv_set_bit() 53 bool batadv_bit_get_packet(void *priv, unsigned long *seq_bits,
|