| /src/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | bitmap.h | 84 #define BT_WIM(bitmap, bitindex) \ argument 93 #define BT_WIM32(bitmap, bitindex) \ argument 109 #define BT_TEST(bitmap, bitindex) \ argument 111 #define BT_SET(bitmap, bitindex) \ argument 113 #define BT_CLEAR(bitmap, bitindex) \ argument 121 #define BT_TEST32(bitmap, bitindex) \ argument 123 #define BT_SET32(bitmap, bitindex) \ argument 125 #define BT_CLEAR32(bitmap, bitindex) \ argument 174 #define BT_ATOMIC_SET(bitmap, bitindex) \ argument 176 #define BT_ATOMIC_CLEAR(bitmap, bitindex) \ argument [all …]
|
| /src/sys/cddl/compat/opensolaris/sys/ |
| H A D | bitmap.h | 71 #define BT_WIM(bitmap, bitindex) \ argument 80 #define BT_WIM32(bitmap, bitindex) \ argument 96 #define BT_TEST(bitmap, bitindex) \ argument 98 #define BT_SET(bitmap, bitindex) \ argument 100 #define BT_CLEAR(bitmap, bitindex) \ argument 108 #define BT_TEST32(bitmap, bitindex) \ argument 110 #define BT_SET32(bitmap, bitindex) \ argument 112 #define BT_CLEAR32(bitmap, bitindex) \ argument
|
| /src/sys/dev/ice/ |
| H A D | ice_bitops.h | 65 static inline bool ice_is_bit_set_internal(u16 nr, const ice_bitmap_t *bitmap) in ice_is_bit_set_internal() 83 static inline void ice_clear_bit_internal(u16 nr, ice_bitmap_t *bitmap) in ice_clear_bit_internal() 88 static inline void ice_set_bit_internal(u16 nr, ice_bitmap_t *bitmap) in ice_set_bit_internal() 94 ice_bitmap_t *bitmap) in ice_test_and_clear_bit_internal() 103 static inline bool ice_test_and_set_bit_internal(u16 nr, ice_bitmap_t *bitmap) in ice_test_and_set_bit_internal() 120 static inline bool ice_is_bit_set(const ice_bitmap_t *bitmap, u16 nr) in ice_is_bit_set() 134 static inline void ice_clear_bit(u16 nr, ice_bitmap_t *bitmap) in ice_clear_bit() 147 static inline void ice_set_bit(u16 nr, ice_bitmap_t *bitmap) in ice_set_bit() 161 ice_test_and_clear_bit(u16 nr, ice_bitmap_t *bitmap) in ice_test_and_clear_bit() 176 ice_test_and_set_bit(u16 nr, ice_bitmap_t *bitmap) in ice_test_and_set_bit() [all …]
|
| H A D | ice_features.h | 92 ice_disable_unsupported_features(ice_bitmap_t __unused *bitmap) in ice_disable_unsupported_features()
|
| /src/usr.sbin/pw/ |
| H A D | bitmap.h | 34 struct bitmap struct 41 struct bitmap bm_alloc(int size); argument
|
| /src/sys/contrib/openzfs/include/sys/ |
| H A D | bitmap.h | 66 #define BT_WIM(bitmap, bitindex) \ argument 83 #define BT_TEST(bitmap, bitindex) \ argument 85 #define BT_SET(bitmap, bitindex) \ argument 87 #define BT_CLEAR(bitmap, bitindex) \ argument
|
| /src/sys/contrib/ck/include/ |
| H A D | ck_bitmap.h | 152 ck_bitmap_bits(const struct ck_bitmap *bitmap) in ck_bitmap_bits() 163 ck_bitmap_buffer(struct ck_bitmap *bitmap) in ck_bitmap_buffer() 173 ck_bitmap_set(struct ck_bitmap *bitmap, unsigned int n) in ck_bitmap_set() 187 ck_bitmap_bts(struct ck_bitmap *bitmap, unsigned int n) in ck_bitmap_bts() 198 ck_bitmap_reset(struct ck_bitmap *bitmap, unsigned int n) in ck_bitmap_reset() 210 ck_bitmap_test(const struct ck_bitmap *bitmap, unsigned int n) in ck_bitmap_test() 297 ck_bitmap_clear(struct ck_bitmap *bitmap) in ck_bitmap_clear() 315 ck_bitmap_empty(const ck_bitmap_t *bitmap, unsigned int limit) in ck_bitmap_empty() 346 ck_bitmap_full(const ck_bitmap_t *bitmap, unsigned int limit) in ck_bitmap_full() 377 ck_bitmap_count(const ck_bitmap_t *bitmap, unsigned int limit) in ck_bitmap_count() [all …]
|
| /src/contrib/ofed/libmlx5/ |
| H A D | buf.c | 45 static int mlx5_bitmap_init(struct mlx5_bitmap *bitmap, uint32_t num, in mlx5_bitmap_init() 61 static void bitmap_free_range(struct mlx5_bitmap *bitmap, uint32_t obj, in bitmap_free_range() 75 static int bitmap_empty(struct mlx5_bitmap *bitmap) in bitmap_empty() 80 static int bitmap_avail(struct mlx5_bitmap *bitmap) in bitmap_avail() 85 static void mlx5_bitmap_cleanup(struct mlx5_bitmap *bitmap) in mlx5_bitmap_cleanup() 100 static int mlx5_bitmap_alloc(struct mlx5_bitmap *bitmap) in mlx5_bitmap_alloc() 122 static uint32_t find_aligned_range(unsigned long *bitmap, in find_aligned_range() 151 static int bitmap_alloc_range(struct mlx5_bitmap *bitmap, int cnt, in bitmap_alloc_range()
|
| /src/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_alloc.c | 43 u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap) in mlx4_bitmap_alloc() 73 void mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj, int use_rr) in mlx4_bitmap_free() 78 static unsigned long find_aligned_range(unsigned long *bitmap, in find_aligned_range() 108 u32 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt, in mlx4_bitmap_alloc_range() 146 u32 mlx4_bitmap_avail(struct mlx4_bitmap *bitmap) in mlx4_bitmap_avail() 151 static u32 mlx4_bitmap_masked_value(struct mlx4_bitmap *bitmap, u32 obj) in mlx4_bitmap_masked_value() 156 void mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt, in mlx4_bitmap_free_range() 172 int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask, in mlx4_bitmap_init() 197 void mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap) in mlx4_bitmap_cleanup() 217 struct mlx4_bitmap *bitmap; member [all …]
|
| /src/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | bit_util.h | 231 popcount_u_slow(unsigned bitmap) { in popcount_u_slow() 236 popcount_lu_slow(unsigned long bitmap) { in popcount_lu_slow() 241 popcount_llu_slow(unsigned long long bitmap) { in popcount_llu_slow() 248 popcount_u(unsigned bitmap) { in popcount_u() 257 popcount_lu(unsigned long bitmap) { in popcount_lu() 266 popcount_llu(unsigned long long bitmap) { in popcount_llu() 280 cfs_lu(unsigned long* bitmap) { in cfs_lu()
|
| H A D | bitmap.h | 175 bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo) { in bitmap_full() 194 bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) { in bitmap_get() 205 bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) { in bitmap_set() 241 bitmap_ffu(const bitmap_t *bitmap, const bitmap_info_t *binfo, size_t min_bit) { in bitmap_ffu() 300 bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo) { in bitmap_sfu() 330 bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) { in bitmap_unset()
|
| H A D | slab_data.h | 9 bitmap_t bitmap[BITMAP_GROUPS_MAX]; member
|
| H A D | eset.h | 40 fb_group_t bitmap[FB_NGROUPS(SC_NPSIZES + 1)]; member
|
| /src/crypto/openssh/ |
| H A D | bitmap.c | 31 struct bitmap { struct 37 struct bitmap * argument
|
| /src/contrib/jemalloc/src/ |
| H A D | bitmap.c | 44 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo, bool fill) { in bitmap_init() 99 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo, bool fill) { in bitmap_init()
|
| /src/crypto/openssl/ssl/record/methods/ |
| H A D | dtls_meth.c | 40 static int dtls_record_replay_check(OSSL_RECORD_LAYER *rl, DTLS_BITMAP *bitmap) in dtls_record_replay_check() 62 DTLS_BITMAP *bitmap) in dtls_record_bitmap_update() 108 static int dtls_process_record(OSSL_RECORD_LAYER *rl, DTLS_BITMAP *bitmap) in dtls_process_record() 386 DTLS_BITMAP *bitmap; in dtls_get_more_records() local
|
| /src/contrib/wpa/src/common/ |
| H A D | hw_features_common.c | 384 static void punct_update_legacy_bw_80(u8 bitmap, u8 pri_chan, u8 *seg0) in punct_update_legacy_bw_80() 415 static void punct_update_legacy_bw_160(u8 bitmap, u8 pri, in punct_update_legacy_bw_160() 435 void punct_update_legacy_bw(u16 bitmap, u8 pri, enum oper_chan_width *width, in punct_update_legacy_bw() 990 u16 bitmap; in is_punct_bitmap_valid() local
|
| /src/sys/compat/linuxkpi/common/include/linux/ |
| H A D | bitmap.h | 175 bitmap_find_free_region(unsigned long *bitmap, int bits, int order) in bitmap_find_free_region() 190 bitmap_allocate_region(unsigned long *bitmap, int pos, int order) in bitmap_allocate_region() 199 bitmap_release_region(unsigned long *bitmap, int pos, int order) in bitmap_release_region() 445 bitmap_free(const unsigned long *bitmap) in bitmap_free()
|
| H A D | idr.h | 55 unsigned long bitmap; member 105 unsigned long bitmap[IDA_BITMAP_LONGS]; member
|
| /src/contrib/wpa/src/ap/ |
| H A D | p2p_hostapd.c | 96 u8 bitmap; in hostapd_eid_p2p_manage() local
|
| /src/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_uar.c | 207 unsigned long *bitmap; in alloc_bfreg() local 294 unsigned long *bitmap; in mlx5_free_bfreg() local
|
| /src/sys/amd64/vmm/intel/ |
| H A D | vmx_msr.c | 136 msr_bitmap_initialize(char *bitmap) in msr_bitmap_initialize() 143 msr_bitmap_change_access(char *bitmap, u_int msr, int access) in msr_bitmap_change_access()
|
| /src/sys/compat/linux/ |
| H A D | linux.c | 460 bsd_to_linux_bits_(int value, struct bsd_to_linux_bitmap *bitmap, in bsd_to_linux_bits_() 498 linux_to_bsd_bits_(int value, struct bsd_to_linux_bitmap *bitmap, in linux_to_bsd_bits_()
|
| /src/sys/dev/ocs_fc/ |
| H A D | ocs_os.c | 499 ocs_bitmap_free(ocs_bitmap_t *bitmap) in ocs_bitmap_free() 514 ocs_bitmap_find(ocs_bitmap_t *bitmap, uint32_t n_bits) in ocs_bitmap_find() 537 ocs_bitmap_search(ocs_bitmap_t *bitmap, uint8_t set, uint32_t n_bits) in ocs_bitmap_search() 561 ocs_bitmap_clear(ocs_bitmap_t *bitmap, uint32_t bit) in ocs_bitmap_clear()
|
| /src/contrib/ldns/ldns/ |
| H A D | host2str.h | 105 ldns_rdf* bitmap; /* for LDNS_FMT_RFC3597 */ member
|