Home
last modified time | relevance | path

Searched defs:nbits (Results 1 – 25 of 104) sorted by relevance

12345

/openbmc/linux/include/linux/
H A Dbitmap.h267 unsigned int nbits) in bitmap_copy()
371 unsigned int nbits) in bitmap_complement()
409 unsigned int nbits) in bitmap_or_equal()
419 unsigned int nbits) in bitmap_intersects()
470 unsigned int nbits) in bitmap_set()
486 unsigned int nbits) in bitmap_clear()
502 unsigned int shift, unsigned int nbits) in bitmap_shift_right()
511 unsigned int shift, unsigned int nbits) in bitmap_shift_left()
523 unsigned int nbits) in bitmap_replace()
632 unsigned long nbits) in bitmap_read()
[all …]
H A Dnodemask.h165 const nodemask_t *src2p, unsigned int nbits) in __nodes_and()
173 const nodemask_t *src2p, unsigned int nbits) in __nodes_or()
181 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor()
189 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot()
197 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement()
205 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal()
247 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right()
255 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left()
342 nodemask_t *dstp, int nbits) in __nodemask_parse_user()
372 const nodemask_t *relmapp, int nbits) in __nodes_onto()
[all …]
H A Dmpi.h32 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
/openbmc/qemu/include/qemu/
H A Dbitmap.h72 #define small_nbits(nbits) \ argument
93 static inline unsigned long *bitmap_try_new(long nbits) in bitmap_try_new()
99 static inline unsigned long *bitmap_new(long nbits) in bitmap_new()
105 static inline void bitmap_zero(unsigned long *dst, long nbits) in bitmap_zero()
115 static inline void bitmap_fill(unsigned long *dst, long nbits) in bitmap_fill()
126 long nbits) in bitmap_copy()
137 const unsigned long *src2, long nbits) in bitmap_and()
146 const unsigned long *src2, long nbits) in bitmap_or()
156 const unsigned long *src2, long nbits) in bitmap_xor()
176 long nbits) in bitmap_complement()
[all …]
/openbmc/linux/tools/include/linux/
H A Dbitmap.h27 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) argument
29 #define bitmap_size(nbits) (ALIGN(nbits, BITS_PER_LONG) / BITS_PER_BYTE) argument
31 static inline void bitmap_zero(unsigned long *dst, unsigned int nbits) in bitmap_zero()
40 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
50 static inline bool bitmap_empty(const unsigned long *src, unsigned int nbits) in bitmap_empty()
58 static inline bool bitmap_full(const unsigned long *src, unsigned int nbits) in bitmap_full()
74 const unsigned long *src2, unsigned int nbits) in bitmap_or()
86 static inline unsigned long *bitmap_zalloc(int nbits) in bitmap_zalloc()
118 const unsigned long *src2, unsigned int nbits) in bitmap_and()
133 const unsigned long *src2, unsigned int nbits) in bitmap_equal()
[all …]
/openbmc/linux/net/ethtool/
H A Dbitset.c128 static void ethnl_bitmap32_update(u32 *dst, unsigned int nbits, in ethnl_bitmap32_update()
233 const u32 *mask, unsigned int nbits, in ethnl_put_bitset32()
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()
771 int ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, in ethnl_update_bitset()
809 unsigned int nbits, ethnl_string_array_t names, in ethnl_bitset_size()
[all …]
/openbmc/linux/lib/
H A Dbitmap.c104 unsigned shift, unsigned nbits) in __bitmap_shift_right()
149 unsigned int shift, unsigned int nbits) in __bitmap_shift_left()
211 unsigned int first, unsigned int cut, unsigned int nbits) in bitmap_cut()
296 const unsigned long *mask, unsigned int nbits) in __bitmap_replace()
650 unsigned int nbits; member
1005 unsigned int nbits) in bitmap_remap()
1210 unsigned int sz, unsigned int nbits) in bitmap_fold()
1386 unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags) in bitmap_alloc()
1393 unsigned long *bitmap_zalloc(unsigned int nbits, gfp_t flags) in bitmap_zalloc()
1426 unsigned int nbits, gfp_t flags) in devm_bitmap_alloc()
[all …]
H A Dfind_bit.c131 unsigned long _find_next_bit(const unsigned long *addr, unsigned long nbits, unsigned long start) in _find_next_bit()
169 unsigned long nbits, unsigned long start) in _find_next_and_bit()
178 unsigned long nbits, unsigned long start) in _find_next_andnot_bit()
187 unsigned long nbits, unsigned long start) in _find_next_or_bit()
195 unsigned long _find_next_zero_bit(const unsigned long *addr, unsigned long nbits, in _find_next_zero_bit()
H A Dtest_bitmap.c78 unsigned int nbits) in __check_eq_bitmap()
92 const unsigned long *bitmap, unsigned int nbits) in __check_eq_pbl()
337 unsigned int nbits = 64; in test_replace() local
367 const int nbits; member
611 unsigned int nbits, next_bit; in test_bitmap_arr32() local
639 unsigned int nbits, next_bit; in test_bitmap_arr64() local
675 unsigned int start, nbits; in test_mem_optimisations() local
977 unsigned int nbits; member
1033 unsigned long nbits; member
/openbmc/linux/tools/lib/
H A Dfind_bit.c103 unsigned long _find_next_bit(const unsigned long *addr, unsigned long nbits, unsigned long start) in _find_next_bit()
111 unsigned long nbits, unsigned long start) in _find_next_and_bit()
118 unsigned long _find_next_zero_bit(const unsigned long *addr, unsigned long nbits, in _find_next_zero_bit()
/openbmc/u-boot/include/linux/
H A Dbitmap.h9 #define small_const_nbits(nbits) \ argument
12 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dfind.c34 unsigned long _find_next_bit(const unsigned long *addr, unsigned long nbits, unsigned long start) in _find_next_bit()
39 unsigned long _find_next_zero_bit(const unsigned long *addr, unsigned long nbits, in _find_next_zero_bit()
/openbmc/linux/fs/ntfs3/
H A Dbitfunc.c33 bool are_bits_clear(const void *lmap, size_t bit, size_t nbits) in are_bits_clear()
81 bool are_bits_set(const void *lmap, size_t bit, size_t nbits) in are_bits_set()
/openbmc/qemu/util/
H A Dbitmap.c404 long slow_bitmap_count_one(const unsigned long *bitmap, long nbits) in slow_bitmap_count_one()
420 const unsigned long *src, long nbits) in bitmap_to_from_le()
440 long nbits) in bitmap_from_le()
446 long nbits) in bitmap_to_le()
457 unsigned long shift, unsigned long nbits) in bitmap_copy_with_src_offset()
499 unsigned long shift, unsigned long nbits) in bitmap_copy_with_dst_offset()
H A Dthread-context.c92 int nbits = 0, ret; in thread_context_set_cpu_affinity() local
139 unsigned long *bitmap, nbits, value; in thread_context_get_cpu_affinity() local
173 const int nbits = numa_num_possible_cpus(); in thread_context_set_node_affinity() local
/openbmc/linux/lib/crypto/mpi/
H A Dmpicoder.c40 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
558 unsigned int nbits = mpi_get_nbits(a); in mpi_print() local
H A Dmpi-bit.c183 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_rshift() local
276 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_lshift() local
/openbmc/linux/fs/omfs/
H A Dbitmap.c13 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()
/openbmc/linux/drivers/regulator/
H A Dtps6586x-regulator.c109 #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
H A Dda903x-regulator.c309 #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
/openbmc/linux/fs/btrfs/
H A Dmisc.h146 unsigned long nbits) in bitmap_test_range_all_set()
156 unsigned long nbits) in bitmap_test_range_all_zero()
/openbmc/linux/fs/xfs/
H A Dxfs_buf_item.c64 int nbits) in xfs_buf_item_straddle()
95 int nbits; in xfs_buf_item_size_segment() local
260 uint nbits) in xfs_buf_item_copy_iovec()
281 uint nbits; in xfs_buf_item_format_segment() local
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/include/
H A Dbrcmu_utils.h44 #define NBITVAL(nbits) (1 << (nbits)) argument
45 #define MAXBITVAL(nbits) ((1 << (nbits)) - 1) argument
46 #define NBITMASK(nbits) MAXBITVAL(nbits) argument
/openbmc/linux/tools/include/asm-generic/
H A Dbitsperlong.h21 #define small_const_nbits(nbits) \ argument
/openbmc/linux/include/asm-generic/
H A Dbitsperlong.h35 #define small_const_nbits(nbits) \ argument

12345