Home
last modified time | relevance | path

Searched refs:BITS_TO_BYTES (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/kernel/bpf/ !
Dbloom_filter.c122 bitset_bytes = BITS_TO_BYTES(U32_MAX); in bloom_map_alloc()
129 bitset_bytes = BITS_TO_BYTES(nr_bits); in bloom_map_alloc()
186 bitset_bytes = BITS_TO_BYTES((u64)bloom->bitset_mask + 1); in bloom_map_mem_usage()
/linux-6.6.21/tools/perf/util/ !
Dpmu.y32 memset(bits, 0, BITS_TO_BYTES(PERF_PMU_FORMAT_BITS)); in perf_pmu__set_format()
/linux-6.6.21/tools/include/linux/ !
Dbitops.h21 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
/linux-6.6.21/drivers/platform/x86/intel/ !
Dishtp_eclite.c42 #ifndef BITS_TO_BYTES
43 #define BITS_TO_BYTES(x) ((x) / 8) macro
258 unsigned int bytes = BITS_TO_BYTES(bits); in ecl_opregion_data_handler()
/linux-6.6.21/drivers/iio/adc/ !
Dltc2497.c124 st->recv_size = BITS_TO_BYTES(resolution) + 1; in ltc2497_probe()
/linux-6.6.21/include/linux/ !
Dbitops.h22 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
/linux-6.6.21/drivers/firmware/efi/ !
Dearlycon.c131 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ !
Dbnx2x_fw_defs.h385 (PAGE_SIZE / BITS_TO_BYTES(STRUCT_SIZE(event_ring_elem)))
Dbnx2x_init.h481 r_param = BITS_TO_BYTES(input_data->port_rate); in bnx2x_init_cmng()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ !
Dmeter.c287 meters_obj = kzalloc(sizeof(*meters_obj) + BITS_TO_BYTES(total), in __mlx5e_flow_meter_alloc()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ !
Dcrypto.c575 memset(bulk->need_sync, 0, BITS_TO_BYTES(bulk->num_deks)); in mlx5_crypto_dek_pool_reset_synced()
/linux-6.6.21/fs/ocfs2/dlm/ !
Ddlmcommon.h694 u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)];
/linux-6.6.21/drivers/spi/ !
Dspi.c3652 maxsize = maxwords * roundup_pow_of_two(BITS_TO_BYTES(xfer->bits_per_word)); in spi_split_transfers_maxwords()
3903 size_t maxsize = BITS_TO_BYTES(spi->bits_per_word); in __spi_validate()
/linux-6.6.21/net/netlink/ !
Daf_netlink.c1779 if (put_user(ALIGN(BITS_TO_BYTES(nlk->ngroups), sizeof(u32)), optlen)) in netlink_getsockopt()
/linux-6.6.21/drivers/staging/media/atomisp/pci/ !
Datomisp_cmd.c3660 bytes = BITS_TO_BYTES(br_fmt->depth * width); in atomisp_fill_pix_format()