Home
last modified time | relevance | path

Searched refs:BYTES_TO_BITS (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/kernel/trace/
Dtrace_probe.c526 #define BYTES_TO_BITS(nb) ((BITS_PER_LONG * (nb)) / sizeof(long)) macro
556 code->lshift = BYTES_TO_BITS(t->size) - (bw + bo); in __parse_bitfield_probe_arg()
557 code->rshift = BYTES_TO_BITS(t->size) - bw; in __parse_bitfield_probe_arg()
560 return (BYTES_TO_BITS(t->size) < (bw + bo)) ? -EINVAL : 0; in __parse_bitfield_probe_arg()
/linux-6.1.9/tools/perf/util/
Dprobe-finder.c307 #define BYTES_TO_BITS(nb) ((nb) * BITS_PER_LONG / sizeof(long)) macro
339 BYTES_TO_BITS(total)); in convert_variable_type()
404 ret = BYTES_TO_BITS(ret); in convert_variable_type()