Searched refs:bits (Results 1 – 7 of 7) sorted by relevance
/kernel/time/ |
D | sched_clock.c | 168 sched_clock_register(u64 (*read)(void), int bits, unsigned long rate) in sched_clock_register() argument 184 new_mask = CLOCKSOURCE_MASK(bits); in sched_clock_register() 230 bits, r, r_unit, res, wrap); in sched_clock_register()
|
/kernel/bpf/ |
D | tnum.c | 24 u8 bits = fls64(chi); in tnum_range() local 27 if (bits > 63) in tnum_range() 33 delta = (1ULL << bits) - 1; in tnum_range()
|
D | btf.c | 162 #define BITS_PER_BYTE_MASKED(bits) ((bits) & BITS_PER_BYTE_MASK) argument 163 #define BITS_ROUNDDOWN_BYTES(bits) ((bits) >> 3) argument 164 #define BITS_ROUNDUP_BYTES(bits) \ argument 165 (BITS_ROUNDDOWN_BYTES(bits) + !!BITS_PER_BYTE_MASKED(bits))
|
D | core.c | 274 __be64 *bits; in bpf_prog_calc_tag() local 315 bits = (__be64 *)(todo + bsize - sizeof(__be64)); in bpf_prog_calc_tag() 317 bits = (__be64 *)(todo + bsize + bits_offset); in bpf_prog_calc_tag() 320 *bits = cpu_to_be64((psize - 1) << 3); in bpf_prog_calc_tag()
|
/kernel/power/ |
D | snapshot.c | 884 unsigned long bits, pfn, pages; in memory_bm_next_pfn() local 889 bits = min(pages - bm->cur.node_pfn, BM_BITS_PER_BLOCK); in memory_bm_next_pfn() 890 bit = find_next_bit(bm->cur.node->data, bits, in memory_bm_next_pfn() 892 if (bit < bits) { in memory_bm_next_pfn()
|
/kernel/trace/ |
D | ftrace.c | 1381 int bits = 0; in __ftrace_hash_move() local 1394 bits++; in __ftrace_hash_move() 1397 if (bits > FTRACE_HASH_MAX_BITS) in __ftrace_hash_move() 1398 bits = FTRACE_HASH_MAX_BITS; in __ftrace_hash_move() 1400 new_hash = alloc_ftrace_hash(bits); in __ftrace_hash_move()
|
/kernel/ |
D | workqueue.c | 2678 unsigned long *bits = work_data_bits(target); in insert_wq_barrier() local 2682 linked = *bits & WORK_STRUCT_LINKED; in insert_wq_barrier() 2683 __set_bit(WORK_STRUCT_LINKED_BIT, bits); in insert_wq_barrier()
|