/Linux-v5.10/tools/perf/util/ |
D | expr.c | 42 struct expr_id_data *data_ptr = NULL, *old_data = NULL; in expr__add_id() local 46 data_ptr = malloc(sizeof(*data_ptr)); in expr__add_id() 47 if (!data_ptr) in expr__add_id() 50 data_ptr->parent = ctx->parent; in expr__add_id() 52 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id() 55 free(data_ptr); in expr__add_id() 64 struct expr_id_data *data_ptr = NULL, *old_data = NULL; in expr__add_id_val() local 68 data_ptr = malloc(sizeof(*data_ptr)); in expr__add_id_val() 69 if (!data_ptr) in expr__add_id_val() 71 data_ptr->val = val; in expr__add_id_val() [all …]
|
/Linux-v5.10/drivers/scsi/ |
D | nsp32_io.h | 179 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 …]
|
D | mesh.c | 157 int data_ptr; member 323 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs() 430 ms->data_ptr = 0; in mesh_start_cmd() 603 cmd->result, ms->data_ptr, scsi_bufflen(cmd)); in mesh_done() 614 cmd->SCp.this_residual -= ms->data_ptr; in mesh_done() 795 ms->data_ptr += nb; in start_phase() 963 ms->data_ptr = tp->saved_ptr; in reselected() 972 ms->data_ptr = 0; in reselected() 1189 ms->data_ptr += (ms->msgin[3] << 24) + ms->msgin[6] in handle_msgin() 1213 tp->saved_ptr = ms->data_ptr; in handle_msgin() [all …]
|
/Linux-v5.10/drivers/media/platform/qcom/venus/ |
D | hfi_msgs.c | 30 u8 *data_ptr; in event_seq_changed() local 52 data_ptr = (u8 *)&pkt->ext_event_data[0]; in event_seq_changed() 54 ptype = *((u32 *)data_ptr); in event_seq_changed() 57 data_ptr += sizeof(u32); in event_seq_changed() 58 frame_sz = (struct hfi_framesize *)data_ptr; in event_seq_changed() 61 data_ptr += sizeof(*frame_sz); in event_seq_changed() 64 data_ptr += sizeof(u32); in event_seq_changed() 65 profile_level = (struct hfi_profile_level *)data_ptr; in event_seq_changed() 68 data_ptr += sizeof(*profile_level); in event_seq_changed() 71 data_ptr += sizeof(u32); in event_seq_changed() [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
D | ia_css_sdis.host.c | 254 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, HMM_BO_PRIVATE, 0, NULL, 0); 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-v5.10/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 1849 uint32_t *data_ptr) in ql4_84xx_ipmdio_rd_reg() argument 1867 *data_ptr = data; in ql4_84xx_ipmdio_rd_reg() 1926 uint32_t *data_ptr = *d_ptr; in qla4_8xxx_minidump_process_rdcrb() local 1936 *data_ptr++ = cpu_to_le32(r_addr); in qla4_8xxx_minidump_process_rdcrb() 1937 *data_ptr++ = cpu_to_le32(r_value); in qla4_8xxx_minidump_process_rdcrb() 1940 *d_ptr = data_ptr; in qla4_8xxx_minidump_process_rdcrb() 2035 uint8_t *data_ptr = (uint8_t *)*d_ptr; in qla4_8xxx_minidump_pex_dma_read() local 2128 memcpy(data_ptr, rdmem_buffer, size); in qla4_8xxx_minidump_pex_dma_read() 2129 data_ptr += size; in qla4_8xxx_minidump_pex_dma_read() 2135 *d_ptr = (uint32_t *)data_ptr; in qla4_8xxx_minidump_pex_dma_read() [all …]
|
/Linux-v5.10/drivers/scsi/qla2xxx/ |
D | qla_nx2.c | 2332 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdcrb() local 2342 *data_ptr++ = r_addr; in qla8044_minidump_process_rdcrb() 2343 *data_ptr++ = r_value; in qla8044_minidump_process_rdcrb() 2346 *d_ptr = data_ptr; in qla8044_minidump_process_rdcrb() 2357 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdmem() local 2412 *data_ptr++ = r_data; in qla8044_minidump_process_rdmem() 2423 *d_ptr = data_ptr; in qla8044_minidump_process_rdmem() 2434 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdrom() local 2444 (u8 *)(data_ptr), u32_count); in qla8044_minidump_process_rdrom() 2451 data_ptr += u32_count; in qla8044_minidump_process_rdrom() [all …]
|
D | qla_nx.c | 3804 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdocm() local 3813 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdocm() 3816 *d_ptr = data_ptr; in qla82xx_minidump_process_rdocm() 3826 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdmux() local 3838 *data_ptr++ = cpu_to_le32(s_value); in qla82xx_minidump_process_rdmux() 3839 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdmux() 3842 *d_ptr = data_ptr; in qla82xx_minidump_process_rdmux() 3852 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdcrb() local 3861 *data_ptr++ = cpu_to_le32(r_addr); in qla82xx_minidump_process_rdcrb() 3862 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdcrb() [all …]
|
/Linux-v5.10/sound/isa/sb/ |
D | sb16_csp.c | 298 unsigned char __user *data_ptr; in snd_sb_csp_riff_load() local 311 data_ptr = mcode->data; in snd_sb_csp_riff_load() 313 if (copy_from_user(&file_h, data_ptr, sizeof(file_h))) in snd_sb_csp_riff_load() 320 data_ptr += sizeof(file_h); in snd_sb_csp_riff_load() 321 data_end = data_ptr + le32_to_cpu(file_h.len); in snd_sb_csp_riff_load() 323 if (copy_from_user(&item_type, data_ptr, sizeof(item_type))) in snd_sb_csp_riff_load() 329 data_ptr += sizeof (item_type); in snd_sb_csp_riff_load() 331 for (; data_ptr < data_end; data_ptr += le32_to_cpu(item_h.len)) { in snd_sb_csp_riff_load() 332 if (copy_from_user(&item_h, data_ptr, sizeof(item_h))) in snd_sb_csp_riff_load() 334 data_ptr += sizeof(item_h); in snd_sb_csp_riff_load() [all …]
|
/Linux-v5.10/drivers/base/test/ |
D | property-entry-test.c | 312 const u8 *data_ptr; in pe_test_move_inline_u8() local 318 data_ptr = (u8 *)©[0].value; in pe_test_move_inline_u8() 319 KUNIT_EXPECT_EQ(test, (int)data_ptr[0], 1); in pe_test_move_inline_u8() 320 KUNIT_EXPECT_EQ(test, (int)data_ptr[1], 2); in pe_test_move_inline_u8() 323 data_ptr = copy[1].pointer; in pe_test_move_inline_u8() 324 KUNIT_EXPECT_EQ(test, (int)data_ptr[0], 5); in pe_test_move_inline_u8() 325 KUNIT_EXPECT_EQ(test, (int)data_ptr[1], 6); in pe_test_move_inline_u8() 344 const char * const *data_ptr; in pe_test_move_inline_str() local 353 data_ptr = copy[1].pointer; in pe_test_move_inline_str() 354 KUNIT_EXPECT_STREQ(test, data_ptr[0], "b"); in pe_test_move_inline_str() [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_query.c | 24 if (copy_from_user(query_hdr, u64_to_user_ptr(query_item->data_ptr), in copy_query_item() 71 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr), in query_topology_info() 75 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr + sizeof(topo)), in query_topology_info() 79 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr + in query_topology_info() 84 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr + in query_topology_info() 98 u64_to_user_ptr(query_item->data_ptr); in query_engine_info() 194 u64_to_user_ptr(query_item->data_ptr); in query_perf_config_data() 196 u64_to_user_ptr(query_item->data_ptr + in query_perf_config_data() 339 u64_to_user_ptr(query_item->data_ptr); in query_perf_config_list()
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | ia_css_3a.h | 55 ia_css_ptr data_ptr; /** pointer to base of all data */ member 90 void *data_ptr; /** Pointer to start of memory */ member 177 void *data_ptr);
|
D | ia_css_dvs.h | 44 ia_css_ptr data_ptr; /* base pointer containing all memory */ member 66 void *data_ptr; member 280 void *data_ptr);
|
D | sh_css_params.c | 783 short *data_ptr; in convert_allocate_fpntbl() local 790 data_ptr = params->fpn_config.data; in convert_allocate_fpntbl() 804 j += 4, data_ptr += 4, isp_format_data_ptr++) { in convert_allocate_fpntbl() 805 int data = data_ptr[0] << 0 | in convert_allocate_fpntbl() 806 data_ptr[1] << 7 | in convert_allocate_fpntbl() 807 data_ptr[2] << 16 | in convert_allocate_fpntbl() 808 data_ptr[3] << 23; in convert_allocate_fpntbl() 1529 kvfree(me->data_ptr); in ia_css_isp_3a_statistics_map_free() 1530 me->data_ptr = NULL; in ia_css_isp_3a_statistics_map_free() 1540 void *data_ptr) in ia_css_isp_3a_statistics_map_allocate() argument [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
D | ia_css_sdis2.host.c | 191 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, HMM_BO_PRIVATE, 0, NULL, 0); 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-v5.10/drivers/block/ |
D | xsysace.c | 187 void *data_ptr; /* pointer to I/O buffer */ member 247 u8 *dst = ace->data_ptr; in ace_datain_8() 251 ace->data_ptr = dst; in ace_datain_8() 257 u8 *src = ace->data_ptr; in ace_dataout_8() 261 ace->data_ptr = src; in ace_dataout_8() 285 u16 *dst = ace->data_ptr; in ace_datain_be16() 288 ace->data_ptr = dst; in ace_datain_be16() 294 u16 *src = ace->data_ptr; in ace_dataout_be16() 297 ace->data_ptr = src; in ace_dataout_be16() 314 u16 *dst = ace->data_ptr; in ace_datain_le16() [all …]
|
/Linux-v5.10/drivers/scsi/pcmcia/ |
D | nsp_io.h | 201 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-v5.10/arch/s390/hypfs/ |
D | hypfs_sprp.c | 49 static int hypfs_sprp_create(void **data_ptr, void **free_ptr, size_t *size) in hypfs_sprp_create() argument 59 *data_ptr = *free_ptr = NULL; in hypfs_sprp_create() 64 *data_ptr = *free_ptr = data; in hypfs_sprp_create()
|
/Linux-v5.10/include/uapi/linux/mmc/ |
D | ioctl.h | 49 __u64 data_ptr; member 51 #define mmc_ioc_cmd_set_data(ic, ptr) ic.data_ptr = (__u64)(unsigned long) ptr
|
/Linux-v5.10/fs/btrfs/ |
D | xattr.c | 31 unsigned long data_ptr; in btrfs_getxattr() local 68 data_ptr = (unsigned long)((char *)(di + 1) + in btrfs_getxattr() 70 read_extent_buffer(leaf, buffer, data_ptr, in btrfs_getxattr() 174 unsigned long data_ptr; in btrfs_setxattr() local 204 data_ptr = ((unsigned long)(di + 1)) + name_len; in btrfs_setxattr() 205 write_extent_buffer(leaf, value, data_ptr, size); in btrfs_setxattr()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 112 struct page *page, u8 **data_ptr, unsigned int *len, u8 *event) in bnxt_rx_xdp() argument 136 xdp.data_hard_start = *data_ptr - offset; in bnxt_rx_xdp() 137 xdp.data = *data_ptr; in bnxt_rx_xdp() 139 xdp.data_end = *data_ptr + *len; in bnxt_rx_xdp() 158 *data_ptr = xdp.data_hard_start + offset; in bnxt_rx_xdp()
|
D | bnxt_xdp.h | 18 struct page *page, u8 **data_ptr, unsigned int *len,
|
/Linux-v5.10/drivers/firmware/google/ |
D | gsmi.c | 109 u32 data_ptr; member 119 u32 data_ptr; member 316 .data_ptr = gsmi_dev.data_buf->address, in gsmi_get_variable() 438 .data_ptr = gsmi_dev.data_buf->address, in gsmi_set_variable() 493 .data_ptr = gsmi_dev.data_buf->address, in eventlog_write() 640 param.data_ptr = gsmi_dev.data_buf->address; in gsmi_shutdown_reason()
|
/Linux-v5.10/drivers/ata/ |
D | pata_samsung_cf.c | 271 u16 *data_ptr = (u16 *)buf; in pata_s3c_data_xfer() local 275 for (i = 0; i < words; i++, data_ptr++) { in pata_s3c_data_xfer() 279 *data_ptr = readw(info->ide_addr in pata_s3c_data_xfer() 283 for (i = 0; i < words; i++, data_ptr++) { in pata_s3c_data_xfer() 285 writew(*data_ptr, data_addr); in pata_s3c_data_xfer()
|
/Linux-v5.10/tools/bpf/bpftool/ |
D | prog.c | 1013 static int get_run_data(const char *fname, void **data_ptr, unsigned int *size) in get_run_data() argument 1022 *data_ptr = NULL; in get_run_data() 1036 *data_ptr = malloc(block_size); in get_run_data() 1037 if (!*data_ptr) { in get_run_data() 1043 while ((nb_read += fread(*data_ptr + nb_read, 1, block_size, f))) { in get_run_data() 1059 tmp = realloc(*data_ptr, buf_size); in get_run_data() 1065 *data_ptr = tmp; in get_run_data() 1075 free(*data_ptr); in get_run_data() 1076 *data_ptr = NULL; in get_run_data() 1149 static int alloc_run_data(void **data_ptr, unsigned int size_out) in alloc_run_data() argument [all …]
|