Home
last modified time | relevance | path

Searched refs:BUF_SZ (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_bpf2bpf.c42 #define BUF_SZ 9000 macro
52 if (!ASSERT_LE(pkt_size, BUF_SZ, "pkt_size") || in run_xdp_bpf2bpf_pkt_size()
56 buf_in = malloc(BUF_SZ); in run_xdp_bpf2bpf_pkt_size()
60 buf = malloc(BUF_SZ); in run_xdp_bpf2bpf_pkt_size()
79 topts.data_size_out = BUF_SZ; in run_xdp_bpf2bpf_pkt_size()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_rd.c68 #define BUF_SZ 512 /* should be power of 2 */ macro
72 (CIRC_CNT((circ)->head, (circ)->tail, BUF_SZ))
74 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ))
77 (CIRC_SPACE((circ)->head, (circ)->tail, BUF_SZ))
79 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, BUF_SZ))
99 char buf[BUF_SZ];
122 smp_store_release(&fifo->head, (fifo->head + n) & (BUF_SZ - 1)); in rd_write()
163 smp_store_release(&fifo->tail, (fifo->tail + n) & (BUF_SZ - 1)); in rd_read()
/linux-6.1.9/drivers/cpufreq/
Dpcc-cpufreq.c49 #define BUF_SZ 4 macro
165 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_get_freq()
229 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_cpufreq_target()
289 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_get_offset()
290 memset_io((pcch_virt_addr + pcc_cpu_data->output_offset), 0, BUF_SZ); in pcc_get_offset()