| /linux/tools/perf/util/ |
| H A D | s390-sample-raw.c | 52 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 D | bpf_off_cpu.c | 324 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 D | sample.h | 146 * @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 D | data-convert-bt.c | 456 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 D | amd-sample-raw.c | 381 if (event->header.type != PERF_RECORD_SAMPLE || !sample->raw_size) in evlist__has_amd_ibs()
|
| H A D | event.h | 284 #define perf_sample__bad_synth_size(s, d) ((s)->raw_size < sizeof(d) - 4)
|
| H A D | s390-cpumsf.c | 230 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 D | intel-pt.c | 1984 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 D | hist.c | 574 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 D | synthetic-events.c | 1631 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 D | powerpc-vpadtl.c | 199 sample.raw_size = sizeof(*record); in powerpc_vpadtl_sample()
|
| /linux/tools/perf/tests/ |
| H A D | sample-parsing.c | 125 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 D | hid-sensor-hub.c | 368 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 D | hid-picolcd_core.c | 89 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 D | hid-picolcd.h | 56 int raw_size; member
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-wmi-ddv.c | 104 __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 D | compressor.h | 104 uint32_t raw_size; member
|
| /linux/tools/lib/bpf/ |
| H A D | bpf_gen_internal.h | 59 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size);
|
| H A D | btf.c | 67 __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 D | perf_dlfilter.h | 64 __u32 raw_size; /* Refer PERF_SAMPLE_RAW in <linux/perf_event.h> */ member
|
| /linux/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_eth.h | 62 size_t raw_size; member
|
| H A D | dpaa_eth.c | 186 #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 D | fscrypt.h | 128 __u32 raw_size; 129 __u32 raw_size; global() member
|
| /linux/include/linux/ |
| H A D | hid-sensor-hub.h | 54 int raw_size; member
|
| /linux/fs/crypto/ |
| H A D | keyring.c | 765 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()
|