Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 25 of 1413) sorted by relevance

12345678910>>...57

/linux/lib/
A Dlist-test.c348 struct list_head entries[3], *cur; in list_test_list_cut_position() local
376 struct list_head entries[3], *cur; in list_test_list_cut_before() local
404 struct list_head entries[5], *cur; in list_test_list_splice() local
416 list_splice(&list2, &entries[1]); in list_test_list_splice()
429 struct list_head entries[5], *cur; in list_test_list_splice_tail() local
454 struct list_head entries[5], *cur; in list_test_list_splice_init() local
481 struct list_head entries[5], *cur; in list_test_list_splice_tail_init() local
631 list_del(&entries[i]); in list_test_list_for_each_safe()
651 list_del(&entries[i]); in list_test_list_for_each_prev_safe()
666 entries[i].data = i; in list_test_list_for_each_entry()
[all …]
A Dstackdepot.c138 memcpy(stack->entries, entries, flex_array_size(stack, entries, size)); in depot_alloc_stack()
180 return jhash2((u32 *)entries, in hash_stack()
202 unsigned long *entries, int size, in find_stack() argument
210 !stackdepot_memcmp(entries, found->entries, size)) in find_stack()
232 unsigned long *entries; in stack_depot_snprint() local
250 unsigned long *entries; in stack_depot_print() local
255 stack_trace_print(entries, nr_entries, 0); in stack_depot_print()
269 unsigned long **entries) in stack_depot_fetch() argument
276 *entries = NULL; in stack_depot_fetch()
290 *entries = stack->entries; in stack_depot_fetch()
[all …]
A Dtest_rhashtable.c73 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()
276 if (entries == 0) in test_rhltable()
277 entries = 1; in test_rhltable()
414 i = prandom_u32_max(entries); in test_rhltable()
604 unsigned int entries = tdata->entries; in thread_lookup_test() local
699 unsigned int entries; in test_rht_init() local
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dsmu_helper.c265 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 Dvega10_processpptables.c585 clk_table->entries[i].vddInd = in get_socclk_voltage_dependency_table()
587 clk_table->entries[i].clk = in get_socclk_voltage_dependency_table()
621 mclk_table->entries[i].clk = in get_mclk_voltage_dependency_table()
655 clk_table->entries[i].clk = in get_gfxclk_voltage_dependency_table()
670 clk_table->entries[i].clk = in get_gfxclk_voltage_dependency_table()
714 clk_table->entries[i].vddInd = in get_pix_clk_voltage_dependency_table()
716 clk_table->entries[i].clk = in get_pix_clk_voltage_dependency_table()
767 clk_table->entries[i].vddInd = in get_dcefclk_voltage_dependency_table()
769 clk_table->entries[i].clk = in get_dcefclk_voltage_dependency_table()
774 clk_table->entries[i].vddInd = clk_dep_table->entries[i-1].ucVddInd; in get_dcefclk_voltage_dependency_table()
[all …]
/linux/kernel/events/
A Dcallchain.c50 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/tools/lib/api/fd/
A Darray.c15 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()
101 if (!fda->entries[fd].events) in fdarray__filter()
104 if (fda->entries[fd].revents & revents) { in fdarray__filter()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_nsp_eth.c247 union eth_table_entry *entries; in __nfp_eth_read_ports() local
252 if (!entries) in __nfp_eth_read_ports()
289 kfree(entries); in __nfp_eth_read_ports()
294 kfree(entries); in __nfp_eth_read_ports()
300 union eth_table_entry *entries; in nfp_eth_config_start() local
305 if (!entries) in nfp_eth_config_start()
310 kfree(entries); in nfp_eth_config_start()
331 kfree(entries); in nfp_eth_config_start()
342 kfree(entries); in nfp_eth_config_cleanup_end()
390 union eth_table_entry *entries; in nfp_eth_set_mod_enable() local
[all …]
/linux/tools/testing/selftests/kvm/x86_64/
A Dget_cpuid_test.c36 eax = guest_cpuid->entries[i].function; in test_guest_cpuids()
37 ecx = guest_cpuid->entries[i].index; in test_guest_cpuids()
42 ebx == guest_cpuid->entries[i].ebx && in test_guest_cpuids()
43 ecx == guest_cpuid->entries[i].ecx && in test_guest_cpuids()
44 edx == guest_cpuid->entries[i].edx); in test_guest_cpuids()
95 cpuid->entries[i].ebx == entrie->ebx && in check_cpuid()
97 cpuid->entries[i].edx == entrie->edx, in check_cpuid()
100 cpuid->entries[i].eax, cpuid->entries[i].ebx, in check_cpuid()
101 cpuid->entries[i].ecx, cpuid->entries[i].edx, in check_cpuid()
115 check_cpuid(cpuid2, &cpuid1->entries[i]); in compare_cpuids()
[all …]
/linux/arch/powerpc/mm/book3s64/
A Diommu_api.c70 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()
335 if ((mem->ua == ua) && (mem->entries == entries)) { in mm_iommu_get()
354 if (entry >= mem->entries) in mm_iommu_ua_to_hpa()
[all …]
/linux/tools/perf/util/
A Dmem2node.c50 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 Drb_resort.h72 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 …]
/linux/arch/x86/kernel/cpu/
A Dintel.c833 tlb_lli_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
835 tlb_lld_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
839 tlb_lli_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
841 tlb_lld_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
843 tlb_lli_2m[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
845 tlb_lld_2m[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
847 tlb_lli_4m[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
849 tlb_lld_4m[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
853 tlb_lli_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
855 tlb_lli_2m[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
[all …]
/linux/fs/nfs_common/
A Dnfsacl.c110 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/drivers/net/dsa/sja1105/
A Dsja1105_vl.c340 kfree(table->entries); in sja1105_init_virtual_links()
347 kfree(table->entries); in sja1105_init_virtual_links()
354 kfree(table->entries); in sja1105_init_virtual_links()
361 kfree(table->entries); in sja1105_init_virtual_links()
376 if (!table->entries) in sja1105_init_virtual_links()
443 if (!table->entries) in sja1105_init_virtual_links()
452 if (!table->entries) in sja1105_init_virtual_links()
455 vl_fwd = table->entries; in sja1105_init_virtual_links()
461 if (!table->entries) in sja1105_init_virtual_links()
665 ipv = entries[i].ipv; in sja1105_vl_gate()
[all …]
A Dsja1105_tas.c185 kfree(table->entries); in sja1105_init_scheduling()
192 kfree(table->entries); in sja1105_init_scheduling()
199 kfree(table->entries); in sja1105_init_scheduling()
206 kfree(table->entries); in sja1105_init_scheduling()
233 if (!table->entries) in sja1105_init_scheduling()
236 schedule = table->entries; in sja1105_init_scheduling()
242 if (!table->entries) in sja1105_init_scheduling()
255 if (!table->entries) in sja1105_init_scheduling()
258 schedule_params = table->entries; in sja1105_init_scheduling()
264 if (!table->entries) in sja1105_init_scheduling()
[all …]
/linux/tools/perf/trace/beauty/
A Dioctl.c41 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/drivers/gpu/drm/i915/display/
A Dintel_ddi_buf_trans.c30 .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 …]
/linux/arch/x86/kernel/
A De820.c176 table->entries[x].addr = start; in __e820__range_add()
177 table->entries[x].size = size; in __e820__range_add()
178 table->entries[x].type = type; in __e820__range_add()
210 e820_table->entries[i].addr, in e820__print_table()
211 e820_table->entries[i].addr + e820_table->entries[i].size - 1); in e820__print_table()
324 struct e820_entry *entries = table->entries; in e820__update_table() local
339 if (entries[i].addr + entries[i].size < entries[i].addr) in e820__update_table()
353 if (entries[i].size != 0) { in e820__update_table()
356 change_point[chg_idx]->addr = entries[i].addr + entries[i].size; in e820__update_table()
416 memcpy(entries, new_entries, new_nr_entries*sizeof(*entries)); in e820__update_table()
[all …]
/linux/drivers/misc/vmw_vmci/
A Dvmci_handle_array.c68 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/arch/x86/xen/
A Dmulticalls.c41 struct multicall_entry entries[MC_BATCH]; member
73 memcpy(b->debug, b->entries, in xen_mc_flush()
86 mc = &b->entries[0]; in xen_mc_flush()
98 if (b->entries[i].result < 0) in xen_mc_flush()
106 if (b->entries[i].result < 0) { in xen_mc_flush()
112 b->entries[i].result, in xen_mc_flush()
117 b->entries[i].op, in xen_mc_flush()
118 b->entries[i].args[0], in xen_mc_flush()
119 b->entries[i].result); in xen_mc_flush()
157 ret.mc = &b->entries[b->mcidx]; in __xen_mc_entry()
[all …]
/linux/drivers/gpu/drm/radeon/
A Dr600_dpm.c829 if (!radeon_table->entries) in r600_parse_clk_voltage_dep_table()
832 entry = &atom_table->entries[0]; in r600_parse_clk_voltage_dep_table()
1001 entry = &psl->entries[0]; in r600_parse_extended_power_table()
1044 entry = &cac_table->entries[0]; in r600_parse_extended_power_table()
1101 entry = &limits->entries[0]; in r600_parse_extended_power_table()
1105 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table()
1120 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table()
1155 entry = &limits->entries[0]; in r600_parse_extended_power_table()
1158 ((u8 *)&array->entries[0] + in r600_parse_extended_power_table()
1187 entry = &limits->entries[0]; in r600_parse_extended_power_table()
[all …]
/linux/drivers/media/dvb-frontends/
A Ddvb-pll.c66 } entries[]; member
79 .entries = {
102 .entries = {
125 .entries = {
143 .entries = {
158 .entries = {
180 .entries = {
194 .entries = {
220 .entries = {
253 .entries = {
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dport.c854 if ((t1->entries[i] != t2->entries[i]) && in mlx4_bond_mac_table()
855 t1->entries[i] && t2->entries[i]) { in mlx4_bond_mac_table()
863 if (t1->entries[i] && !t2->entries[i]) { in mlx4_bond_mac_table()
864 t2->entries[i] = t1->entries[i]; in mlx4_bond_mac_table()
868 t1->entries[i] = t2->entries[i]; in mlx4_bond_mac_table()
909 if (t1->entries[i] != t2->entries[i]) { in mlx4_unbond_mac_table()
962 t1->entries[i] && t2->entries[i]) { in mlx4_bond_vlan_table()
970 if (t1->entries[i] && !t2->entries[i]) { in mlx4_bond_vlan_table()
971 t2->entries[i] = t1->entries[i]; in mlx4_bond_vlan_table()
975 t1->entries[i] = t2->entries[i]; in mlx4_bond_vlan_table()
[all …]
/linux/kernel/
A Dstacktrace.c24 void stack_trace_print(const unsigned long *entries, unsigned int nr_entries, in stack_trace_print() argument
29 if (WARN_ON(!entries)) in stack_trace_print()
33 printk("%*c%pS\n", 1 + spaces, ' ', (void *)entries[i]); in stack_trace_print()
52 if (WARN_ON(!entries)) in stack_trace_snprint()
57 (void *)entries[i]); in stack_trace_snprint()
274 .entries = store, in stack_trace_save()
298 .entries = store, in stack_trace_save_tsk()
321 .entries = store, in stack_trace_save_regs()
347 .entries = store, in stack_trace_save_tsk_reliable()
367 .entries = store, in stack_trace_save_user()
[all …]

Completed in 98 milliseconds

12345678910>>...57