Searched refs:BITS_TO_BYTES (Results 1 – 11 of 11) sorted by relevance
133 bitset_bytes = BITS_TO_BYTES(U32_MAX); in bloom_map_alloc()140 bitset_bytes = BITS_TO_BYTES(nr_bits); in bloom_map_alloc()
21 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
42 #ifndef BITS_TO_BYTES43 #define BITS_TO_BYTES(x) ((x) / 8) macro258 unsigned int bytes = BITS_TO_BYTES(bits); in ecl_opregion_data_handler()
126 st->recv_size = BITS_TO_BYTES(resolution) + 1; in ltc2497_probe()
120 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
22 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
385 (PAGE_SIZE / BITS_TO_BYTES(STRUCT_SIZE(event_ring_elem)))
481 r_param = BITS_TO_BYTES(input_data->port_rate); in bnx2x_init_cmng()
283 meters_obj = kzalloc(sizeof(*meters_obj) + BITS_TO_BYTES(total), in __mlx5e_flow_meter_alloc()
694 u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)];
1514 memset(bits, 0, BITS_TO_BYTES(PERF_PMU_FORMAT_BITS)); in perf_pmu__set_format()