Home
last modified time | relevance | path

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

123

/linux/drivers/spi/
H A 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/tools/lib/bpf/
H A 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()
H A 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()
H A Dbtf.c1484 __u32 data_sz; in btf_get_raw_data() local
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
1539 btf->raw_size = data_sz; in btf__raw_data()
1544 *size = data_sz; in btf__raw_data()
1783 btf->hdr->type_len += data_sz; in btf_commit_type()
1784 btf->hdr->str_off += data_sz; in btf_commit_type()
1890 data_sz = src_btf->hdr->type_len; in btf__add_btf()
1964 btf->hdr->type_len += data_sz; in btf__add_btf()
[all …]
/linux/drivers/media/test-drivers/visl/
H A 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/drivers/platform/chrome/
H A 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/drivers/message/fusion/
H A Dmptfc.c327 int data_sz; in mptfc_GetFcDevPage0() local
370 data_sz = hdr.PageLength * 4; 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()
808 memset((u8 *)ppage0_alloc, 0, data_sz); in mptfc_GetFcPortPage0()
915 int data_sz; in mptfc_GetFcPortPage1() local
942 data_sz = hdr.PageLength * 4; in mptfc_GetFcPortPage1()
943 if (data_sz < sizeof(FCPortPage1_t)) in mptfc_GetFcPortPage1()
944 data_sz = sizeof(FCPortPage1_t); in mptfc_GetFcPortPage1()
[all …]
/linux/lib/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A 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()
H A Dmlx5hws_pat_arg.h56 size_t data_sz,
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A 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()
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()
1547 size_t data_sz, in mlx5dr_action_create_packet_reformat() argument
1565 data_sz, data); in mlx5dr_action_create_packet_reformat()
[all …]
H A Ddr_ste_v1.h32 int dr_ste_v1_set_action_decap_l3_list(void *data, u32 data_sz, u8 *hw_action,
H A Dmlx5dr.h122 size_t data_sz,
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A 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()
H A 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()
H A Dvdec_h264_req_common.h268 int mtk_vdec_h264_find_start_code(unsigned char *data, unsigned int data_sz);
/linux/include/linux/iio/
H A Dbuffer.h49 const void *data, size_t data_sz,
/linux/kernel/bpf/
H A 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/include/uapi/linux/
H A Dam437x-vpfe.h107 enum vpfe_ccdc_data_size data_sz; member
/linux/drivers/net/wireless/ath/ath12k/
H A Ddbring.h22 u32 data_sz; member
/linux/drivers/net/wireless/ath/ath11k/
H A Ddbring.h22 u32 data_sz; member
/linux/tools/bpf/bpftool/
H A 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/kernel/bpf/preload/iterators/
H A Diterators.lskel-big-endian.h94 opts.data_sz = 6008; in iterators_bpf__load()
H A Diterators.lskel-little-endian.h94 opts.data_sz = 6208; in iterators_bpf__load()
/linux/tools/bpf/runqslower/
H A Drunqslower.c90 void handle_event(void *ctx, int cpu, void *data, __u32 data_sz) in handle_event() argument

123