Home
last modified time | relevance | path

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

1234

/linux/include/linux/
A Dbitmap.h254 unsigned int nbits) in bitmap_copy()
264 const unsigned long *src, unsigned int nbits) in bitmap_copy_clear_tail()
281 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
284 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
324 unsigned int nbits) in bitmap_complement()
362 unsigned int nbits) in bitmap_or_equal()
412 unsigned int nbits) in bitmap_set()
426 unsigned int nbits) in bitmap_clear()
440 unsigned int shift, unsigned int nbits) in bitmap_shift_right()
449 unsigned int shift, unsigned int nbits) in bitmap_shift_left()
[all …]
A Dnodemask.h164 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()
246 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right()
254 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left()
334 nodemask_t *dstp, int nbits) in __nodemask_parse_user()
364 const nodemask_t *relmapp, int nbits) in __nodes_onto()
[all …]
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
/linux/tools/include/linux/
A Dbitmap.h25 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) argument
27 static inline void bitmap_zero(unsigned long *dst, unsigned int nbits) in bitmap_zero()
37 static inline void bitmap_fill(unsigned long *dst, unsigned int nbits) in bitmap_fill()
47 static inline int bitmap_empty(const unsigned long *src, unsigned nbits) in bitmap_empty()
55 static inline int bitmap_full(const unsigned long *src, unsigned int nbits) in bitmap_full()
63 static inline int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight()
71 const unsigned long *src2, unsigned int nbits) in bitmap_or()
117 static inline unsigned long *bitmap_zalloc(int nbits) in bitmap_zalloc()
149 const unsigned long *src2, unsigned int nbits) in bitmap_and()
165 const unsigned long *src2, unsigned int nbits) in bitmap_equal()
[all …]
/linux/net/ethtool/
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 …]
/linux/lib/
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()
623 unsigned int nbits; member
1007 unsigned int nbits) in bitmap_remap()
1212 unsigned int sz, unsigned int nbits) in bitmap_fold()
1388 unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags) in bitmap_alloc()
1395 unsigned long *bitmap_zalloc(unsigned int nbits, gfp_t flags) in bitmap_zalloc()
1428 unsigned int nbits, gfp_t flags) in devm_bitmap_alloc()
[all …]
A Dtest_bitmap.c76 unsigned int nbits) in __check_eq_bitmap()
90 const unsigned long *bitmap, unsigned int nbits) in __check_eq_pbl()
294 unsigned int nbits = 64; in test_replace() local
324 const int nbits; member
528 unsigned int nbits, next_bit; in test_bitmap_arr32() local
556 unsigned int start, nbits; in test_mem_optimisations() local
625 unsigned int nbits; member
681 unsigned long nbits; member
A Dfind_bit.c33 const unsigned long *addr2, unsigned long nbits, in _find_next_bit()
/linux/fs/ntfs3/
A Dbitfunc.c33 bool are_bits_clear(const ulong *lmap, size_t bit, size_t nbits) in are_bits_clear()
81 bool are_bits_set(const ulong *lmap, size_t bit, size_t nbits) in are_bits_set()
/linux/lib/mpi/
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
557 unsigned int nbits = mpi_get_nbits(a); in mpi_print() local
A Dmpi-bit.c183 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/fs/omfs/
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/regulator/
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
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/btrfs/
A Dsubpage.c224 const int nbits = len >> fs_info->sectorsize_bits; in btrfs_subpage_start_reader() local
235 const int nbits = len >> fs_info->sectorsize_bits; in btrfs_subpage_end_reader() local
277 const int nbits = (len >> fs_info->sectorsize_bits); in btrfs_subpage_start_writer() local
291 const int nbits = (len >> fs_info->sectorsize_bits); in btrfs_subpage_end_and_test_writer() local
347 unsigned int nbits) in bitmap_test_range_all_set()
358 unsigned int nbits) in bitmap_test_range_all_zero()
/linux/fs/xfs/
A Dxfs_buf_item.c63 int nbits) in xfs_buf_item_straddle()
94 int nbits; in xfs_buf_item_size_segment() local
259 uint nbits) in xfs_buf_item_copy_iovec()
280 uint nbits; in xfs_buf_item_format_segment() local
A Dxfs_buf_item_recover.c445 int nbits; in xlog_recover_do_reg_buffer() local
586 int nbits = 0; in xlog_recover_do_inode_buffer() local
/linux/drivers/net/wireless/broadcom/brcm80211/include/
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/include/asm-generic/
A Dbitsperlong.h35 #define small_const_nbits(nbits) \ argument
/linux/tools/include/asm-generic/
A Dbitsperlong.h21 #define small_const_nbits(nbits) \ argument
/linux/tools/perf/tests/
A Dbitmap.c11 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
A Dmem2node.c24 static unsigned long *get_bitmap(const char *str, int nbits) in get_bitmap()
/linux/tools/lib/
A Dfind_bit.c32 const unsigned long *addr2, unsigned long nbits, in _find_next_bit()
/linux/arch/sparc/include/asm/
A Dadi_64.h16 __u64 nbits; member
/linux/arch/ia64/mm/
A Dtlb.c250 unsigned long end, unsigned long nbits) in ia64_global_tlb_purge()
316 unsigned long nbits; in __flush_tlb_range() local

Completed in 41 milliseconds

1234