Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/trace/
Dtrace_probe.c522 #define BYTES_TO_BITS(nb) ((BITS_PER_LONG * (nb)) / sizeof(long)) macro
552 code->lshift = BYTES_TO_BITS(t->size) - (bw + bo); in __parse_bitfield_probe_arg()
553 code->rshift = BYTES_TO_BITS(t->size) - bw; in __parse_bitfield_probe_arg()
556 return (BYTES_TO_BITS(t->size) < (bw + bo)) ? -EINVAL : 0; in __parse_bitfield_probe_arg()
/linux-5.19.10/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()