Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 8 of 8) sorted by relevance

/kernel/kcsan/
Dcore.c1170 #define DEFINE_TSAN_ATOMIC_LOAD_STORE(bits) \ argument
1171 u##bits __tsan_atomic##bits##_load(const u##bits *ptr, int memorder); \
1172 u##bits __tsan_atomic##bits##_load(const u##bits *ptr, int memorder) \
1176 check_access(ptr, bits / BITS_PER_BYTE, KCSAN_ACCESS_ATOMIC, _RET_IP_); \
1180 EXPORT_SYMBOL(__tsan_atomic##bits##_load); \
1181 void __tsan_atomic##bits##_store(u##bits *ptr, u##bits v, int memorder); \
1182 void __tsan_atomic##bits##_store(u##bits *ptr, u##bits v, int memorder) \
1186 check_access(ptr, bits / BITS_PER_BYTE, \
1191 EXPORT_SYMBOL(__tsan_atomic##bits##_store)
1193 #define DEFINE_TSAN_ATOMIC_RMW(op, bits, suffix) \ argument
[all …]
/kernel/time/
Dsched_clock.c154 void sched_clock_register(u64 (*read)(void), int bits, unsigned long rate) in sched_clock_register() argument
171 new_mask = CLOCKSOURCE_MASK(bits); in sched_clock_register()
216 bits, r, r_unit, res, wrap); in sched_clock_register()
/kernel/bpf/
Dtnum.c24 u8 bits = fls64(chi); in tnum_range() local
27 if (bits > 63) in tnum_range()
33 delta = (1ULL << bits) - 1; in tnum_range()
Dcore.c285 __be64 *bits; in bpf_prog_calc_tag() local
326 bits = (__be64 *)(todo + bsize - sizeof(__be64)); in bpf_prog_calc_tag()
328 bits = (__be64 *)(todo + bsize + bits_offset); in bpf_prog_calc_tag()
331 *bits = cpu_to_be64((psize - 1) << 3); in bpf_prog_calc_tag()
Dbtf.c173 #define BITS_PER_BYTE_MASKED(bits) ((bits) & BITS_PER_BYTE_MASK) argument
174 #define BITS_ROUNDDOWN_BYTES(bits) ((bits) >> 3) argument
175 #define BITS_ROUNDUP_BYTES(bits) \ argument
176 (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits))
/kernel/power/
Dsnapshot.c929 unsigned long bits, pfn, pages; in memory_bm_next_pfn() local
934 bits = min(pages - bm->cur.node_pfn, BM_BITS_PER_BLOCK); in memory_bm_next_pfn()
935 bit = find_next_bit(bm->cur.node->data, bits, in memory_bm_next_pfn()
937 if (bit < bits) { in memory_bm_next_pfn()
/kernel/
Dworkqueue.c2713 unsigned long *bits = work_data_bits(target); in insert_wq_barrier() local
2717 work_flags |= *bits & WORK_STRUCT_LINKED; in insert_wq_barrier()
2718 work_color = get_work_color(*bits); in insert_wq_barrier()
2719 __set_bit(WORK_STRUCT_LINKED_BIT, bits); in insert_wq_barrier()
/kernel/trace/
Dftrace.c1367 int bits = 0; in dup_hash() local
1374 bits = fls(size / 2); in dup_hash()
1377 if (bits > FTRACE_HASH_MAX_BITS) in dup_hash()
1378 bits = FTRACE_HASH_MAX_BITS; in dup_hash()
1380 new_hash = alloc_ftrace_hash(bits); in dup_hash()