Home
last modified time | relevance | path

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

123

/linux/tools/include/linux/
H A Dbitmap.h35 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) argument
37 #define bitmap_size(nbits) (ALIGN(nbits, BITS_PER_LONG) / BITS_PER_BYTE) in bitmap_zero() argument
33 BITMAP_LAST_WORD_MASK(nbits) global() argument
46 bitmap_fill(unsigned long * dst,unsigned int nbits) bitmap_fill() argument
56 bitmap_empty(const unsigned long * src,unsigned int nbits) bitmap_empty() argument
64 bitmap_full(const unsigned long * src,unsigned int nbits) bitmap_full() argument
72 bitmap_weight(const unsigned long * src,unsigned int nbits) bitmap_weight() argument
80 bitmap_or(unsigned long * dst,const unsigned long * src1,const unsigned long * src2,unsigned int nbits) bitmap_or() argument
90 bitmap_andnot(unsigned long * dst,const unsigned long * src1,const unsigned long * src2,unsigned int nbits) bitmap_andnot() argument
97 bitmap_alloc(unsigned int nbits,gfp_t flags __maybe_unused) bitmap_alloc() argument
106 bitmap_zalloc(int nbits) bitmap_zalloc() argument
138 bitmap_and(unsigned long * dst,const unsigned long * src1,const unsigned long * src2,unsigned int nbits) bitmap_and() argument
153 bitmap_equal(const unsigned long * src1,const unsigned long * src2,unsigned int nbits) bitmap_equal() argument
165 bitmap_intersects(const unsigned long * src1,const unsigned long * src2,unsigned int nbits) bitmap_intersects() argument
174 bitmap_subset(const unsigned long * src1,const unsigned long * src2,unsigned int nbits) bitmap_subset() argument
182 bitmap_set(unsigned long * map,unsigned int start,unsigned int nbits) bitmap_set() argument
198 bitmap_clear(unsigned long * map,unsigned int start,unsigned int nbits) bitmap_clear() argument
[all...]
/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()
H A Dbitmap.c31 size_t bitmap_scnprintf(unsigned long *bitmap, unsigned int nbits, in bitmap_scnprintf() argument
/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()
/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
/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()
/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()
/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
/linux/tools/include/asm-generic/
H A Dbitsperlong.h21 #define small_const_nbits(nbits) \ argument
/linux/fs/xfs/
H A Dxfs_buf_item.c132 int nbits; in xfs_buf_item_size_segment() local
270 uint nbits) in xfs_buf_item_copy_iovec()
287 uint nbits; in xfs_buf_item_format_segment() local
H A Dxfs_buf_item_recover.c474 int nbits; in xlog_recover_do_reg_buffer() local
615 int nbits = 0; in xlog_recover_do_inode_buffer() local
/linux/tools/perf/tests/
H A Dbitmap.c11 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap() argument
H A Dmem2node.c24 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap() argument
/linux/include/crypto/
H A Decc_curve.h38 u32 nbits; member
/linux/include/linux/
H A Dmpi.h32 int nbits; /* the real number of valid bits (info only) */ member
/linux/lib/crypto/mpi/
H A Dmpi-bit.c110 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_rshift() local
/linux/lib/
H A Dgenalloc.c188 unsigned long nbits = size >> pool->min_alloc_order; in gen_pool_add_owner() local
283 unsigned long nbits, start_bit, end_bit, remain; in gen_pool_alloc_algo_owner() local
492 unsigned long start_bit, nbits, remain; in gen_pool_free_owner() local
H A Dbitmap-str.c217 unsigned int nbits; member
/linux/drivers/media/usb/pwc/
H A Dpwc-dec23.h25 unsigned int nbitsmask, nbits; /* Number of bits of a color in the compressed stream */ member
/linux/tools/perf/util/
H A Dmmap.h18 size_t nbits; member
/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.h127 #define BITS_MASK(nbits) ((1<<nbits)-1) argument
128 #define GET_BITS_SHIFT(x, nbits, nshift) (((x)>>nshift)&BITS_MASK(nbits)) argument
129 #define BITS_SHIFT_MASK(nbits, nshift) (BITS_MASK(nbits)<<nshift) argument
130 #define BITS_SHIFT_VAL(x, nbits, nshift) (((x)&BITS_MASK(nbits))<<nshift) argument
131 #define BITS_SHIFT_CLEAR(x, nbits, nshift) \ argument
/linux/net/sunrpc/
H A Dauth.c59 unsigned int nbits; in param_set_hashtbl_sz() local
78 unsigned int nbits; in param_get_hashtbl_sz() local
/linux/drivers/input/keyboard/
H A Dadp5585-keys.c192 unsigned long keys_bits, start = 0, nbits = kpad->info->max_rows; in adp5585_keys_setup() local
/linux/drivers/iommu/iommufd/
H A Diova_bitmap.c427 unsigned int nbits = min(BITS_PER_PAGE - offset, in iova_bitmap_set() local

123