Searched refs:bitmask (Results 1 – 5 of 5) sorted by relevance
72 uint64_t bitmask; in bitmap_set() local90 bitmask = UINT64_C(1) << BITMAP_NUM_TO_REM(n); in bitmap_set()92 b->bitmaps[offset] |= bitmask; in bitmap_set()98 uint64_t bitmask; in bitmap_unset() local109 bitmask = UINT64_C(1) << BITMAP_NUM_TO_REM(n); in bitmap_unset()111 b->bitmaps[offset] &= ~bitmask; in bitmap_unset()115 uint64_t bitmask; in bitmap_isset() local126 bitmask = UINT64_C(1) << BITMAP_NUM_TO_REM(n); in bitmap_isset()128 return !!(b->bitmaps[offset] & bitmask); in bitmap_isset()153 uint64_t bitmask; in bitmap_iterate() local[all …]
78 unsigned long *bitmask, size_t bitmask_size, in get_cap_mask() argument93 memzero(bitmask, bitmask_size); in get_cap_mask()100 bitmask[i] = val; in get_cap_mask()110 bitmask[i] = val; in get_cap_mask()119 while (bitmask[val-1] == 0 && val > 0) in get_cap_mask()127 j * BITS_PER_LONG, bitmask[j]); in get_cap_mask()
1555 uint8_t bitmask = 1 << 7; in dns_packet_read_type_window() local1565 for (; bitmask; bit++, bitmask >>= 1) in dns_packet_read_type_window()1566 if (bitmap[i] & bitmask) { in dns_packet_read_type_window()
41 # /sys/class/input/input?/phys", <ev> is the event bitmask, "cat
4444 the raw __cpu_mask bitmask. For example, CPUAffinity=0-1 would be