/linux-5.10/include/linux/ |
D | bitmap.h | 225 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) argument 232 #define small_const_nbits(nbits) \ argument 235 static inline void bitmap_zero(unsigned long *dst, unsigned int nbits) in bitmap_zero() 241 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill() 248 unsigned int nbits) in bitmap_copy() 258 const unsigned long *src, unsigned int nbits) in bitmap_copy_clear_tail() 275 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument 278 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument 284 const unsigned long *src2, unsigned int nbits) in bitmap_and() 292 const unsigned long *src2, unsigned int nbits) in bitmap_or() [all …]
|
D | nodemask.h | 140 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall() 146 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() 164 const nodemask_t *src2p, unsigned int nbits) in __nodes_and() 172 const nodemask_t *src2p, unsigned int nbits) in __nodes_or() 180 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor() 188 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot() 196 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() 204 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal() 212 const nodemask_t *src2p, unsigned int nbits) in __nodes_intersects() 220 const nodemask_t *src2p, unsigned int nbits) in __nodes_subset() [all …]
|
D | mpi.h | 32 int nbits; /* the real number of valid bits (info only) */ member 51 static inline MPI mpi_new(unsigned int nbits) in mpi_new() 200 unsigned int nbits; /* Number of bits. */ member
|
/linux-5.10/tools/include/linux/ |
D | bitmap.h | 24 #define BITMAP_LAST_WORD_MASK(nbits) \ argument 30 #define small_const_nbits(nbits) \ argument 33 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero() 43 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill() 53 static inline int bitmap_empty(const unsigned long *src, unsigned nbits) in bitmap_empty() 61 static inline int bitmap_full(const unsigned long *src, unsigned int nbits) in bitmap_full() 69 static inline int bitmap_weight(const unsigned long *src, int nbits) in bitmap_weight() 77 const unsigned long *src2, int nbits) in bitmap_or() 123 static inline unsigned long *bitmap_alloc(int nbits) in bitmap_alloc() 155 const unsigned long *src2, unsigned int nbits) in bitmap_and() [all …]
|
/linux-5.10/net/ethtool/ |
D | bitset.c | 128 static void ethnl_bitmap32_update(u32 *dst, unsigned int nbits, in ethnl_bitmap32_update() 171 int ethnl_bitset32_size(const u32 *val, const u32 *mask, unsigned int nbits, in ethnl_bitset32_size() 233 const u32 *mask, unsigned int nbits, in ethnl_put_bitset32() 377 static int ethnl_parse_bit(unsigned int *index, bool *val, unsigned int nbits, in ethnl_parse_bit() 429 ethnl_update_bitset32_verbose(u32 *bitmap, unsigned int nbits, in ethnl_update_bitset32_verbose() 480 static int ethnl_compact_sanity_checks(unsigned int nbits, in ethnl_compact_sanity_checks() 552 int ethnl_update_bitset32(u32 *bitmap, unsigned int nbits, in ethnl_update_bitset32() 605 unsigned int nbits, const struct nlattr *attr, in ethnl_parse_bitset() 700 unsigned int nbits, ethnl_string_array_t names, in ethnl_bitset_size() 736 unsigned int nbits, ethnl_string_array_t names, in ethnl_put_bitset() [all …]
|
/linux-5.10/lib/ |
D | bitmap.c | 102 unsigned shift, unsigned nbits) in __bitmap_shift_right() 147 unsigned int shift, unsigned int nbits) in __bitmap_shift_left() 209 unsigned int first, unsigned int cut, unsigned int nbits) in bitmap_cut() 294 const unsigned long *mask, unsigned int nbits) in __bitmap_replace() 503 unsigned long *bitmap, int nbits) in bitmap_set_region() 796 static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigned int nbits) in bitmap_pos_to_ord() 822 unsigned int bitmap_ord_to_pos(const unsigned long *buf, unsigned int ord, unsigned int nbits) in bitmap_ord_to_pos() 868 unsigned int nbits) in bitmap_remap() 1070 unsigned int sz, unsigned int nbits) in bitmap_fold() 1232 void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits) in bitmap_copy_le() [all …]
|
D | test_bitmap.c | 74 unsigned int nbits) in __check_eq_bitmap() 88 const unsigned long *bitmap, unsigned int nbits) in __check_eq_pbl() 277 unsigned int nbits = 64; in test_replace() local 307 const int nbits; member 472 unsigned int nbits, next_bit; in test_bitmap_arr32() local 500 unsigned int start, nbits; in test_mem_optimisations() local 569 unsigned int nbits; member
|
D | find_bit_benchmark.c | 116 unsigned long nbits = BITMAP_LEN / SPARSE; in find_bit_test() local
|
D | genalloc.c | 186 int nbits = size >> pool->min_alloc_order; in gen_pool_add_owner() local 281 int nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local 490 int start_bit, nbits, remain; in gen_pool_free_owner() local
|
/linux-5.10/lib/mpi/ |
D | mpicoder.c | 40 unsigned nbits, nlimbs; in mpi_read_raw_data() local 85 unsigned int nbits, nbytes; in mpi_read_from_buffer() local 121 unsigned int nbits, nbytes, nlimbs; in mpi_fromstr() local 440 unsigned int nbits, nlimbs; in mpi_read_raw_from_sgl() local 557 unsigned int nbits = mpi_get_nbits(a); in mpi_print() local
|
D | mpi-bit.c | 183 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_rshift() local 275 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_lshift() local
|
/linux-5.10/fs/omfs/ |
D | bitmap.c | 13 int nbits = sb->s_blocksize * 8; in omfs_count_free() local 26 static int count_run(unsigned long **addr, int nbits, in count_run() 49 int nbits, int bit, int count, int set) in set_run()
|
/linux-5.10/drivers/regulator/ |
D | tps6586x-regulator.c | 109 #define TPS6586X_REGULATOR(_id, _ops, _pin_name, vdata, vreg, shift, nbits, \ argument 133 uv_step, vreg, shift, nbits, ereg0, \ argument 157 #define TPS6586X_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument 165 shift, nbits, ereg0, ebit0, ereg1, ebit1) \ argument 172 #define TPS6586X_FIXED_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument 180 nbits, ereg0, ebit0, ereg1, ebit1, goreg, gobit) \ argument
|
D | da903x-regulator.c | 309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 329 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 351 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 354 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 357 #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 361 #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 365 #define DA9035_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
|
/linux-5.10/drivers/net/wireless/broadcom/brcm80211/include/ |
D | brcmu_utils.h | 44 #define NBITVAL(nbits) (1 << (nbits)) argument 45 #define MAXBITVAL(nbits) ((1 << (nbits)) - 1) argument 46 #define NBITMASK(nbits) MAXBITVAL(nbits) argument
|
/linux-5.10/tools/perf/tests/ |
D | bitmap.c | 11 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
|
D | mem2node.c | 24 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
|
/linux-5.10/arch/sparc/include/asm/ |
D | adi_64.h | 16 __u64 nbits; member
|
/linux-5.10/arch/ia64/mm/ |
D | tlb.c | 250 unsigned long end, unsigned long nbits) in ia64_global_tlb_purge() 316 unsigned long nbits; in __flush_tlb_range() local
|
/linux-5.10/tools/lib/ |
D | find_bit.c | 32 const unsigned long *addr2, unsigned long nbits, in _find_next_bit()
|
D | bitmap.c | 31 size_t bitmap_scnprintf(unsigned long *bitmap, int nbits, in bitmap_scnprintf()
|
/linux-5.10/fs/xfs/ |
D | xfs_buf_item_recover.c | 445 int nbits; in xlog_recover_do_reg_buffer() local 586 int nbits = 0; in xlog_recover_do_inode_buffer() local
|
D | xfs_buf_item.c | 199 uint nbits) in xfs_buf_item_copy_iovec() 232 uint nbits; in xfs_buf_item_format_segment() local
|
/linux-5.10/drivers/media/usb/pwc/ |
D | pwc-dec23.h | 25 unsigned int nbitsmask, nbits; /* Number of bits of a color in the compressed stream */ member
|
/linux-5.10/tools/perf/util/ |
D | mmap.h | 21 size_t nbits; member
|