Searched refs:BITS_TO_BYTES (Results 1 – 16 of 16) sorted by relevance
134 bitset_bytes = BITS_TO_BYTES(U32_MAX); in bloom_map_alloc()141 bitset_bytes = BITS_TO_BYTES(nr_bits); in bloom_map_alloc()198 bitset_bytes = BITS_TO_BYTES((u64)bloom->bitset_mask + 1); in bloom_map_mem_usage()
32 memset(bits, 0, BITS_TO_BYTES(PERF_PMU_FORMAT_BITS)); in perf_pmu__set_format()
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()
124 st->recv_size = BITS_TO_BYTES(resolution) + 1; in ltc2497_probe()
22 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
131 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
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()
287 meters_obj = kzalloc(sizeof(*meters_obj) + BITS_TO_BYTES(total), in __mlx5e_flow_meter_alloc()
575 memset(bulk->need_sync, 0, BITS_TO_BYTES(bulk->num_deks)); in mlx5_crypto_dek_pool_reset_synced()
694 u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)];
1706 if (len != BITS_TO_BYTES(cell->nbits) && len != cell->bytes) in __nvmem_cell_entry_write()
3663 maxsize = maxwords * roundup_pow_of_two(BITS_TO_BYTES(xfer->bits_per_word)); in spi_split_transfers_maxwords()3914 size_t maxsize = BITS_TO_BYTES(spi->bits_per_word); in __spi_validate()
1760 if (put_user(ALIGN(BITS_TO_BYTES(nlk->ngroups), sizeof(u32)), optlen)) in netlink_getsockopt()
3660 bytes = BITS_TO_BYTES(br_fmt->depth * width); in atomisp_fill_pix_format()