Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dbloom_filter.c133 bitset_bytes = BITS_TO_BYTES(U32_MAX); in bloom_map_alloc()
140 bitset_bytes = BITS_TO_BYTES(nr_bits); in bloom_map_alloc()
/linux-6.1.9/tools/include/linux/
Dbitops.h21 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
/linux-6.1.9/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.1.9/drivers/iio/adc/
Dltc2497.c126 st->recv_size = BITS_TO_BYTES(resolution) + 1; in ltc2497_probe()
/linux-6.1.9/drivers/firmware/efi/
Dearlycon.c120 bytes = BITS_TO_BYTES(font->width); in efi_earlycon_write_char()
/linux-6.1.9/include/linux/
Dbitops.h22 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) macro
/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.c283 meters_obj = kzalloc(sizeof(*meters_obj) + BITS_TO_BYTES(total), in __mlx5e_flow_meter_alloc()
/linux-6.1.9/fs/ocfs2/dlm/
Ddlmcommon.h694 u8 node_map[BITS_TO_BYTES(O2NM_MAX_NODES)];
/linux-6.1.9/tools/perf/util/
Dpmu.c1514 memset(bits, 0, BITS_TO_BYTES(PERF_PMU_FORMAT_BITS)); in perf_pmu__set_format()