Home
last modified time | relevance | path

Searched refs:data_ptr (Results 1 – 25 of 102) sorted by relevance

12345

/linux-6.12.1/tools/perf/util/
Dexpr.c97 struct expr_id_data *data_ptr = NULL, *old_data = NULL; in ids__insert() local
101 ret = hashmap__set(ids, id, data_ptr, &old_key, &old_data); in ids__insert()
103 free(data_ptr); in ids__insert()
160 struct expr_id_data *data_ptr = NULL, *old_data = NULL; in expr__add_id_val_source_count() local
164 data_ptr = malloc(sizeof(*data_ptr)); in expr__add_id_val_source_count()
165 if (!data_ptr) in expr__add_id_val_source_count()
167 data_ptr->val.val = val; in expr__add_id_val_source_count()
168 data_ptr->val.source_count = source_count; in expr__add_id_val_source_count()
169 data_ptr->kind = EXPR_ID_DATA__VALUE; in expr__add_id_val_source_count()
171 ret = hashmap__set(ctx->ids, id, data_ptr, &old_key, &old_data); in expr__add_id_val_source_count()
[all …]
/linux-6.12.1/drivers/scsi/
Dnsp32_io.h179 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read1() local
182 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read1()
185 return readb(data_ptr); in nsp32_mmio_index_read1()
192 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write1() local
195 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_write1()
198 writeb(val, data_ptr ); in nsp32_mmio_index_write1()
204 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read2() local
207 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read2()
210 return le16_to_cpu(readw(data_ptr)); in nsp32_mmio_index_read2()
217 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write2() local
[all …]
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dhfi_msgs.c36 u8 *data_ptr; in event_seq_changed() local
58 data_ptr = (u8 *)&pkt->ext_event_data[0]; in event_seq_changed()
60 ptype = *((u32 *)data_ptr); in event_seq_changed()
63 data_ptr += sizeof(u32); in event_seq_changed()
64 frame_sz = (struct hfi_framesize *)data_ptr; in event_seq_changed()
67 data_ptr += sizeof(*frame_sz); in event_seq_changed()
70 data_ptr += sizeof(u32); in event_seq_changed()
71 profile_level = (struct hfi_profile_level *)data_ptr; in event_seq_changed()
74 data_ptr += sizeof(*profile_level); in event_seq_changed()
77 data_ptr += sizeof(u32); in event_seq_changed()
[all …]
/linux-6.12.1/sound/soc/sof/
Dipc4.c287 snd_sof_dsp_mailbox_read(sdev, sdev->dsp_box.offset, ipc4_reply->data_ptr, in sof_ipc4_get_reply()
322 if (msg->reply_size && ipc4_reply_data->data_ptr) { in ipc4_wait_tx_done()
324 memcpy(ipc4_reply_data->data_ptr, ipc4_reply->data_ptr, in ipc4_wait_tx_done()
403 sof_ipc4_dump_payload(sdev, msg->data_ptr, msg->data_size); in sof_ipc4_tx_msg()
474 tx.data_ptr = ipc4_msg->data_ptr + offset; in sof_ipc4_set_get_data()
482 rx.data_ptr = ipc4_msg->data_ptr + offset; in sof_ipc4_set_get_data()
527 sof_ipc4_dump_payload(sdev, ipc4_msg->data_ptr, ipc4_msg->data_size); in sof_ipc4_set_get_data()
549 ipc4_msg->data_ptr = msg->reply_data + sizeof(struct sof_ipc4_msg); in sof_ipc4_init_msg_memory()
591 struct sof_ipc4_notify_module_data *data = ipc4_msg->data_ptr; in sof_ipc4_module_notification_handler()
604 new = krealloc(ipc4_msg->data_ptr, ipc4_msg->data_size, GFP_KERNEL); in sof_ipc4_module_notification_handler()
[all …]
Dsof-client-probes-ipc4.c131 msg.data_ptr = &cfg; in ipc4_probes_init()
161 msg.data_ptr = NULL; in ipc4_probes_deinit()
230 msg.data_ptr = points; in ipc4_probes_points_add()
276 msg.data_ptr = probe_point_ids; in ipc4_probes_points_remove()
Dsof-client-ipc-msg-injector.c115 if (copy_to_user(buffer + *ppos, ipc4_msg->data_ptr, remaining)) in sof_msg_inject_ipc4_dfs_read()
203 if (copy_from_user(ipc4_msg->data_ptr, in sof_msg_inject_ipc4_dfs_write()
213 memset(ipc4_msg->data_ptr, 0, priv->max_msg_size); in sof_msg_inject_ipc4_dfs_write()
282 ipc4_msg->data_ptr = priv->tx_buffer + sizeof(struct sof_ipc4_msg); in sof_msg_inject_probe()
285 ipc4_msg->data_ptr = priv->rx_buffer + sizeof(struct sof_ipc4_msg); in sof_msg_inject_probe()
Dipc4-control.c124 msg->data_ptr = &params; in sof_ipc4_set_volume_data()
128 msg->data_ptr = NULL; in sof_ipc4_set_volume_data()
228 msg->data_ptr = data; in sof_ipc4_set_generic_control_data()
232 msg->data_ptr = NULL; in sof_ipc4_set_generic_control_data()
266 msg->data_ptr = data; in sof_ipc4_refresh_generic_control()
271 msg->data_ptr = NULL; in sof_ipc4_refresh_generic_control()
420 msg->data_ptr = data->data; in sof_ipc4_set_get_bytes_data()
429 msg->data_ptr = NULL; in sof_ipc4_set_get_bytes_data()
658 struct sof_ipc4_notify_module_data *ndata = ipc4_msg->data_ptr; in sof_ipc4_control_update()
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
Dia_css_sdis.host.c254 hmm_load(isp_stats->data_ptr, map->data_ptr, isp_stats->size); in ia_css_get_dvs_statistics()
334 me->data_ptr = hmm_alloc(me->size); in ia_css_isp_dvs_statistics_allocate()
335 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs_statistics_allocate()
338 me->hor_proj = me->data_ptr; in ia_css_isp_dvs_statistics_allocate()
340 me->ver_proj = me->data_ptr + hor_size; in ia_css_isp_dvs_statistics_allocate()
356 void *data_ptr) in ia_css_isp_dvs_statistics_map_allocate() argument
369 me->data_ptr = data_ptr; in ia_css_isp_dvs_statistics_map_allocate()
370 me->data_allocated = !data_ptr; in ia_css_isp_dvs_statistics_map_allocate()
372 if (!me->data_ptr) { in ia_css_isp_dvs_statistics_map_allocate()
373 me->data_ptr = kvmalloc(isp_stats->size, GFP_KERNEL); in ia_css_isp_dvs_statistics_map_allocate()
[all …]
/linux-6.12.1/drivers/net/wwan/iosm/
Diosm_ipc_coredump.c23 u8 *data_ptr; in ipc_coredump_collect() local
25 data_ptr = vmalloc(region_size); in ipc_coredump_collect()
26 if (!data_ptr) in ipc_coredump_collect()
38 ret = ipc_imem_sys_devlink_read(devlink, data_ptr + i, in ipc_coredump_collect()
48 *data = data_ptr; in ipc_coredump_collect()
53 vfree(data_ptr); in ipc_coredump_collect()
/linux-6.12.1/drivers/scsi/qla4xxx/
Dql4_nx.c1836 uint32_t *data_ptr) in ql4_84xx_ipmdio_rd_reg() argument
1854 *data_ptr = data; in ql4_84xx_ipmdio_rd_reg()
1913 uint32_t *data_ptr = *d_ptr; in qla4_8xxx_minidump_process_rdcrb() local
1923 *data_ptr++ = cpu_to_le32(r_addr); in qla4_8xxx_minidump_process_rdcrb()
1924 *data_ptr++ = cpu_to_le32(r_value); in qla4_8xxx_minidump_process_rdcrb()
1927 *d_ptr = data_ptr; in qla4_8xxx_minidump_process_rdcrb()
2022 uint8_t *data_ptr = (uint8_t *)*d_ptr; in qla4_8xxx_minidump_pex_dma_read() local
2115 memcpy(data_ptr, rdmem_buffer, size); in qla4_8xxx_minidump_pex_dma_read()
2116 data_ptr += size; in qla4_8xxx_minidump_pex_dma_read()
2122 *d_ptr = (uint32_t *)data_ptr; in qla4_8xxx_minidump_pex_dma_read()
[all …]
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_nx2.c2321 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdcrb() local
2331 *data_ptr++ = r_addr; in qla8044_minidump_process_rdcrb()
2332 *data_ptr++ = r_value; in qla8044_minidump_process_rdcrb()
2335 *d_ptr = data_ptr; in qla8044_minidump_process_rdcrb()
2346 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdmem() local
2401 *data_ptr++ = r_data; in qla8044_minidump_process_rdmem()
2412 *d_ptr = data_ptr; in qla8044_minidump_process_rdmem()
2423 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdrom() local
2433 (u8 *)(data_ptr), u32_count); in qla8044_minidump_process_rdrom()
2440 data_ptr += u32_count; in qla8044_minidump_process_rdrom()
[all …]
Dqla_nx.c3795 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdocm() local
3804 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdocm()
3807 *d_ptr = data_ptr; in qla82xx_minidump_process_rdocm()
3817 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdmux() local
3829 *data_ptr++ = cpu_to_le32(s_value); in qla82xx_minidump_process_rdmux()
3830 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdmux()
3833 *d_ptr = data_ptr; in qla82xx_minidump_process_rdmux()
3843 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdcrb() local
3852 *data_ptr++ = cpu_to_le32(r_addr); in qla82xx_minidump_process_rdcrb()
3853 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdcrb()
[all …]
/linux-6.12.1/sound/isa/sb/
Dsb16_csp.c301 unsigned char __user *data_ptr; in snd_sb_csp_riff_load() local
314 data_ptr = mcode->data; in snd_sb_csp_riff_load()
316 if (copy_from_user(&file_h, data_ptr, sizeof(file_h))) in snd_sb_csp_riff_load()
323 data_ptr += sizeof(file_h); in snd_sb_csp_riff_load()
324 data_end = data_ptr + le32_to_cpu(file_h.len); in snd_sb_csp_riff_load()
326 if (copy_from_user(&item_type, data_ptr, sizeof(item_type))) in snd_sb_csp_riff_load()
332 data_ptr += sizeof (item_type); in snd_sb_csp_riff_load()
334 for (; data_ptr < data_end; data_ptr += le32_to_cpu(item_h.len)) { in snd_sb_csp_riff_load()
335 if (copy_from_user(&item_h, data_ptr, sizeof(item_h))) in snd_sb_csp_riff_load()
337 data_ptr += sizeof(item_h); in snd_sb_csp_riff_load()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_query.c25 if (copy_from_user(query_hdr, u64_to_user_ptr(query_item->data_ptr), in copy_query_item()
68 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr), in fill_topology_info()
72 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr + sizeof(topo)), in fill_topology_info()
76 if (intel_sseu_copy_ssmask_to_user(u64_to_user_ptr(query_item->data_ptr + in fill_topology_info()
81 if (intel_sseu_copy_eumask_to_user(u64_to_user_ptr(query_item->data_ptr + in fill_topology_info()
132 u64_to_user_ptr(query_item->data_ptr); in query_engine_info()
230 u64_to_user_ptr(query_item->data_ptr); in query_perf_config_data()
232 u64_to_user_ptr(query_item->data_ptr + in query_perf_config_data()
376 u64_to_user_ptr(query_item->data_ptr); in query_perf_config_list()
464 u64_to_user_ptr(query_item->data_ptr); in query_memregion_info()
[all …]
/linux-6.12.1/fs/bcachefs/
Dec.h97 const struct bch_extent_ptr *data_ptr, in __bch2_ptr_matches_stripe() argument
100 return (data_ptr->dev == stripe_ptr->dev || in __bch2_ptr_matches_stripe()
101 data_ptr->dev == BCH_SB_MEMBER_INVALID || in __bch2_ptr_matches_stripe()
103 data_ptr->gen == stripe_ptr->gen && in __bch2_ptr_matches_stripe()
104 data_ptr->offset >= stripe_ptr->offset && in __bch2_ptr_matches_stripe()
105 data_ptr->offset < stripe_ptr->offset + sectors; in __bch2_ptr_matches_stripe()
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dia_css_3a.h58 ia_css_ptr data_ptr; /** pointer to base of all data */ member
95 void *data_ptr; /** Pointer to start of memory */ member
182 void *data_ptr);
Dia_css_dvs.h46 ia_css_ptr data_ptr; /* base pointer containing all memory */ member
70 void *data_ptr; member
284 void *data_ptr);
/linux-6.12.1/drivers/base/test/
Dproperty-entry-test.c354 const u8 *data_ptr; in pe_test_move_inline_u8() local
360 data_ptr = (u8 *)&copy[0].value; in pe_test_move_inline_u8()
361 KUNIT_EXPECT_EQ(test, data_ptr[0], 1); in pe_test_move_inline_u8()
362 KUNIT_EXPECT_EQ(test, data_ptr[1], 2); in pe_test_move_inline_u8()
365 data_ptr = copy[1].pointer; in pe_test_move_inline_u8()
366 KUNIT_EXPECT_EQ(test, data_ptr[0], 5); in pe_test_move_inline_u8()
367 KUNIT_EXPECT_EQ(test, data_ptr[1], 6); in pe_test_move_inline_u8()
386 const char * const *data_ptr; in pe_test_move_inline_str() local
395 data_ptr = copy[1].pointer; in pe_test_move_inline_str()
396 KUNIT_EXPECT_STREQ(test, data_ptr[0], "b"); in pe_test_move_inline_str()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_verify_pkcs7_sig.c42 struct bpf_dynptr data_ptr, sig_ptr; in BPF_PROG() local
69 bpf_dynptr_from_mem(data_val->data, data_val->data_len, 0, &data_ptr); in BPF_PROG()
84 ret = bpf_verify_pkcs7_signature(&data_ptr, &sig_ptr, trusted_keyring); in BPF_PROG()
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2.host.c191 hmm_load(isp_stats->data_ptr, map->data_ptr, isp_stats->size); in ia_css_get_dvs2_statistics()
297 me->data_ptr = hmm_alloc(me->size); in ia_css_isp_dvs2_statistics_allocate()
298 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs2_statistics_allocate()
300 me->hor_proj = me->data_ptr; in ia_css_isp_dvs2_statistics_allocate()
302 me->ver_proj = me->data_ptr + size; in ia_css_isp_dvs2_statistics_allocate()
318 hmm_free(me->data_ptr); in ia_css_isp_dvs2_statistics_free()
/linux-6.12.1/drivers/scsi/pcmcia/
Dnsp_io.h201 unsigned char *data_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + DATAREG); in nsp_mmio_index_read() local
204 return readb(data_ptr); in nsp_mmio_index_read()
212 unsigned char *data_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + DATAREG); in nsp_mmio_index_write() local
215 writeb(val, data_ptr); in nsp_mmio_index_write()
/linux-6.12.1/include/uapi/linux/mmc/
Dioctl.h49 __u64 data_ptr; member
51 #define mmc_ioc_cmd_set_data(ic, ptr) ic.data_ptr = (__u64)(unsigned long) ptr
/linux-6.12.1/arch/s390/hypfs/
Dhypfs_sprp.c48 static int hypfs_sprp_create(void **data_ptr, void **free_ptr, size_t *size) in hypfs_sprp_create() argument
58 *data_ptr = *free_ptr = NULL; in hypfs_sprp_create()
63 *data_ptr = *free_ptr = data; in hypfs_sprp_create()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.h21 struct xdp_buff *xdp, struct page *page, u8 **data_ptr,
30 u16 cons, u8 *data_ptr, unsigned int len,
/linux-6.12.1/fs/btrfs/
Dxattr.c35 unsigned long data_ptr; in btrfs_getxattr() local
72 data_ptr = (unsigned long)((char *)(di + 1) + in btrfs_getxattr()
74 read_extent_buffer(leaf, buffer, data_ptr, in btrfs_getxattr()
177 unsigned long data_ptr; in btrfs_setxattr() local
206 data_ptr = ((unsigned long)(di + 1)) + name_len; in btrfs_setxattr()
207 write_extent_buffer(leaf, value, data_ptr, size); in btrfs_setxattr()

12345