/kernel/liteos_a/drivers/char/trace/src/ |
H A D | trace.c | 66 OfflineHead *records; in TraceRead() local 75 records = LOS_TraceRecordGet(); in TraceRead() 76 if (records == NULL) { in TraceRead() 81 realLen = buflen < records->totalLen ? buflen : records->totalLen; in TraceRead() 82 ret = LOS_CopyFromKernel((void *)buffer, buflen, (void *)records, realLen); in TraceRead()
|
/kernel/liteos_a/drivers/char/perf/src/ |
H A D | perf.c | 67 char *records = LOS_MemAlloc(m_aucSysMem0, buflen); in PerfRead() local 68 if (records == NULL) { in PerfRead() 72 realLen = LOS_PerfDataRead(records, buflen); /* get sample data */ in PerfRead() 79 ret = LOS_CopyFromKernel((void *)buffer, buflen, (void *)records, realLen); in PerfRead() 87 LOS_MemFree(m_aucSysMem0, records); in PerfRead()
|
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/ |
H A D | pmu_intel.c | 184 struct x86_pmu_lbr *records = vcpu_to_lbr_records(vcpu); in intel_pmu_is_valid_lbr_msr() local 191 (index >= records->from && index < records->from + records->nr) || in intel_pmu_is_valid_lbr_msr() 192 (index >= records->to && index < records->to + records->nr); in intel_pmu_is_valid_lbr_msr() 194 if (!ret && records->info) in intel_pmu_is_valid_lbr_msr() 195 ret = (index >= records->info && index < records in intel_pmu_is_valid_lbr_msr() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras_eeprom.c | 171 static uint32_t __calc_recs_byte_sum(struct eeprom_table_record *records, in __calc_recs_byte_sum() argument 179 struct eeprom_table_record *record = &records[i]; in __calc_recs_byte_sum() 190 struct eeprom_table_record *records, int num) in __calc_tbl_byte_sum() 192 return __calc_hdr_byte_sum(control) + __calc_recs_byte_sum(records, num); in __calc_tbl_byte_sum() 197 struct eeprom_table_record *records, int num, in __update_tbl_checksum() 201 * This will update the table sum with new records. in __update_tbl_checksum() 204 * and old records from start will get overridden. in __update_tbl_checksum() 209 control->tbl_byte_sum += __calc_tbl_byte_sum(control, records, num); in __update_tbl_checksum() 216 struct eeprom_table_record *records, int num) in __validate_tbl_checksum() 218 control->tbl_byte_sum = __calc_tbl_byte_sum(control, records, nu in __validate_tbl_checksum() 189 __calc_tbl_byte_sum(struct amdgpu_ras_eeprom_control *control, struct eeprom_table_record *records, int num) __calc_tbl_byte_sum() argument 196 __update_tbl_checksum(struct amdgpu_ras_eeprom_control *control, struct eeprom_table_record *records, int num, uint32_t old_hdr_byte_sum) __update_tbl_checksum() argument 215 __validate_tbl_checksum(struct amdgpu_ras_eeprom_control *control, struct eeprom_table_record *records, int num) __validate_tbl_checksum() argument 470 amdgpu_ras_eeprom_process_recods(struct amdgpu_ras_eeprom_control *control, struct eeprom_table_record *records, bool write, int num) amdgpu_ras_eeprom_process_recods() argument [all...] |
H A D | amdgpu_ras_eeprom.h | 88 struct eeprom_table_record *records,
|
/kernel/linux/linux-5.10/tools/hv/ |
H A D | hv_kvp_daemon.c | 114 struct kvp_record *records; member 163 fwrite(kvp_file_info[pool].records, sizeof(struct kvp_record), in kvp_update_file() 179 struct kvp_record *record = kvp_file_info[pool].records; in kvp_update_mem_state() 225 kvp_file_info[pool].records = record; in kvp_update_mem_state() 257 kvp_file_info[i].records = malloc(alloc_unit); in kvp_file_init() 258 if (kvp_file_info[i].records == NULL) in kvp_file_init() 280 record = kvp_file_info[pool].records; in kvp_key_delete() 328 record = kvp_file_info[pool].records; in kvp_key_add_or_modify() 358 kvp_file_info[pool].records = record; in kvp_key_add_or_modify() 381 record = kvp_file_info[pool].records; in kvp_get_value() [all...] |
/kernel/linux/linux-6.6/tools/hv/ |
H A D | hv_kvp_daemon.c | 114 struct kvp_record *records; member 163 fwrite(kvp_file_info[pool].records, sizeof(struct kvp_record), in kvp_update_file() 179 struct kvp_record *record = kvp_file_info[pool].records; in kvp_update_mem_state() 225 kvp_file_info[pool].records = record; in kvp_update_mem_state() 257 kvp_file_info[i].records = malloc(alloc_unit); in kvp_file_init() 258 if (kvp_file_info[i].records == NULL) in kvp_file_init() 280 record = kvp_file_info[pool].records; in kvp_key_delete() 328 record = kvp_file_info[pool].records; in kvp_key_add_or_modify() 358 kvp_file_info[pool].records = record; in kvp_key_add_or_modify() 381 record = kvp_file_info[pool].records; in kvp_get_value() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras_eeprom.h | 74 * and where the records start--always 81 /* Number of records in the table. 92 /* Maximum possible number of records 140 struct eeprom_table_record *records, const u32 num); 143 struct eeprom_table_record *records, const u32 num);
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
H A D | cpuidle-pseries.c | 149 // Make space for 16 records, which "should be enough". 152 struct xcede_latency_record records[16]; member 202 struct xcede_latency_record *record = &payload->records[i]; in parse_cede_parameters() 362 struct xcede_latency_record *record = &payload->records[i]; in fixup_cede0_latency()
|
/kernel/linux/linux-5.10/tools/firmware/ |
H A D | ihex2fw.c | 66 fprintf(stderr, " -w: wide records (16-bit length)\n"); in usage() 67 fprintf(stderr, " -s: sort records by address\n"); in usage() 68 fprintf(stderr, " -j: include records for CS:IP/EIP address\n"); in usage() 165 fprintf(stderr, "out of memory for records\n"); in process_ihex() 238 /* These records contain the CS/IP or EIP where execution in process_ihex() 252 static struct ihex_binrec *records; variable 256 struct ihex_binrec **p = &records; in file_record() 273 struct ihex_binrec *p = records; in output_records()
|
/kernel/linux/linux-6.6/drivers/cpuidle/ |
H A D | cpuidle-pseries.c | 151 // Make space for 16 records, which "should be enough". 154 struct xcede_latency_record records[16]; member 204 struct xcede_latency_record *record = &payload->records[i]; in parse_cede_parameters() 372 struct xcede_latency_record *record = &payload->records[i]; in fixup_cede0_latency()
|
/kernel/linux/linux-6.6/tools/firmware/ |
H A D | ihex2fw.c | 66 fprintf(stderr, " -w: wide records (16-bit length)\n"); in usage() 67 fprintf(stderr, " -s: sort records by address\n"); in usage() 68 fprintf(stderr, " -j: include records for CS:IP/EIP address\n"); in usage() 165 fprintf(stderr, "out of memory for records\n"); in process_ihex() 238 /* These records contain the CS/IP or EIP where execution in process_ihex() 252 static struct ihex_binrec *records; variable 256 struct ihex_binrec **p = &records; in file_record() 273 struct ihex_binrec *p = records; in output_records()
|
/kernel/linux/linux-5.10/lib/pldmfw/ |
H A D | pldmfw.c | 27 struct list_head records; member 42 /* Start pf the firmware device id records */ 183 data->record_start = record_area->records; in pldm_parse_header() 336 list_add_tail(&record->entry, &data->records); in pldm_parse_one_record() 554 list_for_each_entry_safe(record, r_safe, &data->records, entry) { in pldmfw_free_priv() 617 * @record: list of records extracted from the PLDM image 687 * Search through PLDM records and find the first matching entry. It is 698 list_for_each_entry(record, &data->records, entry) { in pldm_find_matching_record() 841 INIT_LIST_HEAD(&data->records); in pldmfw_flash_image()
|
H A D | pldmfw_private.h | 101 u8 records[]; member 172 * @start: byte offset of the start of the PLDM records 174 * Converts a starting offset of the PLDM records into a pointer to the first 194 * @start: byte offset of the start of the records 195 * @count: the number of records 197 * for loop macro to iterate over all of the records of a PLDM file.
|
/kernel/linux/linux-6.6/lib/pldmfw/ |
H A D | pldmfw.c | 27 struct list_head records; member 42 /* Start pf the firmware device id records */ 183 data->record_start = record_area->records; in pldm_parse_header() 336 list_add_tail(&record->entry, &data->records); in pldm_parse_one_record() 554 list_for_each_entry_safe(record, r_safe, &data->records, entry) { in pldmfw_free_priv() 617 * @record: list of records extracted from the PLDM image 687 * Search through PLDM records and find the first matching entry. It is 698 list_for_each_entry(record, &data->records, entry) { in pldm_find_matching_record() 841 INIT_LIST_HEAD(&data->records); in pldmfw_flash_image()
|
H A D | pldmfw_private.h | 101 u8 records[]; member 172 * @start: byte offset of the start of the PLDM records 174 * Converts a starting offset of the PLDM records into a pointer to the first 194 * @start: byte offset of the start of the records 195 * @count: the number of records 197 * for loop macro to iterate over all of the records of a PLDM file.
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | ftrace.c | 426 struct ftrace_profile records[]; member 438 (PAGE_SIZE - offsetof(struct ftrace_profile_page, records)) 465 if ((void *)rec >= (void *)&pg->records[pg->index]) { in function_stat_next() 469 rec = &pg->records[0]; in function_stat_next() 485 return function_stat_next(&stat->start->records[0], 0); in function_stat_start() 603 memset(pg->records, 0, PROFILE_RECORDS_SIZE); in ftrace_profile_reset() 773 rec = &stat->pages->records[stat->pages->index++]; in ftrace_profile_alloc() 1117 struct dyn_ftrace *records; member 1541 rec = &pg->records[_____i]; 1571 end < pg->records[ in lookup_rec() [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | ftrace.c | 398 struct ftrace_profile records[]; member 410 (PAGE_SIZE - offsetof(struct ftrace_profile_page, records)) 437 if ((void *)rec >= (void *)&pg->records[pg->index]) { in function_stat_next() 441 rec = &pg->records[0]; in function_stat_next() 457 return function_stat_next(&stat->start->records[0], 0); in function_stat_start() 575 memset(pg->records, 0, PROFILE_RECORDS_SIZE); in ftrace_profile_reset() 745 rec = &stat->pages->records[stat->pages->index++]; in ftrace_profile_alloc() 1092 struct dyn_ftrace *records; member 1512 rec = &pg->records[_____i]; 1542 end < pg->records[ in lookup_rec() [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | lbalance.c | 28 int copy_records_len; /* length of all records in item to be copied */ in leaf_copy_dir_entries() 29 char *records; in leaf_copy_dir_entries() local 44 records = in leaf_copy_dir_entries() 49 records = NULL; in leaf_copy_dir_entries() 113 records, 0); in leaf_copy_dir_entries() local 123 : 0, copy_count, deh + from, records, in leaf_copy_dir_entries() 1068 * does not have free space, so it moves DEHs and remaining records as 1079 int cut_records_len; /* length of all removed records */ in leaf_cut_entries() 1102 * (prev_record) and length of all removed records (cut_records_len) in leaf_cut_entries() 1129 /* shift records, thos in leaf_cut_entries() 1314 leaf_paste_entries(struct buffer_info *bi, int item_num, int before, int new_entry_count, struct reiserfs_de_head *new_dehs, const char *records, int paste_size) leaf_paste_entries() argument [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | lbalance.c | 28 int copy_records_len; /* length of all records in item to be copied */ in leaf_copy_dir_entries() 29 char *records; in leaf_copy_dir_entries() local 44 records = in leaf_copy_dir_entries() 49 records = NULL; in leaf_copy_dir_entries() 113 records, 0); in leaf_copy_dir_entries() local 123 : 0, copy_count, deh + from, records, in leaf_copy_dir_entries() 1068 * does not have free space, so it moves DEHs and remaining records as 1079 int cut_records_len; /* length of all removed records */ in leaf_cut_entries() 1102 * (prev_record) and length of all removed records (cut_records_len) in leaf_cut_entries() 1129 /* shift records, thos in leaf_cut_entries() 1314 leaf_paste_entries(struct buffer_info *bi, int item_num, int before, int new_entry_count, struct reiserfs_de_head *new_dehs, const char *records, int paste_size) leaf_paste_entries() argument [all...] |
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | ndctl.h | 85 } __packed records[0]; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | ndctl.h | 85 } __packed records[0]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | htt.h | 1678 struct htt_tx_fetch_record records[]; member 1684 return (void *)&ind->records[le16_to_cpu(ind->num_records)]; in ath10k_htt_get_tx_fetch_ind_resp_ids() 1693 struct htt_tx_fetch_record records[]; member 1731 struct htt_tx_mode_switch_record records[]; member 2290 struct htt_tx_fetch_record *records,
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | ndctl.h | 89 } __packed records[0]; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/ |
H A D | vboxvideo.h | 68 * records queue. VBVA_F_RECORD_PARTIAL indicates that the record is being 72 * The host reads the records on flushes and processes all completed records. 132 struct vbva_record records[VBVA_MAX_RECORDS]; member 136 /* Space to leave free when large partial records are transferred. */
|