Home
last modified time | relevance | path

Searched refs:data_sz (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.12.1/drivers/spi/
Dspi-xtensa-xtfpga.c28 unsigned data_sz; member
59 xspi->data_sz += bits; in xtfpga_spi_txrx_word()
60 if (xspi->data_sz >= 16) { in xtfpga_spi_txrx_word()
62 xspi->data >> (xspi->data_sz - 16)); in xtfpga_spi_txrx_word()
63 xspi->data_sz -= 16; in xtfpga_spi_txrx_word()
76 WARN_ON(xspi->data_sz != 0); in xtfpga_spi_chipselect()
77 xspi->data_sz = 0; in xtfpga_spi_chipselect()
/linux-6.12.1/tools/lib/bpf/
Dbpf_prog_linfo.c104 __u64 data_sz; in bpf_prog_linfo__new() local
126 data_sz = (__u64)nr_linfo * prog_linfo->rec_size; in bpf_prog_linfo__new()
127 prog_linfo->raw_linfo = malloc(data_sz); in bpf_prog_linfo__new()
130 memcpy(prog_linfo->raw_linfo, (void *)(long)info->line_info, data_sz); in bpf_prog_linfo__new()
146 data_sz = (__u64)nr_linfo * prog_linfo->jited_rec_size; in bpf_prog_linfo__new()
147 prog_linfo->raw_jited_linfo = malloc(data_sz); in bpf_prog_linfo__new()
151 (void *)(long)info->jited_line_info, data_sz); in bpf_prog_linfo__new()
Dskel_internal.h64 __u32 data_sz; member
316 err = map_fd = skel_map_create(BPF_MAP_TYPE_ARRAY, "__loader.map", 4, opts->data_sz, 1); in bpf_load_and_run()
Dbtf.c1484 __u32 data_sz; in btf_get_raw_data() local
1493 data_sz = hdr->hdr_len + hdr->type_len + hdr->str_len; in btf_get_raw_data()
1494 data = calloc(1, data_sz); in btf_get_raw_data()
1522 *size = data_sz; in btf_get_raw_data()
1532 __u32 data_sz; in btf__raw_data() local
1535 data = btf_get_raw_data(btf, &data_sz, btf->swapped_endian); in btf__raw_data()
1539 btf->raw_size = data_sz; in btf__raw_data()
1544 *size = data_sz; in btf__raw_data()
1775 static int btf_commit_type(struct btf *btf, int data_sz) in btf_commit_type() argument
1783 btf->hdr->type_len += data_sz; in btf_commit_type()
[all …]
/linux-6.12.1/drivers/media/test-drivers/visl/
Dvisl-debugfs.c44 size_t data_sz = vb2_get_plane_payload(&run->src->vb2_buf, 0); in visl_trace_bitstream() local
52 blob->blob.data = vzalloc(data_sz); in visl_trace_bitstream()
56 blob->blob.size = data_sz; in visl_trace_bitstream()
59 memcpy(blob->blob.data, vaddr, data_sz); in visl_trace_bitstream()
/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_vbc.c72 const size_t data_sz = sizeof(params->block); in vboot_context_write() local
75 if (count != data_sz) in vboot_context_write()
84 memcpy(params->block, buf, data_sz); in vboot_context_write()
99 return data_sz; in vboot_context_write()
/linux-6.12.1/drivers/message/fusion/
Dmptfc.c327 int data_sz; in mptfc_GetFcDevPage0() local
341 data_sz = sizeof(FCDevicePage0_t) * max_bus * max_targ; in mptfc_GetFcDevPage0()
342 p_p0 = p0_array = kzalloc(data_sz, GFP_KERNEL); in mptfc_GetFcDevPage0()
346 data_sz = sizeof(FCDevicePage0_t *) * max_bus * max_targ; in mptfc_GetFcDevPage0()
347 p_pp0 = pp0_array = kzalloc(data_sz, GFP_KERNEL); in mptfc_GetFcDevPage0()
370 data_sz = hdr.PageLength * 4; in mptfc_GetFcDevPage0()
371 ppage0_alloc = dma_alloc_coherent(&ioc->pcidev->dev, data_sz, in mptfc_GetFcDevPage0()
407 dma_free_coherent(&ioc->pcidev->dev, data_sz, in mptfc_GetFcDevPage0()
775 int data_sz; in mptfc_GetFcPortPage0() local
801 data_sz = hdr.PageLength * 4; in mptfc_GetFcPortPage0()
[all …]
/linux-6.12.1/lib/
Dbuildid.c28 u64 data_sz; member
43 static void freader_init_from_mem(struct freader *r, const char *data, u64 data_sz) in freader_init_from_mem() argument
47 r->data_sz = data_sz; in freader_init_from_mem()
112 if (file_off + sz > r->data_sz) { in freader_fetch()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_pat_arg.c407 size_t data_sz, in mlx5hws_arg_create() argument
417 single_arg_log_sz = mlx5hws_arg_data_size_to_arg_log_size(data_sz); in mlx5hws_arg_create()
439 data, data_sz); in mlx5hws_arg_create()
463 size_t data_sz = num_of_actions * MLX5HWS_MODIFY_ACTION_SIZE; in mlx5hws_arg_create_modify_header_arg() local
468 data_sz, in mlx5hws_arg_create_modify_header_arg()
Dmlx5hws_pat_arg.h56 size_t data_sz,
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c1377 size_t data_sz, in dr_action_verify_reformat_params() argument
1381 if ((!data && data_sz) || (data && !data_sz) || in dr_action_verify_reformat_params()
1382 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_insert_size) < data_sz || in dr_action_verify_reformat_params()
1389 MLX5_CAP_GEN_2(dmn->mdev, max_reformat_remove_size) < data_sz || in dr_action_verify_reformat_params()
1426 size_t data_sz, void *data, in dr_action_create_reformat_action() argument
1444 data_sz, data, in dr_action_create_reformat_action()
1450 action->reformat->size = data_sz; in dr_action_create_reformat_action()
1466 data, data_sz, in dr_action_create_reformat_action()
1492 data_sz, data, in dr_action_create_reformat_action()
1498 action->reformat->size = data_sz; in dr_action_create_reformat_action()
[all …]
Dmlx5dr.h122 size_t data_sz,
Ddr_ste_v1.h32 int dr_ste_v1_set_action_decap_l3_list(void *data, u32 data_sz, u8 *hw_action,
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_req_common.c312 int mtk_vdec_h264_find_start_code(unsigned char *data, unsigned int data_sz) in mtk_vdec_h264_find_start_code() argument
314 if (data_sz > 3 && data[0] == 0 && data[1] == 0 && data[2] == 1) in mtk_vdec_h264_find_start_code()
317 if (data_sz > 4 && data[0] == 0 && data[1] == 0 && data[2] == 0 && in mtk_vdec_h264_find_start_code()
Dvdec_h264_if.c317 static int find_start_code(unsigned char *data, unsigned int data_sz) in find_start_code() argument
319 if (data_sz > 3 && data[0] == 0 && data[1] == 0 && data[2] == 1) in find_start_code()
322 if (data_sz > 4 && data[0] == 0 && data[1] == 0 && data[2] == 0 && in find_start_code()
Dvdec_h264_req_common.h268 int mtk_vdec_h264_find_start_code(unsigned char *data, unsigned int data_sz);
/linux-6.12.1/kernel/bpf/
Dringbuf.c89 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc() argument
94 int nr_data_pages = data_sz >> PAGE_SHIFT; in bpf_ringbuf_area_alloc()
168 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc() argument
172 rb = bpf_ringbuf_area_alloc(data_sz, numa_node); in bpf_ringbuf_alloc()
181 rb->mask = data_sz - 1; in bpf_ringbuf_alloc()
/linux-6.12.1/include/linux/iio/
Dbuffer.h49 const void *data, size_t data_sz,
/linux-6.12.1/include/uapi/linux/
Dam437x-vpfe.h107 enum vpfe_ccdc_data_size data_sz; member
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Ddbring.h22 u32 data_sz; member
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Ddbring.h22 u32 data_sz; member
/linux-6.12.1/tools/bpf/bpftool/
Dgen.c467 static void print_hex(const char *data, int data_sz) in print_hex() argument
471 for (i = 0, len = 0; i < data_sz; i++) { in print_hex()
731 obj_name, opts.data_sz); in gen_trace()
774 print_hex(opts.data, opts.data_sz); in gen_trace()
1944 __u32 data_sz; in btf_save_raw() local
1947 data = btf__raw_data(btf, &data_sz); in btf_save_raw()
1955 if (fwrite(data, 1, data_sz, f) != data_sz) in btf_save_raw()
/linux-6.12.1/kernel/bpf/preload/iterators/
Diterators.lskel-big-endian.h94 opts.data_sz = 6008; in iterators_bpf__load()
Diterators.lskel-little-endian.h94 opts.data_sz = 6208; in iterators_bpf__load()
/linux-6.12.1/tools/bpf/runqslower/
Drunqslower.c90 void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) in handle_event() argument

123