Searched refs:nr_bits (Results 26 - 41 of 41) sorted by relevance

12

/linux-master/arch/x86/kernel/
H A Dprocess_64.c801 static int prctl_enable_tagged_addr(struct mm_struct *mm, unsigned long nr_bits) argument
822 if (!nr_bits) {
825 } else if (nr_bits <= LAM_U57_BITS) {
/linux-master/kernel/bpf/
H A Dbtf.c865 u8 nr_bits, nr_bytes; local
869 nr_bits = BTF_INT_BITS(int_data);
870 nr_bytes = BITS_ROUNDUP_BYTES(nr_bits);
871 if (BITS_PER_BYTE_MASKED(nr_bits) ||
892 u8 nr_bits; local
900 nr_bits = BTF_INT_BITS(int_data);
910 BITS_ROUNDUP_BYTES(nr_bits) == expected_size;
916 BITS_PER_BYTE_MASKED(nr_bits) ||
917 BITS_ROUNDUP_BYTES(nr_bits) != expected_size)
2160 u32 struct_bits_off, nr_bits, nr_int_data_bit local
2215 u32 int_data, nr_bits, meta_needed = sizeof(int_data); local
2353 btf_bitfield_show(void *data, u8 bits_offset, u8 nr_bits, struct btf_show *show) argument
2384 u8 nr_bits = BTF_INT_BITS(int_data); local
2404 u8 nr_bits = BTF_INT_BITS(int_data); local
4096 u32 struct_bits_off, nr_bits, bytes_end, struct_size; local
[all...]
/linux-master/drivers/md/
H A Ddm-cache-metadata.c1584 static int __set_dirty_bits_v1(struct dm_cache_metadata *cmd, unsigned int nr_bits, unsigned long *bits) argument
1589 for (i = 0; i < nr_bits; i++) {
1605 static int __set_dirty_bits_v2(struct dm_cache_metadata *cmd, unsigned int nr_bits, unsigned long *bits) argument
1609 /* nr_bits is really just a sanity check */
1610 if (nr_bits != from_cblock(cmd->cache_blocks)) {
1620 return dm_bitset_new(&cmd->dirty_info, &cmd->dirty_root, nr_bits, is_dirty_callback, bits);
1624 unsigned int nr_bits,
1631 r = __set_dirty_bits_v2(cmd, nr_bits, bits);
1633 r = __set_dirty_bits_v1(cmd, nr_bits, bits);
1623 dm_cache_set_dirty_bits(struct dm_cache_metadata *cmd, unsigned int nr_bits, unsigned long *bits) argument
H A Ddm-clone-metadata.c468 static size_t bitmap_size(unsigned long nr_bits) argument
470 return BITS_TO_LONGS(nr_bits) * sizeof(long);
/linux-master/arch/sh/boards/mach-highlander/
H A Dsetup.c139 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/linux-master/include/linux/
H A Dnetdevice.h3723 * @nr_bits: number of bits in the bitmask
3729 unsigned int nr_bits)
3731 cpu_max_bits_warn(j, nr_bits);
3739 * @nr_bits: number of bits in the bitmask
3745 unsigned int nr_bits)
3747 cpu_max_bits_warn(j, nr_bits);
3752 return (j < nr_bits);
3759 * @nr_bits: number of bits in the bitmask
3761 * Returns >= nr_bits if no further CPUs/Rx queues set.
3764 unsigned int nr_bits)
3727 netif_attr_test_mask(unsigned long j, const unsigned long *mask, unsigned int nr_bits) argument
3743 netif_attr_test_online(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits) argument
3763 netif_attrmask_next(int n, const unsigned long *srcp, unsigned int nr_bits) argument
3785 netif_attrmask_next_and(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits) argument
[all...]
/linux-master/tools/lib/bpf/
H A Dlibbpf_internal.h79 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \
80 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits))
/linux-master/fs/bcachefs/
H A Dutil.c244 void bch2_prt_u64_base2_nbits(struct printbuf *out, u64 v, unsigned nr_bits) argument
246 while (nr_bits)
247 prt_char(out, '0' + ((v >> --nr_bits) & 1));
/linux-master/mm/
H A Dpercpu.c638 if (end == block->nr_bits)
1309 static void pcpu_init_md_block(struct pcpu_block_md *block, int nr_bits) argument
1312 block->contig_hint = nr_bits;
1313 block->left_free = nr_bits;
1314 block->right_free = nr_bits;
1316 block->nr_bits = nr_bits;
/linux-master/drivers/memory/
H A Domap-gpmc.c447 int nr_bits; local
452 nr_bits = end_bit - st_bit + 1;
453 mask = (1 << nr_bits) - 1;
616 int ticks, mask, nr_bits; local
622 nr_bits = end_bit - st_bit + 1;
623 mask = (1 << nr_bits) - 1;
/linux-master/lib/
H A Dvsprintf.c1199 int nr_bits = max_t(int, spec.field_width, 0); local
1209 chunksz = nr_bits & (CHUNKSZ - 1);
1213 i = ALIGN(nr_bits, CHUNKSZ) - CHUNKSZ;
1242 int nr_bits = max_t(int, spec.field_width, 0); local
1249 for_each_set_bitrange(rbot, rtop, bitmap, nr_bits) {
/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-decoder.c1550 int nr_bits; local
1584 nr_bits = data->bit_countdown;
1585 if (nr_bits > pkt_info->packet.count)
1586 nr_bits = pkt_info->packet.count;
1587 data->payload <<= nr_bits;
1588 data->payload |= pkt_info->packet.payload >> (64 - nr_bits);
1589 data->bit_countdown -= nr_bits;
/linux-master/tools/perf/
H A Dbuiltin-record.c3009 static int record__mmap_cpu_mask_alloc(struct mmap_cpu_mask *mask, int nr_bits) argument
3011 mask->nbits = nr_bits;
3025 static int record__thread_mask_alloc(struct thread_mask *mask, int nr_bits) argument
3029 ret = record__mmap_cpu_mask_alloc(&mask->maps, nr_bits);
3035 ret = record__mmap_cpu_mask_alloc(&mask->affinity, nr_bits);
3627 static int record__alloc_thread_masks(struct record *rec, int nr_threads, int nr_bits) argument
3638 ret = record__thread_mask_alloc(&rec->thread_masks[t], nr_bits);
/linux-master/arch/sh/boards/
H A Dboard-sh7757lcr.c36 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
/linux-master/arch/sh/boards/mach-ecovec24/
H A Dsetup.c93 .nr_bits = 4,
/linux-master/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c2739 u32 nr_bits = 0; local
2823 nr_bits = 8;
2826 nr_bits = 7;
2829 nr_bits = 6;
2832 nr_bits = 5;
2835 nr_bits = 4;
2840 /* max_bit_rate = symbol_rate * nr_bits * coef */
2843 (ext_attr->curr_symbol_rate / 8) * nr_bits * 188;

Completed in 287 milliseconds

12