Home
last modified time | relevance | path

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

123

/Linux-v4.19/include/linux/
Dbitmap.h205 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) argument
207 #define small_const_nbits(nbits) \ argument
210 static inline void bitmap_zero(unsigned long *dst, unsigned int nbits) in bitmap_zero()
220 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
231 unsigned int nbits) in bitmap_copy()
245 const unsigned long *src, unsigned int nbits) in bitmap_copy_clear_tail()
262 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
265 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
271 const unsigned long *src2, unsigned int nbits) in bitmap_and()
279 const unsigned long *src2, unsigned int nbits) in bitmap_or()
[all …]
Dnodemask.h140 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 …]
Dmpi.h45 int nbits; /* the real number of valid bits (info only) */ member
/Linux-v4.19/tools/include/linux/
Dbitmap.h21 #define BITMAP_LAST_WORD_MASK(nbits) \ argument
27 #define small_const_nbits(nbits) \ argument
30 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero()
40 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
50 static inline int bitmap_empty(const unsigned long *src, unsigned nbits) in bitmap_empty()
58 static inline int bitmap_full(const unsigned long *src, unsigned int nbits) in bitmap_full()
66 static inline int bitmap_weight(const unsigned long *src, int nbits) in bitmap_weight()
74 const unsigned long *src2, int nbits) in bitmap_or()
120 static inline unsigned long *bitmap_alloc(int nbits) in bitmap_alloc()
143 const unsigned long *src2, unsigned int nbits) in bitmap_and()
/Linux-v4.19/lib/
Dtest_bitmap.c37 unsigned int nbits) in __check_eq_bitmap()
51 const unsigned long *bitmap, unsigned int nbits) in __check_eq_pbl()
211 const int nbits; member
303 unsigned int nbits, next_bit; in test_bitmap_arr32() local
331 unsigned int start, nbits; in test_mem_optimisations() local
Dbitmap.c86 unsigned shift, unsigned nbits) in __bitmap_shift_right()
131 unsigned int shift, unsigned int nbits) in __bitmap_shift_left()
364 int c, old_c, totaldigits, ndigits, nchunks, nbits; in __bitmap_parse() local
676 static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigned int nbits) in bitmap_pos_to_ord()
702 unsigned int bitmap_ord_to_pos(const unsigned long *buf, unsigned int ord, unsigned int nbits) in bitmap_ord_to_pos()
748 unsigned int nbits) in bitmap_remap()
953 unsigned int sz, unsigned int nbits) in bitmap_fold()
1115 void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits) in bitmap_copy_le()
1129 unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags) in bitmap_alloc()
1136 unsigned long *bitmap_zalloc(unsigned int nbits, gfp_t flags) in bitmap_zalloc()
[all …]
Dfind_bit.c35 const unsigned long *addr2, unsigned long nbits, in _find_next_bit()
170 const unsigned long *addr2, unsigned long nbits, in _find_next_bit_le()
Dgenalloc.c186 int nbits = size >> pool->min_alloc_order; in gen_pool_add_virt() local
295 int nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo() local
378 int start_bit, nbits, remain; in gen_pool_free() local
Dfind_bit_benchmark.c125 unsigned long nbits = BITMAP_LEN / SPARSE; in find_bit_test() local
/Linux-v4.19/fs/omfs/
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()
/Linux-v4.19/drivers/regulator/
Dtps6586x-regulator.c112 #define TPS6586X_REGULATOR(_id, _ops, _pin_name, vdata, vreg, shift, nbits, \ argument
136 uv_step, vreg, shift, nbits, ereg0, \ argument
160 #define TPS6586X_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
168 shift, nbits, ereg0, ebit0, ereg1, ebit1) \ argument
175 #define TPS6586X_FIXED_LDO(_id, _pname, vdata, vreg, shift, nbits, \ argument
183 nbits, ereg0, ebit0, ereg1, ebit1, goreg, gobit) \ argument
Dda903x.c313 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
333 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
355 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
358 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
361 #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
365 #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
369 #define DA9035_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
/Linux-v4.19/lib/mpi/
Dmpicoder.c39 unsigned nbits, nlimbs; in mpi_read_raw_data() local
84 unsigned int nbits, nbytes; in mpi_read_from_buffer() local
333 unsigned int nbits, nlimbs; in mpi_read_raw_from_sgl() local
/Linux-v4.19/drivers/isdn/i4l/
Disdn_audio.c315 isdn_audio_put_bits(int data, int nbits, adpcm_state *s, in isdn_audio_put_bits()
329 isdn_audio_adpcm_init(adpcm_state *s, int nbits) in isdn_audio_adpcm_init()
366 int nbits = s->nbits; in isdn_audio_adpcm2xlaw() local
401 int nbits = s->nbits; in isdn_audio_xlaw2adpcm() local
Disdn_audio.h18 int nbits; member
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/include/
Dbrcmu_utils.h55 #define NBITVAL(nbits) (1 << (nbits)) argument
56 #define MAXBITVAL(nbits) ((1 << (nbits)) - 1) argument
57 #define NBITMASK(nbits) MAXBITVAL(nbits) argument
/Linux-v4.19/tools/perf/tests/
Dbitmap.c10 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
Dmem2node.c18 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
/Linux-v4.19/arch/sparc/include/asm/
Dadi_64.h17 __u64 nbits; member
/Linux-v4.19/arch/ia64/mm/
Dtlb.c241 unsigned long end, unsigned long nbits) in ia64_global_tlb_purge()
306 unsigned long nbits; in flush_tlb_range() local
/Linux-v4.19/tools/lib/
Dfind_bit.c36 const unsigned long *addr2, unsigned long nbits, in _find_next_bit()
Dbitmap.c33 size_t bitmap_scnprintf(unsigned long *bitmap, int nbits, in bitmap_scnprintf()
/Linux-v4.19/drivers/pci/controller/
Dpcie-cadence.h113 #define CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS(nbits) \ argument
153 #define CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(nbits) \ argument
164 #define CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS(nbits) \ argument
Dpcie-cadence.c19 int nbits = ilog2(sz); in cdns_pcie_set_outbound_region() local
/Linux-v4.19/drivers/media/usb/pwc/
Dpwc-dec23.h37 unsigned int nbitsmask, nbits; /* Number of bits of a color in the compressed stream */ member

123