Home
last modified time | relevance | path

Searched refs:raw_size (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/perf/util/
H A Ds390-sample-raw.c51 size_t len = sample->raw_size, offset = 0; in s390_cpumcfdg_testctr()
227 size_t i, len = sample->raw_size, offset = 0; in s390_cpumcfdg_dump()
280 size_t len = sample->raw_size; in s390_pai_all_test()
289 size_t len = sample->raw_size, offset = 0; in s390_pai_all_dump()
345 if (!sample->raw_size || !sample->raw_data) in evlist__s390_sample_raw()
H A Dbpf_off_cpu.c322 u32 raw_size; in off_cpu_write() local
405 raw_size = i * sizeof(u64) + sizeof(u32); /* 4 bytes for alignment */ in off_cpu_write()
406 memcpy(raw_data, &raw_size, sizeof(raw_size)); in off_cpu_write()
H A Dsample.h146 * @raw_size: The size in bytes of raw data from PERF_SAMPLE_RAW. For
150 u32 raw_size;
97 u32 raw_size; global() member
H A Ddata-convert-bt.c457 unsigned int raw_size = sample->raw_size; in add_bpf_output_values() local
458 unsigned int nr_elements = raw_size / sizeof(u32); in add_bpf_output_values()
462 if (nr_elements * sizeof(u32) != raw_size) in add_bpf_output_values()
463 pr_warning("Incorrect raw_size (%u) in bpf output event, skip %zu bytes\n", in add_bpf_output_values()
464 raw_size, nr_elements * sizeof(u32) - raw_size); in add_bpf_output_values()
H A Damd-sample-raw.c314 if (event->header.type != PERF_RECORD_SAMPLE || !sample->raw_size) in evlist__amd_sample_raw()
H A Devent.h284 #define perf_sample__bad_synth_size(s, d) ((s)->raw_size < sizeof(d) - 4)
H A Ds390-cpumsf.c230 size_t n = fwrite(sample->raw_data, sample->raw_size - 4, 1, in s390_cpumcf_dumpctr()
936 sample->raw_size) { in s390_cpumsf_process_event()
H A Dintel-pt.c1963 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_ptwrite_sample()
1995 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_cbr_sample()
2025 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_psb_sample()
2054 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_mwait_sample()
2083 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_pwre_sample()
2112 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_exstop_sample()
2141 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_pwrx_sample()
2637 sample.raw_size = perf_synth__raw_size(raw) + in intel_pt_synth_events_sample()
2675 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_iflag_chg_sample()
H A Dhist.c574 he->raw_data = memdup(he->raw_data, he->raw_size); in hist_entry__init()
845 .raw_size = sample->raw_size, in __hists__add_entry()
1245 .raw_size = sample->raw_size, in iter_add_next_cumulative_entry()
H A Dsynthetic-events.c1513 result += sample->raw_size; in perf_event__sample_event_size()
1710 *array32 = sample->raw_size; in perf_event__synthesize_sample()
1713 memcpy(array32, sample->raw_data, sample->raw_size); in perf_event__synthesize_sample()
1714 array = (void *)(array32 + (sample->raw_size / sizeof(u32))); in perf_event__synthesize_sample()
/linux/tools/perf/tests/
H A Dsample-parsing.c108 COMP(raw_size); in samples_same()
109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
257 .raw_size = sizeof(raw_data), in do_test()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcompressor.h104 uint32_t raw_size; member
/linux/drivers/hid/
H A Dhid-sensor-hub.c312 hsdev->pending.raw_size = 0; in sensor_hub_input_attr_get_raw_value()
324 switch (hsdev->pending.raw_size) { in sensor_hub_input_attr_get_raw_value()
523 hsdev->pending.raw_size = sz; in sensor_hub_raw_event()
525 hsdev->pending.raw_size = 0; in sensor_hub_raw_event()
H A Dhid-picolcd_core.c88 work->raw_size = 0; in picolcd_send_and_wait()
195 if (verinfo->raw_size == 2) { in picolcd_check_version()
355 data->pending->raw_size = size-1; in picolcd_raw_event()
H A Dhid-picolcd.h56 int raw_size; member
/linux/tools/perf/include/perf/
H A Dperf_dlfilter.h64 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
/linux/include/uapi/linux/
H A Dfscrypt.h129 __u32 raw_size; member
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.h62 size_t raw_size; member
H A Ddpaa_eth.c187 #define dpaa_bp_size(raw_size) (SKB_WITH_OVERHEAD(raw_size) & \ argument
190 #define dpaa_bp_size(raw_size) SKB_WITH_OVERHEAD(raw_size) argument
3424 dpaa_bp->raw_size = DPAA_BP_RAW_SIZE; in dpaa_eth_probe()
3426 dpaa_bp->size = dpaa_bp_size(dpaa_bp->raw_size); in dpaa_eth_probe()
/linux/tools/include/uapi/linux/
H A Dfscrypt.h129 __u32 raw_size; member
/linux/include/linux/
H A Dhid-sensor-hub.h52 int raw_size; member
/linux/drivers/gpu/drm/imagination/
H A Dpvr_fw.c896 fw_dev->fw_heap_info.raw_size = 1 << fw_dev->fw_heap_info.log2_size; in pvr_fw_heap_info_init()
897 fw_dev->fw_heap_info.offset_mask = fw_dev->fw_heap_info.raw_size - 1; in pvr_fw_heap_info_init()
898 fw_dev->fw_heap_info.config_offset = fw_dev->fw_heap_info.raw_size - in pvr_fw_heap_info_init()
900 fw_dev->fw_heap_info.size = fw_dev->fw_heap_info.raw_size - in pvr_fw_heap_info_init()
962 drm_mm_init(&fw_dev->fw_mm, ROGUE_FW_HEAP_BASE, fw_dev->fw_heap_info.raw_size); in pvr_fw_init()
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_compressor.c449 compressor->base.raw_size = 0; in dce110_compressor_construct()
/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c1833 unsigned int raw_size; in vicodec_open() local
1889 raw_size = 1280 * 720 * info->sizeimage_mult / info->sizeimage_div; in vicodec_open()
1893 ctx->q_data[V4L2_M2M_SRC].sizeimage = raw_size; in vicodec_open()
1906 ctx->q_data[V4L2_M2M_DST].sizeimage = raw_size; in vicodec_open()
/linux/drivers/media/pci/ivtv/
H A Divtv-driver.c1126 itv->vbi.raw_size = 1456; in ivtv_probe()
1133 vbi_buf_size = itv->vbi.raw_size * (itv->is_60hz ? 24 : 36) / 2; in ivtv_probe()

12