/linux-6.3-rc2/drivers/net/ethernet/engleder/ |
A D | tsnep_selftests.c | 367 qopt->entries[0].gate_mask = 0x02; in tsnep_test_taprio() 369 qopt->entries[1].gate_mask = 0x03; in tsnep_test_taprio() 371 qopt->entries[2].gate_mask = 0x07; in tsnep_test_taprio() 373 qopt->entries[3].gate_mask = 0x01; in tsnep_test_taprio() 374 qopt->entries[3].interval = 80000; in tsnep_test_taprio() 375 qopt->entries[4].gate_mask = 0x04; in tsnep_test_taprio() 376 qopt->entries[4].interval = 70000; in tsnep_test_taprio() 377 qopt->entries[5].gate_mask = 0x06; in tsnep_test_taprio() 378 qopt->entries[5].interval = 60000; in tsnep_test_taprio() 379 qopt->entries[6].gate_mask = 0x0F; in tsnep_test_taprio() [all …]
|
/linux-6.3-rc2/lib/ |
A D | stackdepot.c | 125 unsigned long entries = 0; in stack_depot_early_init() local 152 entries, in stack_depot_early_init() 172 unsigned long entries; in stack_depot_init() local 190 entries = roundup_pow_of_two(entries); in stack_depot_init() 307 memcpy(stack->entries, entries, flex_array_size(stack, entries, size)); in depot_alloc_stack() 316 return jhash2((u32 *)entries, in hash_stack() 346 !stackdepot_memcmp(entries, found->entries, size)) in find_stack() 467 *entries = NULL; in stack_depot_fetch() 481 *entries = stack->entries; in stack_depot_fetch() 488 unsigned long *entries; in stack_depot_print() local [all …]
|
A D | hashtable_test.c | 132 entries[i].key = i; in hashtable_test_hash_for_each() 135 hash_add(hash, &entries[i].node, entries[i].key); in hashtable_test_hash_for_each() 162 entries[i].key = i; in hashtable_test_hash_for_each_safe() 165 hash_add(hash, &entries[i].node, entries[i].key); in hashtable_test_hash_for_each_safe() 195 entries[i].key = 0; in hashtable_test_hash_for_each_possible() 198 hash_add(hash, &entries[i].node, entries[i].key); in hashtable_test_hash_for_each_possible() 202 entries[3].key = 1; in hashtable_test_hash_for_each_possible() 205 hash_add(hash, &entries[3].node, entries[3].key); in hashtable_test_hash_for_each_possible() 253 hash_add(hash, &entries[i].node, entries[i].key); in hashtable_test_hash_for_each_possible_safe() 257 entries[3].key = 1; in hashtable_test_hash_for_each_possible_safe() [all …]
|
A D | list-test.c | 1034 hlist_add_behind(&entries[1], &entries[0]); in hlist_test_for_each() 1035 hlist_add_behind(&entries[2], &entries[1]); in hlist_test_for_each() 1053 hlist_add_behind(&entries[1], &entries[0]); in hlist_test_for_each_safe() 1054 hlist_add_behind(&entries[2], &entries[1]); in hlist_test_for_each_safe() 1072 entries[0].data = 0; in hlist_test_for_each_entry() 1076 hlist_add_behind(&entries[i].list, &entries[i-1].list); in hlist_test_for_each_entry() 1099 hlist_add_behind(&entries[i].list, &entries[i-1].list); in hlist_test_for_each_entry_continue() 1105 cur = &entries[0]; in hlist_test_for_each_entry_continue() 1130 hlist_add_behind(&entries[i].list, &entries[i-1].list); in hlist_test_for_each_entry_from() 1135 cur = &entries[0]; in hlist_test_for_each_entry_from() [all …]
|
A D | test_rhashtable.c | 73 unsigned int entries; member 138 unsigned int entries) in test_rht_lookup() argument 142 for (i = 0; i < entries; i++) { in test_rht_lookup() 209 unsigned int entries) in test_rhashtable() argument 222 for (i = 0; i < entries; i++) { in test_rhashtable() 237 test_bucket_stats(ht, entries); in test_rhashtable() 276 if (entries == 0) in test_rhltable() 277 entries = 1; in test_rhltable() 588 unsigned int entries = tdata->entries; in thread_lookup_test() local 683 unsigned int entries; in test_rht_init() local [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
A D | smu_helper.c | 265 vol_table->entries[i].value = dep_table->entries[i].mvdd; in phm_get_svi2_mvdd_voltage_table() 293 vol_table->entries[i].value = dep_table->entries[i].vddci; in phm_get_svi2_vddci_voltage_table() 321 vol_table->entries[i].value = lookup_table->entries[i].us_vdd; in phm_get_svi2_vdd_voltage_table() 339 vol_table->entries[i] = vol_table->entries[i + diff]; in phm_trim_voltage_table_to_fit_state_table() 709 dep_table->entries[i].clk = allowed_dep_table->entries[i].clk; in smu_get_voltage_dependency_table_ppt_v1() 710 dep_table->entries[i].vddInd = allowed_dep_table->entries[i].vddInd; in smu_get_voltage_dependency_table_ppt_v1() 712 dep_table->entries[i].vddc = allowed_dep_table->entries[i].vddc; in smu_get_voltage_dependency_table_ppt_v1() 713 dep_table->entries[i].vddgfx = allowed_dep_table->entries[i].vddgfx; in smu_get_voltage_dependency_table_ppt_v1() 714 dep_table->entries[i].vddci = allowed_dep_table->entries[i].vddci; in smu_get_voltage_dependency_table_ppt_v1() 715 dep_table->entries[i].mvdd = allowed_dep_table->entries[i].mvdd; in smu_get_voltage_dependency_table_ppt_v1() [all …]
|
A D | vega10_processpptables.c | 584 clk_table->entries[i].vddInd = in get_socclk_voltage_dependency_table() 586 clk_table->entries[i].clk = in get_socclk_voltage_dependency_table() 620 mclk_table->entries[i].clk = in get_mclk_voltage_dependency_table() 654 clk_table->entries[i].clk = in get_gfxclk_voltage_dependency_table() 669 clk_table->entries[i].clk = in get_gfxclk_voltage_dependency_table() 713 clk_table->entries[i].vddInd = in get_pix_clk_voltage_dependency_table() 715 clk_table->entries[i].clk = in get_pix_clk_voltage_dependency_table() 766 clk_table->entries[i].vddInd = in get_dcefclk_voltage_dependency_table() 768 clk_table->entries[i].clk = in get_dcefclk_voltage_dependency_table() 773 clk_table->entries[i].vddInd = clk_dep_table->entries[i-1].ucVddInd; in get_dcefclk_voltage_dependency_table() [all …]
|
/linux-6.3-rc2/kernel/events/ |
A D | callchain.c | 50 struct callchain_cpus_entries *entries; in release_callchain_buffers_rcu() local 56 kfree(entries->cpu_entries[cpu]); in release_callchain_buffers_rcu() 58 kfree(entries); in release_callchain_buffers_rcu() 63 struct callchain_cpus_entries *entries; in release_callchain_buffers() local 65 entries = callchain_cpus_entries; in release_callchain_buffers() 83 entries = kzalloc(size, GFP_KERNEL); in alloc_callchain_buffers() 84 if (!entries) in alloc_callchain_buffers() 92 if (!entries->cpu_entries[cpu]) in alloc_callchain_buffers() 102 kfree(entries->cpu_entries[cpu]); in alloc_callchain_buffers() 103 kfree(entries); in alloc_callchain_buffers() [all …]
|
/linux-6.3-rc2/tools/lib/api/fd/ |
A D | array.c | 15 fda->entries = NULL; in fdarray__init() 27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow() local 29 if (entries == NULL) in fdarray__grow() 34 free(entries); in fdarray__grow() 42 fda->entries = entries; in fdarray__grow() 65 free(fda->entries); in fdarray__exit() 84 fda->entries[fda->nr].fd = fd; in fdarray__add() 85 fda->entries[fda->nr].events = revents; in fdarray__add() 99 entry = &from->entries[pos]; in fdarray__dup_entry_from() 118 if (!fda->entries[fd].events) in fdarray__filter() [all …]
|
/linux-6.3-rc2/arch/powerpc/mm/book3s64/ |
A D | iommu_api.c | 66 ret = account_locked_vm(mm, entries, true); in mm_iommu_do_alloc() 70 locked_entries = entries; in mm_iommu_do_alloc() 102 chunk = min(chunk, entries); in mm_iommu_do_alloc() 118 if (pinned != entries) { in mm_iommu_do_alloc() 128 mem->entries = entries; in mm_iommu_do_alloc() 151 for (i = 0; i < entries; ++i) { in mm_iommu_do_alloc() 210 for (i = 0; i < mem->entries; ++i) { in mm_iommu_unpin() 274 unlock_entries = mem->entries; in mm_iommu_put() 297 (mem->entries << PAGE_SHIFT))) { in mm_iommu_lookup() 317 if ((mem->ua == ua) && (mem->entries == entries)) { in mm_iommu_get() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/ |
A D | nfp_nsp_eth.c | 257 union eth_table_entry *entries; in __nfp_eth_read_ports() local 262 if (!entries) in __nfp_eth_read_ports() 299 kfree(entries); in __nfp_eth_read_ports() 304 kfree(entries); in __nfp_eth_read_ports() 310 union eth_table_entry *entries; in nfp_eth_config_start() local 315 if (!entries) in nfp_eth_config_start() 320 kfree(entries); in nfp_eth_config_start() 341 kfree(entries); in nfp_eth_config_start() 352 kfree(entries); in nfp_eth_config_cleanup_end() 400 union eth_table_entry *entries; in nfp_eth_set_mod_enable() local [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | mem2node.c | 50 struct phys_entry *entries, *tmp_entries; in mem2node__init() local 62 entries = zalloc(sizeof(*entries) * max); in mem2node__init() 63 if (!entries) in mem2node__init() 84 struct phys_entry *prev = &entries[j - 1]; in mem2node__init() 93 phys_entry__init(&entries[j++], start, bsize, n->node); in mem2node__init() 98 tmp_entries = realloc(entries, sizeof(*entries) * j); in mem2node__init() 101 entries = tmp_entries; in mem2node__init() 105 entries[i].node, entries[i].start, entries[i].end); in mem2node__init() 107 phys_entry__insert(&entries[i], &map->root); in mem2node__init() 110 map->entries = entries; in mem2node__init() [all …]
|
A D | arm64-frame-pointer-unwind-support.c | 12 struct entries { struct 25 struct entries *entries = arg; in add_entry() argument 27 entries->stack[entries->length++] = entry->ip; in add_entry() 34 struct entries entries = {}; in get_leaf_frame_caller_aarch64() local 56 ret = unwind__get_entries(add_entry, &entries, thread, sample, 2, true); in get_leaf_frame_caller_aarch64() 59 if (ret || entries.length != 2) in get_leaf_frame_caller_aarch64() 62 return callchain_param.order == ORDER_CALLER ? entries.stack[0] : entries.stack[1]; in get_leaf_frame_caller_aarch64()
|
A D | rb_resort.h | 72 struct rb_root entries; \ 79 struct rb_node **p = &sorted->entries.rb_node, *parent = NULL; \ 88 rb_insert_color(sorted_nd, &sorted->entries); \ 92 struct rb_root *entries) \ 96 for (nd = rb_first(entries); nd; nd = rb_next(nd)) { \ 103 static struct __name##_sorted *__name##_sorted__new(struct rb_root *entries, \ 109 sorted->entries = RB_ROOT; \ 110 __name##_sorted__sort(sorted, entries); \ 128 for (__nd = rb_first(&__name->entries); \ 143 DECLARE_RESORT_RB(__name)(&__ilist->rblist.entries.rb_root, \ [all …]
|
A D | pstack.c | 18 void *entries[]; member 45 if (pstack->entries[i] == key) { in pstack__remove() 47 memmove(pstack->entries + i, in pstack__remove() 48 pstack->entries + i + 1, in pstack__remove() 63 pstack->entries[pstack->top++] = key; in pstack__push() 75 ret = pstack->entries[--pstack->top]; in pstack__pop() 76 pstack->entries[pstack->top] = NULL; in pstack__pop() 84 return pstack->entries[pstack->top - 1]; in pstack__peek()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
A D | dcn315_clk_mgr.c | 252 .entries = { 300 .entries = { 337 .entries = { 385 if (!bw_params->wm_table.entries[i].valid) in dcn315_build_watermark_ranges() 403 bw_params->clk_table.entries[i].dcfclk_mhz; in dcn315_build_watermark_ranges() 502 bw_params->clk_table.entries[i].phyclk_mhz = bw_params->clk_table.entries[j].phyclk_mhz; in dcn315_clk_mgr_helper_populate_bw_params() 503 bw_params->clk_table.entries[i].phyclk_d18_mhz = bw_params->clk_table.entries[j].phyclk_d18_mhz; in dcn315_clk_mgr_helper_populate_bw_params() 504 bw_params->clk_table.entries[i].dtbclk_mhz = bw_params->clk_table.entries[j].dtbclk_mhz; in dcn315_clk_mgr_helper_populate_bw_params() 514 bw_params->clk_table.entries[i].wck_ratio = 1; in dcn315_clk_mgr_helper_populate_bw_params() 563 bw_params->wm_table.entries[i].wm_inst = i; in dcn315_clk_mgr_helper_populate_bw_params() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
A D | dcn314_clk_mgr.c | 361 .entries = { 398 .entries = { 446 if (!bw_params->wm_table.entries[i].valid) in dcn314_build_watermark_ranges() 464 bw_params->clk_table.entries[i].dcfclk_mhz; in dcn314_build_watermark_ranges() 619 bw_params->clk_table.entries[i].phyclk_mhz = bw_params->clk_table.entries[j].phyclk_mhz; in dcn314_clk_mgr_helper_populate_bw_params() 620 bw_params->clk_table.entries[i].phyclk_d18_mhz = bw_params->clk_table.entries[j].phyclk_d18_mhz; in dcn314_clk_mgr_helper_populate_bw_params() 621 bw_params->clk_table.entries[i].dtbclk_mhz = bw_params->clk_table.entries[j].dtbclk_mhz; in dcn314_clk_mgr_helper_populate_bw_params() 667 if (!bw_params->clk_table.entries[i].fclk_mhz) { in dcn314_clk_mgr_helper_populate_bw_params() 694 bw_params->wm_table.entries[i].wm_inst = i; in dcn314_clk_mgr_helper_populate_bw_params() 697 bw_params->wm_table.entries[i].valid = false; in dcn314_clk_mgr_helper_populate_bw_params() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn321/ |
A D | dcn321_fpu.c | 275 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in build_synthetic_soc_states() 276 if (bw_params->clk_table.entries[i].fclk_mhz > max_fclk_mhz) in build_synthetic_soc_states() 277 max_fclk_mhz = bw_params->clk_table.entries[i].fclk_mhz; in build_synthetic_soc_states() 279 max_uclk_mhz = bw_params->clk_table.entries[i].memclk_mhz; in build_synthetic_soc_states() 289 if (bw_params->clk_table.entries[i].memclk_mhz > 0) in build_synthetic_soc_states() 291 if (bw_params->clk_table.entries[i].fclk_mhz > 0) in build_synthetic_soc_states() 293 if (bw_params->clk_table.entries[i].dcfclk_mhz > 0) in build_synthetic_soc_states() 621 bw_params->clk_table.entries[j].memclk_mhz * 16; in dcn321_update_bw_bounding_box_fpu() 669 if (!bw_params->clk_table.entries[i].dtbclk_mhz) { in dcn321_update_bw_bounding_box_fpu() 674 } else if (bw_params->clk_table.entries[i].dtbclk_mhz) { in dcn321_update_bw_bounding_box_fpu() [all …]
|
/linux-6.3-rc2/fs/nfs_common/ |
A D | nfsacl.c | 110 if (entries > NFS_ACL_MAX_ENTRIES || in nfsacl_encode() 111 xdr_encode_word(buf, base, entries)) in nfsacl_encode() 173 if (entries > NFS_ACL_MAX_ENTRIES) in nfs_stream_encode_acl() 345 u32 entries; in nfsacl_decode() local 349 entries > NFS_ACL_MAX_ENTRIES) in nfsacl_decode() 351 nfsacl_desc.desc.array_maxlen = entries; in nfsacl_decode() 364 *aclcnt = entries; in nfsacl_decode() 394 u32 entries; in nfs_stream_decode_acl() local 398 if (entries > NFS_ACL_MAX_ENTRIES) in nfs_stream_decode_acl() 404 nfsacl_desc.desc.array_maxlen = entries; in nfs_stream_decode_acl() [all …]
|
/linux-6.3-rc2/tools/perf/trace/beauty/ |
A D | ioctl.c | 41 if (nr < strarray__ioctl_tty_cmd.nr_entries && strarray__ioctl_tty_cmd.entries[nr] != NULL) in ioctl__scnprintf_tty_cmd() 42 return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]); in ioctl__scnprintf_tty_cmd() 52 if (nr < strarray__drm_ioctl_cmds.nr_entries && strarray__drm_ioctl_cmds.entries[nr] != NULL) in ioctl__scnprintf_drm_cmd() 53 return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_drm_cmd() 64 return scnprintf(bf, size, "SNDRV_PCM_%s", strarray__sndrv_pcm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_sndrv_pcm_cmd() 75 return scnprintf(bf, size, "SNDRV_CTL_%s", strarray__sndrv_ctl_ioctl_cmds.entries[nr]); in ioctl__scnprintf_sndrv_ctl_cmd() 86 return scnprintf(bf, size, "KVM_%s", strarray__kvm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_kvm_cmd() 98 if (nr < s->nr_entries && s->entries[nr] != NULL) in ioctl__scnprintf_vhost_virtio_cmd() 99 return scnprintf(bf, size, "VHOST_%s", s->entries[nr]); in ioctl__scnprintf_vhost_virtio_cmd() 110 return scnprintf(bf, size, "PERF_%s", strarray__perf_ioctl_cmds.entries[nr]); in ioctl__scnprintf_perf_cmd() [all …]
|
/linux-6.3-rc2/drivers/net/dsa/sja1105/ |
A D | sja1105_vl.c | 353 kfree(table->entries); in sja1105_init_virtual_links() 360 kfree(table->entries); in sja1105_init_virtual_links() 367 kfree(table->entries); in sja1105_init_virtual_links() 374 kfree(table->entries); in sja1105_init_virtual_links() 389 if (!table->entries) in sja1105_init_virtual_links() 457 if (!table->entries) in sja1105_init_virtual_links() 466 if (!table->entries) in sja1105_init_virtual_links() 469 vl_fwd = table->entries; in sja1105_init_virtual_links() 475 if (!table->entries) in sja1105_init_virtual_links() 679 ipv = entries[i].ipv; in sja1105_vl_gate() [all …]
|
/linux-6.3-rc2/drivers/misc/vmw_vmci/ |
A D | vmci_handle_array.c | 68 array->entries[array->size] = handle; in vmci_handle_arr_append_entry() 84 if (vmci_handle_is_equal(array->entries[i], entry_handle)) { in vmci_handle_arr_remove_entry() 85 handle = array->entries[i]; in vmci_handle_arr_remove_entry() 87 array->entries[i] = array->entries[array->size]; in vmci_handle_arr_remove_entry() 88 array->entries[array->size] = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_entry() 105 handle = array->entries[array->size]; in vmci_handle_arr_remove_tail() 106 array->entries[array->size] = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_tail() 121 return array->entries[index]; in vmci_handle_arr_get_entry() 130 if (vmci_handle_is_equal(array->entries[i], entry_handle)) in vmci_handle_arr_has_entry() 143 return array->entries; in vmci_handle_arr_get_handles()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn302/ |
A D | dcn302_fpu.c | 220 if (bw_params->clk_table.entries[0].memclk_mhz) { in dcn302_fpu_update_bw_bounding_box() 224 if (bw_params->clk_table.entries[i].dcfclk_mhz > max_dcfclk_mhz) in dcn302_fpu_update_bw_bounding_box() 225 max_dcfclk_mhz = bw_params->clk_table.entries[i].dcfclk_mhz; in dcn302_fpu_update_bw_bounding_box() 227 max_dispclk_mhz = bw_params->clk_table.entries[i].dispclk_mhz; in dcn302_fpu_update_bw_bounding_box() 228 if (bw_params->clk_table.entries[i].dppclk_mhz > max_dppclk_mhz) in dcn302_fpu_update_bw_bounding_box() 229 max_dppclk_mhz = bw_params->clk_table.entries[i].dppclk_mhz; in dcn302_fpu_update_bw_bounding_box() 230 if (bw_params->clk_table.entries[i].phyclk_mhz > max_phyclk_mhz) in dcn302_fpu_update_bw_bounding_box() 231 max_phyclk_mhz = bw_params->clk_table.entries[i].phyclk_mhz; in dcn302_fpu_update_bw_bounding_box() 273 bw_params->clk_table.entries[j].memclk_mhz * 16; in dcn302_fpu_update_bw_bounding_box() 319 if (!bw_params->clk_table.entries[i].dtbclk_mhz && i > 0) in dcn302_fpu_update_bw_bounding_box() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/legacy-dpm/ |
A D | legacy_dpm.c | 194 if (!amdgpu_table->entries) in amdgpu_parse_clk_voltage_dep_table() 197 entry = &atom_table->entries[0]; in amdgpu_parse_clk_voltage_dep_table() 347 entry = &psl->entries[0]; in amdgpu_parse_extended_power_table() 390 entry = &cac_table->entries[0]; in amdgpu_parse_extended_power_table() 447 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() 451 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 467 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 502 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() 505 ((u8 *)&array->entries[0] + in amdgpu_parse_extended_power_table() 534 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_ddi_buf_trans.c | 30 .entries = _hsw_trans_dp, 47 .entries = _hsw_trans_fdi, 68 .entries = _hsw_trans_hdmi, 86 .entries = _bdw_trans_edp, 103 .entries = _bdw_trans_dp, 120 .entries = _bdw_trans_fdi, 139 .entries = _bdw_trans_hdmi, 158 .entries = _skl_trans_dp, 212 .entries = _kbl_trans_dp, 270 .entries = _skl_trans_edp, [all …]
|