Searched refs:bitmap2 (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/ |
D | bitmap.c | 22 const unsigned long *bitmap2, int bits) in __bitmap_or() argument 28 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or() 61 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() argument 68 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and() 70 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and() 76 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument 80 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal() 84 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
|
/kernel/linux/linux-5.10/lib/ |
D | find_bit_benchmark.c | 30 static DECLARE_BITMAP(bitmap2, BITMAP_LEN) __initdata; 100 const void *bitmap2, unsigned long len) in test_find_next_and_bit() argument 107 i = find_next_and_bit(bitmap, bitmap2, BITMAP_LEN, i + 1); in test_find_next_and_bit() 121 get_random_bytes(bitmap2, sizeof(bitmap2)); in find_bit_test() 132 test_find_next_and_bit(bitmap, bitmap2, BITMAP_LEN); in find_bit_test() 137 bitmap_zero(bitmap2, BITMAP_LEN); in find_bit_test() 141 __set_bit(prandom_u32() % BITMAP_LEN, bitmap2); in find_bit_test() 148 test_find_next_and_bit(bitmap, bitmap2, BITMAP_LEN); in find_bit_test()
|
D | bitmap.c | 49 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument 53 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal() 57 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal() 65 const unsigned long *bitmap2, in __bitmap_or_equal() argument 73 if ((bitmap1[k] | bitmap2[k]) != bitmap3[k]) in __bitmap_or_equal() 80 tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k]; in __bitmap_or_equal() 241 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() argument 248 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and() 250 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and() 257 const unsigned long *bitmap2, unsigned int bits) in __bitmap_or() argument [all …]
|
/kernel/linux/common_modules/newip/tools/ |
D | wireshark_cfg_for_newip.lua | 194 local bitmap2 = tvb(offset, 1):uint() 195 …include_hdr_len = bit.band(bit.rshift(bitmap2, 7), 0x00000001) --右移 7 位 与 0x01 相与,获取 inclu… 198 bitmap2_tree:add(_bitmap2, bitmap2) 199 bitmap2_tree:add(_include_hdr_len, bitmap2) 200 bitmap2_tree:add(_include_reserve2, bitmap2) 201 bitmap2_tree:add(_include_reserve3, bitmap2) 202 bitmap2_tree:add(_include_reserve4, bitmap2) 203 bitmap2_tree:add(_include_reserve5, bitmap2) 204 bitmap2_tree:add(_include_reserve6, bitmap2) 205 bitmap2_tree:add(_include_reserve7, bitmap2) [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | bitmap.h | 140 const unsigned long *bitmap2, unsigned int nbits); 155 const unsigned long *bitmap2, unsigned int nbits); 157 const unsigned long *bitmap2, unsigned int nbits); 159 const unsigned long *bitmap2, unsigned int nbits); 161 const unsigned long *bitmap2, unsigned int nbits); 166 const unsigned long *bitmap2, unsigned int nbits); 168 const unsigned long *bitmap2, unsigned int nbits);
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | bitmap.h | 15 const unsigned long *bitmap2, int bits); 17 const unsigned long *bitmap2, unsigned int bits); 19 const unsigned long *bitmap2, unsigned int bits);
|