record 143 arch/m68k/amiga/config.c int __init amiga_parse_bootinfo(const struct bi_record *record) record 146 arch/m68k/amiga/config.c const void *data = record->data; record 148 arch/m68k/amiga/config.c switch (be16_to_cpu(record->tag)) { record 47 arch/m68k/apollo/config.c int __init apollo_parse_bootinfo(const struct bi_record *record) record 50 arch/m68k/apollo/config.c const void *data = record->data; record 52 arch/m68k/apollo/config.c switch (be16_to_cpu(record->tag)) { record 127 arch/m68k/atari/config.c int __init atari_parse_bootinfo(const struct bi_record *record) record 130 arch/m68k/atari/config.c const void *data = record->data; record 132 arch/m68k/atari/config.c switch (be16_to_cpu(record->tag)) { record 73 arch/m68k/hp300/config.c int __init hp300_parse_bootinfo(const struct bi_record *record) record 76 arch/m68k/hp300/config.c const void *data = record->data; record 78 arch/m68k/hp300/config.c switch (be16_to_cpu(record->tag)) { record 143 arch/m68k/kernel/setup_mm.c static void __init m68k_parse_bootinfo(const struct bi_record *record) record 147 arch/m68k/kernel/setup_mm.c save_bootinfo(record); record 149 arch/m68k/kernel/setup_mm.c while ((tag = be16_to_cpu(record->tag)) != BI_LAST) { record 151 arch/m68k/kernel/setup_mm.c const void *data = record->data; record 152 arch/m68k/kernel/setup_mm.c uint16_t size = be16_to_cpu(record->size); record 190 arch/m68k/kernel/setup_mm.c unknown = amiga_parse_bootinfo(record); record 192 arch/m68k/kernel/setup_mm.c unknown = atari_parse_bootinfo(record); record 194 arch/m68k/kernel/setup_mm.c unknown = mac_parse_bootinfo(record); record 196 arch/m68k/kernel/setup_mm.c unknown = q40_parse_bootinfo(record); record 198 arch/m68k/kernel/setup_mm.c unknown = bvme6000_parse_bootinfo(record); record 200 arch/m68k/kernel/setup_mm.c unknown = mvme16x_parse_bootinfo(record); record 202 arch/m68k/kernel/setup_mm.c unknown = mvme147_parse_bootinfo(record); record 204 arch/m68k/kernel/setup_mm.c unknown = hp300_parse_bootinfo(record); record 206 arch/m68k/kernel/setup_mm.c unknown = apollo_parse_bootinfo(record); record 213 arch/m68k/kernel/setup_mm.c record = (struct bi_record *)((unsigned long)record + size); record 82 arch/m68k/mac/config.c int __init mac_parse_bootinfo(const struct bi_record *record) record 85 arch/m68k/mac/config.c const void *data = record->data; record 87 arch/m68k/mac/config.c switch (be16_to_cpu(record->tag)) { record 385 arch/powerpc/kernel/nvram_64.c static int nvram_pstore_write(struct pstore_record *record) record 392 arch/powerpc/kernel/nvram_64.c if (record->part > 1 || (record->type != PSTORE_TYPE_DMESG)) record 399 arch/powerpc/kernel/nvram_64.c oops_hdr->report_length = cpu_to_be16(record->size); record 402 arch/powerpc/kernel/nvram_64.c if (record->compressed) record 406 arch/powerpc/kernel/nvram_64.c (int) (sizeof(*oops_hdr) + record->size), err_type, record 407 arch/powerpc/kernel/nvram_64.c record->count); record 412 arch/powerpc/kernel/nvram_64.c record->id = record->part; record 421 arch/powerpc/kernel/nvram_64.c static ssize_t nvram_pstore_read(struct pstore_record *record) record 435 arch/powerpc/kernel/nvram_64.c record->type = PSTORE_TYPE_DMESG; record 440 arch/powerpc/kernel/nvram_64.c record->type = PSTORE_TYPE_PPC_COMMON; record 441 arch/powerpc/kernel/nvram_64.c record->id = PSTORE_TYPE_PPC_COMMON; record 442 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = 0; record 443 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; record 448 arch/powerpc/kernel/nvram_64.c record->type = PSTORE_TYPE_PPC_RTAS; record 449 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = last_rtas_event; record 450 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; record 455 arch/powerpc/kernel/nvram_64.c record->type = PSTORE_TYPE_PPC_OF; record 456 arch/powerpc/kernel/nvram_64.c record->id = PSTORE_TYPE_PPC_OF; record 457 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = 0; record 458 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; record 465 arch/powerpc/kernel/nvram_64.c record->type = PSTORE_TYPE_PPC_OPAL; record 466 arch/powerpc/kernel/nvram_64.c record->id = PSTORE_TYPE_PPC_OPAL; record 467 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = 0; record 468 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; record 496 arch/powerpc/kernel/nvram_64.c record->count = 0; record 499 arch/powerpc/kernel/nvram_64.c record->id = id_no; record 509 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = 0; record 510 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; record 514 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = be64_to_cpu(oops_hdr->timestamp); record 515 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; record 517 arch/powerpc/kernel/nvram_64.c record->buf = kmemdup(buff + hdr_size, length, GFP_KERNEL); record 519 arch/powerpc/kernel/nvram_64.c if (record->buf == NULL) record 522 arch/powerpc/kernel/nvram_64.c record->ecc_notice_size = 0; record 524 arch/powerpc/kernel/nvram_64.c record->compressed = true; record 526 arch/powerpc/kernel/nvram_64.c record->compressed = false; record 530 arch/powerpc/kernel/nvram_64.c record->buf = buff; record 2043 arch/powerpc/perf/core-book3s.c int record = 0; record 2068 arch/powerpc/perf/core-book3s.c record = siar_valid(regs); record 2083 arch/powerpc/perf/core-book3s.c if (record) { record 607 arch/powerpc/perf/core-fsl-emb.c int record = 0; record 630 arch/powerpc/perf/core-fsl-emb.c record = 1; record 645 arch/powerpc/perf/core-fsl-emb.c if (record) { record 749 drivers/acpi/apei/erst.c static int __erst_write_to_nvram(const struct cper_record_header *record) record 767 drivers/acpi/apei/erst.c int erst_write(const struct cper_record_header *record) record 776 drivers/acpi/apei/erst.c if (memcmp(record->signature, CPER_SIG_RECORD, CPER_SIG_SIZE)) record 782 drivers/acpi/apei/erst.c rc = __erst_write_to_nvram(record); record 787 drivers/acpi/apei/erst.c if (record->record_length > erst_erange.size) record 792 drivers/acpi/apei/erst.c memcpy(erst_erange.vaddr, record, record->record_length); record 820 drivers/acpi/apei/erst.c static ssize_t __erst_read(u64 record_id, struct cper_record_header *record, record 833 drivers/acpi/apei/erst.c memcpy(record, rcd_tmp, len); record 843 drivers/acpi/apei/erst.c ssize_t erst_read(u64 record_id, struct cper_record_header *record, record 853 drivers/acpi/apei/erst.c len = __erst_read(record_id, record, buflen); record 917 drivers/acpi/apei/erst.c static ssize_t erst_reader(struct pstore_record *record); record 918 drivers/acpi/apei/erst.c static int erst_writer(struct pstore_record *record); record 919 drivers/acpi/apei/erst.c static int erst_clearer(struct pstore_record *record); record 972 drivers/acpi/apei/erst.c static ssize_t erst_reader(struct pstore_record *record) record 1010 drivers/acpi/apei/erst.c record->buf = kmalloc(len, GFP_KERNEL); record 1011 drivers/acpi/apei/erst.c if (record->buf == NULL) { record 1015 drivers/acpi/apei/erst.c memcpy(record->buf, rcd->data, len - sizeof(*rcd)); record 1016 drivers/acpi/apei/erst.c record->id = record_id; record 1017 drivers/acpi/apei/erst.c record->compressed = false; record 1018 drivers/acpi/apei/erst.c record->ecc_notice_size = 0; record 1020 drivers/acpi/apei/erst.c record->type = PSTORE_TYPE_DMESG; record 1021 drivers/acpi/apei/erst.c record->compressed = true; record 1023 drivers/acpi/apei/erst.c record->type = PSTORE_TYPE_DMESG; record 1025 drivers/acpi/apei/erst.c record->type = PSTORE_TYPE_MCE; record 1027 drivers/acpi/apei/erst.c record->type = PSTORE_TYPE_MAX; record 1030 drivers/acpi/apei/erst.c record->time.tv_sec = rcd->hdr.timestamp; record 1032 drivers/acpi/apei/erst.c record->time.tv_sec = 0; record 1033 drivers/acpi/apei/erst.c record->time.tv_nsec = 0; record 1040 drivers/acpi/apei/erst.c static int erst_writer(struct pstore_record *record) record 1055 drivers/acpi/apei/erst.c rcd->hdr.record_length = sizeof(*rcd) + record->size; record 1062 drivers/acpi/apei/erst.c rcd->sec_hdr.section_length = record->size; record 1067 drivers/acpi/apei/erst.c switch (record->type) { record 1069 drivers/acpi/apei/erst.c if (record->compressed) record 1083 drivers/acpi/apei/erst.c record->id = rcd->hdr.record_id; record 1088 drivers/acpi/apei/erst.c static int erst_clearer(struct pstore_record *record) record 1090 drivers/acpi/apei/erst.c return erst_clear(record->id); record 39 drivers/firmware/efi/efi-pstore.c struct pstore_record *record) record 56 drivers/firmware/efi/efi-pstore.c &record->type, &part, &cnt, &time, &data_type) == 5) { record 57 drivers/firmware/efi/efi-pstore.c record->id = generic_id(time, part, cnt); record 58 drivers/firmware/efi/efi-pstore.c record->part = part; record 59 drivers/firmware/efi/efi-pstore.c record->count = cnt; record 60 drivers/firmware/efi/efi-pstore.c record->time.tv_sec = time; record 61 drivers/firmware/efi/efi-pstore.c record->time.tv_nsec = 0; record 63 drivers/firmware/efi/efi-pstore.c record->compressed = true; record 65 drivers/firmware/efi/efi-pstore.c record->compressed = false; record 66 drivers/firmware/efi/efi-pstore.c record->ecc_notice_size = 0; record 68 drivers/firmware/efi/efi-pstore.c &record->type, &part, &cnt, &time) == 4) { record 69 drivers/firmware/efi/efi-pstore.c record->id = generic_id(time, part, cnt); record 70 drivers/firmware/efi/efi-pstore.c record->part = part; record 71 drivers/firmware/efi/efi-pstore.c record->count = cnt; record 72 drivers/firmware/efi/efi-pstore.c record->time.tv_sec = time; record 73 drivers/firmware/efi/efi-pstore.c record->time.tv_nsec = 0; record 74 drivers/firmware/efi/efi-pstore.c record->compressed = false; record 75 drivers/firmware/efi/efi-pstore.c record->ecc_notice_size = 0; record 77 drivers/firmware/efi/efi-pstore.c &record->type, &part, &time) == 3) { record 83 drivers/firmware/efi/efi-pstore.c record->id = generic_id(time, part, 0); record 84 drivers/firmware/efi/efi-pstore.c record->part = part; record 85 drivers/firmware/efi/efi-pstore.c record->count = 0; record 86 drivers/firmware/efi/efi-pstore.c record->time.tv_sec = time; record 87 drivers/firmware/efi/efi-pstore.c record->time.tv_nsec = 0; record 88 drivers/firmware/efi/efi-pstore.c record->compressed = false; record 89 drivers/firmware/efi/efi-pstore.c record->ecc_notice_size = 0; record 97 drivers/firmware/efi/efi-pstore.c memcpy(record->buf, entry->var.Data, record 168 drivers/firmware/efi/efi-pstore.c static int efi_pstore_sysfs_entry_iter(struct pstore_record *record) record 170 drivers/firmware/efi/efi-pstore.c struct efivar_entry **pos = (struct efivar_entry **)&record->psi->data; record 180 drivers/firmware/efi/efi-pstore.c size = efi_pstore_read_func(entry, record); record 195 drivers/firmware/efi/efi-pstore.c size = efi_pstore_read_func((*pos), record); record 219 drivers/firmware/efi/efi-pstore.c static ssize_t efi_pstore_read(struct pstore_record *record) record 223 drivers/firmware/efi/efi-pstore.c record->buf = kzalloc(EFIVARS_DATA_SIZE_MAX, GFP_KERNEL); record 224 drivers/firmware/efi/efi-pstore.c if (!record->buf) record 231 drivers/firmware/efi/efi-pstore.c size = efi_pstore_sysfs_entry_iter(record); record 236 drivers/firmware/efi/efi-pstore.c kfree(record->buf); record 237 drivers/firmware/efi/efi-pstore.c record->buf = NULL; record 242 drivers/firmware/efi/efi-pstore.c static int efi_pstore_write(struct pstore_record *record) record 249 drivers/firmware/efi/efi-pstore.c record->id = generic_id(record->time.tv_sec, record->part, record 250 drivers/firmware/efi/efi-pstore.c record->count); record 256 drivers/firmware/efi/efi-pstore.c record->type, record->part, record->count, record 257 drivers/firmware/efi/efi-pstore.c (long long)record->time.tv_sec, record 258 drivers/firmware/efi/efi-pstore.c record->compressed ? 'C' : 'D'); record 264 drivers/firmware/efi/efi-pstore.c preemptible(), record->size, record->psi->buf); record 266 drivers/firmware/efi/efi-pstore.c if (record->reason == KMSG_DUMP_OOPS) record 327 drivers/firmware/efi/efi-pstore.c static int efi_pstore_erase(struct pstore_record *record) record 333 drivers/firmware/efi/efi-pstore.c record->type, record->part, record->count, record 334 drivers/firmware/efi/efi-pstore.c (long long)record->time.tv_sec); record 340 drivers/firmware/efi/efi-pstore.c record->type, record->part, (long long)record->time.tv_sec); record 376 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c ATOM_COMMON_RECORD_HEADER *record = (ATOM_COMMON_RECORD_HEADER *) record 382 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c while (record->ucRecordSize > 0 && record 383 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record->ucRecordType > 0 && record 384 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record->ucRecordType <= ATOM_MAX_OBJECT_RECORD_NUMBER) { record 385 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c switch (record->ucRecordType) { record 388 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record; record 392 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record = (ATOM_COMMON_RECORD_HEADER *) record 393 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c ((char *)record + record->ucRecordSize); record 404 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c ATOM_COMMON_RECORD_HEADER *record = (ATOM_COMMON_RECORD_HEADER *) record 428 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c while (record->ucRecordSize > 0 && record 429 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record->ucRecordType > 0 && record 430 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record->ucRecordType <= ATOM_MAX_OBJECT_RECORD_NUMBER) { record 431 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c switch (record->ucRecordType) { record 435 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record; record 447 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record; record 455 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record; record 462 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record = (ATOM_COMMON_RECORD_HEADER *) record 463 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c ((char *)record + record->ucRecordSize); record 480 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *record = record 491 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c while (record->ucRecordSize > 0 && record 492 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record->ucRecordType > 0 && record 493 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record->ucRecordType <= ATOM_MAX_OBJECT_RECORD_NUMBER) { record 494 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c switch (record->ucRecordType) { record 498 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record; record 509 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record; record 516 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record = record 518 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *) ((char *)record record 520 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c record-> record 183 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c struct eeprom_table_record *record, record 190 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->err_type; record 192 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->bank; record 194 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c tmp = cpu_to_le64(record->ts); record 198 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c tmp = cpu_to_le64((record->offset & 0xffffffffffff)); record 202 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->mem_channel; record 203 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->mcumc_id; record 205 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c tmp = cpu_to_le64((record->retired_page & 0xffffffffffff)); record 210 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c struct eeprom_table_record *record, record 217 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->err_type = buff[i++]; record 219 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->bank = buff[i++]; record 222 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->ts = le64_to_cpu(tmp); record 226 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->offset = (le64_to_cpu(tmp) & 0xffffffffffff); record 229 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->mem_channel; record 230 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c buff[i++] = record->mcumc_id; record 233 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c record->retired_page = (le64_to_cpu(tmp) & 0xffffffffffff); record 290 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c struct eeprom_table_record *record = &records[i]; record 292 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c for (j = 0; j < sizeof(*record); j++) { record 293 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c tbl_sum += *(((unsigned char *)record) + j); record 377 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c struct eeprom_table_record *record = &records[i]; record 398 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __encode_table_record_to_buff(control, record, buff + EEPROM_ADDRESS_SIZE); record 419 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c struct eeprom_table_record *record = &records[i]; record 421 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c __decode_table_record_from_buff(control, record, buff + EEPROM_ADDRESS_SIZE); record 2075 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c u8 *record; record 2079 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c record = (u8 *)(mode_info->atom_context->bios + record 2083 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c record = (u8 *)(mode_info->atom_context->bios + record 2086 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c while (*record != ATOM_RECORD_END_TYPE) { record 2087 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c switch (*record) { record 2089 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c record += sizeof(ATOM_PATCH_RECORD_MODE); record 2092 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c record += sizeof(ATOM_LCD_RTS_RECORD); record 2095 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c record += sizeof(ATOM_LCD_MODE_CONTROL_CAP); record 2098 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c fake_edid_record = (ATOM_FAKE_EDID_PATCH_RECORD *)record; record 2115 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c record += fake_edid_record->ucFakeEDIDLength ? record 2120 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c panel_res_record = (ATOM_PANEL_RESOLUTION_PATCH_RECORD *)record; record 2123 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c record += sizeof(ATOM_PANEL_RESOLUTION_PATCH_RECORD); record 2126 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c DRM_ERROR("Bad LCD record %d\n", *record); record 67 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ATOM_I2C_RECORD *record, record 224 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ATOM_I2C_RECORD *record; record 251 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c record = (ATOM_I2C_RECORD *) header; record 253 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (get_gpio_i2c_info(bp, record, info) == BP_RESULT_OK) record 269 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ATOM_HPD_INT_RECORD *record = NULL; record 279 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c record = get_hpd_record(bp, object); record 281 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (record != NULL) { record 282 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->hpd_int_gpio_uid = record->ucHPDIntGPIOID; record 283 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->hpd_active = record->ucPlugged_PinState; record 293 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ATOM_CONNECTOR_DEVICE_TAG_RECORD **record) record 320 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c *record = (ATOM_CONNECTOR_DEVICE_TAG_RECORD *) header; record 335 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ATOM_CONNECTOR_DEVICE_TAG_RECORD *record = NULL; record 349 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (bios_parser_get_device_tag_record(bp, object, &record) record 353 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (device_tag_index >= record->ucNumberOfDevice) record 356 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c device_tag = &record->asDeviceTag[device_tag_index]; record 1471 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ATOM_ENCODER_CAP_RECORD_V2 *record = NULL; record 1481 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c record = get_encoder_cap_record(bp, object); record 1482 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (!record) record 1485 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->DP_HBR2_EN = record->usHBR2En; record 1486 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->DP_HBR3_EN = record->usHBR3En; record 1487 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->HDMI_6GB_EN = record->usHDMI6GEn; record 1828 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ATOM_I2C_RECORD *record, record 1856 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (count < record->sucI2cId.bfI2C_LineMux) record 1860 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->i2c_hw_assist = record->sucI2cId.bfHW_Capable; record 1861 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->i2c_line = record->sucI2cId.bfI2C_LineMux; record 1862 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->i2c_engine_id = record->sucI2cId.bfHW_EngineID; record 1863 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c info->i2c_slave_address = record->ucI2CAddr; record 2598 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ATOM_BRACKET_LAYOUT_RECORD *record; record 2603 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c record = NULL; record 2625 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c record = (ATOM_BRACKET_LAYOUT_RECORD *) record 2639 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c slot_layout_info->length = record->ucLength; record 2640 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c slot_layout_info->width = record->ucWidth; record 2643 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c slot_layout_info->num_of_connectors = record->ucConnNum; record 2647 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c (record->asConnInfo[j].ucConnectorType); record 2648 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c switch (record->asConnInfo[j].ucConnectorType) { record 2685 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c record->asConnInfo[j].ucPosition; record 2688 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c record->asConnInfo[j].usConnectorObjectId); record 82 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct atom_i2c_record *record, record 296 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct atom_i2c_record *record; record 323 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c record = (struct atom_i2c_record *) header; record 325 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c if (get_gpio_i2c_info(bp, record, info) == record 338 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct atom_i2c_record *record, record 371 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c table_index = record->i2c_id & I2C_HW_LANE_MUX; record 377 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c if (((record->i2c_id & I2C_HW_CAP) == ( record 380 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c ((record->i2c_id & I2C_HW_ENGINE_ID_MASK) == record 383 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c ((record->i2c_id & I2C_HW_LANE_MUX) == record 399 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->i2c_hw_assist = (record->i2c_id & I2C_HW_CAP) ? true : false; record 400 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->i2c_line = record->i2c_id & I2C_HW_LANE_MUX; record 401 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->i2c_engine_id = (record->i2c_id & I2C_HW_ENGINE_ID_MASK) >> 4; record 402 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->i2c_slave_address = record->i2c_slave_addr; record 421 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct atom_hpd_int_record *record = NULL; record 431 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c record = get_hpd_record(bp, object); record 433 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c if (record != NULL) { record 434 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->hpd_int_gpio_uid = record->pin_id; record 435 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->hpd_active = record->plugin_pin_state; record 1296 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct atom_encoder_caps_record *record = NULL; record 1306 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c record = get_encoder_cap_record(bp, object); record 1307 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c if (!record) record 1310 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->DP_HBR2_CAP = (record->encodercaps & record 1312 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->DP_HBR2_EN = (record->encodercaps & record 1314 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->DP_HBR3_EN = (record->encodercaps & record 1316 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->HDMI_6GB_EN = (record->encodercaps & record 1318 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c info->DP_IS_USB_C = (record->encodercaps & record 1687 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct atom_bracket_layout_record *record; record 1694 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c record = NULL; record 1727 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c record = (struct atom_bracket_layout_record *) record 1741 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c slot_layout_info->length = record->bracketlen; record 1742 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c slot_layout_info->width = record->bracketwidth; record 1745 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c slot_layout_info->num_of_connectors = record->conn_num; record 1749 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c (record->conn_info[j].connector_type); record 1750 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c switch (record->conn_info[j].connector_type) { record 1787 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c record->conn_info[j].position; record 1790 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c record->conn_info[j].connectorobjid); record 162 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c phm_ppt_v1_voltage_lookup_record *record; record 179 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c record = GET_FLEXIBLE_ARRAY_MEMBER_ADDR( record 185 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c record->us_calculated = 0; record 186 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c record->us_vdd = le16_to_cpu(atom_record->usVdd); record 187 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c record->us_cac_low = le16_to_cpu(atom_record->usCACLow); record 188 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c record->us_cac_mid = le16_to_cpu(atom_record->usCACMid); record 189 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c record->us_cac_high = le16_to_cpu(atom_record->usCACHigh); record 1602 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const ATOM_PPLIB_VCE_State_Record *record = &vce_state_table->entries[i]; record 1604 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c const VCEClockInfo *vce_clock_info = &vce_clock_info_array->entries[record->ucVCEClockInfoIndex]; record 1606 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c unsigned long clockInfoIndex = record->ucClockInfoIndex & 0x3F; record 1608 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c *flag = (record->ucClockInfoIndex >> NUM_BITS_CLOCK_INFO_ARRAY_INDEX); record 1890 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c phm_ppt_v1_voltage_lookup_record *record) record 1905 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (look_up_table->entries[i].us_vdd == record->us_vdd) { record 1913 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c look_up_table->entries[i].us_vdd = record->us_vdd; record 1914 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c look_up_table->entries[i].us_cac_low = record->us_cac_low; record 1915 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c look_up_table->entries[i].us_cac_mid = record->us_cac_mid; record 1916 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c look_up_table->entries[i].us_cac_high = record->us_cac_high; record 666 drivers/gpu/drm/radeon/radeon_atombios.c ATOM_COMMON_RECORD_HEADER *record = (ATOM_COMMON_RECORD_HEADER *) record 672 drivers/gpu/drm/radeon/radeon_atombios.c while (record->ucRecordSize > 0 && record 673 drivers/gpu/drm/radeon/radeon_atombios.c record->ucRecordType > 0 && record 674 drivers/gpu/drm/radeon/radeon_atombios.c record->ucRecordType <= ATOM_MAX_OBJECT_RECORD_NUMBER) { record 675 drivers/gpu/drm/radeon/radeon_atombios.c switch (record->ucRecordType) { record 678 drivers/gpu/drm/radeon/radeon_atombios.c record; record 682 drivers/gpu/drm/radeon/radeon_atombios.c record = (ATOM_COMMON_RECORD_HEADER *) record 683 drivers/gpu/drm/radeon/radeon_atombios.c ((char *)record + record->ucRecordSize); record 697 drivers/gpu/drm/radeon/radeon_atombios.c ATOM_COMMON_RECORD_HEADER *record = (ATOM_COMMON_RECORD_HEADER *) record 721 drivers/gpu/drm/radeon/radeon_atombios.c while (record->ucRecordSize > 0 && record 722 drivers/gpu/drm/radeon/radeon_atombios.c record->ucRecordType > 0 && record 723 drivers/gpu/drm/radeon/radeon_atombios.c record->ucRecordType <= ATOM_MAX_OBJECT_RECORD_NUMBER) { record 724 drivers/gpu/drm/radeon/radeon_atombios.c switch (record->ucRecordType) { record 728 drivers/gpu/drm/radeon/radeon_atombios.c record; record 740 drivers/gpu/drm/radeon/radeon_atombios.c record; record 748 drivers/gpu/drm/radeon/radeon_atombios.c record; record 755 drivers/gpu/drm/radeon/radeon_atombios.c record = (ATOM_COMMON_RECORD_HEADER *) record 756 drivers/gpu/drm/radeon/radeon_atombios.c ((char *)record + record->ucRecordSize); record 773 drivers/gpu/drm/radeon/radeon_atombios.c *record = record 784 drivers/gpu/drm/radeon/radeon_atombios.c while (record->ucRecordSize > 0 && record 785 drivers/gpu/drm/radeon/radeon_atombios.c record->ucRecordType > 0 && record 786 drivers/gpu/drm/radeon/radeon_atombios.c record->ucRecordType <= ATOM_MAX_OBJECT_RECORD_NUMBER) { record 787 drivers/gpu/drm/radeon/radeon_atombios.c switch (record->ucRecordType) { record 791 drivers/gpu/drm/radeon/radeon_atombios.c record; record 802 drivers/gpu/drm/radeon/radeon_atombios.c record; record 809 drivers/gpu/drm/radeon/radeon_atombios.c record = record 811 drivers/gpu/drm/radeon/radeon_atombios.c *) ((char *)record record 813 drivers/gpu/drm/radeon/radeon_atombios.c record-> record 1707 drivers/gpu/drm/radeon/radeon_atombios.c u8 *record; record 1711 drivers/gpu/drm/radeon/radeon_atombios.c record = (u8 *)(mode_info->atom_context->bios + record 1715 drivers/gpu/drm/radeon/radeon_atombios.c record = (u8 *)(mode_info->atom_context->bios + record 1718 drivers/gpu/drm/radeon/radeon_atombios.c while (*record != ATOM_RECORD_END_TYPE) { record 1719 drivers/gpu/drm/radeon/radeon_atombios.c switch (*record) { record 1721 drivers/gpu/drm/radeon/radeon_atombios.c record += sizeof(ATOM_PATCH_RECORD_MODE); record 1724 drivers/gpu/drm/radeon/radeon_atombios.c record += sizeof(ATOM_LCD_RTS_RECORD); record 1727 drivers/gpu/drm/radeon/radeon_atombios.c record += sizeof(ATOM_LCD_MODE_CONTROL_CAP); record 1730 drivers/gpu/drm/radeon/radeon_atombios.c fake_edid_record = (ATOM_FAKE_EDID_PATCH_RECORD *)record; record 1747 drivers/gpu/drm/radeon/radeon_atombios.c record += fake_edid_record->ucFakeEDIDLength ? record 1752 drivers/gpu/drm/radeon/radeon_atombios.c panel_res_record = (ATOM_PANEL_RESOLUTION_PATCH_RECORD *)record; record 1755 drivers/gpu/drm/radeon/radeon_atombios.c record += sizeof(ATOM_PANEL_RESOLUTION_PATCH_RECORD); record 1758 drivers/gpu/drm/radeon/radeon_atombios.c DRM_ERROR("Bad LCD record %d\n", *record); record 22 drivers/gpu/drm/vboxvideo/vboxvideo_guest.h struct vbva_record *record; record 64 drivers/gpu/drm/vboxvideo/vbva_base.c struct vbva_record *record; record 69 drivers/gpu/drm/vboxvideo/vbva_base.c record = vbva_ctx->record; record 72 drivers/gpu/drm/vboxvideo/vbva_base.c !record || !(record->len_and_flags & VBVA_F_RECORD_PARTIAL)) record 98 drivers/gpu/drm/vboxvideo/vbva_base.c record->len_and_flags += chunk; record 158 drivers/gpu/drm/vboxvideo/vbva_base.c vbva_ctx->record = NULL; record 167 drivers/gpu/drm/vboxvideo/vbva_base.c struct vbva_record *record; record 174 drivers/gpu/drm/vboxvideo/vbva_base.c WARN_ON(vbva_ctx->buffer_overflow || vbva_ctx->record); record 186 drivers/gpu/drm/vboxvideo/vbva_base.c record = &vbva_ctx->vbva->records[vbva_ctx->vbva->record_free_index]; record 187 drivers/gpu/drm/vboxvideo/vbva_base.c record->len_and_flags = VBVA_F_RECORD_PARTIAL; record 190 drivers/gpu/drm/vboxvideo/vbva_base.c vbva_ctx->record = record; record 197 drivers/gpu/drm/vboxvideo/vbva_base.c struct vbva_record *record = vbva_ctx->record; record 199 drivers/gpu/drm/vboxvideo/vbva_base.c WARN_ON(!vbva_ctx->vbva || !record || record 200 drivers/gpu/drm/vboxvideo/vbva_base.c !(record->len_and_flags & VBVA_F_RECORD_PARTIAL)); record 203 drivers/gpu/drm/vboxvideo/vbva_base.c record->len_and_flags &= ~VBVA_F_RECORD_PARTIAL; record 206 drivers/gpu/drm/vboxvideo/vbva_base.c vbva_ctx->record = NULL; record 248 drivers/infiniband/hw/mthca/mthca_eq.c struct ib_event record; record 253 drivers/infiniband/hw/mthca/mthca_eq.c record.device = &dev->ib_dev; record 254 drivers/infiniband/hw/mthca/mthca_eq.c record.event = active ? IB_EVENT_PORT_ACTIVE : IB_EVENT_PORT_ERR; record 255 drivers/infiniband/hw/mthca/mthca_eq.c record.element.port_num = port; record 257 drivers/infiniband/hw/mthca/mthca_eq.c ib_dispatch_event(&record); record 593 drivers/infiniband/ulp/ipoib/ipoib.h struct ib_event *record); record 268 drivers/infiniband/ulp/ipoib/ipoib_verbs.c struct ib_event *record) record 273 drivers/infiniband/ulp/ipoib/ipoib_verbs.c if (record->element.port_num != priv->port) record 276 drivers/infiniband/ulp/ipoib/ipoib_verbs.c ipoib_dbg(priv, "Event %d on device %s port %d\n", record->event, record 277 drivers/infiniband/ulp/ipoib/ipoib_verbs.c dev_name(&record->device->dev), record->element.port_num); record 279 drivers/infiniband/ulp/ipoib/ipoib_verbs.c if (record->event == IB_EVENT_CLIENT_REREGISTER) { record 281 drivers/infiniband/ulp/ipoib/ipoib_verbs.c } else if (record->event == IB_EVENT_PORT_ERR || record 282 drivers/infiniband/ulp/ipoib/ipoib_verbs.c record->event == IB_EVENT_PORT_ACTIVE || record 283 drivers/infiniband/ulp/ipoib/ipoib_verbs.c record->event == IB_EVENT_LID_CHANGE) { record 285 drivers/infiniband/ulp/ipoib/ipoib_verbs.c } else if (record->event == IB_EVENT_PKEY_CHANGE) { record 287 drivers/infiniband/ulp/ipoib/ipoib_verbs.c } else if (record->event == IB_EVENT_GID_CHANGE && record 857 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c struct ib_event *record) record 865 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c if (record->element.port_num != port->port_num) record 869 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c record->event, dev_name(&record->device->dev), record 870 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c record->element.port_num); record 872 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c if (record->event != IB_EVENT_PORT_ERR && record 873 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c record->event != IB_EVENT_PORT_ACTIVE) record 877 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c if (record->event == IB_EVENT_PORT_ACTIVE) record 349 drivers/misc/cxl/hcalls.c long cxl_h_collect_vpd(u64 unit_address, u64 record, u64 list_address, record 354 drivers/misc/cxl/hcalls.c record, list_address, num, 0, record 129 drivers/misc/cxl/hcalls.h long cxl_h_collect_vpd(u64 unit_address, u64 record, u64 list_address, record 106 drivers/misc/cxl/vphb.c int record; record 108 drivers/misc/cxl/vphb.c record = cxl_pcie_cfg_record(bus->number, devfn); record 109 drivers/misc/cxl/vphb.c if (record > afu->crs_num) record 112 drivers/misc/cxl/vphb.c *_record = record; record 119 drivers/misc/cxl/vphb.c int rc, record; record 130 drivers/misc/cxl/vphb.c rc = cxl_pcie_config_info(bus, devfn, afu, &record); record 136 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_read8(afu, record, offset, &val8); record 140 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_read16(afu, record, offset, &val16); record 144 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_read32(afu, record, offset, &val32); record 159 drivers/misc/cxl/vphb.c int rc, record; record 167 drivers/misc/cxl/vphb.c rc = cxl_pcie_config_info(bus, devfn, afu, &record); record 173 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_write8(afu, record, offset, val & 0xff); record 176 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_write16(afu, record, offset, val & 0xffff); record 179 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_write32(afu, record, offset, val); record 3184 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_fill_coredump_record(struct bnxt *bp, struct bnxt_coredump_record *record, record 3193 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c memset(record, 0, sizeof(*record)); record 3194 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c memcpy(record->signature, "cOrE", 4); record 3195 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->flags = 0; record 3196 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->low_version = 0; record 3197 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->high_version = 1; record 3198 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->asic_state = 0; record 3199 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strlcpy(record->system_name, utsname()->nodename, record 3200 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c sizeof(record->system_name)); record 3201 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->year = cpu_to_le16(tm.tm_year + 1900); record 3202 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->month = cpu_to_le16(tm.tm_mon + 1); record 3203 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->day = cpu_to_le16(tm.tm_mday); record 3204 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->hour = cpu_to_le16(tm.tm_hour); record 3205 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->minute = cpu_to_le16(tm.tm_min); record 3206 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->second = cpu_to_le16(tm.tm_sec); record 3207 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->utc_bias = cpu_to_le16(start_utc); record 3208 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strcpy(record->commandline, "ethtool -w"); record 3209 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->total_segments = cpu_to_le32(total_segs); record 3212 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->os_ver_major = cpu_to_le32(os_ver_major); record 3213 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->os_ver_minor = cpu_to_le32(os_ver_minor); record 3215 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c strlcpy(record->os_name, utsname()->sysname, 32); record 3217 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->end_year = cpu_to_le16(tm.tm_year + 1900); record 3218 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->end_month = cpu_to_le16(tm.tm_mon + 1); record 3219 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->end_day = cpu_to_le16(tm.tm_mday); record 3220 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->end_hour = cpu_to_le16(tm.tm_hour); record 3221 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->end_minute = cpu_to_le16(tm.tm_min); record 3222 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->end_second = cpu_to_le16(tm.tm_sec); record 3223 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->end_utc_bias = cpu_to_le16(sys_tz.tz_minuteswest * 60); record 3224 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->asic_id1 = cpu_to_le32(bp->chip_num << 16 | record 3227 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->asic_id2 = 0; record 3228 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->coredump_status = cpu_to_le32(status); record 3229 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->ioctl_low_version = 0; record 3230 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c record->ioctl_high_version = 0; record 445 drivers/net/ethernet/intel/igb/e1000_i210.c u32 *record = NULL; record 463 drivers/net/ethernet/intel/igb/e1000_i210.c record = &buffer[invm_blocks - i]; record 467 drivers/net/ethernet/intel/igb/e1000_i210.c if ((i == 1) && ((*record & E1000_INVM_VER_FIELD_ONE) == 0)) { record 474 drivers/net/ethernet/intel/igb/e1000_i210.c ((*record & E1000_INVM_VER_FIELD_TWO) == 0)) { record 475 drivers/net/ethernet/intel/igb/e1000_i210.c version = (*record & E1000_INVM_VER_FIELD_ONE) >> 3; record 482 drivers/net/ethernet/intel/igb/e1000_i210.c else if ((((*record & E1000_INVM_VER_FIELD_ONE) == 0) && record 483 drivers/net/ethernet/intel/igb/e1000_i210.c ((*record & 0x3) == 0)) || (((*record & 0x3) != 0) && record 493 drivers/net/ethernet/intel/igb/e1000_i210.c else if (((*record & E1000_INVM_VER_FIELD_TWO) == 0) && record 494 drivers/net/ethernet/intel/igb/e1000_i210.c ((*record & 0x3) == 0)) { record 495 drivers/net/ethernet/intel/igb/e1000_i210.c version = (*record & E1000_INVM_VER_FIELD_ONE) >> 3; record 508 drivers/net/ethernet/intel/igb/e1000_i210.c record = &buffer[invm_blocks - i]; record 512 drivers/net/ethernet/intel/igb/e1000_i210.c if ((i == 1) && ((*record & E1000_INVM_IMGTYPE_FIELD) == 0)) { record 518 drivers/net/ethernet/intel/igb/e1000_i210.c else if ((((*record & 0x3) == 0) && record 519 drivers/net/ethernet/intel/igb/e1000_i210.c ((*record & E1000_INVM_IMGTYPE_FIELD) == 0)) || record 520 drivers/net/ethernet/intel/igb/e1000_i210.c ((((*record & 0x3) != 0) && (i != 1)))) { record 200 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c struct tls_record_info *record; record 206 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c record = tls_get_record(tx_ctx, tcp_seq, &info->rcd_sn); record 208 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c if (unlikely(!record)) { record 221 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c ends_before = before(tcp_seq + datalen - 1, tls_record_start_seq(record)); record 223 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c if (unlikely(tls_record_is_start_marker(record))) { record 231 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c info->sync_len = tcp_seq - tls_record_start_seq(record); record 234 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c skb_frag_t *frag = &record->frags[i]; record 105 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c struct tls_record_info *record; record 110 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c record = tls_get_record(&context->base, tcp_seq, &info->rcd_sn); record 112 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c if (unlikely(!record)) record 115 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c sync_size = tcp_seq - tls_record_start_seq(record); record 118 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c if (tls_record_is_start_marker(record)) record 126 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c info->frags[i] = record->frags[i]; record 34 drivers/net/ethernet/netronome/nfp/bpf/offload.c struct nfp_bpf_neutral_map *record; record 38 drivers/net/ethernet/netronome/nfp/bpf/offload.c record = rhashtable_lookup_fast(&bpf->maps_neutral, &map->id, record 40 drivers/net/ethernet/netronome/nfp/bpf/offload.c if (record) { record 41 drivers/net/ethernet/netronome/nfp/bpf/offload.c nfp_prog->map_records[nfp_prog->map_records_cnt++] = record; record 42 drivers/net/ethernet/netronome/nfp/bpf/offload.c record->count++; record 53 drivers/net/ethernet/netronome/nfp/bpf/offload.c record = kmalloc(sizeof(*record), GFP_KERNEL); record 54 drivers/net/ethernet/netronome/nfp/bpf/offload.c if (!record) { record 59 drivers/net/ethernet/netronome/nfp/bpf/offload.c record->ptr = map; record 60 drivers/net/ethernet/netronome/nfp/bpf/offload.c record->map_id = map->id; record 61 drivers/net/ethernet/netronome/nfp/bpf/offload.c record->count = 1; record 63 drivers/net/ethernet/netronome/nfp/bpf/offload.c err = rhashtable_insert_fast(&bpf->maps_neutral, &record->l, record 68 drivers/net/ethernet/netronome/nfp/bpf/offload.c nfp_prog->map_records[nfp_prog->map_records_cnt++] = record; record 73 drivers/net/ethernet/netronome/nfp/bpf/offload.c kfree(record); record 445 drivers/net/ethernet/netronome/nfp/bpf/offload.c struct nfp_bpf_neutral_map *record; record 463 drivers/net/ethernet/netronome/nfp/bpf/offload.c record = rhashtable_lookup_fast(&bpf->maps_neutral, &map_id, record 465 drivers/net/ethernet/netronome/nfp/bpf/offload.c if (!record || map_id_full > U32_MAX) { record 472 drivers/net/ethernet/netronome/nfp/bpf/offload.c bpf_event_output(record->ptr, be32_to_cpu(cbe->cpu_id), record 244 drivers/net/ethernet/sfc/siena_sriov.c MCDI_DECLARE_STRUCT_PTR(record); record 257 drivers/net/ethernet/sfc/siena_sriov.c record = MCDI_ARRAY_STRUCT_PTR(inbuf, MEMCPY_IN_RECORD, index); record 258 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_NUM_RECORDS, record 260 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_TO_RID, record 262 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_QWORD(record, MEMCPY_RECORD_TYPEDEF_TO_ADDR, record 281 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_FROM_RID, from_rid); record 282 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_QWORD(record, MEMCPY_RECORD_TYPEDEF_FROM_ADDR, record 284 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_LENGTH, record 2093 drivers/net/ethernet/ti/tlan.c static void tlan_read_and_clear_stats(struct net_device *dev, int record) record 2130 drivers/net/ethernet/ti/tlan.c if (record) { record 274 drivers/net/fjes/fjes_hw.h } record[]; record 304 drivers/net/wireless/ath/ath10k/htc.c struct ath10k_htc_record *record; record 313 drivers/net/wireless/ath/ath10k/htc.c record = (struct ath10k_htc_record *)buffer; record 315 drivers/net/wireless/ath/ath10k/htc.c if (length < sizeof(record->hdr)) { record 320 drivers/net/wireless/ath/ath10k/htc.c if (record->hdr.len > length) { record 323 drivers/net/wireless/ath/ath10k/htc.c record->hdr.len); record 328 drivers/net/wireless/ath/ath10k/htc.c switch (record->hdr.id) { record 331 drivers/net/wireless/ath/ath10k/htc.c if (record->hdr.len < len) { record 337 drivers/net/wireless/ath/ath10k/htc.c record->credit_report, record 338 drivers/net/wireless/ath/ath10k/htc.c record->hdr.len, record 343 drivers/net/wireless/ath/ath10k/htc.c if (record->hdr.len < len) { record 349 drivers/net/wireless/ath/ath10k/htc.c record->lookahead_report, record 350 drivers/net/wireless/ath/ath10k/htc.c record->hdr.len, record 356 drivers/net/wireless/ath/ath10k/htc.c bundle = record->lookahead_bundle; record 359 drivers/net/wireless/ath/ath10k/htc.c record->hdr.len, record 366 drivers/net/wireless/ath/ath10k/htc.c record->hdr.id, record->hdr.len); record 374 drivers/net/wireless/ath/ath10k/htc.c buffer += sizeof(record->hdr) + record->hdr.len; record 375 drivers/net/wireless/ath/ath10k/htc.c length -= sizeof(record->hdr) + record->hdr.len; record 3044 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_tx_fetch_record *record; record 3095 drivers/net/wireless/ath/ath10k/htt_rx.c record = &resp->tx_fetch_ind.records[i]; record 3096 drivers/net/wireless/ath/ath10k/htt_rx.c peer_id = MS(le16_to_cpu(record->info), record 3098 drivers/net/wireless/ath/ath10k/htt_rx.c tid = MS(le16_to_cpu(record->info), record 3100 drivers/net/wireless/ath/ath10k/htt_rx.c max_num_msdus = le16_to_cpu(record->num_msdus); record 3101 drivers/net/wireless/ath/ath10k/htt_rx.c max_num_bytes = le32_to_cpu(record->num_bytes); record 3147 drivers/net/wireless/ath/ath10k/htt_rx.c record->num_msdus = cpu_to_le16(num_msdus); record 3148 drivers/net/wireless/ath/ath10k/htt_rx.c record->num_bytes = cpu_to_le32(num_bytes); record 3204 drivers/net/wireless/ath/ath10k/htt_rx.c const struct htt_tx_mode_switch_record *record; record 3265 drivers/net/wireless/ath/ath10k/htt_rx.c record = &resp->tx_mode_switch_ind.records[i]; record 3266 drivers/net/wireless/ath/ath10k/htt_rx.c info0 = le16_to_cpu(record->info0); record 3293 drivers/net/wireless/ath/ath10k/htt_rx.c artxq->num_push_allowed = le16_to_cpu(record->num_max_msdus); record 1671 drivers/net/wireless/ath/ath6kl/htc_mbox.c struct htc_record_hdr *record, record 1680 drivers/net/wireless/ath/ath6kl/htc_mbox.c switch (record->rec_id) { record 1682 drivers/net/wireless/ath/ath6kl/htc_mbox.c len = record->len / sizeof(struct htc_credit_report); record 1693 drivers/net/wireless/ath/ath6kl/htc_mbox.c len = record->len / sizeof(*lk_ahd); record 1717 drivers/net/wireless/ath/ath6kl/htc_mbox.c len = record->len / sizeof(*bundle_lkahd_rpt); record 1730 drivers/net/wireless/ath/ath6kl/htc_mbox.c "", record_buf, record->len); record 1743 drivers/net/wireless/ath/ath6kl/htc_mbox.c record->rec_id, record->len); record 1754 drivers/net/wireless/ath/ath6kl/htc_mbox.c struct htc_record_hdr *record; record 1773 drivers/net/wireless/ath/ath6kl/htc_mbox.c record = (struct htc_record_hdr *) buf; record 1777 drivers/net/wireless/ath/ath6kl/htc_mbox.c if (record->len > len) { record 1779 drivers/net/wireless/ath/ath6kl/htc_mbox.c record->len, record->rec_id, len); record 1785 drivers/net/wireless/ath/ath6kl/htc_mbox.c status = htc_parse_trailer(target, record, record_buf, record 1792 drivers/net/wireless/ath/ath6kl/htc_mbox.c buf += record->len; record 1793 drivers/net/wireless/ath/ath6kl/htc_mbox.c len -= record->len; record 855 drivers/net/wireless/ath/ath6kl/htc_pipe.c struct htc_record_hdr *record; record 866 drivers/net/wireless/ath/ath6kl/htc_pipe.c record = (struct htc_record_hdr *) buffer; record 870 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (record->len > len) { record 874 drivers/net/wireless/ath/ath6kl/htc_pipe.c record->len, record->rec_id, len); record 882 drivers/net/wireless/ath/ath6kl/htc_pipe.c switch (record->rec_id) { record 884 drivers/net/wireless/ath/ath6kl/htc_pipe.c if (record->len < sizeof(struct htc_credit_report)) { record 891 drivers/net/wireless/ath/ath6kl/htc_pipe.c record->len / sizeof(*report), record 897 drivers/net/wireless/ath/ath6kl/htc_pipe.c record->rec_id, record->len); record 902 drivers/net/wireless/ath/ath6kl/htc_pipe.c buffer += record->len; record 903 drivers/net/wireless/ath/ath6kl/htc_pipe.c len -= record->len; record 4075 drivers/net/wireless/ath/wil6210/wmi.h u8 record[0]; record 170 drivers/pci/pci-acpi.c static acpi_status decode_type0_hpx_record(union acpi_object *record, record 174 drivers/pci/pci-acpi.c union acpi_object *fields = record->package.elements; record 179 drivers/pci/pci-acpi.c if (record->package.count != 6) record 220 drivers/pci/pci-acpi.c static acpi_status decode_type1_hpx_record(union acpi_object *record, record 224 drivers/pci/pci-acpi.c union acpi_object *fields = record->package.elements; record 229 drivers/pci/pci-acpi.c if (record->package.count != 5) record 369 drivers/pci/pci-acpi.c static acpi_status decode_type2_hpx_record(union acpi_object *record, record 373 drivers/pci/pci-acpi.c union acpi_object *fields = record->package.elements; record 378 drivers/pci/pci-acpi.c if (record->package.count != 18) record 587 drivers/pci/pci-acpi.c union acpi_object *record) record 589 drivers/pci/pci-acpi.c union acpi_object *fields = record->package.elements; record 601 drivers/pci/pci-acpi.c if (record->package.count != expected_length) record 628 drivers/pci/pci-acpi.c union acpi_object *package, *record, *fields; record 646 drivers/pci/pci-acpi.c record = &package->package.elements[i]; record 647 drivers/pci/pci-acpi.c if (record->type != ACPI_TYPE_PACKAGE) { record 652 drivers/pci/pci-acpi.c fields = record->package.elements; record 663 drivers/pci/pci-acpi.c status = decode_type0_hpx_record(record, &hpx0); record 670 drivers/pci/pci-acpi.c status = decode_type1_hpx_record(record, &hpx1); record 677 drivers/pci/pci-acpi.c status = decode_type2_hpx_record(record, &hpx2); record 683 drivers/pci/pci-acpi.c status = program_type3_hpx_record(dev, record); record 523 drivers/s390/block/dasd_eckd.c data->search_arg.record = rec_on_trk; record 700 drivers/s390/block/dasd_eckd.c data->search_arg.record = rec_on_trk; record 2296 drivers/s390/block/dasd_eckd.c private->count_area[i].record != count_area_rec[i]) { record 2311 drivers/s390/block/dasd_eckd.c private->count_area[i].record != count_area_rec[i]) record 2317 drivers/s390/block/dasd_eckd.c if (private->count_area[3].record == 1) record 2758 drivers/s390/block/dasd_eckd.c ect->record = 0; record 2773 drivers/s390/block/dasd_eckd.c ect->record = 1; record 2787 drivers/s390/block/dasd_eckd.c ect->record = i + 1; record 3251 drivers/s390/block/dasd_eckd.c fmt_buffer[i].record == 1) || record 3253 drivers/s390/block/dasd_eckd.c fmt_buffer[i].record == 0) record 3288 drivers/s390/block/dasd_eckd.c while (fmt_buffer[pos].record == 0 && record 3347 drivers/s390/block/dasd_eckd.c fmt_buffer[pos].record != (j + 1)) { record 3366 drivers/s390/block/dasd_eckd.c cdata->rec = fmt_buffer[pos].record; record 4343 drivers/s390/block/dasd_eckd.c lredata->search_arg.record = rec_on_trk; record 137 drivers/s390/block/dasd_eckd.h __u8 record; record 150 drivers/s390/block/dasd_eckd.h __u8 record; record 468 drivers/s390/char/vmur.c static int diag_position_to_record(int devno, int record) record 472 drivers/s390/char/vmur.c cc = diag14(record, devno, 0x28); record 2097 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c struct hisi_sas_err_record_v3 *record = record 2099 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c u32 dma_rx_err_type = le32_to_cpu(record->dma_rx_err_type); record 2100 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c u32 trans_tx_fail_type = le32_to_cpu(record->trans_tx_fail_type); record 873 drivers/staging/wlan-ng/prism2fw.c static int read_fwfile(const struct ihex_binrec *record) record 883 drivers/staging/wlan-ng/prism2fw.c while (record) { record 886 drivers/staging/wlan-ng/prism2fw.c len = be16_to_cpu(record->len); record 887 drivers/staging/wlan-ng/prism2fw.c addr = be32_to_cpu(record->addr); record 890 drivers/staging/wlan-ng/prism2fw.c ptr32 = (u32 *)record->data; record 891 drivers/staging/wlan-ng/prism2fw.c ptr16 = (u16 *)record->data; record 965 drivers/staging/wlan-ng/prism2fw.c s3data[ns3data].data = (uint8_t *)record->data; record 973 drivers/staging/wlan-ng/prism2fw.c record = ihex_next_binrec(record); record 76 drivers/usb/misc/ezusb.c const struct ihex_binrec *record; record 90 drivers/usb/misc/ezusb.c record = (const struct ihex_binrec *)firmware->data; record 91 drivers/usb/misc/ezusb.c for (; record; record = ihex_next_binrec(record)) { record 92 drivers/usb/misc/ezusb.c if (be32_to_cpu(record->addr) > fx.max_internal_adress) { record 93 drivers/usb/misc/ezusb.c ret = ezusb_writememory(dev, be32_to_cpu(record->addr), record 94 drivers/usb/misc/ezusb.c (unsigned char *)record->data, record 95 drivers/usb/misc/ezusb.c be16_to_cpu(record->len), WRITE_EXT_RAM); record 100 drivers/usb/misc/ezusb.c be32_to_cpu(record->addr), record->data, record 101 drivers/usb/misc/ezusb.c be16_to_cpu(record->len)); record 110 drivers/usb/misc/ezusb.c record = (const struct ihex_binrec *)firmware->data; record 111 drivers/usb/misc/ezusb.c for (; record; record = ihex_next_binrec(record)) { record 112 drivers/usb/misc/ezusb.c if (be32_to_cpu(record->addr) <= fx.max_internal_adress) { record 113 drivers/usb/misc/ezusb.c ret = ezusb_writememory(dev, be32_to_cpu(record->addr), record 114 drivers/usb/misc/ezusb.c (unsigned char *)record->data, record 115 drivers/usb/misc/ezusb.c be16_to_cpu(record->len), WRITE_INT_RAM); record 120 drivers/usb/misc/ezusb.c be32_to_cpu(record->addr), record->data, record 121 drivers/usb/misc/ezusb.c be16_to_cpu(record->len)); record 1122 drivers/usb/serial/io_ti.c u8 *record; record 1176 drivers/usb/serial/io_ti.c record = kmalloc(1, GFP_KERNEL); record 1177 drivers/usb/serial/io_ti.c if (!record) { record 1196 drivers/usb/serial/io_ti.c *record = I2C_DESC_TYPE_FIRMWARE_BLANK; record 1203 drivers/usb/serial/io_ti.c sizeof(*record), record); record 1205 drivers/usb/serial/io_ti.c kfree(record); record 1219 drivers/usb/serial/io_ti.c sizeof(*record), record 1220 drivers/usb/serial/io_ti.c record); record 1222 drivers/usb/serial/io_ti.c kfree(record); record 1229 drivers/usb/serial/io_ti.c if (*record != I2C_DESC_TYPE_FIRMWARE_BLANK) { record 1232 drivers/usb/serial/io_ti.c kfree(record); record 1251 drivers/usb/serial/io_ti.c kfree(record); record 920 fs/btrfs/delayed-ref.c struct btrfs_qgroup_extent_record *record = NULL; record 949 fs/btrfs/delayed-ref.c record = kzalloc(sizeof(*record), GFP_NOFS); record 950 fs/btrfs/delayed-ref.c if (!record) { record 968 fs/btrfs/delayed-ref.c init_delayed_ref_head(head_ref, record, bytenr, num_bytes, record 980 fs/btrfs/delayed-ref.c head_ref = add_delayed_ref_head(trans, head_ref, record, record 1000 fs/btrfs/delayed-ref.c btrfs_qgroup_trace_extent_post(fs_info, record); record 1017 fs/btrfs/delayed-ref.c struct btrfs_qgroup_extent_record *record = NULL; record 1056 fs/btrfs/delayed-ref.c record = kzalloc(sizeof(*record), GFP_NOFS); record 1057 fs/btrfs/delayed-ref.c if (!record) { record 1065 fs/btrfs/delayed-ref.c init_delayed_ref_head(head_ref, record, bytenr, num_bytes, ref_root, record 1076 fs/btrfs/delayed-ref.c head_ref = add_delayed_ref_head(trans, head_ref, record, record 1097 fs/btrfs/delayed-ref.c return btrfs_qgroup_trace_extent_post(fs_info, record); record 1546 fs/btrfs/qgroup.c struct btrfs_qgroup_extent_record *record) record 1551 fs/btrfs/qgroup.c u64 bytenr = record->bytenr; record 1554 fs/btrfs/qgroup.c trace_btrfs_qgroup_trace_extent(fs_info, record); record 1565 fs/btrfs/qgroup.c if (record->data_rsv && !entry->data_rsv) { record 1566 fs/btrfs/qgroup.c entry->data_rsv = record->data_rsv; record 1568 fs/btrfs/qgroup.c record->data_rsv_refroot; record 1574 fs/btrfs/qgroup.c rb_link_node(&record->node, parent_node, p); record 1575 fs/btrfs/qgroup.c rb_insert_color(&record->node, &delayed_refs->dirty_extent_root); record 1610 fs/btrfs/qgroup.c struct btrfs_qgroup_extent_record *record; record 1617 fs/btrfs/qgroup.c record = kzalloc(sizeof(*record), gfp_flag); record 1618 fs/btrfs/qgroup.c if (!record) record 1622 fs/btrfs/qgroup.c record->bytenr = bytenr; record 1623 fs/btrfs/qgroup.c record->num_bytes = num_bytes; record 1624 fs/btrfs/qgroup.c record->old_roots = NULL; record 1627 fs/btrfs/qgroup.c ret = btrfs_qgroup_trace_extent_nolock(fs_info, delayed_refs, record); record 1630 fs/btrfs/qgroup.c kfree(record); record 1633 fs/btrfs/qgroup.c return btrfs_qgroup_trace_extent_post(fs_info, record); record 2510 fs/btrfs/qgroup.c struct btrfs_qgroup_extent_record *record; record 2521 fs/btrfs/qgroup.c record = rb_entry(node, struct btrfs_qgroup_extent_record, record 2525 fs/btrfs/qgroup.c trace_btrfs_qgroup_account_extents(fs_info, record); record 2532 fs/btrfs/qgroup.c if (WARN_ON(!record->old_roots)) { record 2535 fs/btrfs/qgroup.c record->bytenr, 0, record 2536 fs/btrfs/qgroup.c &record->old_roots, false); record 2543 fs/btrfs/qgroup.c record->data_rsv_refroot, record 2544 fs/btrfs/qgroup.c record->data_rsv, record 2552 fs/btrfs/qgroup.c record->bytenr, SEQ_LAST, &new_roots, false); record 2557 fs/btrfs/qgroup.c ulist_del(record->old_roots, qgroup_to_skip, record 2560 fs/btrfs/qgroup.c ret = btrfs_qgroup_account_extent(trans, record->bytenr, record 2561 fs/btrfs/qgroup.c record->num_bytes, record 2562 fs/btrfs/qgroup.c record->old_roots, record 2564 fs/btrfs/qgroup.c record->old_roots = NULL; record 2568 fs/btrfs/qgroup.c ulist_free(record->old_roots); record 2572 fs/btrfs/qgroup.c kfree(record); record 267 fs/btrfs/qgroup.h struct btrfs_qgroup_extent_record *record); record 6384 fs/btrfs/tree-log.c goto record; record 6389 fs/btrfs/tree-log.c record: record 84 fs/hfs/bfind.c fd->record = e; record 129 fs/hfs/bfind.c if (fd->record < 0) record 174 fs/hfs/bfind.c while (cnt > fd->record) { record 175 fs/hfs/bfind.c cnt -= fd->record + 1; record 176 fs/hfs/bfind.c fd->record = bnode->num_recs - 1; record 190 fs/hfs/bfind.c fd->record -= cnt; record 192 fs/hfs/bfind.c while (cnt >= bnode->num_recs - fd->record) { record 193 fs/hfs/bfind.c cnt -= bnode->num_recs - fd->record; record 194 fs/hfs/bfind.c fd->record = 0; record 208 fs/hfs/bfind.c fd->record += cnt; record 211 fs/hfs/bfind.c len = hfs_brec_lenoff(bnode, fd->record, &off); record 212 fs/hfs/bfind.c keylen = hfs_brec_keylen(bnode, fd->record); record 82 fs/hfs/brec.c fd->record = -1; record 88 fs/hfs/brec.c rec = fd->record + 1; record 186 fs/hfs/brec.c rec_off = tree->node_size - (fd->record + 2) * 2; record 195 fs/hfs/brec.c fd->record, fd->keylength + fd->entrylength); record 226 fs/hfs/brec.c if (!fd->record) record 282 fs/hfs/brec.c if (fd->record + 1 < num_recs) { record 293 fs/hfs/brec.c fd->record -= num_recs; record 371 fs/hfs/brec.c if (fd->record < 0) record 374 fs/hfs/brec.c rec = fd->record; record 399 fs/hfs/brec.c rec = fd->record; record 75 fs/hfs/btree.h int record; record 152 fs/hfsplus/bfind.c fd->record = e; record 198 fs/hfsplus/bfind.c if (fd->record < 0) record 243 fs/hfsplus/bfind.c while (cnt > fd->record) { record 244 fs/hfsplus/bfind.c cnt -= fd->record + 1; record 245 fs/hfsplus/bfind.c fd->record = bnode->num_recs - 1; record 259 fs/hfsplus/bfind.c fd->record -= cnt; record 261 fs/hfsplus/bfind.c while (cnt >= bnode->num_recs - fd->record) { record 262 fs/hfsplus/bfind.c cnt -= bnode->num_recs - fd->record; record 263 fs/hfsplus/bfind.c fd->record = 0; record 277 fs/hfsplus/bfind.c fd->record += cnt; record 280 fs/hfsplus/bfind.c len = hfs_brec_lenoff(bnode, fd->record, &off); record 281 fs/hfsplus/bfind.c keylen = hfs_brec_keylen(bnode, fd->record); record 80 fs/hfsplus/brec.c fd->record = -1; record 86 fs/hfsplus/brec.c rec = fd->record + 1; record 188 fs/hfsplus/brec.c rec_off = tree->node_size - (fd->record + 2) * 2; record 197 fs/hfsplus/brec.c fd->record, fd->keylength + fd->entrylength); record 230 fs/hfsplus/brec.c if (!fd->record) record 286 fs/hfsplus/brec.c if (fd->record + 1 < num_recs) { record 297 fs/hfsplus/brec.c fd->record -= num_recs; record 375 fs/hfsplus/brec.c if (fd->record < 0) record 378 fs/hfsplus/brec.c rec = fd->record; record 404 fs/hfsplus/brec.c rec = fd->record; record 291 fs/hfsplus/hfsplus_fs.h int record; record 140 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record; record 145 fs/jbd2/revoke.c record = kmem_cache_alloc(jbd2_revoke_record_cache, gfp_mask); record 146 fs/jbd2/revoke.c if (!record) record 149 fs/jbd2/revoke.c record->sequence = seq; record 150 fs/jbd2/revoke.c record->blocknr = blocknr; record 153 fs/jbd2/revoke.c list_add(&record->hash, hash_list); record 164 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record; record 169 fs/jbd2/revoke.c record = (struct jbd2_revoke_record_s *) hash_list->next; record 170 fs/jbd2/revoke.c while (&(record->hash) != hash_list) { record 171 fs/jbd2/revoke.c if (record->blocknr == blocknr) { record 173 fs/jbd2/revoke.c return record; record 175 fs/jbd2/revoke.c record = (struct jbd2_revoke_record_s *) record->hash.next; record 419 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record; record 439 fs/jbd2/revoke.c record = find_revoke_record(journal, bh->b_blocknr); record 440 fs/jbd2/revoke.c if (record) { record 444 fs/jbd2/revoke.c list_del(&record->hash); record 446 fs/jbd2/revoke.c kmem_cache_free(jbd2_revoke_record_cache, record); record 453 fs/jbd2/revoke.c record = find_revoke_record(journal, bh->b_blocknr); record 454 fs/jbd2/revoke.c J_ASSERT_JH(jh, record == NULL); record 489 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record; record 491 fs/jbd2/revoke.c record = (struct jbd2_revoke_record_s *)list_entry; record 493 fs/jbd2/revoke.c record->blocknr, record 529 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record; record 546 fs/jbd2/revoke.c record = (struct jbd2_revoke_record_s *) record 549 fs/jbd2/revoke.c &descriptor, &offset, record); record 551 fs/jbd2/revoke.c list_del(&record->hash); record 552 fs/jbd2/revoke.c kmem_cache_free(jbd2_revoke_record_cache, record); record 569 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record) record 619 fs/jbd2/revoke.c cpu_to_be64(record->blocknr); record 622 fs/jbd2/revoke.c cpu_to_be32(record->blocknr); record 681 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record; record 683 fs/jbd2/revoke.c record = find_revoke_record(journal, blocknr); record 684 fs/jbd2/revoke.c if (record) { record 687 fs/jbd2/revoke.c if (tid_gt(sequence, record->sequence)) record 688 fs/jbd2/revoke.c record->sequence = sequence; record 705 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record; record 707 fs/jbd2/revoke.c record = find_revoke_record(journal, blocknr); record 708 fs/jbd2/revoke.c if (!record) record 710 fs/jbd2/revoke.c if (tid_gt(sequence, record->sequence)) record 724 fs/jbd2/revoke.c struct jbd2_revoke_record_s *record; record 732 fs/jbd2/revoke.c record = (struct jbd2_revoke_record_s*) hash_list->next; record 733 fs/jbd2/revoke.c list_del(&record->hash); record 734 fs/jbd2/revoke.c kmem_cache_free(jbd2_revoke_record_cache, record); record 32 fs/pstore/ftrace.c struct pstore_record record = { record 48 fs/pstore/ftrace.c psinfo->write(&record); record 37 fs/pstore/inode.c struct pstore_record *record; record 53 fs/pstore/inode.c if (private->record) { record 54 fs/pstore/inode.c kfree(private->record->buf); record 55 fs/pstore/inode.c kfree(private->record); record 107 fs/pstore/inode.c rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); record 131 fs/pstore/inode.c if (ps->record->type == PSTORE_TYPE_FTRACE) record 134 fs/pstore/inode.c ps->record->buf, ps->total_size); record 144 fs/pstore/inode.c if (ps->record->type == PSTORE_TYPE_FTRACE) record 180 fs/pstore/inode.c struct pstore_record *record = p->record; record 182 fs/pstore/inode.c if (!record->psi->erase) record 185 fs/pstore/inode.c mutex_lock(&record->psi->read_mutex); record 186 fs/pstore/inode.c record->psi->erase(record); record 187 fs/pstore/inode.c mutex_unlock(&record->psi->read_mutex); record 293 fs/pstore/inode.c int pstore_mkfile(struct dentry *root, struct pstore_record *record) record 301 fs/pstore/inode.c size_t size = record->size + record->ecc_notice_size; record 307 fs/pstore/inode.c if (pos->record->type == record->type && record 308 fs/pstore/inode.c pos->record->id == record->id && record 309 fs/pstore/inode.c pos->record->psi == record->psi) { record 325 fs/pstore/inode.c pstore_type_to_name(record->type), record 326 fs/pstore/inode.c record->psi->name, record->id, record 327 fs/pstore/inode.c record->compressed ? ".enc.z" : ""); record 337 fs/pstore/inode.c private->record = record; record 341 fs/pstore/inode.c if (record->time.tv_sec) record 342 fs/pstore/inode.c inode->i_mtime = inode->i_ctime = record->time; record 35 fs/pstore/internal.h struct pstore_record *record); record 37 fs/pstore/internal.h extern void pstore_record_init(struct pstore_record *record, record 373 fs/pstore/platform.c void pstore_record_init(struct pstore_record *record, record 376 fs/pstore/platform.c memset(record, 0, sizeof(*record)); record 378 fs/pstore/platform.c record->psi = psinfo; record 381 fs/pstore/platform.c record->time = ns_to_timespec64(ktime_get_real_fast_ns()); record 418 fs/pstore/platform.c struct pstore_record record; record 420 fs/pstore/platform.c pstore_record_init(&record, psinfo); record 421 fs/pstore/platform.c record.type = PSTORE_TYPE_DMESG; record 422 fs/pstore/platform.c record.count = oopscount; record 423 fs/pstore/platform.c record.reason = reason; record 424 fs/pstore/platform.c record.part = part; record 425 fs/pstore/platform.c record.buf = psinfo->buf; record 451 fs/pstore/platform.c record.compressed = true; record 452 fs/pstore/platform.c record.size = zipped_len; record 454 fs/pstore/platform.c record.size = copy_kmsg_to_buffer(header_size, record 458 fs/pstore/platform.c record.size = header_size + dump_size; record 461 fs/pstore/platform.c ret = psinfo->write(&record); record 465 fs/pstore/platform.c total += record.size; record 492 fs/pstore/platform.c struct pstore_record record; record 497 fs/pstore/platform.c pstore_record_init(&record, psinfo); record 498 fs/pstore/platform.c record.type = PSTORE_TYPE_CONSOLE; record 500 fs/pstore/platform.c record.buf = (char *)s; record 501 fs/pstore/platform.c record.size = c; record 502 fs/pstore/platform.c psinfo->write(&record); record 526 fs/pstore/platform.c static int pstore_write_user_compat(struct pstore_record *record, record 531 fs/pstore/platform.c if (record->buf) record 534 fs/pstore/platform.c record->buf = memdup_user(buf, record->size); record 535 fs/pstore/platform.c if (IS_ERR(record->buf)) { record 536 fs/pstore/platform.c ret = PTR_ERR(record->buf); record 540 fs/pstore/platform.c ret = record->psi->write(record); record 542 fs/pstore/platform.c kfree(record->buf); record 544 fs/pstore/platform.c record->buf = NULL; record 546 fs/pstore/platform.c return unlikely(ret < 0) ? ret : record->size; record 658 fs/pstore/platform.c static void decompress_record(struct pstore_record *record) record 664 fs/pstore/platform.c if (!record->compressed) record 668 fs/pstore/platform.c if (record->type != PSTORE_TYPE_DMESG) { record 669 fs/pstore/platform.c pr_warn("ignored compressed record type %d\n", record->type); record 681 fs/pstore/platform.c workspace = kmalloc(unzipped_len + record->ecc_notice_size, record 687 fs/pstore/platform.c ret = crypto_comp_decompress(tfm, record->buf, record->size, record 696 fs/pstore/platform.c memcpy(workspace + unzipped_len, record->buf + record->size, record 697 fs/pstore/platform.c record->ecc_notice_size); record 700 fs/pstore/platform.c unzipped = kmemdup(workspace, unzipped_len + record->ecc_notice_size, record 707 fs/pstore/platform.c kfree(record->buf); record 708 fs/pstore/platform.c record->buf = unzipped; record 709 fs/pstore/platform.c record->size = unzipped_len; record 710 fs/pstore/platform.c record->compressed = false; record 738 fs/pstore/platform.c struct pstore_record *record; record 741 fs/pstore/platform.c record = kzalloc(sizeof(*record), GFP_KERNEL); record 742 fs/pstore/platform.c if (!record) { record 746 fs/pstore/platform.c pstore_record_init(record, psi); record 748 fs/pstore/platform.c record->size = psi->read(record); record 751 fs/pstore/platform.c if (record->size <= 0) { record 752 fs/pstore/platform.c kfree(record); record 756 fs/pstore/platform.c decompress_record(record); record 757 fs/pstore/platform.c rc = pstore_mkfile(root, record); record 760 fs/pstore/platform.c kfree(record->buf); record 761 fs/pstore/platform.c kfree(record); record 17 fs/pstore/pmsg.c struct pstore_record record; record 23 fs/pstore/pmsg.c pstore_record_init(&record, psinfo); record 24 fs/pstore/pmsg.c record.type = PSTORE_TYPE_PMSG; record 25 fs/pstore/pmsg.c record.size = count; record 32 fs/pstore/pmsg.c ret = psinfo->write_user(&record, buf); record 113 fs/pstore/ram.c struct pstore_record *record) record 132 fs/pstore/ram.c record->type = prz->type; record 133 fs/pstore/ram.c record->id = id; record 223 fs/pstore/ram.c static ssize_t ramoops_pstore_read(struct pstore_record *record) record 226 fs/pstore/ram.c struct ramoops_context *cxt = record->psi->data; record 236 fs/pstore/ram.c record->time.tv_sec = 0; record 237 fs/pstore/ram.c record->time.tv_nsec = 0; record 238 fs/pstore/ram.c record->compressed = false; record 243 fs/pstore/ram.c record); record 247 fs/pstore/ram.c &record->time, record 248 fs/pstore/ram.c &record->compressed); record 258 fs/pstore/ram.c prz = ramoops_get_next_prz(&cxt->cprz, 0 /* single */, record); record 261 fs/pstore/ram.c prz = ramoops_get_next_prz(&cxt->mprz, 0 /* single */, record); record 268 fs/pstore/ram.c record); record 285 fs/pstore/ram.c cxt->ftrace_read_cnt++, record); record 298 fs/pstore/ram.c record->id = 0; record 310 fs/pstore/ram.c record->ecc_notice_size = persistent_ram_ecc_string(prz, NULL, 0); record 312 fs/pstore/ram.c record->buf = kmalloc(size + record->ecc_notice_size + 1, GFP_KERNEL); record 313 fs/pstore/ram.c if (record->buf == NULL) { record 318 fs/pstore/ram.c memcpy(record->buf, (char *)persistent_ram_old(prz) + header_length, record 321 fs/pstore/ram.c persistent_ram_ecc_string(prz, record->buf + size, record 322 fs/pstore/ram.c record->ecc_notice_size + 1); record 334 fs/pstore/ram.c struct pstore_record *record) record 341 fs/pstore/ram.c (time64_t)record->time.tv_sec, record 342 fs/pstore/ram.c record->time.tv_nsec / 1000, record 343 fs/pstore/ram.c record->compressed ? 'C' : 'D'); record 349 fs/pstore/ram.c static int notrace ramoops_pstore_write(struct pstore_record *record) record 351 fs/pstore/ram.c struct ramoops_context *cxt = record->psi->data; record 355 fs/pstore/ram.c if (record->type == PSTORE_TYPE_CONSOLE) { record 358 fs/pstore/ram.c persistent_ram_write(cxt->cprz, record->buf, record->size); record 360 fs/pstore/ram.c } else if (record->type == PSTORE_TYPE_FTRACE) { record 373 fs/pstore/ram.c persistent_ram_write(cxt->fprzs[zonenum], record->buf, record 374 fs/pstore/ram.c record->size); record 376 fs/pstore/ram.c } else if (record->type == PSTORE_TYPE_PMSG) { record 381 fs/pstore/ram.c if (record->type != PSTORE_TYPE_DMESG) record 388 fs/pstore/ram.c if (record->reason != KMSG_DUMP_OOPS && record 389 fs/pstore/ram.c record->reason != KMSG_DUMP_PANIC) record 393 fs/pstore/ram.c if (record->reason == KMSG_DUMP_OOPS && !cxt->dump_oops) record 402 fs/pstore/ram.c if (record->part != 1) record 422 fs/pstore/ram.c hlen = ramoops_write_kmsg_hdr(prz, record); record 426 fs/pstore/ram.c size = record->size; record 429 fs/pstore/ram.c persistent_ram_write(prz, record->buf, size); record 436 fs/pstore/ram.c static int notrace ramoops_pstore_write_user(struct pstore_record *record, record 439 fs/pstore/ram.c if (record->type == PSTORE_TYPE_PMSG) { record 440 fs/pstore/ram.c struct ramoops_context *cxt = record->psi->data; record 444 fs/pstore/ram.c return persistent_ram_write_user(cxt->mprz, buf, record->size); record 450 fs/pstore/ram.c static int ramoops_pstore_erase(struct pstore_record *record) record 452 fs/pstore/ram.c struct ramoops_context *cxt = record->psi->data; record 455 fs/pstore/ram.c switch (record->type) { record 457 fs/pstore/ram.c if (record->id >= cxt->max_dump_cnt) record 459 fs/pstore/ram.c prz = cxt->dprzs[record->id]; record 465 fs/pstore/ram.c if (record->id >= cxt->max_ftrace_cnt) record 467 fs/pstore/ram.c prz = cxt->fprzs[record->id]; record 43 include/acpi/apei.h int erst_write(const struct cper_record_header *record); record 48 include/acpi/apei.h ssize_t erst_read(u64 record_id, struct cper_record_header *record, record 1260 include/linux/perf_event.h extern void perf_tp_event(u16 event_type, u64 count, void *record, record 186 include/linux/pstore.h ssize_t (*read)(struct pstore_record *record); record 187 include/linux/pstore.h int (*write)(struct pstore_record *record); record 188 include/linux/pstore.h int (*write_user)(struct pstore_record *record, record 190 include/linux/pstore.h int (*erase)(struct pstore_record *record); record 602 include/linux/trace_events.h void perf_trace_buf_update(void *record, u16 type); record 8676 kernel/events/core.c void *record = data->raw->frag.data; record 8682 kernel/events/core.c if (likely(!event->filter) || filter_match_preds(event->filter, record)) record 8722 kernel/events/core.c void perf_tp_event(u16 event_type, u64 count, void *record, int entry_size, record 8732 kernel/events/core.c .data = record, record 8739 kernel/events/core.c perf_trace_buf_update(record, event_type); record 8752 kernel/events/core.c struct trace_entry *entry = record; record 349 kernel/gcov/gcc_3_4.c int record; record 412 kernel/gcov/gcc_3_4.c iter->record = 0; record 445 kernel/gcov/gcc_3_4.c switch (iter->record) { record 453 kernel/gcov/gcc_3_4.c iter->record++; record 461 kernel/gcov/gcc_3_4.c iter->record = 9; record 471 kernel/gcov/gcc_3_4.c iter->record = 7; record 480 kernel/gcov/gcc_3_4.c iter->record = 3; record 482 kernel/gcov/gcc_3_4.c iter->record = -1; record 486 kernel/gcov/gcc_3_4.c if (iter->record == -1) record 536 kernel/gcov/gcc_3_4.c switch (iter->record) { record 106 kernel/latencytop.c unsigned long record = lat->backtrace[q]; record 108 kernel/latencytop.c if (latency_record[i].backtrace[q] != record) { record 114 kernel/latencytop.c if (!record) record 183 kernel/latencytop.c unsigned long record = lat.backtrace[q]; record 185 kernel/latencytop.c if (mylat->backtrace[q] != record) { record 191 kernel/latencytop.c if (!record) record 416 kernel/trace/trace_event_perf.c void perf_trace_buf_update(void *record, u16 type) record 418 kernel/trace/trace_event_perf.c struct trace_entry *entry = record; record 123 net/tls/tls_device.c static void destroy_record(struct tls_record_info *record) record 127 net/tls/tls_device.c for (i = 0; i < record->num_frags; i++) record 128 net/tls/tls_device.c __skb_frag_unref(&record->frags[i]); record 129 net/tls/tls_device.c kfree(record); record 232 net/tls/tls_device.c static void tls_append_frag(struct tls_record_info *record, record 238 net/tls/tls_device.c frag = &record->frags[record->num_frags - 1]; record 247 net/tls/tls_device.c ++record->num_frags; record 252 net/tls/tls_device.c record->len += size; record 258 net/tls/tls_device.c struct tls_record_info *record, record 266 net/tls/tls_device.c record->end_seq = tp->write_seq + record->len; record 267 net/tls/tls_device.c list_add_tail_rcu(&record->list, &offload_ctx->records_list); record 275 net/tls/tls_device.c for (i = 0; i < record->num_frags; i++) { record 276 net/tls/tls_device.c frag = &record->frags[i]; record 283 net/tls/tls_device.c sg_mark_end(&offload_ctx->sg_tx_data[record->num_frags - 1]); record 291 net/tls/tls_device.c struct tls_record_info *record, record 307 net/tls/tls_device.c tls_append_frag(record, pfrag, prot->tag_size); record 310 net/tls/tls_device.c if (record->len <= prot->overhead_size) record 315 net/tls/tls_device.c tls_fill_prepend(ctx, skb_frag_address(&record->frags[0]), record 316 net/tls/tls_device.c record->len - prot->overhead_size, record 325 net/tls/tls_device.c struct tls_record_info *record; record 328 net/tls/tls_device.c record = kmalloc(sizeof(*record), GFP_KERNEL); record 329 net/tls/tls_device.c if (!record) record 332 net/tls/tls_device.c frag = &record->frags[0]; record 340 net/tls/tls_device.c record->num_frags = 1; record 341 net/tls/tls_device.c record->len = prepend_size; record 342 net/tls/tls_device.c offload_ctx->open_record = record; record 409 net/tls/tls_device.c struct tls_record_info *record = ctx->open_record; record 450 net/tls/tls_device.c record = ctx->open_record; record 451 net/tls/tls_device.c if (!record) record 460 net/tls/tls_device.c destroy_record(record); record 462 net/tls/tls_device.c } else if (record->len > prot->prepend_size) { record 469 net/tls/tls_device.c record = ctx->open_record; record 471 net/tls/tls_device.c copy = min_t(size_t, copy, (max_open_record_len - record->len)); record 477 net/tls/tls_device.c tls_append_frag(record, pfrag, copy); record 485 net/tls/tls_device.c !!record->num_frags; record 492 net/tls/tls_device.c if (done || record->len >= max_open_record_len || record 493 net/tls/tls_device.c (record->num_frags >= MAX_SKB_FRAGS - 1)) { record 494 net/tls/tls_device.c rc = tls_device_record_close(sk, tls_ctx, record, record 501 net/tls/tls_device.c destroy_record(record); record 510 net/tls/tls_device.c record, record 238 net/tls/tls_device_fallback.c struct tls_record_info *record; record 244 net/tls/tls_device_fallback.c record = tls_get_record(ctx, tcp_seq, rcd_sn); record 245 net/tls/tls_device_fallback.c if (!record) { record 250 net/tls/tls_device_fallback.c *sync_size = tcp_seq - tls_record_start_seq(record); record 252 net/tls/tls_device_fallback.c int is_start_marker = tls_record_is_start_marker(record); record 272 net/tls/tls_device_fallback.c skb_frag_t *frag = &record->frags[i]; record 143 samples/bpf/xdp_monitor_user.c struct record xdp_cpumap_kthread; record 144 samples/bpf/xdp_monitor_user.c struct record xdp_cpumap_enqueue[MAX_CPUS]; record 145 samples/bpf/xdp_monitor_user.c struct record xdp_devmap_xmit; record 148 samples/bpf/xdp_monitor_user.c static bool map_collect_record(int fd, __u32 key, struct record *rec) record 210 samples/bpf/xdp_monitor_user.c static double calc_period(struct record *r, struct record *p) record 363 samples/bpf/xdp_monitor_user.c struct record *rec, *prev; record 402 samples/bpf/xdp_monitor_user.c struct record *rec, *prev; record 434 samples/bpf/xdp_monitor_user.c struct record *rec, *prev; record 169 samples/bpf/xdp_redirect_cpu_user.c struct record rx_cnt; record 170 samples/bpf/xdp_redirect_cpu_user.c struct record redir_err; record 171 samples/bpf/xdp_redirect_cpu_user.c struct record kthread; record 172 samples/bpf/xdp_redirect_cpu_user.c struct record exception; record 173 samples/bpf/xdp_redirect_cpu_user.c struct record enq[MAX_CPUS]; record 176 samples/bpf/xdp_redirect_cpu_user.c static bool map_collect_percpu(int fd, __u32 key, struct record *rec) record 259 samples/bpf/xdp_redirect_cpu_user.c static double calc_period(struct record *r, struct record *p) record 314 samples/bpf/xdp_redirect_cpu_user.c struct record *rec, *prev; record 580 samples/bpf/xdp_redirect_cpu_user.c struct stats_record *record, *prev; record 582 samples/bpf/xdp_redirect_cpu_user.c record = alloc_stats_record(); record 584 samples/bpf/xdp_redirect_cpu_user.c stats_collect(record); record 591 samples/bpf/xdp_redirect_cpu_user.c swap(&prev, &record); record 592 samples/bpf/xdp_redirect_cpu_user.c stats_collect(record); record 593 samples/bpf/xdp_redirect_cpu_user.c stats_print(record, prev, prog_name); record 599 samples/bpf/xdp_redirect_cpu_user.c free_stats_record(record); record 193 samples/bpf/xdp_rxq_info_user.c struct record stats; record 194 samples/bpf/xdp_rxq_info_user.c struct record *rxq; record 213 samples/bpf/xdp_rxq_info_user.c static struct record *alloc_record_per_rxq(void) record 216 samples/bpf/xdp_rxq_info_user.c struct record *array; record 219 samples/bpf/xdp_rxq_info_user.c size = sizeof(struct record) * nr_rxqs; record 262 samples/bpf/xdp_rxq_info_user.c static bool map_collect_percpu(int fd, __u32 key, struct record *rec) record 304 samples/bpf/xdp_rxq_info_user.c static double calc_period(struct record *r, struct record *p) record 348 samples/bpf/xdp_rxq_info_user.c struct record *rec, *prev; record 439 samples/bpf/xdp_rxq_info_user.c struct stats_record *record, *prev; record 441 samples/bpf/xdp_rxq_info_user.c record = alloc_stats_record(); record 443 samples/bpf/xdp_rxq_info_user.c stats_collect(record); record 446 samples/bpf/xdp_rxq_info_user.c swap(&prev, &record); record 447 samples/bpf/xdp_rxq_info_user.c stats_collect(record); record 448 samples/bpf/xdp_rxq_info_user.c stats_print(record, prev, action, cfg_opt); record 452 samples/bpf/xdp_rxq_info_user.c free_stats_record(record); record 128 sound/oss/dmasound/dmasound.h void (*record)(void); /* optional */ record 588 sound/pci/sis7019.c u32 record = 0; record 618 sound/pci/sis7019.c record |= 1 << voice->num; record 632 sound/pci/sis7019.c if (record) record 633 sound/pci/sis7019.c outl(record, io + SIS_RECORD_START_REG); record 639 sound/pci/sis7019.c if (record) record 640 sound/pci/sis7019.c outl(record, io + SIS_RECORD_STOP_REG); record 80 sound/usb/6fire/firmware.c static bool usb6fire_fw_ihex_next_record(struct ihex_record *record) record 86 sound/usb/6fire/firmware.c record->error = false; record 89 sound/usb/6fire/firmware.c while (record->txt_offset < record->txt_length record 90 sound/usb/6fire/firmware.c && record->txt_data[record->txt_offset] != ':') record 91 sound/usb/6fire/firmware.c record->txt_offset++; record 92 sound/usb/6fire/firmware.c if (record->txt_offset == record->txt_length) record 96 sound/usb/6fire/firmware.c record->txt_offset++; record 97 sound/usb/6fire/firmware.c if (record->txt_offset + 8 > record->txt_length) { record 98 sound/usb/6fire/firmware.c record->error = true; record 102 sound/usb/6fire/firmware.c record->len = usb6fire_fw_ihex_hex(record->txt_data + record 103 sound/usb/6fire/firmware.c record->txt_offset, &crc); record 104 sound/usb/6fire/firmware.c record->txt_offset += 2; record 105 sound/usb/6fire/firmware.c record->address = usb6fire_fw_ihex_hex(record->txt_data + record 106 sound/usb/6fire/firmware.c record->txt_offset, &crc) << 8; record 107 sound/usb/6fire/firmware.c record->txt_offset += 2; record 108 sound/usb/6fire/firmware.c record->address |= usb6fire_fw_ihex_hex(record->txt_data + record 109 sound/usb/6fire/firmware.c record->txt_offset, &crc); record 110 sound/usb/6fire/firmware.c record->txt_offset += 2; record 111 sound/usb/6fire/firmware.c type = usb6fire_fw_ihex_hex(record->txt_data + record 112 sound/usb/6fire/firmware.c record->txt_offset, &crc); record 113 sound/usb/6fire/firmware.c record->txt_offset += 2; record 116 sound/usb/6fire/firmware.c if (record->txt_offset + 2 * (record->len + 1) > record->txt_length) { record 117 sound/usb/6fire/firmware.c record->error = true; record 120 sound/usb/6fire/firmware.c for (i = 0; i < record->len; i++) { record 121 sound/usb/6fire/firmware.c record->data[i] = usb6fire_fw_ihex_hex(record->txt_data record 122 sound/usb/6fire/firmware.c + record->txt_offset, &crc); record 123 sound/usb/6fire/firmware.c record->txt_offset += 2; record 125 sound/usb/6fire/firmware.c usb6fire_fw_ihex_hex(record->txt_data + record->txt_offset, &crc); record 127 sound/usb/6fire/firmware.c record->error = true; record 131 sound/usb/6fire/firmware.c if (type == 1 || !record->len) /* eof */ record 136 sound/usb/6fire/firmware.c record->error = true; record 142 sound/usb/6fire/firmware.c struct ihex_record *record) record 144 sound/usb/6fire/firmware.c record->txt_data = fw->data; record 145 sound/usb/6fire/firmware.c record->txt_length = fw->size; record 146 sound/usb/6fire/firmware.c record->txt_offset = 0; record 147 sound/usb/6fire/firmware.c record->max_len = 0; record 150 sound/usb/6fire/firmware.c while (usb6fire_fw_ihex_next_record(record)) record 151 sound/usb/6fire/firmware.c record->max_len = max(record->len, record->max_len); record 152 sound/usb/6fire/firmware.c if (record->error) record 154 sound/usb/6fire/firmware.c record->txt_offset = 0; record 556 tools/bpf/bpftool/prog.c struct bpf_func_info *record; record 583 tools/bpf/bpftool/prog.c record = func_info + i * info->func_info_rec_size; record 584 tools/bpf/bpftool/prog.c btf_dumper_type_only(btf, record->type_id, record 215 tools/bpf/bpftool/xlated_dumper.c struct bpf_func_info *record; record 224 tools/bpf/bpftool/xlated_dumper.c record = dd->func_info; record 234 tools/bpf/bpftool/xlated_dumper.c if (btf && record) { record 235 tools/bpf/bpftool/xlated_dumper.c if (record->insn_off == i) { record 236 tools/bpf/bpftool/xlated_dumper.c btf_dumper_type_only(btf, record->type_id, record 243 tools/bpf/bpftool/xlated_dumper.c record = (void *)record + dd->finfo_rec_size; record 300 tools/bpf/bpftool/xlated_dumper.c struct bpf_func_info *record; record 308 tools/bpf/bpftool/xlated_dumper.c record = dd->func_info; record 315 tools/bpf/bpftool/xlated_dumper.c if (btf && record) { record 316 tools/bpf/bpftool/xlated_dumper.c if (record->insn_off == i) { record 317 tools/bpf/bpftool/xlated_dumper.c btf_dumper_type_only(btf, record->type_id, record 322 tools/bpf/bpftool/xlated_dumper.c record = (void *)record + dd->finfo_rec_size; record 54 tools/firmware/ihex2fw.c static void file_record(struct ihex_binrec *record); record 134 tools/firmware/ihex2fw.c struct ihex_binrec *record; record 162 tools/firmware/ihex2fw.c record_size = ALIGN(sizeof(*record) + len, 4); record 163 tools/firmware/ihex2fw.c record = malloc(record_size); record 164 tools/firmware/ihex2fw.c if (!record) { record 168 tools/firmware/ihex2fw.c memset(record, 0, record_size); record 169 tools/firmware/ihex2fw.c record->len = len; record 172 tools/firmware/ihex2fw.c if (i + 8 + (record->len * 2) > size) { record 178 tools/firmware/ihex2fw.c record->addr = hex(data + i, &crc) << 8; i += 2; record 179 tools/firmware/ihex2fw.c record->addr |= hex(data + i, &crc); i += 2; record 182 tools/firmware/ihex2fw.c for (j = 0; j < record->len; j++, i += 2) record 183 tools/firmware/ihex2fw.c record->data[j] = hex(data + i, &crc); record 197 tools/firmware/ihex2fw.c if (!record->len) record 200 tools/firmware/ihex2fw.c record->addr += offset; record 201 tools/firmware/ihex2fw.c file_record(record); record 205 tools/firmware/ihex2fw.c if (record->addr || record->len) { record 214 tools/firmware/ihex2fw.c if (record->addr || record->len != 2) { record 222 tools/firmware/ihex2fw.c offset = record->data[0] << 8 | record->data[1]; record 228 tools/firmware/ihex2fw.c if (record->addr || record->len != 4) { record 234 tools/firmware/ihex2fw.c memcpy(&data32, &record->data[0], sizeof(data32)); record 236 tools/firmware/ihex2fw.c memcpy(&record->data[0], &data32, sizeof(data32)); record 241 tools/firmware/ihex2fw.c file_record(record); record 254 tools/firmware/ihex2fw.c static void file_record(struct ihex_binrec *record) record 258 tools/firmware/ihex2fw.c while ((*p) && (!sort_records || (*p)->addr < record->addr)) record 261 tools/firmware/ihex2fw.c record->next = *p; record 262 tools/firmware/ihex2fw.c *p = record; record 179 tools/hv/hv_kvp_daemon.c struct kvp_record *record = kvp_file_info[pool].records; record 194 tools/hv/hv_kvp_daemon.c readp = &record[records_read]; record 212 tools/hv/hv_kvp_daemon.c record = realloc(record, alloc_unit * num_blocks); record 214 tools/hv/hv_kvp_daemon.c if (record == NULL) { record 225 tools/hv/hv_kvp_daemon.c kvp_file_info[pool].records = record; record 272 tools/hv/hv_kvp_daemon.c struct kvp_record *record; record 280 tools/hv/hv_kvp_daemon.c record = kvp_file_info[pool].records; record 283 tools/hv/hv_kvp_daemon.c if (memcmp(key, record[i].key, key_size)) record 298 tools/hv/hv_kvp_daemon.c strcpy(record[j].key, record[k].key); record 299 tools/hv/hv_kvp_daemon.c strcpy(record[j].value, record[k].value); record 315 tools/hv/hv_kvp_daemon.c struct kvp_record *record; record 328 tools/hv/hv_kvp_daemon.c record = kvp_file_info[pool].records; record 332 tools/hv/hv_kvp_daemon.c if (memcmp(key, record[i].key, key_size)) record 338 tools/hv/hv_kvp_daemon.c memcpy(record[i].value, value, value_size); record 348 tools/hv/hv_kvp_daemon.c record = realloc(record, sizeof(struct kvp_record) * record 351 tools/hv/hv_kvp_daemon.c if (record == NULL) record 356 tools/hv/hv_kvp_daemon.c memcpy(record[i].value, value, value_size); record 357 tools/hv/hv_kvp_daemon.c memcpy(record[i].key, key, key_size); record 358 tools/hv/hv_kvp_daemon.c kvp_file_info[pool].records = record; record 369 tools/hv/hv_kvp_daemon.c struct kvp_record *record; record 381 tools/hv/hv_kvp_daemon.c record = kvp_file_info[pool].records; record 384 tools/hv/hv_kvp_daemon.c if (memcmp(key, record[i].key, key_size)) record 389 tools/hv/hv_kvp_daemon.c memcpy(value, record[i].value, value_size); record 399 tools/hv/hv_kvp_daemon.c struct kvp_record *record; record 405 tools/hv/hv_kvp_daemon.c record = kvp_file_info[pool].records; record 411 tools/hv/hv_kvp_daemon.c memcpy(key, record[index].key, key_size); record 412 tools/hv/hv_kvp_daemon.c memcpy(value, record[index].value, value_size); record 5221 tools/lib/traceevent/event-parse.c char *format, struct tep_record *record) record 5234 tools/lib/traceevent/event-parse.c void *data = record->data; record 5465 tools/lib/traceevent/event-parse.c struct tep_event *event, struct tep_record *record) record 5470 tools/lib/traceevent/event-parse.c tep_print_fields(s, record->data, record->size, event); record 5474 tools/lib/traceevent/event-parse.c print_pretty = event->handler(s, record, event, record 5478 tools/lib/traceevent/event-parse.c pretty_print(s, record->data, record->size, event); record 5493 tools/lib/traceevent/event-parse.c tep_find_event_by_record(struct tep_handle *tep, struct tep_record *record) record 5497 tools/lib/traceevent/event-parse.c if (record->size < 0) { record 5498 tools/lib/traceevent/event-parse.c do_warning("ug! negative record size %d", record->size); record 5502 tools/lib/traceevent/event-parse.c type = trace_parse_common_type(tep, record->data); record 5516 tools/lib/traceevent/event-parse.c struct tep_record *record) record 5529 tools/lib/traceevent/event-parse.c time = record->ts; record 5554 tools/lib/traceevent/event-parse.c struct tep_record *record, struct tep_event *event, record 5561 tools/lib/traceevent/event-parse.c data_latency_format(tep, s, type->format, record); record 5563 tools/lib/traceevent/event-parse.c pid = parse_common_pid(tep, record->data); record 5567 tools/lib/traceevent/event-parse.c print_event_info(s, type->format, true, event, record); record 5569 tools/lib/traceevent/event-parse.c print_event_info(s, type->format, false, event, record); record 5579 tools/lib/traceevent/event-parse.c struct tep_record *record, struct tep_event *event, record 5586 tools/lib/traceevent/event-parse.c param = record->cpu; record 5589 tools/lib/traceevent/event-parse.c param = parse_common_pid(tep, record->data); record 5592 tools/lib/traceevent/event-parse.c return print_event_time(tep, s, type->format, event, record); record 5653 tools/lib/traceevent/event-parse.c struct tep_record *record, const char *fmt, ...) record 5666 tools/lib/traceevent/event-parse.c event = tep_find_event_by_record(tep, record); record 5681 tools/lib/traceevent/event-parse.c print_string(tep, s, record, event, record 5685 tools/lib/traceevent/event-parse.c print_int(tep, s, record, event, record 6398 tools/lib/traceevent/event-parse.c const char *name, struct tep_record *record, record 6407 tools/lib/traceevent/event-parse.c if (tep_read_number_field(field, record->data, val)) { record 6431 tools/lib/traceevent/event-parse.c const char *name, struct tep_record *record, record 6435 tools/lib/traceevent/event-parse.c void *data = record->data; record 6478 tools/lib/traceevent/event-parse.c const char *name, struct tep_record *record, record 6488 tools/lib/traceevent/event-parse.c return get_field_val(s, field, name, record, val, err); record 6503 tools/lib/traceevent/event-parse.c const char *name, struct tep_record *record, record 6513 tools/lib/traceevent/event-parse.c return get_field_val(s, field, name, record, val, err); record 6528 tools/lib/traceevent/event-parse.c const char *name, struct tep_record *record, record 6538 tools/lib/traceevent/event-parse.c return get_field_val(s, field, name, record, val, err); record 6555 tools/lib/traceevent/event-parse.c struct tep_record *record, int err) record 6563 tools/lib/traceevent/event-parse.c if (tep_read_number_field(field, record->data, &val)) record 6588 tools/lib/traceevent/event-parse.c struct tep_record *record, int err) record 6599 tools/lib/traceevent/event-parse.c if (tep_read_number_field(field, record->data, &val)) record 63 tools/lib/traceevent/event-parse.h struct tep_record *record, record 456 tools/lib/traceevent/event-parse.h struct tep_record *record, const char *fmt, ...) record 470 tools/lib/traceevent/event-parse.h const char *name, struct tep_record *record, record 474 tools/lib/traceevent/event-parse.h const char *name, struct tep_record *record, record 477 tools/lib/traceevent/event-parse.h const char *name, struct tep_record *record, record 480 tools/lib/traceevent/event-parse.h const char *name, struct tep_record *record, record 485 tools/lib/traceevent/event-parse.h struct tep_record *record, int err); record 489 tools/lib/traceevent/event-parse.h struct tep_record *record, int err); record 527 tools/lib/traceevent/event-parse.h tep_find_event_by_record(struct tep_handle *tep, struct tep_record *record); record 732 tools/lib/traceevent/event-parse.h struct tep_record *record); record 1530 tools/lib/traceevent/parse-filter.c struct tep_record *record, enum tep_errno *err); record 1533 tools/lib/traceevent/parse-filter.c get_comm(struct tep_event *event, struct tep_record *record) record 1538 tools/lib/traceevent/parse-filter.c pid = tep_data_pid(event->tep, record); record 1545 tools/lib/traceevent/parse-filter.c struct tep_format_field *field, struct tep_record *record) record 1553 tools/lib/traceevent/parse-filter.c name = get_comm(event, record); record 1559 tools/lib/traceevent/parse-filter.c return record->cpu; record 1561 tools/lib/traceevent/parse-filter.c tep_read_number_field(field, record->data, &val); record 1581 tools/lib/traceevent/parse-filter.c struct tep_record *record, enum tep_errno *err); record 1585 tools/lib/traceevent/parse-filter.c struct tep_record *record, enum tep_errno *err) record 1589 tools/lib/traceevent/parse-filter.c lval = get_arg_value(event, arg->exp.left, record, err); record 1590 tools/lib/traceevent/parse-filter.c rval = get_arg_value(event, arg->exp.right, record, err); record 1640 tools/lib/traceevent/parse-filter.c struct tep_record *record, enum tep_errno *err) record 1644 tools/lib/traceevent/parse-filter.c return get_value(event, arg->field.field, record); record 1654 tools/lib/traceevent/parse-filter.c return get_exp_value(event, arg, record, err); record 1664 tools/lib/traceevent/parse-filter.c struct tep_record *record, enum tep_errno *err) record 1668 tools/lib/traceevent/parse-filter.c lval = get_arg_value(event, arg->num.left, record, err); record 1669 tools/lib/traceevent/parse-filter.c rval = get_arg_value(event, arg->num.right, record, err); record 1704 tools/lib/traceevent/parse-filter.c static const char *get_field_str(struct tep_filter_arg *arg, struct tep_record *record) record 1715 tools/lib/traceevent/parse-filter.c val = record->data + arg->str.field->offset; record 1720 tools/lib/traceevent/parse-filter.c val = record->data + (addr & 0xffff); record 1738 tools/lib/traceevent/parse-filter.c addr = get_value(event, arg->str.field, record); record 1755 tools/lib/traceevent/parse-filter.c struct tep_record *record, enum tep_errno *err) record 1760 tools/lib/traceevent/parse-filter.c val = get_comm(event, record); record 1762 tools/lib/traceevent/parse-filter.c val = get_field_str(arg, record); record 1786 tools/lib/traceevent/parse-filter.c struct tep_record *record, enum tep_errno *err) record 1790 tools/lib/traceevent/parse-filter.c return test_filter(event, arg->op.left, record, err) && record 1791 tools/lib/traceevent/parse-filter.c test_filter(event, arg->op.right, record, err); record 1794 tools/lib/traceevent/parse-filter.c return test_filter(event, arg->op.left, record, err) || record 1795 tools/lib/traceevent/parse-filter.c test_filter(event, arg->op.right, record, err); record 1798 tools/lib/traceevent/parse-filter.c return !test_filter(event, arg->op.right, record, err); record 1808 tools/lib/traceevent/parse-filter.c struct tep_record *record, enum tep_errno *err) record 1823 tools/lib/traceevent/parse-filter.c return test_op(event, arg, record, err); record 1826 tools/lib/traceevent/parse-filter.c return test_num(event, arg, record, err); record 1829 tools/lib/traceevent/parse-filter.c return test_str(event, arg, record, err); record 1838 tools/lib/traceevent/parse-filter.c return !!get_arg_value(event, arg, record, err); record 1880 tools/lib/traceevent/parse-filter.c struct tep_record *record) record 1893 tools/lib/traceevent/parse-filter.c event_id = tep_data_type(tep, record); record 1899 tools/lib/traceevent/parse-filter.c ret = test_filter(filter_type->event, filter_type->filter, record, &err); record 126 tools/lib/traceevent/plugins/plugin_function.c static int function_handler(struct trace_seq *s, struct tep_record *record, record 136 tools/lib/traceevent/plugins/plugin_function.c if (tep_get_field_val(s, event, "ip", record, &function, 1)) record 141 tools/lib/traceevent/plugins/plugin_function.c if (tep_get_field_val(s, event, "parent_ip", record, &pfunction, 1)) record 147 tools/lib/traceevent/plugins/plugin_function.c index = add_and_get_index(parent, func, record->cpu); record 29 tools/lib/traceevent/plugins/plugin_hrtimer.c struct tep_record *record, record 35 tools/lib/traceevent/plugins/plugin_hrtimer.c record, 0) == -1) record 37 tools/lib/traceevent/plugins/plugin_hrtimer.c record, 1); record 41 tools/lib/traceevent/plugins/plugin_hrtimer.c tep_print_num_field(s, "%llu", event, "now", record, 1); record 44 tools/lib/traceevent/plugins/plugin_hrtimer.c record, 0); record 49 tools/lib/traceevent/plugins/plugin_hrtimer.c struct tep_record *record, record 55 tools/lib/traceevent/plugins/plugin_hrtimer.c record, 0) == -1) record 57 tools/lib/traceevent/plugins/plugin_hrtimer.c record, 1); record 60 tools/lib/traceevent/plugins/plugin_hrtimer.c record, 0); record 63 tools/lib/traceevent/plugins/plugin_hrtimer.c tep_print_num_field(s, "%llu", event, "expires", record, 1); record 66 tools/lib/traceevent/plugins/plugin_hrtimer.c tep_print_num_field(s, "%llu", event, "softexpires", record, 1); record 27 tools/lib/traceevent/plugins/plugin_kmem.c static int call_site_handler(struct trace_seq *s, struct tep_record *record, record 32 tools/lib/traceevent/plugins/plugin_kmem.c void *data = record->data; record 251 tools/lib/traceevent/plugins/plugin_kvm.c static int print_exit_reason(struct trace_seq *s, struct tep_record *record, record 258 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, field, record, &val, 1) < 0) record 261 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "isa", record, &isa, 0) < 0) record 272 tools/lib/traceevent/plugins/plugin_kvm.c static int kvm_exit_handler(struct trace_seq *s, struct tep_record *record, record 277 tools/lib/traceevent/plugins/plugin_kvm.c if (print_exit_reason(s, record, event, "exit_reason") < 0) record 280 tools/lib/traceevent/plugins/plugin_kvm.c tep_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); record 282 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "info1", record, &info1, 0) >= 0 record 283 tools/lib/traceevent/plugins/plugin_kvm.c && tep_get_field_val(s, event, "info2", record, &info2, 0) >= 0) record 295 tools/lib/traceevent/plugins/plugin_kvm.c struct tep_record *record, record 303 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "rip", record, &rip, 1) < 0) record 306 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "csbase", record, &csbase, 1) < 0) record 309 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "len", record, &len, 1) < 0) record 312 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "flags", record, &flags, 1) < 0) record 315 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "failed", record, &failed, 1) < 0) record 318 tools/lib/traceevent/plugins/plugin_kvm.c insn = tep_get_field_raw(s, event, "insn", record, &llen, 1); record 334 tools/lib/traceevent/plugins/plugin_kvm.c static int kvm_nested_vmexit_inject_handler(struct trace_seq *s, struct tep_record *record, record 337 tools/lib/traceevent/plugins/plugin_kvm.c if (print_exit_reason(s, record, event, "exit_code") < 0) record 340 tools/lib/traceevent/plugins/plugin_kvm.c tep_print_num_field(s, " info1 %llx", event, "exit_info1", record, 1); record 341 tools/lib/traceevent/plugins/plugin_kvm.c tep_print_num_field(s, " info2 %llx", event, "exit_info2", record, 1); record 342 tools/lib/traceevent/plugins/plugin_kvm.c tep_print_num_field(s, " int_info %llx", event, "exit_int_info", record, 1); record 343 tools/lib/traceevent/plugins/plugin_kvm.c tep_print_num_field(s, " int_info_err %llx", event, "exit_int_info_err", record, 1); record 348 tools/lib/traceevent/plugins/plugin_kvm.c static int kvm_nested_vmexit_handler(struct trace_seq *s, struct tep_record *record, record 351 tools/lib/traceevent/plugins/plugin_kvm.c tep_print_num_field(s, "rip %llx ", event, "rip", record, 1); record 353 tools/lib/traceevent/plugins/plugin_kvm.c return kvm_nested_vmexit_inject_handler(s, record, event, context); record 374 tools/lib/traceevent/plugins/plugin_kvm.c static int kvm_mmu_print_role(struct trace_seq *s, struct tep_record *record, record 383 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "role", record, &val, 1) < 0) record 411 tools/lib/traceevent/plugins/plugin_kvm.c "root_count", record, 1); record 413 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "unsync", record, &val, 1) < 0) record 421 tools/lib/traceevent/plugins/plugin_kvm.c struct tep_record *record, record 426 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "created", record, &val, 1) < 0) record 431 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, "gfn", record, &val, 1) < 0) record 435 tools/lib/traceevent/plugins/plugin_kvm.c return kvm_mmu_print_role(s, record, event, context); record 57 tools/lib/traceevent/plugins/plugin_mac80211.c #define SF(fn) tep_print_num_field(s, fn ":%d", event, fn, record, 0) record 58 tools/lib/traceevent/plugins/plugin_mac80211.c #define SFX(fn) tep_print_num_field(s, fn ":%#x", event, fn, record, 0) record 62 tools/lib/traceevent/plugins/plugin_mac80211.c struct tep_record *record, record 65 tools/lib/traceevent/plugins/plugin_mac80211.c void *data = record->data; record 70 tools/lib/traceevent/plugins/plugin_mac80211.c tep_print_num_field(s, "(%d)", event, "vif_type", record, 1); record 49 tools/lib/traceevent/plugins/plugin_sched_switch.c struct tep_record *record, record 55 tools/lib/traceevent/plugins/plugin_sched_switch.c comm = (char *)(record->data + field->offset); record 69 tools/lib/traceevent/plugins/plugin_sched_switch.c struct tep_record *record, record 75 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "pid", record, &val, 1)) record 80 tools/lib/traceevent/plugins/plugin_sched_switch.c write_and_save_comm(field, record, s, val); record 85 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "prio", record, &val, 0) == 0) record 88 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "success", record, &val, 1) == 0) record 91 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "target_cpu", record, &val, 0) == 0) record 98 tools/lib/traceevent/plugins/plugin_sched_switch.c struct tep_record *record, record 104 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "prev_pid", record, &val, 1)) record 109 tools/lib/traceevent/plugins/plugin_sched_switch.c write_and_save_comm(field, record, s, val); record 114 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "prev_prio", record, &val, 0) == 0) record 117 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "prev_state", record, &val, 0) == 0) record 122 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "next_pid", record, &val, 1)) record 127 tools/lib/traceevent/plugins/plugin_sched_switch.c write_and_save_comm(field, record, s, val); record 132 tools/lib/traceevent/plugins/plugin_sched_switch.c if (tep_get_field_val(s, event, "next_prio", record, &val, 0) == 0) record 2926 tools/perf/builtin-c2c.c perf_mem_events[PERF_MEM_EVENTS__LOAD].record = true; record 2927 tools/perf/builtin-c2c.c perf_mem_events[PERF_MEM_EVENTS__STORE].record = true; record 2930 tools/perf/builtin-c2c.c if (perf_mem_events[PERF_MEM_EVENTS__LOAD].record) record 2938 tools/perf/builtin-c2c.c if (!perf_mem_events[j].record) record 738 tools/perf/builtin-kmem.c struct tep_record record = { record 757 tools/perf/builtin-kmem.c &seq, &record, "%s", TEP_PRINT_INFO); record 100 tools/perf/builtin-mem.c perf_mem_events[PERF_MEM_EVENTS__LOAD].record = true; record 103 tools/perf/builtin-mem.c perf_mem_events[PERF_MEM_EVENTS__STORE].record = true; record 105 tools/perf/builtin-mem.c if (perf_mem_events[PERF_MEM_EVENTS__LOAD].record) record 114 tools/perf/builtin-mem.c if (!perf_mem_events[j].record) record 104 tools/perf/builtin-record.c static bool switch_output_signal(struct record *rec) record 110 tools/perf/builtin-record.c static bool switch_output_size(struct record *rec) record 117 tools/perf/builtin-record.c static bool switch_output_time(struct record *rec) record 123 tools/perf/builtin-record.c static int record__write(struct record *rec, struct mmap *map __maybe_unused, record 141 tools/perf/builtin-record.c static int record__aio_enabled(struct record *rec); record 142 tools/perf/builtin-record.c static int record__comp_enabled(struct record *rec); record 254 tools/perf/builtin-record.c struct record *rec; record 304 tools/perf/builtin-record.c static int record__aio_push(struct record *rec, struct mmap *map, off_t *off) record 351 tools/perf/builtin-record.c static void record__aio_mmap_read_sync(struct record *rec) record 391 tools/perf/builtin-record.c static int record__aio_push(struct record *rec __maybe_unused, struct mmap *map __maybe_unused, record 406 tools/perf/builtin-record.c static void record__aio_mmap_read_sync(struct record *rec __maybe_unused) record 411 tools/perf/builtin-record.c static int record__aio_enabled(struct record *rec) record 472 tools/perf/builtin-record.c static int record__comp_enabled(struct record *rec) record 482 tools/perf/builtin-record.c struct record *rec = container_of(tool, struct record, tool); record 488 tools/perf/builtin-record.c struct record *rec = to; record 535 tools/perf/builtin-record.c struct record *rec = container_of(tool, struct record, tool); record 568 tools/perf/builtin-record.c static int record__auxtrace_mmap_read(struct record *rec, record 584 tools/perf/builtin-record.c static int record__auxtrace_mmap_read_snapshot(struct record *rec, record 601 tools/perf/builtin-record.c static int record__auxtrace_read_snapshot_all(struct record *rec) record 621 tools/perf/builtin-record.c static void record__read_auxtrace_snapshot(struct record *rec, bool on_exit) record 634 tools/perf/builtin-record.c static int record__auxtrace_snapshot_exit(struct record *rec) record 650 tools/perf/builtin-record.c static int record__auxtrace_init(struct record *rec) record 671 tools/perf/builtin-record.c int record__auxtrace_mmap_read(struct record *rec __maybe_unused, record 678 tools/perf/builtin-record.c void record__read_auxtrace_snapshot(struct record *rec __maybe_unused, record 690 tools/perf/builtin-record.c int record__auxtrace_snapshot_exit(struct record *rec __maybe_unused) record 695 tools/perf/builtin-record.c static int record__auxtrace_init(struct record *rec __maybe_unused) record 702 tools/perf/builtin-record.c static int record__mmap_evlist(struct record *rec, record 736 tools/perf/builtin-record.c static int record__mmap(struct record *rec) record 741 tools/perf/builtin-record.c static int record__open(struct record *rec) record 827 tools/perf/builtin-record.c struct record *rec = container_of(tool, struct record, tool); record 841 tools/perf/builtin-record.c static int process_buildids(struct record *rec) record 905 tools/perf/builtin-record.c static void record__adjust_affinity(struct record *rec, struct mmap *map) record 915 tools/perf/builtin-record.c static size_t process_comp_header(void *record, size_t increment) record 917 tools/perf/builtin-record.c struct perf_record_compressed *event = record; record 946 tools/perf/builtin-record.c static int record__mmap_read_evlist(struct record *rec, struct evlist *evlist, record 1022 tools/perf/builtin-record.c static int record__mmap_read_all(struct record *rec, bool synch) record 1033 tools/perf/builtin-record.c static void record__init_features(struct record *rec) record 1064 tools/perf/builtin-record.c record__finish_output(struct record *rec) record 1086 tools/perf/builtin-record.c static int record__synthesize_workload(struct record *rec, bool tail) record 1106 tools/perf/builtin-record.c static int record__synthesize(struct record *rec, bool tail); record 1109 tools/perf/builtin-record.c record__switch_output(struct record *rec, bool at_exit) record 1209 tools/perf/builtin-record.c static const struct perf_event_mmap_page *record__pick_pc(struct record *rec) record 1219 tools/perf/builtin-record.c static int record__synthesize(struct record *rec, bool tail) record 1335 tools/perf/builtin-record.c static int __cmd_record(struct record *rec, int argc, const char **argv) record 1749 tools/perf/builtin-record.c int record_opts__parse_callchain(struct record_opts *record, record 1767 tools/perf/builtin-record.c record->sample_address = true; record 1798 tools/perf/builtin-record.c struct record *rec = cb; record 1982 tools/perf/builtin-record.c static void switch_output_size_warn(struct record *rec) record 1999 tools/perf/builtin-record.c static int switch_output_setup(struct record *rec) record 2071 tools/perf/builtin-record.c static struct record record = { record 2109 tools/perf/builtin-record.c OPT_CALLBACK('e', "event", &record.evlist, "event", record 2112 tools/perf/builtin-record.c OPT_CALLBACK(0, "filter", &record.evlist, "filter", record 2114 tools/perf/builtin-record.c OPT_CALLBACK_NOOPT(0, "exclude-perf", &record.evlist, record 2117 tools/perf/builtin-record.c OPT_STRING('p', "pid", &record.opts.target.pid, "pid", record 2119 tools/perf/builtin-record.c OPT_STRING('t', "tid", &record.opts.target.tid, "tid", record 2121 tools/perf/builtin-record.c OPT_INTEGER('r', "realtime", &record.realtime_prio, record 2123 tools/perf/builtin-record.c OPT_BOOLEAN(0, "no-buffering", &record.opts.no_buffering, record 2125 tools/perf/builtin-record.c OPT_BOOLEAN('R', "raw-samples", &record.opts.raw_samples, record 2127 tools/perf/builtin-record.c OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide, record 2129 tools/perf/builtin-record.c OPT_STRING('C', "cpu", &record.opts.target.cpu_list, "cpu", record 2131 tools/perf/builtin-record.c OPT_U64('c', "count", &record.opts.user_interval, "event period to sample"), record 2132 tools/perf/builtin-record.c OPT_STRING('o', "output", &record.data.path, "file", record 2134 tools/perf/builtin-record.c OPT_BOOLEAN_SET('i', "no-inherit", &record.opts.no_inherit, record 2135 tools/perf/builtin-record.c &record.opts.no_inherit_set, record 2137 tools/perf/builtin-record.c OPT_BOOLEAN(0, "tail-synthesize", &record.opts.tail_synthesize, record 2139 tools/perf/builtin-record.c OPT_BOOLEAN(0, "overwrite", &record.opts.overwrite, "use overwrite mode"), record 2140 tools/perf/builtin-record.c OPT_BOOLEAN(0, "no-bpf-event", &record.opts.no_bpf_event, "record bpf events"), record 2141 tools/perf/builtin-record.c OPT_BOOLEAN(0, "strict-freq", &record.opts.strict_freq, record 2143 tools/perf/builtin-record.c OPT_CALLBACK('F', "freq", &record.opts, "freq or 'max'", record 2146 tools/perf/builtin-record.c OPT_CALLBACK('m', "mmap-pages", &record.opts, "pages[,pages]", record 2149 tools/perf/builtin-record.c OPT_CALLBACK(0, "mmap-flush", &record.opts, "number", record 2152 tools/perf/builtin-record.c OPT_BOOLEAN(0, "group", &record.opts.group, record 2157 tools/perf/builtin-record.c OPT_CALLBACK(0, "call-graph", &record.opts, record 2163 tools/perf/builtin-record.c OPT_BOOLEAN('s', "stat", &record.opts.inherit_stat, record 2165 tools/perf/builtin-record.c OPT_BOOLEAN('d', "data", &record.opts.sample_address, "Record the sample addresses"), record 2166 tools/perf/builtin-record.c OPT_BOOLEAN(0, "phys-data", &record.opts.sample_phys_addr, record 2168 tools/perf/builtin-record.c OPT_BOOLEAN(0, "sample-cpu", &record.opts.sample_cpu, "Record the sample cpu"), record 2169 tools/perf/builtin-record.c OPT_BOOLEAN_SET('T', "timestamp", &record.opts.sample_time, record 2170 tools/perf/builtin-record.c &record.opts.sample_time_set, record 2172 tools/perf/builtin-record.c OPT_BOOLEAN_SET('P', "period", &record.opts.period, &record.opts.period_set, record 2174 tools/perf/builtin-record.c OPT_BOOLEAN('n', "no-samples", &record.opts.no_samples, record 2176 tools/perf/builtin-record.c OPT_BOOLEAN_SET('N', "no-buildid-cache", &record.no_buildid_cache, record 2177 tools/perf/builtin-record.c &record.no_buildid_cache_set, record 2179 tools/perf/builtin-record.c OPT_BOOLEAN_SET('B', "no-buildid", &record.no_buildid, record 2180 tools/perf/builtin-record.c &record.no_buildid_set, record 2182 tools/perf/builtin-record.c OPT_CALLBACK('G', "cgroup", &record.evlist, "name", record 2185 tools/perf/builtin-record.c OPT_UINTEGER('D', "delay", &record.opts.initial_delay, record 2187 tools/perf/builtin-record.c OPT_STRING('u', "uid", &record.opts.target.uid_str, "user", record 2190 tools/perf/builtin-record.c OPT_CALLBACK_NOOPT('b', "branch-any", &record.opts.branch_stack, record 2194 tools/perf/builtin-record.c OPT_CALLBACK('j', "branch-filter", &record.opts.branch_stack, record 2197 tools/perf/builtin-record.c OPT_BOOLEAN('W', "weight", &record.opts.sample_weight, record 2199 tools/perf/builtin-record.c OPT_BOOLEAN(0, "transaction", &record.opts.sample_transaction, record 2201 tools/perf/builtin-record.c OPT_BOOLEAN(0, "per-thread", &record.opts.target.per_thread, record 2203 tools/perf/builtin-record.c OPT_CALLBACK_OPTARG('I', "intr-regs", &record.opts.sample_intr_regs, NULL, "any register", record 2206 tools/perf/builtin-record.c OPT_CALLBACK_OPTARG(0, "user-regs", &record.opts.sample_user_regs, NULL, "any register", record 2209 tools/perf/builtin-record.c OPT_BOOLEAN(0, "running-time", &record.opts.running_time, record 2211 tools/perf/builtin-record.c OPT_CALLBACK('k', "clockid", &record.opts, record 2214 tools/perf/builtin-record.c OPT_STRING_OPTARG('S', "snapshot", &record.opts.auxtrace_snapshot_opts, record 2218 tools/perf/builtin-record.c OPT_BOOLEAN(0, "namespaces", &record.opts.record_namespaces, record 2220 tools/perf/builtin-record.c OPT_BOOLEAN(0, "switch-events", &record.opts.record_switch_events, record 2222 tools/perf/builtin-record.c OPT_BOOLEAN_FLAG(0, "all-kernel", &record.opts.all_kernel, record 2225 tools/perf/builtin-record.c OPT_BOOLEAN_FLAG(0, "all-user", &record.opts.all_user, record 2228 tools/perf/builtin-record.c OPT_BOOLEAN(0, "kernel-callchains", &record.opts.kernel_callchains, record 2230 tools/perf/builtin-record.c OPT_BOOLEAN(0, "user-callchains", &record.opts.user_callchains, record 2238 tools/perf/builtin-record.c OPT_BOOLEAN(0, "buildid-all", &record.buildid_all, record 2240 tools/perf/builtin-record.c OPT_BOOLEAN(0, "timestamp-filename", &record.timestamp_filename, record 2242 tools/perf/builtin-record.c OPT_BOOLEAN(0, "timestamp-boundary", &record.timestamp_boundary, record 2244 tools/perf/builtin-record.c OPT_STRING_OPTARG_SET(0, "switch-output", &record.switch_output.str, record 2245 tools/perf/builtin-record.c &record.switch_output.set, "signal or size[BKMG] or time[smhd]", record 2248 tools/perf/builtin-record.c OPT_INTEGER(0, "switch-max-files", &record.switch_output.num_files, record 2253 tools/perf/builtin-record.c OPT_CALLBACK_OPTARG(0, "aio", &record.opts, record 2257 tools/perf/builtin-record.c OPT_CALLBACK(0, "affinity", &record.opts, "node|cpu", record 2261 tools/perf/builtin-record.c OPT_CALLBACK_OPTARG('z', "compression-level", &record.opts, &comp_level_default, record 2273 tools/perf/builtin-record.c struct record *rec = &record; record 2410 tools/perf/builtin-record.c if (record.opts.overwrite) record 2411 tools/perf/builtin-record.c record.opts.tail_synthesize = true; record 2414 tools/perf/builtin-record.c __perf_evlist__add_default(rec->evlist, !record.opts.no_samples) < 0) { record 2474 tools/perf/builtin-record.c err = __cmd_record(&record, argc, argv); record 2484 tools/perf/builtin-record.c struct record *rec = &record; record 2489 tools/perf/builtin-record.c if (auxtrace_record__snapshot_start(record.itr)) record 2499 tools/perf/builtin-record.c struct record *rec = &record; record 165 tools/perf/builtin-stat.c bool record; record 177 tools/perf/builtin-stat.c #define STAT_RECORD perf_stat.record record 1449 tools/perf/builtin-stat.c perf_stat.record = true; record 237 tools/perf/util/callchain.h int record_opts__parse_callchain(struct record_opts *record, record 34 tools/perf/util/compress.h size_t process_header(void *record, size_t increment)); record 55 tools/perf/util/compress.h size_t process_header(void *record, size_t increment) __maybe_unused) record 67 tools/perf/util/mem-events.c e->record = found = true; record 14 tools/perf/util/mem-events.h bool record; record 103 tools/perf/util/trace-event-parse.c struct tep_record record; record 106 tools/perf/util/trace-event-parse.c memset(&record, 0, sizeof(record)); record 107 tools/perf/util/trace-event-parse.c record.cpu = cpu; record 108 tools/perf/util/trace-event-parse.c record.size = size; record 109 tools/perf/util/trace-event-parse.c record.data = data; record 112 tools/perf/util/trace-event-parse.c tep_print_event(event->tep, &s, &record, "%s", TEP_PRINT_INFO); record 59 tools/perf/util/zstd.c size_t process_header(void *record, size_t increment)) record 64 tools/perf/util/zstd.c void *record; record 67 tools/perf/util/zstd.c record = dst; record 68 tools/perf/util/zstd.c size = process_header(record, 0); record 83 tools/perf/util/zstd.c size = process_header(record, size); record 889 tools/testing/nvdimm/test/nfit.c err_stat->record[i].err_inj_stat_spa_range_base = be->start; record 890 tools/testing/nvdimm/test/nfit.c err_stat->record[i].err_inj_stat_spa_range_length = be->length; record 2698 tools/testing/nvdimm/test/nfit.c struct nd_ars_record *record; record 2832 tools/testing/nvdimm/test/nfit.c record = &cmds.ars_stat.records[0]; record 2833 tools/testing/nvdimm/test/nfit.c *record = (struct nd_ars_record) { record 2842 tools/testing/nvdimm/test/nfit.c if (rc < 0 || cmd_rc || record->length != test_val) { record 2854 tools/testing/nvdimm/test/nfit.c record = &cmds.ars_stat.records[0]; record 2855 tools/testing/nvdimm/test/nfit.c *record = (struct nd_ars_record) { record 2864 tools/testing/nvdimm/test/nfit.c if (rc < 0 || cmd_rc || record->length != test_val) { record 77 tools/testing/nvdimm/test/nfit_test.h } __packed record[0];