/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/ |
H A D | smu_helper.c | 217 vol_table->entries[i].value = dep_table->entries[i].mvdd; in phm_get_svi2_mvdd_voltage_table() 245 vol_table->entries[i].value = dep_table->entries[i].vddci; in phm_get_svi2_vddci_voltage_table() 273 vol_table->entries[i].value = lookup_table->entries[i].us_vdd; in phm_get_svi2_vdd_voltage_table() 291 vol_table->entries[i] = vol_table->entries[i + diff]; in phm_trim_voltage_table_to_fit_state_table() 642 dep_table->entries[i].clk = allowed_dep_table->entries[i].clk; in smu_get_voltage_dependency_table_ppt_v1() 643 dep_table->entries[i].vddInd = allowed_dep_table->entries[i].vddInd; in smu_get_voltage_dependency_table_ppt_v1() 645 dep_table->entries[i].vddc = allowed_dep_table->entries[i].vddc; in smu_get_voltage_dependency_table_ppt_v1() 646 dep_table->entries[i].vddgfx = allowed_dep_table->entries[i].vddgfx; in smu_get_voltage_dependency_table_ppt_v1() 647 dep_table->entries[i].vddci = allowed_dep_table->entries[i].vddci; in smu_get_voltage_dependency_table_ppt_v1() 648 dep_table->entries[i].mvdd = allowed_dep_table->entries[i].mvdd; in smu_get_voltage_dependency_table_ppt_v1() [all …]
|
H A D | vega10_processpptables.c | 318 mm_table->entries[i].samclock = in get_mm_clock_voltage_table() 543 clk_table->entries[i].vddInd = in get_socclk_voltage_dependency_table() 545 clk_table->entries[i].clk = in get_socclk_voltage_dependency_table() 583 mclk_table->entries[i].clk = in get_mclk_voltage_dependency_table() 621 clk_table->entries[i].clk = in get_gfxclk_voltage_dependency_table() 636 clk_table->entries[i].clk = in get_gfxclk_voltage_dependency_table() 684 clk_table->entries[i].vddInd = in get_pix_clk_voltage_dependency_table() 686 clk_table->entries[i].clk = in get_pix_clk_voltage_dependency_table() 743 clk_table->entries[i].clk = in get_dcefclk_voltage_dependency_table() 748 clk_table->entries[i].vddInd = clk_dep_table->entries[i-1].ucVddInd; in get_dcefclk_voltage_dependency_table() [all …]
|
H A D | smu8_hwmgr.c | 110 if (clock <= table->entries[i].clk) in smu8_get_sclk_level() 118 if (clock >= table->entries[i].clk) in smu8_get_sclk_level() 289 table_clk_vlt->entries[0].v = 0; in smu8_init_dynamic_state_adjustment_rule_settings() 291 table_clk_vlt->entries[1].v = 1; in smu8_init_dynamic_state_adjustment_rule_settings() 293 table_clk_vlt->entries[2].v = 2; in smu8_init_dynamic_state_adjustment_rule_settings() 295 table_clk_vlt->entries[3].v = 3; in smu8_init_dynamic_state_adjustment_rule_settings() 297 table_clk_vlt->entries[4].v = 4; in smu8_init_dynamic_state_adjustment_rule_settings() 299 table_clk_vlt->entries[5].v = 5; in smu8_init_dynamic_state_adjustment_rule_settings() 301 table_clk_vlt->entries[6].v = 6; in smu8_init_dynamic_state_adjustment_rule_settings() 303 table_clk_vlt->entries[7].v = 7; in smu8_init_dynamic_state_adjustment_rule_settings() [all …]
|
H A D | processpptables.c | 397 dep_table->entries[i].v = in get_clock_voltage_dependency_table() 1126 &array->entries[table->entries[i].ucUVDClockInfoIndex]; in get_uvd_clock_voltage_limit_table() 1127 uvd_table->entries[i].v = (unsigned long)le16_to_cpu(table->entries[i].usVoltage); in get_uvd_clock_voltage_limit_table() 1159 vce_table->entries[i].v = (unsigned long)le16_to_cpu(table->entries[i].usVoltage); in get_vce_clock_voltage_limit_table() 1217 acp_table->entries[i].v = (unsigned long)le16_to_cpu(table->entries[i].usVoltage); in get_acp_clock_voltage_limit_table() 1417 cac_leakage_table->entries[i].Vddc1 = le16_to_cpu(table->entries[i].usVddc1); in get_cac_leakage_table() 1418 cac_leakage_table->entries[i].Vddc2 = le16_to_cpu(table->entries[i].usVddc2); in get_cac_leakage_table() 1419 cac_leakage_table->entries[i].Vddc3 = le16_to_cpu(table->entries[i].usVddc3); in get_cac_leakage_table() 1421 cac_leakage_table->entries[i].Vddc = le16_to_cpu(table->entries[i].usVddc); in get_cac_leakage_table() 1558 table->entries[i].Sclk = ((unsigned long)ptable->entries[i].ucSclkHigh << 16) in init_phase_shedding_table() [all …]
|
H A D | vega10_hwmgr.c | 310 od_lookup_table->entries[i].us_vdd = vddc_lookup_table->entries[i].us_vdd; in vega10_odn_initial_default_setting() 704 lookup_table->entries[j - 1] = lookup_table->entries[j]; in vega10_sort_lookup_table() 1040 vol_table->entries[i].value = dep_table->entries[i].mvdd; in vega10_get_mvdd_voltage_table() 1067 vol_table->entries[i].value = dep_table->entries[i].vddci; in vega10_get_vddci_voltage_table() 1093 vol_table->entries[i].value = dep_table->entries[i].vddc; in vega10_get_vdd_voltage_table() 1118 vol_table->entries[i] = vol_table->entries[i + diff]; in vega10_trim_voltage_table_to_fit_state_table() 1857 entries[dep_table->entries[i].vddInd].us_vdd; in vega10_populate_single_display_type() 2433 if (dep_table->entries[i].vddc != odn_dep_table->entries[i].vddc) { in vega10_check_dpm_table_updated() 2442 if (dep_table->entries[i].vddc != odn_dep_table->entries[i].vddc) { in vega10_check_dpm_table_updated() 4216 entries[dep_table->entries[i].vddInd].us_vdd); in vega10_get_clock_by_type_with_voltage() [all …]
|
/dragonfly/contrib/gdb-7/libiberty/ |
H A D | hashtab.c | 317 if (result->entries == NULL) in htab_create_alloc_ex() 424 PTR *entries = htab->entries; in htab_delete() local 429 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 430 (*htab->del_f) (entries[i]); in htab_delete() 450 PTR *entries = htab->entries; in htab_empty() local 455 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 456 (*htab->del_f) (entries[i]); in htab_empty() 535 oentries = htab->entries; in htab_expand() 561 htab->entries = nentries; in htab_expand() 754 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/dragonfly/contrib/gcc-4.7/libiberty/ |
H A D | hashtab.c | 317 if (result->entries == NULL) in htab_create_alloc_ex() 424 PTR *entries = htab->entries; in htab_delete() local 429 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 430 (*htab->del_f) (entries[i]); in htab_delete() 450 PTR *entries = htab->entries; in htab_empty() local 455 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 456 (*htab->del_f) (entries[i]); in htab_empty() 535 oentries = htab->entries; in htab_expand() 561 htab->entries = nentries; in htab_expand() 754 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | integrate.c | 231 if (rtx_equal_p (ivs->entries[i].pseudo, reg)) in get_hard_reg_initial_reg() 232 return ivs->entries[i].hard_reg; in get_hard_reg_initial_reg() 256 ivs->entries = ggc_alloc_vec_initial_value_pair (5); in get_hard_reg_initial_val() 263 ivs->entries = GGC_RESIZEVEC (initial_value_pair, ivs->entries, in get_hard_reg_initial_val() 270 return ivs->entries[ivs->num_entries++].pseudo; in get_hard_reg_initial_val() 286 if (GET_MODE (ivs->entries[i].hard_reg) == mode in has_hard_reg_initial_val() 287 && REGNO (ivs->entries[i].hard_reg) == regno) in has_hard_reg_initial_val() 288 return ivs->entries[i].pseudo; in has_hard_reg_initial_val() 305 emit_move_insn (ivs->entries[i].pseudo, ivs->entries[i].hard_reg); in emit_initial_value_sets() 347 int regno = REGNO (ivs->entries[i].pseudo); in allocate_initial_values() [all …]
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | x_name.c | 263 if (ret->entries) in x509_name_ex_new() 264 sk_X509_NAME_ENTRY_free(ret->entries); in x509_name_ex_new() 300 STACK_OF(X509_NAME_ENTRY) *entries; in x509_name_ex_d2i() 329 sk_X509_NAME_ENTRY_free(entries); in x509_name_ex_d2i() 391 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_encode() 401 entries = sk_X509_NAME_ENTRY_new_null(); in x509_name_encode() 402 if (!entries) in x509_name_encode() 405 entries)) in x509_name_encode() 480 if (!entries) in x509_name_canon() 483 entries) == 0) { in x509_name_canon() [all …]
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_dpm.c | 291 if (!amdgpu_table->entries) in amdgpu_parse_clk_voltage_dep_table() 294 entry = &atom_table->entries[0]; in amdgpu_parse_clk_voltage_dep_table() 464 entry = &psl->entries[0]; in amdgpu_parse_extended_power_table() 507 entry = &cac_table->entries[0]; in amdgpu_parse_extended_power_table() 564 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() 568 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 584 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 619 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() 622 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 651 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() [all …]
|
/dragonfly/contrib/binutils-2.34/libiberty/ |
H A D | hashtab.c | 308 if (result->entries == NULL) in htab_create_alloc_ex() 415 PTR *entries = htab->entries; in htab_delete() local 420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 421 (*htab->del_f) (entries[i]); in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() local 446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 447 (*htab->del_f) (entries[i]); in htab_empty() 526 oentries = htab->entries; in htab_expand() 552 htab->entries = nentries; in htab_expand() 745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | hashtab.c | 309 if (result->entries == NULL) in htab_create_alloc_ex() 416 PTR *entries = htab->entries; in htab_delete() local 421 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 422 (*htab->del_f) (entries[i]); in htab_delete() 442 PTR *entries = htab->entries; in htab_empty() local 447 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 448 (*htab->del_f) (entries[i]); in htab_empty() 527 oentries = htab->entries; in htab_expand() 553 htab->entries = nentries; in htab_expand() 746 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/dragonfly/contrib/gcc-8.0/libiberty/ |
H A D | hashtab.c | 308 if (result->entries == NULL) in htab_create_alloc_ex() 415 PTR *entries = htab->entries; in htab_delete() local 420 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_delete() 421 (*htab->del_f) (entries[i]); in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() local 446 if (entries[i] != HTAB_EMPTY_ENTRY && entries[i] != HTAB_DELETED_ENTRY) in htab_empty() 447 (*htab->del_f) (entries[i]); in htab_empty() 526 oentries = htab->entries; in htab_expand() 552 htab->entries = nentries; in htab_expand() 745 if (slot < htab->entries || slot >= htab->entries + htab_size (htab) in htab_clear_slot() [all …]
|
/dragonfly/contrib/gcc-8.0/libgomp/ |
H A D | hashtab.h | 84 hash_entry_type entries[]; member 274 slot = htab->entries + index; in find_empty_slot_for_expand() 297 olimit = htab->entries + osize; in htab_expand() 308 p = htab->entries; in htab_expand() 337 entry = htab->entries[index]; in htab_find() 349 entry = htab->entries[index]; in htab_find() 384 entry = htab->entries[index]; in htab_find_slot() 390 return &htab->entries[index]; in htab_find_slot() 408 return &htab->entries[index]; in htab_find_slot() 423 return &htab->entries[index]; in htab_find_slot() [all …]
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | r600_dpm.c | 830 if (!radeon_table->entries) in r600_parse_clk_voltage_dep_table() 833 entry = &atom_table->entries[0]; in r600_parse_clk_voltage_dep_table() 1002 entry = &psl->entries[0]; in r600_parse_extended_power_table() 1045 entry = &cac_table->entries[0]; in r600_parse_extended_power_table() 1102 entry = &limits->entries[0]; in r600_parse_extended_power_table() 1106 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table() 1121 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table() 1156 entry = &limits->entries[0]; in r600_parse_extended_power_table() 1159 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table() 1188 entry = &limits->entries[0]; in r600_parse_extended_power_table() [all …]
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | find_names.c | 29 List *entries); 64 List *entries; in Find_Names() local 74 entries = Entries_Open (aflag, NULL); in Find_Names() 75 if (entries != NULL) in Find_Names() 82 *optentries = entries; in Find_Names() 84 Entries_Close (entries); in Find_Names() 151 List *entries = (List *) closure; in register_subdir_proc() local 176 if (entries != NULL) in Find_Directories() 177 tmpentries = entries; in Find_Directories() 218 if (entries == NULL && tmpentries != NULL) in Find_Directories() [all …]
|
/dragonfly/sys/bus/cam/ |
H A D | cam_queue.c | 117 if (new_size < queue->entries) in camq_resize() 132 queue->entries * sizeof(cam_pinfo *)); in camq_resize() 149 if (queue->entries >= queue->array_size) in camq_insert() 152 queue->entries++; in camq_insert() 154 new_entry->index = queue->entries; in camq_insert() 155 if (queue->entries != 0) in camq_insert() 174 if (index == 0 || index > queue->entries) in camq_remove() 177 if (queue->entries != index) { in camq_remove() 182 queue->queue_array[queue->entries] = NULL; in camq_remove() 184 queue->entries--; in camq_remove() [all …]
|
/dragonfly/contrib/ncurses/progs/ |
H A D | infocmp.c | 114 free(entries); in ExitProgram() 210 for (ep = &entries[1]; ep < entries + termcount; ep++) in use_predicate() 230 for (ep = &entries[1]; ep < entries + termcount; ep++) in use_predicate() 253 for (ep = &entries[1]; ep < entries + termcount; ep++) in use_predicate() 448 ENTRY *e1 = &entries[0]; in compare_predicate() 449 ENTRY *e2 = &entries[1]; in compare_predicate() 620 e2 = &entries[extra++]; in compare_predicate() 1158 entries[0] = *qp; in file_comparison() 1159 entries[1] = *rp; in file_comparison() 1758 || entries == 0) { in main() [all …]
|
/dragonfly/usr.bin/column/ |
H A D | column.c | 61 static int entries; /* number of records */ variable 127 if (!entries) in main() 153 if (!--entries) in c_columnate() 177 numrows = entries / numcols; in r_columnate() 178 if (entries % numcols) in r_columnate() 186 if ((base += numrows) >= entries) in r_columnate() 204 for (cnt = entries, lp = list; cnt--; ++lp) in print() 291 if (entries == maxentry) { in input() 298 if (list[entries] == NULL) in input() 300 wcscpy(list[entries], buf); in input() [all …]
|
/dragonfly/lib/libc/sysvipc/ |
H A D | sysvipc_hash.c | 50 hashtable->entries = malloc(hashsize * sizeof(struct entries_list)); in _hash_init() 51 if (!hashtable->entries) { in _hash_init() 60 LIST_INIT(&hashtable->entries[i]); in _hash_init() 72 for (tmp = &hashtable->entries[0]; tmp <= &hashtable->entries[hashmask]; tmp++) { in _hash_destroy() 76 free(hashtable->entries); in _hash_destroy() 88 &hashtable->entries[key & hashmask]; in _hash_insert() 101 &hashtable->entries[key & hashmask]; in _hash_lookup() 120 &hashtable->entries[key & hashmask]; in _hash_remove()
|
/dragonfly/contrib/gcc-4.7/libcpp/ |
H A D | symtab.c | 84 free (table->entries); in ht_destroy() 116 node = table->entries[index]; in ht_lookup_with_hash() 159 table->entries[index] = node; in ht_lookup_with_hash() 194 p = table->entries; in ht_expand() 218 free (table->entries); in ht_expand() 220 table->entries = nentries; in ht_expand() 231 p = table->entries; in ht_forall() 249 p = table->entries; in ht_purge() 267 free (ht->entries); in ht_load() 268 ht->entries = entries; in ht_load() [all …]
|
/dragonfly/contrib/gcc-8.0/libcpp/ |
H A D | symtab.c | 81 free (table->entries); in ht_destroy() 113 node = table->entries[index]; in ht_lookup_with_hash() 156 table->entries[index] = node; in ht_lookup_with_hash() 191 p = table->entries; in ht_expand() 215 free (table->entries); in ht_expand() 217 table->entries = nentries; in ht_expand() 228 p = table->entries; in ht_forall() 246 p = table->entries; in ht_purge() 264 free (ht->entries); in ht_load() 265 ht->entries = entries; in ht_load() [all …]
|
/dragonfly/contrib/mdocml/ |
H A D | dba.c | 190 struct dba_array *entries; in dba_page_add() local 193 entries = dba_array_get(page, ie); in dba_page_add() 195 if (entries == NULL) in dba_page_add() 198 dba_array_free(entries); in dba_page_add() 205 dba_array_FOREACH(entries, entry) { in dba_page_add() 220 struct dba_array *entries; in dba_page_alias() local 228 dba_array_FOREACH(entries, entry) { in dba_page_alias() 444 entries = mandoc_reallocarray(NULL, ne, sizeof(*entries)); in dba_macro_write() 458 entries[ne++] = entry; in dba_macro_write() 460 qsort(entries, ne, sizeof(*entries), compare_entries); in dba_macro_write() [all …]
|
/dragonfly/crypto/openssh/ |
H A D | hostfile.c | 220 ret->entries = NULL; in init_hostkeys() 251 hostkeys->entries = tmp; in record_hostkey() 306 free(hostkeys->entries[i].host); in free_hostkeys() 307 free(hostkeys->entries[i].file); in free_hostkeys() 309 explicit_bzero(hostkeys->entries + i, sizeof(*hostkeys->entries)); in free_hostkeys() 311 free(hostkeys->entries); in free_hostkeys() 328 hostkeys->entries[i].key)) in check_key_not_revoked() 373 *found = hostkeys->entries + i; in check_hostkeys_by_key_or_type() 374 k = hostkeys->entries[i].key; in check_hostkeys_by_key_or_type() 379 hostkeys->entries[i].key)) { in check_hostkeys_by_key_or_type() [all …]
|
/dragonfly/usr.sbin/nscd/ |
H A D | hashtable.h | 65 struct entry *entries; \ 78 (table)->entries = (void *)calloc(1, \ 79 sizeof(*(table)->entries) * (_entries_size)); \ 82 (table)->entries[var].field.capacity = \ 84 (table)->entries[var].field.size = 0; \ 85 (table)->entries[var].field.values = (type *)malloc(\ 88 assert((table)->entries[var].field.values != NULL);\ 99 free((table)->entries[var].field.values); \ 103 #define HASHTABLE_GET_ENTRY(table, hash) (&((table)->entries[hash])) 109 for ((var) = &((table)->entries[0]); \ [all …]
|