Searched refs:BYTES_TO_BITS (Results 1 – 2 of 2) sorted by relevance
874 #define BYTES_TO_BITS(nb) ((BITS_PER_LONG * (nb)) / sizeof(long)) macro904 bprm->hi_shift = BYTES_TO_BITS(t->size) - (bw + bo); in __parse_bitfield_probe_arg()906 return (BYTES_TO_BITS(t->size) < (bw + bo)) ? -EINVAL : 0; in __parse_bitfield_probe_arg()
891 #define BYTES_TO_BITS(nb) ((nb) * BITS_PER_LONG / sizeof(long)) macro913 BYTES_TO_BITS(die_get_byte_size(vr_die))); in convert_variable_type()961 ret = BYTES_TO_BITS(die_get_byte_size(&type)); in convert_variable_type()