Home
last modified time | relevance | path

Searched refs:comp_size (Results 1 – 16 of 16) sorted by relevance

/linux/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c76 unsigned long i, comp_size, alloc_size; in testcase() local
80 comp_size = (islarge ? LARGE_SIZE : SIZE); in testcase()
81 alloc_size = comp_size + MAX_OFFSET_DIFF_S1_S2; in testcase()
109 memcpy(rand_s2, rand_s1, comp_size); in testcase()
112 change = random() % comp_size; in testcase()
117 LARGE_SIZE_START, comp_size); in testcase()
119 test_one(rand_s1, rand_s2, SIZE, 0, comp_size); in testcase()
135 memcpy(rand_s2, rand_s1, comp_size); in testcase()
138 for (j = 0; j < comp_size / 8; j++) { in testcase()
139 change = random() % comp_size; in testcase()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dxsk.c114 cfg->comp_size = XSK_RING_CONS__DEFAULT_NUM_DESCS; in xsk_set_umem_config()
123 cfg->comp_size = usr_cfg->comp_size; in xsk_set_umem_config()
178 &umem->config.comp_size, in xsk_create_umem_rings()
179 sizeof(umem->config.comp_size)); in xsk_create_umem_rings()
201 map = mmap(NULL, off.cr.desc + umem->config.comp_size * sizeof(__u64), in xsk_create_umem_rings()
209 comp->mask = umem->config.comp_size - 1; in xsk_create_umem_rings()
210 comp->size = umem->config.comp_size; in xsk_create_umem_rings()
494 munmap(ctx->comp->ring - off.cr.desc, off.cr.desc + umem->config.comp_size * in xsk_put_ctx()
737 off.cr.desc + umem->config.comp_size * sizeof(__u64)); in xsk_umem__delete()
H A Dxskxceiver.h83 u32 comp_size; member
H A Dxsk.h199 __u32 comp_size; member
H A Dxskxceiver.c193 .comp_size = XSK_RING_CONS__DEFAULT_NUM_DESCS, in xsk_configure_umem()
203 if (umem->comp_size) in xsk_configure_umem()
204 cfg.comp_size = umem->comp_size; in xsk_configure_umem()
275 if (umem->comp_size) in __xsk_configure_socket()
276 cfg.tx_size = umem->comp_size; in __xsk_configure_socket()
2501 test->ifobj_rx->umem->comp_size = max_descs; in testapp_hw_sw_max_ring_size()
H A Dxdp_hw_metadata.c80 .comp_size = XSK_RING_CONS__DEFAULT_NUM_DESCS, in open_xsk()
/linux/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_mfa2.c539 u32 comp_size; in mlxfw_mfa2_file_component_get() local
549 comp_size = be32_to_cpu(comp->size); in mlxfw_mfa2_file_component_get()
550 comp_buf_size = comp_size + mlxfw_mfa2_comp_magic_len; in mlxfw_mfa2_file_component_get()
555 comp_data->comp.data_size = comp_size; in mlxfw_mfa2_file_component_get()
/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c132 u32 comp_size; member
446 ctx->comp_size = 0; in device_run()
620 if (ctx->comp_size < max_to_copy) { in job_ready()
621 u32 copy = max_to_copy - ctx->comp_size; in job_ready()
626 memcpy(ctx->state.compressed_frame + ctx->comp_size, in job_ready()
629 ctx->comp_size += copy; in job_ready()
630 if (ctx->comp_size < max_to_copy) { in job_ready()
639 if (ctx->comp_size == comp_frame_size) in job_ready()
1614 if (ctx->comp_size > ctx->comp_max_size) in vicodec_start_streaming()
1615 ctx->comp_size = ctx->comp_max_size; in vicodec_start_streaming()
[all …]
/linux/include/linux/
H A Dxz.h283 void xz_dec_microlzma_reset(struct xz_dec_microlzma *s, uint32_t comp_size,
/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_dec_hw.h52 u32 comp_size[MTK_JPEG_COMP_MAX]; member
/linux/drivers/infiniband/hw/efa/
H A Defa_com.c31 u32 comp_size; member
333 comp_ctx->comp_size = comp_size_in_bytes; in __efa_com_submit_admin_cmd()
427 memcpy(comp_ctx->user_cqe, cqe, comp_ctx->comp_size); in efa_com_handle_single_admin_completion()
617 size_t comp_size) in efa_com_cmd_exec() argument
630 comp_ctx = efa_com_submit_admin_cmd(aq, cmd, cmd_size, comp, comp_size); in efa_com_cmd_exec()
H A Defa_com.h175 size_t comp_size);
/linux/scripts/
H A Dmake_fit.py321 comp_size = len(out_data)
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_com.c58 u32 comp_size; member
241 comp_ctx->comp_size = (u32)comp_size_in_bytes; in __ena_com_submit_admin_cmd()
444 memcpy(comp_ctx->user_cqe, (void *)cqe, comp_ctx->comp_size); in ena_com_handle_single_admin_completion()
1295 size_t comp_size) in ena_com_execute_admin_command() argument
1301 comp, comp_size); in ena_com_execute_admin_command()
/linux/lib/xz/
H A Dxz_dec_lzma2.c1319 void xz_dec_microlzma_reset(struct xz_dec_microlzma *s, uint32_t comp_size, in xz_dec_microlzma_reset() argument
1326 s->s.lzma2.compressed = comp_size; in xz_dec_microlzma_reset()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c69 .comp_size = XSK_RING_CONS__DEFAULT_NUM_DESCS, in open_xsk()