Home
last modified time | relevance | path

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

12

/linux/tools/perf/util/
H A Ds390-sample-raw.c52 size_t len = sample->raw_size, offset = 0; in s390_cpumcfdg_testctr()
229 size_t i, len = sample->raw_size, offset = 0; in s390_cpumcfdg_dump()
282 size_t len = sample->raw_size; in s390_pai_all_test()
292 size_t len = sample->raw_size, offset = 0; in s390_pai_all_dump()
350 if (!sample->raw_size || !sample->raw_data) in evlist__s390_sample_raw()
H A Dbpf_off_cpu.c324 u32 raw_size; in off_cpu_write()
407 raw_size = i * sizeof(u64) + sizeof(u32); /* 4 bytes for alignment */ in off_cpu_write()
408 memcpy(raw_data, &raw_size, sizeof(raw_size)); in off_cpu_write()
322 u32 raw_size; off_cpu_write() local
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.c456 unsigned int raw_size = sample->raw_size; in add_bpf_output_values()
457 unsigned int nr_elements = raw_size / sizeof(u32); in add_bpf_output_values() local
461 if (nr_elements * sizeof(u32) != raw_size) in add_bpf_output_values()
462 pr_warning("Incorrect raw_size (%u) in bpf output event, skip %zu bytes\n", in add_bpf_output_values()
463 raw_size, nr_elements * sizeof(u32) - raw_size); in add_bpf_output_values()
H A Damd-sample-raw.c381 if (event->header.type != PERF_RECORD_SAMPLE || !sample->raw_size) in evlist__has_amd_ibs()
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.c1984 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_cbr_sample()
2017 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_psb_sample()
2047 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_mwait_sample()
2076 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_pwre_sample()
2105 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_exstop_sample()
2134 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_pwrx_sample()
2163 sample.raw_size = perf_synth__raw_size(raw);
2660 sample.raw_size = perf_synth__raw_size(raw) + in intel_pt_synth_iflag_chg_sample()
2698 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_error()
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.c1631 result += sample->raw_size; in perf_event__synthesize_sample()
1830 *array32 = sample->raw_size; in perf_event__synthesize_id_sample()
1833 memcpy(array32, sample->raw_data, sample->raw_size); in perf_event__synthesize_id_sample()
1834 array = (void *)(array32 + (sample->raw_size / sizeof(u32))); in perf_event__synthesize_id_sample()
H A Dpowerpc-vpadtl.c199 sample.raw_size = sizeof(*record); in powerpc_vpadtl_sample()
/linux/tools/perf/tests/
H A Dsample-parsing.c125 COMP(raw_size); in samples_same()
126 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
270 .raw_size = sizeof(raw_data), in do_test()
/linux/drivers/hid/
H A Dhid-sensor-hub.c368 hsdev->pending.raw_size = 0; in sensor_hub_input_attr_get_raw_value()
380 switch (hsdev->pending.raw_size) { in sensor_hub_input_attr_get_raw_value()
588 hsdev->pending.raw_size = hsdev->pending.index; in sensor_hub_raw_event()
595 hsdev->pending.raw_size = sz; in sensor_hub_raw_event()
597 hsdev->pending.raw_size = 0; in sensor_hub_raw_event()
H A Dhid-picolcd_core.c89 work->raw_size = 0; in picolcd_send_and_wait()
196 if (verinfo->raw_size == 2) { in picolcd_check_version()
356 data->pending->raw_size = size-1; in picolcd_raw_event()
H A Dhid-picolcd.h56 int raw_size; member
/linux/drivers/platform/x86/dell/
H A Ddell-wmi-ddv.c104 __le32 raw_size; member
209 if (!le32_to_cpu(buffer->raw_size)) in dell_wmi_ddv_query_buffer()
212 buffer_size = struct_size(buffer, raw_data, le32_to_cpu(buffer->raw_size)); in dell_wmi_ddv_query_buffer()
272 buffer_size = le32_to_cpu(buffer->raw_size); in dell_wmi_ddv_update_sensors()
989 ret = seq_write(seq, buffer->raw_data, le32_to_cpu(buffer->raw_size)); in dell_wmi_ddv_buffer_read()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dcompressor.h104 uint32_t raw_size; member
/linux/tools/lib/bpf/
H A Dbpf_gen_internal.h59 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size);
H A Dbtf.c67 __u32 raw_size; member
291 if (btf->raw_size < offsetofend(struct btf_header, str_len)) { in btf_parse_hdr()
311 if (btf->raw_size < hdr_len) { in btf_parse_hdr()
313 hdr_len, btf->raw_size); in btf_parse_hdr()
339 meta_left = btf->raw_size - hdr_len; in btf_parse_hdr()
341 pr_debug("Invalid BTF total size: %u\n", btf->raw_size); in btf_parse_hdr()
1181 munmap(btf->raw_data, btf->raw_size); in btf_free_raw_data()
1243 btf->raw_size = sizeof(struct btf_header) + (base_btf ? 0 : 1); in btf_new_empty()
1245 btf->raw_size += sizeof(layouts); in btf_new_empty()
1246 btf->raw_data = calloc(1, btf->raw_size); in btf_new_empty()
[all …]
/linux/tools/perf/include/perf/
H A Dperf_dlfilter.h64 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.h62 size_t raw_size; member
H A Ddpaa_eth.c186 #define dpaa_bp_size(raw_size) (SKB_WITH_OVERHEAD(raw_size) & \ argument
189 #define dpaa_bp_size(raw_size) SKB_WITH_OVERHEAD(raw_size) argument
3423 dpaa_bp->raw_size = DPAA_BP_RAW_SIZE; in dpaa_eth_probe()
3425 dpaa_bp->size = dpaa_bp_size(dpaa_bp->raw_size); in dpaa_eth_probe()
/linux/tools/include/uapi/linux/
H A Dfscrypt.h128 __u32 raw_size;
129 __u32 raw_size; global() member
/linux/include/linux/
H A Dhid-sensor-hub.h54 int raw_size; member
/linux/fs/crypto/
H A Dkeyring.c765 if (arg.raw_size != 0) in fscrypt_ioctl_add_key()
772 if (!fscrypt_valid_key_size(arg.raw_size, arg.flags)) in fscrypt_ioctl_add_key()
774 secret.size = arg.raw_size; in fscrypt_ioctl_add_key()

12