Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 200 of 954) sorted by relevance

12345

/linux-4.1.27/kernel/events/
Dcallchain.c39 struct callchain_cpus_entries *entries; in release_callchain_buffers_rcu() local
42 entries = container_of(head, struct callchain_cpus_entries, rcu_head); in release_callchain_buffers_rcu()
45 kfree(entries->cpu_entries[cpu]); in release_callchain_buffers_rcu()
47 kfree(entries); in release_callchain_buffers_rcu()
52 struct callchain_cpus_entries *entries; in release_callchain_buffers() local
54 entries = callchain_cpus_entries; in release_callchain_buffers()
56 call_rcu(&entries->rcu_head, release_callchain_buffers_rcu); in release_callchain_buffers()
63 struct callchain_cpus_entries *entries; in alloc_callchain_buffers() local
72 entries = kzalloc(size, GFP_KERNEL); in alloc_callchain_buffers()
73 if (!entries) in alloc_callchain_buffers()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/
Dintel.c594 if (tlb_lli_4k[ENTRIES] < intel_tlb_table[k].entries) in intel_tlb_lookup()
595 tlb_lli_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
596 if (tlb_lld_4k[ENTRIES] < intel_tlb_table[k].entries) in intel_tlb_lookup()
597 tlb_lld_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
600 if (tlb_lli_4k[ENTRIES] < intel_tlb_table[k].entries) in intel_tlb_lookup()
601 tlb_lli_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
602 if (tlb_lld_4k[ENTRIES] < intel_tlb_table[k].entries) in intel_tlb_lookup()
603 tlb_lld_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
604 if (tlb_lli_2m[ENTRIES] < intel_tlb_table[k].entries) in intel_tlb_lookup()
605 tlb_lli_2m[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
[all …]
/linux-4.1.27/tools/lib/api/fd/
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()
39 fda->entries = entries; in fdarray__grow()
62 free(fda->entries); in fdarray__exit()
81 fda->entries[fda->nr].fd = fd; in fdarray__add()
82 fda->entries[fda->nr].events = revents; in fdarray__add()
96 if (fda->entries[fd].revents & revents) { in fdarray__filter()
104 fda->entries[nr] = fda->entries[fd]; in fdarray__filter()
[all …]
/linux-4.1.27/tools/perf/tests/
Dfdarray.c12 fda->entries[fd].fd = fda->nr - fd; in fdarray__init_revents()
13 fda->entries[fd].revents = revents; in fdarray__init_revents()
55 fda->entries[2].revents = POLLIN; in test__fdarray__filter()
56 expected_fd[0] = fda->entries[2].fd; in test__fdarray__filter()
67 if (fda->entries[0].fd != expected_fd[0]) { in test__fdarray__filter()
69 fda->entries[0].fd, expected_fd[0]); in test__fdarray__filter()
74 fda->entries[0].revents = POLLIN; in test__fdarray__filter()
75 expected_fd[0] = fda->entries[0].fd; in test__fdarray__filter()
76 fda->entries[3].revents = POLLIN; in test__fdarray__filter()
77 expected_fd[1] = fda->entries[3].fd; in test__fdarray__filter()
[all …]
Dhists_output.c101 root_out = &hists->entries; in del_hist_entries()
162 root = &hists->entries; in test1()
262 root = &hists->entries; in test2()
316 root = &hists->entries; in test3()
394 root = &hists->entries; in test4()
497 root = &hists->entries; in test5()
/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_handle_array.c66 array->entries[array->size] = handle; in vmci_handle_arr_append_entry()
80 if (vmci_handle_is_equal(array->entries[i], entry_handle)) { in vmci_handle_arr_remove_entry()
81 handle = array->entries[i]; in vmci_handle_arr_remove_entry()
83 array->entries[i] = array->entries[array->size]; in vmci_handle_arr_remove_entry()
84 array->entries[array->size] = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_entry()
101 handle = array->entries[array->size]; in vmci_handle_arr_remove_tail()
102 array->entries[array->size] = VMCI_INVALID_HANDLE; in vmci_handle_arr_remove_tail()
117 return array->entries[index]; in vmci_handle_arr_get_entry()
126 if (vmci_handle_is_equal(array->entries[i], entry_handle)) in vmci_handle_arr_has_entry()
139 return array->entries; in vmci_handle_arr_get_handles()
Dvmci_resource.c30 struct hlist_head entries[VMCI_RESOURCE_HASH_BUCKETS]; member
53 &vmci_resource_table.entries[idx], node) { in vmci_resource_lookup()
134 hlist_add_head_rcu(&resource->node, &vmci_resource_table.entries[idx]); in vmci_resource_add()
152 hlist_for_each_entry(r, &vmci_resource_table.entries[idx], node) { in vmci_resource_remove()
Dvmci_doorbell.c56 struct hlist_head entries[VMCI_DOORBELL_INDEX_TABLE_SIZE]; member
131 hlist_for_each_entry(dbell, &vmci_doorbell_it.entries[bucket], in dbell_index_table_find()
196 hlist_add_head(&entry->node, &vmci_doorbell_it.entries[bucket]); in dbell_index_table_add()
364 hlist_for_each_entry(dbell, &vmci_doorbell_it.entries[bucket], node) { in dbell_fire_entries()
/linux-4.1.27/arch/x86/kernel/
Dldt.c33 set_ldt(pc->ldt->entries, pc->ldt->size); in flush_ldt()
59 new_ldt->entries = vzalloc(alloc_size); in alloc_ldt_struct()
61 new_ldt->entries = kzalloc(PAGE_SIZE, GFP_KERNEL); in alloc_ldt_struct()
63 if (!new_ldt->entries) { in alloc_ldt_struct()
75 paravirt_alloc_ldt(ldt->entries, ldt->size); in finalize_ldt_struct()
94 paravirt_free_ldt(ldt->entries, ldt->size); in free_ldt_struct()
96 vfree(ldt->entries); in free_ldt_struct()
98 kfree(ldt->entries); in free_ldt_struct()
131 memcpy(new_ldt->entries, old_mm->context.ldt->entries, in init_new_context()
173 if (copy_to_user(ptr, mm->context.ldt->entries, size)) { in read_ldt()
[all …]
Dstacktrace.c32 trace->entries[trace->nr_entries++] = addr; in __save_stack_address()
65 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace()
73 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_regs()
80 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
114 trace->entries[trace->nr_entries++] = regs->ip; in __save_stack_trace_user()
126 trace->entries[trace->nr_entries++] = in __save_stack_trace_user()
144 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_user()
/linux-4.1.27/tools/perf/util/
Dpstack.c16 void *entries[0]; member
43 if (pstack->entries[i] == key) { in pstack__remove()
45 memmove(pstack->entries + i, in pstack__remove()
46 pstack->entries + i + 1, in pstack__remove()
61 pstack->entries[pstack->top++] = key; in pstack__push()
73 ret = pstack->entries[--pstack->top]; in pstack__pop()
74 pstack->entries[pstack->top] = NULL; in pstack__pop()
Drblist.c16 struct rb_node **p = &rblist->entries.rb_node; in rblist__add_node()
38 rb_insert_color(new_node, &rblist->entries); in rblist__add_node()
46 rb_erase(rb_node, &rblist->entries); in rblist__remove_node()
55 struct rb_node **p = &rblist->entries.rb_node; in __rblist__findnew()
76 rb_insert_color(new_node, &rblist->entries); in __rblist__findnew()
97 rblist->entries = RB_ROOT; in rblist__init()
107 struct rb_node *pos, *next = rb_first(&rblist->entries); in rblist__delete()
122 for (node = rb_first(&rblist->entries); node; node = rb_next(node)) { in rblist__entry()
Devlist.h35 struct list_head entries; member
179 return list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__first()
184 return list_entry(evlist->entries.prev, struct perf_evsel, node); in perf_evlist__last()
229 __evlist__for_each(&(evlist)->entries, evsel)
245 __evlist__for_each_continue(&(evlist)->entries, evsel)
261 __evlist__for_each_reverse(&(evlist)->entries, evsel)
279 __evlist__for_each_safe(&(evlist)->entries, tmp, evsel)
Dhist.c164 struct rb_node *next = rb_first(&hists->entries); in hists__output_recalc_col_len()
249 rb_erase(&he->rb_node, &hists->entries); in hists__delete_entry()
263 struct rb_node *next = rb_first(&hists->entries); in hists__decay_entries()
279 struct rb_node *next = rb_first(&hists->entries); in hists__delete_entries()
1100 static void __hists__insert_output_entry(struct rb_root *entries, in __hists__insert_output_entry() argument
1104 struct rb_node **p = &entries->rb_node; in __hists__insert_output_entry()
1123 rb_insert_color(&he->rb_node, entries); in __hists__insert_output_entry()
1141 hists->entries = RB_ROOT; in hists__output_resort()
1150 __hists__insert_output_entry(&hists->entries, n, min_callchain_hits); in hists__output_resort()
1201 for (nd = rb_first(&hists->entries); nd; nd = rb_next(nd)) { in hists__filter_by_dso()
[all …]
/linux-4.1.27/drivers/media/dvb-frontends/
Ddvb-pll.c74 } entries[12]; member
87 .entries = {
110 .entries = {
133 .entries = {
151 .entries = {
166 .entries = {
188 .entries = {
202 .entries = {
228 .entries = {
261 .entries = {
[all …]
/linux-4.1.27/drivers/gpu/drm/radeon/
Dr600_dpm.c825 radeon_table->entries = kzalloc(size, GFP_KERNEL); in r600_parse_clk_voltage_dep_table()
826 if (!radeon_table->entries) in r600_parse_clk_voltage_dep_table()
829 entry = &atom_table->entries[0]; in r600_parse_clk_voltage_dep_table()
831 radeon_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in r600_parse_clk_voltage_dep_table()
833 radeon_table->entries[i].v = le16_to_cpu(entry->usVoltage); in r600_parse_clk_voltage_dep_table()
935 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
946 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
947 kfree(rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries); in r600_parse_extended_power_table()
958 kfree(rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.entries); in r600_parse_extended_power_table()
959 kfree(rdev->pm.dpm.dyn_state.vddci_dependency_on_mclk.entries); in r600_parse_extended_power_table()
[all …]
Dkv_dpm.c561 return vddc_sclk_table->entries[vid_2bit].v; in kv_convert_vid2_to_vid7()
563 return vddc_sclk_table->entries[vddc_sclk_table->count - 1].v; in kv_convert_vid2_to_vid7()
566 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in kv_convert_vid2_to_vid7()
567 return vid_mapping_table->entries[i].vid_7bit; in kv_convert_vid2_to_vid7()
569 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in kv_convert_vid2_to_vid7()
583 if (vddc_sclk_table->entries[i].v == vid_7bit) in kv_convert_vid7_to_vid2()
589 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit) in kv_convert_vid7_to_vid2()
590 return vid_mapping_table->entries[i].vid_2bit; in kv_convert_vid7_to_vid2()
593 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit; in kv_convert_vid7_to_vid2()
723 if (table->entries[i].clk == pi->boot_pl.sclk) in kv_program_bootup_state()
[all …]
Dpptable.h476 …ATOM_PPLIB_Clock_Voltage_Dependency_Record entries[1]; // Dynamically allocate entries. member
492 …ATOM_PPLIB_Clock_Voltage_Limit_Record entries[1]; // Dynamically allocate entries. member
516 …ATOM_PPLIB_CAC_Leakage_Record entries[1]; // Dynamically allocate entrie… member
531 …ATOM_PPLIB_PhaseSheddingLimits_Record entries[1]; // Dynamically allocate entrie… member
543 VCEClockInfo entries[1]; member
555 ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record entries[1]; member
567 ATOM_PPLIB_VCE_State_Record entries[1]; member
589 UVDClockInfo entries[1]; member
601 ATOM_PPLIB_UVD_Clock_Voltage_Limit_Record entries[1]; member
620 ATOM_PPLIB_SAMClk_Voltage_Limit_Record entries[1]; member
[all …]
Dci_dpm.c280 if (rdev->pm.dpm.dyn_state.cac_leakage_table.entries == NULL) in ci_populate_bapm_vddc_vid_sidd()
290 lo_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc1); in ci_populate_bapm_vddc_vid_sidd()
291 hi_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc2); in ci_populate_bapm_vddc_vid_sidd()
292 hi2_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc3); in ci_populate_bapm_vddc_vid_sidd()
294 lo_vid[i] = ci_convert_to_vid(rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].vddc); in ci_populate_bapm_vddc_vid_sidd()
295 hi_vid[i] = ci_convert_to_vid((u16)rdev->pm.dpm.dyn_state.cac_leakage_table.entries[i].leakage); in ci_populate_bapm_vddc_vid_sidd()
311 vid[i] = ci_convert_to_vid(pi->vddc_voltage_table.entries[i].value); in ci_populate_vddc_vid()
2097 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in ci_get_svi2_voltage_table()
2098 voltage_table->entries[i].smio_low = 0; in ci_get_svi2_voltage_table()
2197 &pi->vddc_voltage_table.entries[count], in ci_populate_smc_vddc_table()
[all …]
Dbtc_dpm.c1185 if (clock < table->entries[i].clk) in btc_get_max_clock_from_voltage_dependency_table()
1186 clock = table->entries[i].clk; in btc_get_max_clock_from_voltage_dependency_table()
1200 if (clock <= table->entries[i].clk) { in btc_apply_voltage_dependency_rules()
1201 if (*voltage < table->entries[i].v) in btc_apply_voltage_dependency_rules()
1202 *voltage = (u16)((table->entries[i].v < max_voltage) ? in btc_apply_voltage_dependency_rules()
1203 table->entries[i].v : max_voltage); in btc_apply_voltage_dependency_rules()
1301 if (voltage <= table->entries[i].value) in btc_find_voltage()
1302 return table->entries[i].value; in btc_find_voltage()
1305 return table->entries[table->count - 1].value; in btc_find_voltage()
2584 rdev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries = in btc_dpm_init()
[all …]
Dsumo_dpm.c1036 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in sumo_get_valid_engine_clock()
1037 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in sumo_get_valid_engine_clock()
1040 …return pi->sys_info.sclk_voltage_mapping_table.entries[pi->sys_info.sclk_voltage_mapping_table.num… in sumo_get_valid_engine_clock()
1535 if (vid_mapping_table->entries[i].vid_2bit == vid_2bit) in sumo_convert_vid2_to_vid7()
1536 return vid_mapping_table->entries[i].vid_7bit; in sumo_convert_vid2_to_vid7()
1539 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_7bit; in sumo_convert_vid2_to_vid7()
1550 if (vid_mapping_table->entries[i].vid_7bit == vid_7bit)
1551 return vid_mapping_table->entries[i].vid_2bit;
1554 return vid_mapping_table->entries[vid_mapping_table->num_entries - 1].vid_2bit;
1602 sclk_voltage_mapping_table->entries[n].sclk_frequency = in sumo_construct_sclk_voltage_mapping_table()
[all …]
Dsi_dpm.c2547 if (table->entries[i].vddc > *max) in si_get_cac_std_voltage_max_min()
2548 *max = table->entries[i].vddc; in si_get_cac_std_voltage_max_min()
2549 if (table->entries[i].vddc < *min) in si_get_cac_std_voltage_max_min()
2550 *min = table->entries[i].vddc; in si_get_cac_std_voltage_max_min()
3181 si_pi->leakage_voltage.entries[count].voltage = vddc; in si_get_leakage_vddc()
3182 si_pi->leakage_voltage.entries[count].leakage_index = in si_get_leakage_vddc()
3209 if (si_pi->leakage_voltage.entries[i].leakage_index == index) { in si_get_leakage_voltage_from_leakage_index()
3210 *leakage_voltage = si_pi->leakage_voltage.entries[i].voltage; in si_get_leakage_voltage_from_leakage_index()
3870 voltage_table->entries[i] = voltage_table->entries[i + diff]; in si_trim_voltage_table_to_fit_state_table()
3889 voltage_table->entries[i].value = voltage_dependency_table->entries[i].v; in si_get_svi2_voltage_table()
[all …]
/linux-4.1.27/drivers/crypto/qat/qat_dh895xcc/
Dadf_isr.c71 pci_dev_info->msix_entries.entries[i].entry = i; in adf_enable_msix()
74 pci_dev_info->msix_entries.entries, in adf_enable_msix()
109 struct msix_entry *msixe = pci_dev_info->msix_entries.entries; in adf_request_irqs()
153 struct msix_entry *msixe = pci_dev_info->msix_entries.entries; in adf_free_irqs()
169 struct msix_entry *entries; in adf_isr_alloc_msix_entry_table() local
173 entries = kzalloc_node(msix_num_entries * sizeof(*entries), in adf_isr_alloc_msix_entry_table()
175 if (!entries) in adf_isr_alloc_msix_entry_table()
180 kfree(entries); in adf_isr_alloc_msix_entry_table()
188 accel_dev->accel_pci_dev.msix_entries.entries = entries; in adf_isr_alloc_msix_entry_table()
194 kfree(entries); in adf_isr_alloc_msix_entry_table()
[all …]
/linux-4.1.27/fs/ext3/
Dnamei.c111 struct dx_entry entries[0]; member
117 struct dx_entry entries[0]; member
124 struct dx_entry *entries; member
139 static unsigned dx_get_count (struct dx_entry *entries);
140 static unsigned dx_get_limit (struct dx_entry *entries);
141 static void dx_set_count (struct dx_entry *entries, unsigned value);
142 static void dx_set_limit (struct dx_entry *entries, unsigned value);
203 static inline unsigned dx_get_count (struct dx_entry *entries) in dx_get_count() argument
205 return le16_to_cpu(((struct dx_countlimit *) entries)->count); in dx_get_count()
208 static inline unsigned dx_get_limit (struct dx_entry *entries) in dx_get_limit() argument
[all …]
/linux-4.1.27/drivers/net/wireless/p54/
Deeprom.c84 size_t entries; member
157 if ((!list->entries) || (!list->band_channel_num[band])) in p54_generate_band()
174 (i < list->entries); i++) { in p54_generate_band()
245 for (i = list->entries; i >= 0; i--) { in p54_update_channel_param()
252 if ((i < 0) && (list->entries < list->max_entries)) { in p54_update_channel_param()
261 i = list->entries++; in p54_update_channel_param()
330 if ((priv->iq_autocal_len != priv->curve_data->entries) || in p54_generate_channel_lists()
331 (priv->iq_autocal_len != priv->output_limit->entries)) in p54_generate_channel_lists()
336 max_channel_num = max_t(unsigned int, priv->output_limit->entries, in p54_generate_channel_lists()
339 priv->curve_data->entries); in p54_generate_channel_lists()
[all …]
/linux-4.1.27/arch/x86/xen/
Dmulticalls.c40 struct multicall_entry entries[MC_BATCH]; member
80 mc = &b->entries[0]; in xen_mc_flush()
90 memcpy(b->debug, b->entries, in xen_mc_flush()
94 if (HYPERVISOR_multicall(b->entries, b->mcidx) != 0) in xen_mc_flush()
97 if (b->entries[i].result < 0) in xen_mc_flush()
110 b->entries[i].result, in xen_mc_flush()
151 ret.mc = &b->entries[b->mcidx]; in __xen_mc_entry()
172 b->entries[b->mcidx - 1].op != op)) { in xen_mc_extend_args()
182 ret.mc = &b->entries[b->mcidx - 1]; in xen_mc_extend_args()
/linux-4.1.27/drivers/acpi/apei/
Derst.c381 ERST_TAB_ENTRY(erst_tab), erst_tab->entries); in erst_exec_ctx_init()
439 u64 *entries; member
488 u64 *entries; in __erst_record_id_cache_add_one() local
509 entries = erst_record_id_cache.entries; in __erst_record_id_cache_add_one()
511 if (entries[i] == id) in __erst_record_id_cache_add_one()
529 alloc_size = new_size * sizeof(entries[0]); in __erst_record_id_cache_add_one()
536 memcpy(new_entries, entries, in __erst_record_id_cache_add_one()
537 erst_record_id_cache.len * sizeof(entries[0])); in __erst_record_id_cache_add_one()
539 kfree(entries); in __erst_record_id_cache_add_one()
541 vfree(entries); in __erst_record_id_cache_add_one()
[all …]
Dapei-internal.h34 u32 entries; member
41 u32 entries);
Dapei-base.c60 u32 entries) in apei_exec_ctx_init() argument
65 ctx->entries = entries; in apei_exec_ctx_init()
178 for (i = 0; i < ctx->entries; i++) { in __apei_exec_run()
220 for (i = 0; i < ctx->entries; i++) { in apei_exec_for_each_entry()
264 ctx_unmap.entries = end; in apei_exec_pre_map_gars()
/linux-4.1.27/fs/nfs_common/
Dnfsacl.c94 int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; in nfsacl_encode() local
98 .array_len = encode_entries ? entries : 0, in nfsacl_encode()
109 if (entries > NFS_ACL_MAX_ENTRIES || in nfsacl_encode()
110 xdr_encode_word(buf, base, entries)) in nfsacl_encode()
273 u32 entries; in nfsacl_decode() local
276 if (xdr_decode_word(buf, base, &entries) || in nfsacl_decode()
277 entries > NFS_ACL_MAX_ENTRIES) in nfsacl_decode()
279 nfsacl_desc.desc.array_maxlen = entries; in nfsacl_decode()
284 if (entries != nfsacl_desc.desc.array_len || in nfsacl_decode()
292 *aclcnt = entries; in nfsacl_decode()
/linux-4.1.27/fs/squashfs/
Dcache.c74 for (i = cache->curr_blk, n = 0; n < cache->entries; n++) { in squashfs_cache_get()
79 i = (i + 1) % cache->entries; in squashfs_cache_get()
82 if (n == cache->entries) { in squashfs_cache_get()
102 for (n = 0; n < cache->entries; n++) { in squashfs_cache_get()
105 i = (i + 1) % cache->entries; in squashfs_cache_get()
108 cache->next_blk = (i + 1) % cache->entries; in squashfs_cache_get()
217 for (i = 0; i < cache->entries; i++) { in squashfs_cache_delete()
236 struct squashfs_cache *squashfs_cache_init(char *name, int entries, in squashfs_cache_init() argument
247 cache->entry = kcalloc(entries, sizeof(*(cache->entry)), GFP_KERNEL); in squashfs_cache_init()
255 cache->unused = entries; in squashfs_cache_init()
[all …]
Dfile.c151 meta->entries = 0; in empty_meta_index()
262 offset = index < meta->offset + meta->entries ? index : in fill_meta_index()
263 meta->offset + meta->entries - 1; in fill_meta_index()
271 meta->entries); in fill_meta_index()
282 for (i = meta->offset + meta->entries; i <= index && in fill_meta_index()
289 if (meta->entries == 0) in fill_meta_index()
305 meta->entries++; in fill_meta_index()
310 meta->offset, meta->entries); in fill_meta_index()
/linux-4.1.27/kernel/
Dbacktracetest.c52 unsigned long entries[8]; in backtrace_test_saved() local
58 trace.max_entries = ARRAY_SIZE(entries); in backtrace_test_saved()
59 trace.entries = entries; in backtrace_test_saved()
Dstacktrace.c18 if (WARN_ON(!trace->entries)) in print_stack_trace()
23 print_ip_sym(trace->entries[i]); in print_stack_trace()
36 if (WARN_ON(!trace->entries)) in snprint_stack_trace()
40 ip = trace->entries[i]; in snprint_stack_trace()
Djump_label.c214 *((unsigned long *)&key->entries) += (unsigned long)iter; in jump_label_init()
227 struct jump_entry *entries; member
253 __jump_label_update(key, mod->entries, in __jump_label_mod_update()
309 *((unsigned long *)&key->entries) += (unsigned long)iter; in jump_label_add_module()
317 jlm->entries = iter; in jump_label_add_module()
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Dvnic_wq.h71 #define VNIC_WQ_BUF_BLK_ENTRIES(entries) \ argument
72 ((unsigned int)((entries < VNIC_WQ_BUF_DFLT_BLK_ENTRIES) ? \
74 #define VNIC_WQ_BUF_BLK_SZ(entries) \ argument
75 (VNIC_WQ_BUF_BLK_ENTRIES(entries) * sizeof(struct vnic_wq_buf))
76 #define VNIC_WQ_BUF_BLKS_NEEDED(entries) \ argument
77 DIV_ROUND_UP(entries, VNIC_WQ_BUF_BLK_ENTRIES(entries))
Dvnic_rq.h58 #define VNIC_RQ_BUF_BLK_ENTRIES(entries) \ argument
59 ((unsigned int)((entries < VNIC_RQ_BUF_DFLT_BLK_ENTRIES) ? \
61 #define VNIC_RQ_BUF_BLK_SZ(entries) \ argument
62 (VNIC_RQ_BUF_BLK_ENTRIES(entries) * sizeof(struct vnic_rq_buf))
63 #define VNIC_RQ_BUF_BLKS_NEEDED(entries) \ argument
64 DIV_ROUND_UP(entries, VNIC_RQ_BUF_BLK_ENTRIES(entries))
/linux-4.1.27/drivers/md/
Ddm-bio-prison.c272 struct dm_deferred_entry entries[DEFERRED_SET_SIZE]; member
288 ds->entries[i].ds = ds; in dm_deferred_set_create()
289 ds->entries[i].count = 0; in dm_deferred_set_create()
290 INIT_LIST_HEAD(&ds->entries[i].work_items); in dm_deferred_set_create()
309 entry = ds->entries + ds->current_entry; in dm_deferred_entry_inc()
325 !ds->entries[ds->sweeper].count) { in __sweep()
326 list_splice_init(&ds->entries[ds->sweeper].work_items, head); in __sweep()
330 if ((ds->sweeper == ds->current_entry) && !ds->entries[ds->sweeper].count) in __sweep()
331 list_splice_init(&ds->entries[ds->sweeper].work_items, head); in __sweep()
357 !ds->entries[ds->current_entry].count) in dm_deferred_set_add_work()
[all …]
Ddm-cache-policy-mq.c325 struct entry *entries, *entries_end; member
334 ep->entries = vzalloc(sizeof(struct entry) * nr_entries); in epool_init()
335 if (!ep->entries) in epool_init()
338 ep->entries_end = ep->entries + nr_entries; in epool_init()
342 list_add(&ep->entries[i].list, &ep->free); in epool_init()
351 vfree(ep->entries); in epool_exit()
374 struct entry *e = ep->entries + from_cblock(cblock); in alloc_particular_entry()
396 struct entry *e = ep->entries + from_cblock(cblock); in epool_find()
407 return e >= ep->entries && e < ep->entries_end; in in_pool()
412 return to_cblock(e - ep->entries); in infer_cblock()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-firmware-dmi15 DMI is structured as a large table of entries, where
19 entries.
21 Some entries are required by the specification, but many
27 Multiple entries of the same type are allowed. In order
31 to say, if there are 'N' multiple entries with the same type
34 entries "T-0" through "T-(N-1)":
38 /sys/firmware/dmi/entries/17-0
39 /sys/firmware/dmi/entries/17-1
40 /sys/firmware/dmi/entries/17-2
41 /sys/firmware/dmi/entries/17-3
[all …]
/linux-4.1.27/drivers/uwb/
Dest.c51 u8 entries; member
257 const struct uwb_est_entry *entry, size_t entries) in uwb_est_register() argument
283 uwb_est[itr].entries = entries; in uwb_est_register()
306 const struct uwb_est_entry *entry, size_t entries) in uwb_est_unregister() argument
315 .entries = entries in uwb_est_unregister()
362 if (event_low >= est->entries) { /* in range? */ in uwb_est_get_size()
365 est->entries, event_low); in uwb_est_get_size()
373 est->entries, event_low); in uwb_est_get_size()
394 est->product, est->entries); in uwb_est_get_size()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dmxms.c106 u8 entries = 0; in mxms_foreach() local
123 entries = (ROM32(desc[0]) & 0x01f00000) >> 20; in mxms_foreach()
132 entries = (desc[1] & 0xf0) >> 4; in mxms_foreach()
140 entries = desc[1] & 0x07; in mxms_foreach()
161 for (i = 0; i < entries; i++, dump += recordlen) { in mxms_foreach()
174 desc += headerlen + (entries * recordlen); in mxms_foreach()
/linux-4.1.27/tools/build/feature/
Dtest-backtrace.c7 size_t entries; in main() local
9 entries = backtrace(backtrace_fns, 10); in main()
10 backtrace_symbols_fd(backtrace_fns, entries, 1); in main()
/linux-4.1.27/include/linux/
Djump_label.h69 struct jump_entry *entries; member
111 return (struct jump_entry *)((unsigned long)key->entries in jump_label_get_entries()
117 if (((unsigned long)key->entries & JUMP_LABEL_TYPE_MASK) == in jump_label_get_branch_default()
150 .entries = (void *)JUMP_LABEL_TYPE_TRUE_BRANCH })
153 .entries = (void *)JUMP_LABEL_TYPE_FALSE_BRANCH })
Ddqblk_qtree.h48 unsigned long long entries = epb; in qtree_depth() local
51 for (i = 1; entries < (1ULL << 32); i++) in qtree_depth()
52 entries *= epb; in qtree_depth()
Df2fs_fs.h265 struct f2fs_nat_entry entries[NAT_ENTRY_PER_BLOCK]; member
298 struct f2fs_sit_entry entries[SIT_ENTRY_PER_BLOCK]; member
367 struct nat_journal_entry entries[NAT_JOURNAL_ENTRIES]; member
377 struct sit_journal_entry entries[SIT_JOURNAL_ENTRIES]; member
383 struct f2fs_summary entries[ENTRIES_IN_SUM]; member
/linux-4.1.27/drivers/xen/xen-pciback/
Dpciback_ops.c199 struct msix_entry *entries; in xen_pcibk_enable_msix() local
221 entries = kmalloc(op->value * sizeof(*entries), GFP_KERNEL); in xen_pcibk_enable_msix()
222 if (entries == NULL) in xen_pcibk_enable_msix()
226 entries[i].entry = op->msix_entries[i].entry; in xen_pcibk_enable_msix()
227 entries[i].vector = op->msix_entries[i].vector; in xen_pcibk_enable_msix()
230 result = pci_enable_msix_exact(dev, entries, op->value); in xen_pcibk_enable_msix()
233 op->msix_entries[i].entry = entries[i].entry; in xen_pcibk_enable_msix()
234 if (entries[i].vector) { in xen_pcibk_enable_msix()
236 xen_pirq_from_irq(entries[i].vector); in xen_pcibk_enable_msix()
248 kfree(entries); in xen_pcibk_enable_msix()
/linux-4.1.27/arch/sh/kernel/
Dstacktrace.c41 trace->entries[trace->nr_entries++] = addr; in save_stack_address()
55 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace()
76 trace->entries[trace->nr_entries++] = addr; in save_stack_address_nosched()
90 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
/linux-4.1.27/net/bridge/netfilter/
Debtables.c220 base = private->entries; in ebt_do_table()
436 struct ebt_entry *e = (void *)newinfo->entries + offset; in ebt_verify_pointers()
445 repl->entries + offset) in ebt_verify_pointers()
849 if (newinfo->hook_entry[i] != (struct ebt_entries *)newinfo->entries) { in translate_table()
871 ret = EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in translate_table()
913 EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in translate_table()
927 cl_s, udc_cnt, i, newinfo->entries)) { in translate_table()
944 ret = EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in translate_table()
947 EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in translate_table()
1050 EBT_ENTRY_ITERATE(table->entries, table->entries_size, in do_replace_finish()
[all …]
/linux-4.1.27/lib/
Dfault-inject.c70 unsigned long entries[MAX_STACK_TRACE_DEPTH]; in fail_stacktrace() local
78 trace.entries = entries; in fail_stacktrace()
84 if (attr->reject_start <= entries[n] && in fail_stacktrace()
85 entries[n] < attr->reject_end) in fail_stacktrace()
87 if (attr->require_start <= entries[n] && in fail_stacktrace()
88 entries[n] < attr->require_end) in fail_stacktrace()
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-firmware-opal-elog5 This directory exposes error log entries retrieved
13 Log entries may be purged by the service processor
15 Linux if there is no room for more log entries.
17 In the event that Linux has retrieved the log entries
19 the service processor needs more room for log entries,
24 entries, read them out and acknowledge them.
27 entries than firmware can, so after you acknowledge
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dcq.c169 struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector, in mlx4_ib_create_cq() argument
178 if (entries < 1 || entries > dev->dev->caps.max_cqes) in mlx4_ib_create_cq()
185 entries = roundup_pow_of_two(entries + 1); in mlx4_ib_create_cq()
186 cq->ibcq.cqe = entries - 1; in mlx4_ib_create_cq()
203 ucmd.buf_addr, entries); in mlx4_ib_create_cq()
223 err = mlx4_ib_alloc_cq_buf(dev, &cq->buf, entries); in mlx4_ib_create_cq()
233 err = mlx4_cq_alloc(dev->dev, entries, &cq->buf.mtt, uar, in mlx4_ib_create_cq()
275 int entries) in mlx4_alloc_resize_buf() argument
286 err = mlx4_ib_alloc_cq_buf(dev, &cq->resize_buf->buf, entries); in mlx4_alloc_resize_buf()
293 cq->resize_buf->cqe = entries - 1; in mlx4_alloc_resize_buf()
[all …]
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
Dstacktrace.h8 unsigned long *entries; member
14 backtrace_symbols_fd((void **)trace->entries, trace->nr_entries, 1); in print_stack_trace()
19 backtrace((void **)(trace)->entries, (trace)->max_entries))
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dcq.c606 int entries, struct mlx5_create_cq_mbox_in **cqb, in create_cq_user() argument
634 entries * ucmd.cqe_size, in create_cq_user()
649 ucmd.buf_addr, entries * ucmd.cqe_size, npages, page_shift, ncont); in create_cq_user()
692 int entries, int cqe_size, in create_cq_kernel() argument
706 err = alloc_cq_buf(dev, &cq->buf, entries, cqe_size); in create_cq_kernel()
739 struct ib_cq *mlx5_ib_create_cq(struct ib_device *ibdev, int entries, in mlx5_ib_create_cq() argument
753 if (entries < 0) in mlx5_ib_create_cq()
756 entries = roundup_pow_of_two(entries + 1); in mlx5_ib_create_cq()
757 if (entries > dev->mdev->caps.gen.max_cqes) in mlx5_ib_create_cq()
764 cq->ibcq.cqe = entries - 1; in mlx5_ib_create_cq()
[all …]
/linux-4.1.27/Documentation/RCU/
DarrayRCU.txt47 the remainder of the new, updates the ids->entries pointer to point to
49 Note that rcu_assign_pointer() is used to update the ids->entries pointer,
58 int size = ids->entries->size;
70 memcpy(new->p, ids->entries->p,
76 old = ids->entries;
83 rcu_assign_pointer(ids->entries, new);
109 struct ipc_id_ary* entries;
112 entries = rcu_dereference(ids->entries);
113 if(lid >= entries->size) {
117 out = entries->p[lid];
/linux-4.1.27/fs/ext4/
Dnamei.c209 struct dx_entry entries[0]; member
215 struct dx_entry entries[0]; member
222 struct dx_entry *entries; member
245 static unsigned dx_get_count(struct dx_entry *entries);
246 static unsigned dx_get_limit(struct dx_entry *entries);
247 static void dx_set_count(struct dx_entry *entries, unsigned value);
248 static void dx_set_limit(struct dx_entry *entries, unsigned value);
528 static inline unsigned dx_get_count(struct dx_entry *entries) in dx_get_count() argument
530 return le16_to_cpu(((struct dx_countlimit *) entries)->count); in dx_get_count()
533 static inline unsigned dx_get_limit(struct dx_entry *entries) in dx_get_limit() argument
[all …]
/linux-4.1.27/Documentation/networking/
Dmpls-sysctl.txt4 Number of entries in the platform label table. It is not
8 A dense utliziation of the entries in the platform label table
12 If the number of platform label table entries is set to 0 no
16 Reducing this value will remove all label routing entries that
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00queue.c824 if (fn(&queue->entries[i], data)) in rt2x00queue_for_each_entry()
829 if (fn(&queue->entries[i], data)) in rt2x00queue_for_each_entry()
834 if (fn(&queue->entries[i], data)) in rt2x00queue_for_each_entry()
857 entry = &queue->entries[queue->index[index]]; in rt2x00queue_get_entry()
1094 rt2x00dev->ops->lib->clear_entry(&queue->entries[i]); in rt2x00queue_init_queues()
1100 struct queue_entry *entries; in rt2x00queue_alloc_entries() local
1109 entry_size = sizeof(*entries) + queue->priv_size; in rt2x00queue_alloc_entries()
1110 entries = kcalloc(queue->limit, entry_size, GFP_KERNEL); in rt2x00queue_alloc_entries()
1111 if (!entries) in rt2x00queue_alloc_entries()
1119 entries[i].flags = 0; in rt2x00queue_alloc_entries()
[all …]
Drt2x00mmio.c132 entry_priv = queue->entries[i].priv_data; in rt2x00mmio_alloc_queue_dma()
144 queue->entries[0].priv_data; in rt2x00mmio_free_queue_dma()
/linux-4.1.27/tools/perf/ui/browsers/
Dscripts.c27 struct list_head entries; member
127 INIT_LIST_HEAD(&script.entries); in script_browse()
163 list_add_tail(&sline->node, &script.entries); in script_browse()
181 script.b.entries = &script.entries; in script_browse()
Dmap.c105 .entries = &map->dso->symbols[map->type], in map__browse()
116 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse()
/linux-4.1.27/arch/arm/mm/
Dproc-arm940.S115 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
118 bcs 2b @ entries 63 to 0
165 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
168 bcs 2b @ entries 63 to 0
187 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
190 bcs 2b @ entries 63 to 0
210 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
213 bcs 2b @ entries 63 to 0
232 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
240 bcs 2b @ entries 63 to 0
/linux-4.1.27/Documentation/devicetree/bindings/gpu/
Dnvidia,gk20a.txt8 Must contain two entries:
13 - interrupt-names: Must include the following entries:
19 - clock-names: Must include the following entries:
24 - reset-names: Must include the following entries:
Dnvidia,tegra20-host1x.txt16 - reset-names: Must include the following entries:
32 - reset-names: Must include the following entries:
45 - reset-names: Must include the following entries:
58 - reset-names: Must include the following entries:
71 - reset-names: Must include the following entries:
84 - reset-names: Must include the following entries:
94 - clock-names: Must include the following entries:
101 - reset-names: Must include the following entries:
113 - clock-names: Must include the following entries:
119 - reset-names: Must include the following entries:
[all …]
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_gs.c303 gid_data = &ct_rsp->rsp.gid_pt.entries[i]; in qla2x00_gid_pt()
1269 void *entries; in qla2x00_fdmi_rhba() local
1291 entries = ct_req->req.rhba.hba_identifier; in qla2x00_fdmi_rhba()
1294 eiter = entries + size; in qla2x00_fdmi_rhba()
1304 eiter = entries + size; in qla2x00_fdmi_rhba()
1317 eiter = entries + size; in qla2x00_fdmi_rhba()
1337 eiter = entries + size; in qla2x00_fdmi_rhba()
1350 eiter = entries + size; in qla2x00_fdmi_rhba()
1363 eiter = entries + size; in qla2x00_fdmi_rhba()
1387 eiter = entries + size; in qla2x00_fdmi_rhba()
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dtrace.h121 unsigned int entries, struct hif_scatter_item *list),
123 TP_ARGS(addr, flags, total_len, entries, list),
129 __field(unsigned int, entries)
131 __dynamic_array(unsigned int, len_array, entries)
142 __entry->entries = entries;
152 for (i = 0; i < entries; i++) {
168 __entry->entries,
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_isr.c504 struct msix_entry *entries; in csio_enable_msix() local
515 entries = kzalloc(sizeof(struct msix_entry) * cnt, GFP_KERNEL); in csio_enable_msix()
516 if (!entries) in csio_enable_msix()
520 entries[i].entry = (uint16_t)i; in csio_enable_msix()
524 cnt = pci_enable_msix_range(hw->pdev, entries, min, cnt); in csio_enable_msix()
526 kfree(entries); in csio_enable_msix()
538 entryp->vector = entries[i].vector; in csio_enable_msix()
543 csio_set_nondata_intr_idx(hw, entries[k].entry); in csio_enable_msix()
544 csio_set_mb_intr_idx(csio_hw_to_mbm(hw), entries[k++].entry); in csio_enable_msix()
545 csio_set_fwevt_intr_idx(hw, entries[k++].entry); in csio_enable_msix()
[all …]
/linux-4.1.27/drivers/staging/unisys/Documentation/
Dproc-entries.txt2 This document describes the proc entries created by the Unisys s-Par modules.
5 These entries are provided primarily for debugging.
11 entries for the controlvm channel used by visorchipset.
23 These entries provide status of the devices shared by a service partition.
25 /proc/uislib/vbus: this is a directory containing entries for each
47 /proc/virtnic/ethX: This is a directory containing entries for each
48 virtual NIC. Each named subdirectory contains two entries,
61 The entries in proc for these modules all follow the same
72 These entries are used to pass information between the s-Par platform
/linux-4.1.27/arch/arm/kernel/
Dstacktrace.c84 trace->entries[trace->nr_entries++] = addr; in save_trace()
103 trace->entries[trace->nr_entries++] = regs->ARM_pc; in save_trace()
128 trace->entries[trace->nr_entries++] = ULONG_MAX; in __save_stack_trace()
147 trace->entries[trace->nr_entries++] = ULONG_MAX; in __save_stack_trace()
166 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_regs()
Dunwind.c77 int entries; /* number of entries left to interpret */ member
227 if (ctrl->entries <= 0) { in unwind_get_byte()
236 ctrl->entries--; in unwind_get_byte()
355 ctrl->entries = 0; in unwind_exec_insn()
433 ctrl.entries = 1; in unwind_frame()
436 ctrl.entries = 1 + ((*ctrl.insn & 0x00ff0000) >> 16); in unwind_frame()
445 while (ctrl.entries > 0) { in unwind_frame()
/linux-4.1.27/Documentation/devicetree/bindings/ata/
Dtegra-sata.txt7 - reg : Should contain 2 entries:
13 - clock-names : Must include the following entries:
20 - reset-names : Must include the following entries:
26 - phy-names : Must include the following entries:
/linux-4.1.27/arch/powerpc/kvm/
De500_mmu_host.c40 #define to_htlb1_esel(esel) (host_tlb_params[1].entries - (esel) - 1)
47 return host_tlb_params[1].entries - tlbcam_index - 1; in tlb1_max_shadow_size()
277 sizeof(u64) * vcpu_e500->gtlb_params[1].entries); in clear_tlb1_bitmap()
280 sizeof(unsigned int) * host_tlb_params[1].entries); in clear_tlb1_bitmap()
289 for (i = 0; i < vcpu_e500->gtlb_params[tlbsel].entries; i++) { in clear_tlb_privs()
769 host_tlb_params[0].entries = mfspr(SPRN_TLB0CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init()
770 host_tlb_params[1].entries = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init()
777 if (host_tlb_params[0].entries == 0 || in e500_mmu_host_init()
778 host_tlb_params[1].entries == 0) { in e500_mmu_host_init()
785 host_tlb_params[1].ways = host_tlb_params[1].entries; in e500_mmu_host_init()
[all …]
De500_mmu.c76 esel &= vcpu_e500->gtlb_params[tlbsel].entries - 1; in get_tlb_esel()
86 int size = vcpu_e500->gtlb_params[tlbsel].entries; in kvmppc_e500_tlb_index()
156 int size = vcpu_e500->gtlb_params[1].entries; in kvmppc_recalc_tlb1map_range()
236 for (esel = 0; esel < vcpu_e500->gtlb_params[0].entries; esel++) in kvmppc_e500_emul_mt_mmucsr0()
239 for (esel = 0; esel < vcpu_e500->gtlb_params[1].entries; esel++) in kvmppc_e500_emul_mt_mmucsr0()
261 for (esel = 0; esel < vcpu_e500->gtlb_params[tlbsel].entries; in kvmppc_e500_emul_tlbivax()
285 for (esel = 0; esel < vcpu_e500->gtlb_params[tlbsel].entries; esel++) { in tlbilx_all()
828 vcpu_e500->gtlb_params[0].entries = params.tlb_sizes[0]; in kvm_vcpu_ioctl_config_tlb()
829 vcpu_e500->gtlb_params[1].entries = params.tlb_sizes[1]; in kvm_vcpu_ioctl_config_tlb()
881 vcpu->arch.tlbcfg[0] |= params[0].entries; in vcpu_mmu_init()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtx.c218 (void *) txq->entries[txq->q.write_ptr].cmd->payload; in iwl_pcie_txq_update_byte_cnt_tbl()
262 (void *)txq->entries[txq->q.read_ptr].cmd->payload; in iwl_pcie_txq_inval_byte_cnt_tbl()
422 iwl_pcie_tfd_unmap(trans, &txq->entries[idx].meta, &tfd_tmp[rd_ptr]); in iwl_pcie_txq_free_tfd()
425 if (txq->entries) { in iwl_pcie_txq_free_tfd()
428 skb = txq->entries[idx].skb; in iwl_pcie_txq_free_tfd()
436 txq->entries[idx].skb = NULL; in iwl_pcie_txq_free_tfd()
482 if (WARN_ON(txq->entries || txq->tfds)) in iwl_pcie_txq_alloc()
491 txq->entries = kcalloc(slots_num, in iwl_pcie_txq_alloc()
495 if (!txq->entries) in iwl_pcie_txq_alloc()
500 txq->entries[i].cmd = in iwl_pcie_txq_alloc()
[all …]
/linux-4.1.27/drivers/misc/genwqe/
Dcard_debugfs.c50 int entries) in dbg_uidn_show() argument
55 for (i = 0; i < entries; i++) { in dbg_uidn_show()
67 int entries; in curr_dbg_uidn_show() local
70 entries = genwqe_ffdc_buff_size(cd, uid); in curr_dbg_uidn_show()
71 if (entries < 0) in curr_dbg_uidn_show()
74 if (entries == 0) in curr_dbg_uidn_show()
77 regs = kcalloc(entries, sizeof(*regs), GFP_KERNEL); in curr_dbg_uidn_show()
82 genwqe_ffdc_buff_read(cd, uid, regs, entries); in curr_dbg_uidn_show()
85 dbg_uidn_show(s, regs, entries); in curr_dbg_uidn_show()
115 dbg_uidn_show(s, cd->ffdc[uid].regs, cd->ffdc[uid].entries); in prev_dbg_uidn_show()
/linux-4.1.27/arch/parisc/kernel/
Dstacktrace.c41 trace->entries[trace->nr_entries++] = info.ip; in dump_trace()
53 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace()
61 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
Dinventory.c293 int entries; in pat_memconfig() local
315 entries = actual_len / sizeof(struct pdc_pat_pd_addr_map_entry); in pat_memconfig()
317 if (entries > PAT_MAX_RANGES) { in pat_memconfig()
330 for (i = 0; i < entries; i++,mtbl_ptr++) { in pat_memconfig()
387 int entries; in sprockets_memconfig() local
410 entries = (int)r_addr.entries_returned; in sprockets_memconfig()
415 for (i = 0; i < entries; i++,mtbl_ptr++) { in sprockets_memconfig()
/linux-4.1.27/drivers/scsi/arm/
Dmsgqueue.c59 msgq->free = &msgq->entries[0]; in msgqueue_initialise()
62 msgq->entries[i].next = &msgq->entries[i + 1]; in msgqueue_initialise()
64 msgq->entries[NR_MESSAGES - 1].next = NULL; in msgqueue_initialise()
/linux-4.1.27/Documentation/cgroups/
Ddevices.txt15 devices from the whitelist or add new entries. A child cgroup can
57 from their whitelist and all the locally set whitelist entries will be
58 re-evaluated. In case one of the locally set whitelist entries would provide
72 it'll propagate down and after revalidating B's entries, the whitelist entry
75 group whitelist entries denied devices
82 Notice that new whitelist entries will not be propagated:
87 group whitelist entries denied devices
95 group whitelist entries denied devices
99 but now it'll be possible to add new entries to B:
/linux-4.1.27/drivers/rapidio/devices/
Dtsi721.c733 struct msix_entry entries[TSI721_VECT_MAX]; in tsi721_enable_msix() local
737 entries[TSI721_VECT_IDB].entry = TSI721_MSIX_SR2PC_IDBQ_RCV(IDB_QUEUE); in tsi721_enable_msix()
738 entries[TSI721_VECT_PWRX].entry = TSI721_MSIX_SRIO_MAC_INT; in tsi721_enable_msix()
747 entries[TSI721_VECT_IMB0_RCV + i].entry = in tsi721_enable_msix()
749 entries[TSI721_VECT_IMB0_INT + i].entry = in tsi721_enable_msix()
751 entries[TSI721_VECT_OMB0_DONE + i].entry = in tsi721_enable_msix()
753 entries[TSI721_VECT_OMB0_INT + i].entry = in tsi721_enable_msix()
764 entries[TSI721_VECT_DMA0_DONE + i].entry = in tsi721_enable_msix()
766 entries[TSI721_VECT_DMA0_INT + i].entry = in tsi721_enable_msix()
771 err = pci_enable_msix_exact(priv->pdev, entries, ARRAY_SIZE(entries)); in tsi721_enable_msix()
[all …]
/linux-4.1.27/net/netfilter/
Dxt_repldata.h22 struct type##_standard entries[]; \
25 size_t term_offset = (offsetof(typeof(*tbl), entries[nhooks]) + \
42 tbl->entries[i++] = (struct type##_standard) \
/linux-4.1.27/fs/reiserfs/
Ditem_ops.c537 int entries = 0; in direntry_check_left() local
546 entries++; in direntry_check_left()
549 if (entries == dir_u->entry_count) { in direntry_check_left()
557 && entries < 2) in direntry_check_left()
558 entries = 0; in direntry_check_left()
560 return entries ? : -1; in direntry_check_left()
566 int entries = 0; in direntry_check_right() local
575 entries++; in direntry_check_right()
577 BUG_ON(entries == dir_u->entry_count); in direntry_check_right()
581 && entries > dir_u->entry_count - 2) in direntry_check_right()
[all …]
/linux-4.1.27/fs/nfs/
Dmount_clnt.c422 u32 entries, i; in decode_auth_flavors() local
431 entries = be32_to_cpup(p); in decode_auth_flavors()
432 dprintk("NFS: received %u auth flavors\n", entries); in decode_auth_flavors()
433 if (entries > NFS_MAX_SECFLAVORS) in decode_auth_flavors()
434 entries = NFS_MAX_SECFLAVORS; in decode_auth_flavors()
436 p = xdr_inline_decode(xdr, 4 * entries); in decode_auth_flavors()
440 if (entries > *count) in decode_auth_flavors()
441 entries = *count; in decode_auth_flavors()
443 for (i = 0; i < entries; i++) { in decode_auth_flavors()
/linux-4.1.27/Documentation/devicetree/bindings/iommu/
Dti,omap-iommu.txt13 - ti,#tlb-entries : Number of entries in the translation look-aside buffer.
25 ti,#tlb-entries = <8>;
/linux-4.1.27/arch/x86/kvm/
Dcpuid.h10 struct kvm_cpuid_entry2 __user *entries,
14 struct kvm_cpuid_entry __user *entries);
17 struct kvm_cpuid_entry2 __user *entries);
20 struct kvm_cpuid_entry2 __user *entries);
Dcpuid.c163 struct kvm_cpuid_entry __user *entries) in kvm_vcpu_ioctl_set_cpuid() argument
176 if (copy_from_user(cpuid_entries, entries, in kvm_vcpu_ioctl_set_cpuid()
205 struct kvm_cpuid_entry2 __user *entries) in kvm_vcpu_ioctl_set_cpuid2() argument
213 if (copy_from_user(&vcpu->arch.cpuid_entries, entries, in kvm_vcpu_ioctl_set_cpuid2()
226 struct kvm_cpuid_entry2 __user *entries) in kvm_vcpu_ioctl_get_cpuid2() argument
234 if (copy_to_user(entries, &vcpu->arch.cpuid_entries, in kvm_vcpu_ioctl_get_cpuid2()
636 static bool sanity_check_entries(struct kvm_cpuid_entry2 __user *entries, in sanity_check_entries() argument
654 if (copy_from_user(pad, entries[i].padding, sizeof(pad))) in sanity_check_entries()
664 struct kvm_cpuid_entry2 __user *entries, in kvm_dev_ioctl_get_cpuid() argument
683 if (sanity_check_entries(entries, cpuid->nent, type)) in kvm_dev_ioctl_get_cpuid()
[all …]
/linux-4.1.27/include/uapi/linux/netfilter/
Dx_tables.h147 #define XT_ENTRY_ITERATE_CONTINUE(type, entries, size, n, fn, args...) \ argument
155 __entry = (void *)(entries) + __i; \
167 #define XT_ENTRY_ITERATE(type, entries, size, fn, args...) \ argument
168 XT_ENTRY_ITERATE_CONTINUE(type, entries, size, 0, fn, args)
/linux-4.1.27/arch/sh/mm/
Dtlb-sh5.c23 cpu_data->dtlb.entries = 64; in sh64_tlb_init()
30 ((cpu_data->dtlb.entries - 1) * in sh64_tlb_init()
34 cpu_data->itlb.entries = 64; in sh64_tlb_init()
40 ((cpu_data->itlb.entries - 1) * in sh64_tlb_init()
/linux-4.1.27/Documentation/x86/
Dentry_64.txt1 This file documents some of the kernel entries in
17 Some of these entries are:
27 - interrupt: An array of entries. Every IDT vector that doesn't
38 There are a few complexities here. The different x86-64 entries
41 the IDT entries push an error code onto the stack; others don't.
42 IDT entries using the IST alternative stack mechanism need their own
93 Therefore, super-atomic entries (except NMI, which is handled separately)
101 We try to only use IST entries and the paranoid entry code for vectors
Dzero-page.txt29 1E8/001 ALL e820_entries Number of entries in e820_map (below)
30 1E9/001 ALL eddbuf_entries Number of entries in eddbuf (below)
31 1EA/001 ALL edd_mbr_sig_buf_entries Number of entries in edd_mbr_sig_buffer
/linux-4.1.27/Documentation/devicetree/bindings/rtc/
Ddw-apb.txt14 - clocks : list of clock specifiers, corresponding to entries in
16 - clock-names : should contain "timer" and "pclk" entries, matching entries
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dport.c62 table->entries[i] = 0; in mlx4_init_mac_table()
75 table->entries[i] = 0; in mlx4_init_vlan_table()
97 if (index < 0 || index >= table->max || !table->entries[index]) { in validate_index()
112 (MLX4_MAC_MASK & be64_to_cpu(table->entries[i]))) in find_index()
120 __be64 *entries) in mlx4_set_port_mac_table() argument
130 memcpy(mailbox->buf, entries, MLX4_MAC_TABLE_SIZE); in mlx4_set_port_mac_table()
152 if (mac == (MLX4_MAC_MASK & be64_to_cpu(table->entries[i]))) { in mlx4_find_cached_mac()
181 (MLX4_MAC_MASK & be64_to_cpu(table->entries[i]))) { in __mlx4_register_mac()
198 table->entries[free] = cpu_to_be64(mac | MLX4_MAC_VALID); in __mlx4_register_mac()
200 err = mlx4_set_port_mac_table(dev, port, table->entries); in __mlx4_register_mac()
[all …]
Dalloc.c204 struct list_head entries; member
232 INIT_LIST_HEAD(&zones->entries); in mlx4_zone_allocator_create()
292 if (!list_is_last(&entry->list, &zone_alloc->entries)) { in __mlx4_zone_remove_one_entry()
328 list_for_each_entry_safe(zone, tmp, &zone_alloc->entries, list) { in mlx4_zone_allocator_destroy()
364 list_for_each_entry_continue_reverse(it, &zone_alloc->entries, list) { in __mlx4_alloc_from_zone()
378 list_for_each_entry_from(it, &zone_alloc->entries, list) { in __mlx4_alloc_from_zone()
403 list_for_each_entry_from(curr_node, &zone_alloc->entries, list) { in __mlx4_alloc_from_zone()
433 list_for_each_entry(zone, &zones->entries, list) { in __mlx4_find_zone_by_uid()
493 list_for_each_entry(zone, &zones->entries, list) { in __mlx4_find_zone_by_uid_unique()
/linux-4.1.27/arch/x86/um/
Dldt.c66 if (copy_to_user(ptr, ldt->u.entries, size)) in read_ldt()
154 memcpy(&entry0, ldt->u.entries, in write_ldt()
168 memcpy(ldt->u.pages[0]+1, ldt->u.entries+1, in write_ldt()
178 ldt_p = ldt->u.entries + ldt_info.entry_number; in write_ldt()
332 memcpy(new_mm->arch.ldt.u.entries, from_mm->arch.ldt.u.entries, in init_new_ldt()
333 sizeof(new_mm->arch.ldt.u.entries)); in init_new_ldt()
/linux-4.1.27/drivers/sh/intc/
Dvirq.c200 struct intc_subgroup_entry *entries[32]; in intc_subgroup_map() local
209 (void ***)entries, 0, ARRAY_SIZE(entries), in intc_subgroup_map()
216 entry = radix_tree_deref_slot((void **)entries[i]); in intc_subgroup_map()
251 radix_tree_replace_slot((void **)entries[i], in intc_subgroup_map()
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
Debtables.h53 char __user *entries; member
69 char *entries; member
243 #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \ argument
250 __entry = (void *)(entries) + __i; \
/linux-4.1.27/include/uapi/linux/netfilter_arp/
Darp_tables.h30 #define ARPT_ENTRY_ITERATE(entries, size, fn, args...) \ argument
31 XT_ENTRY_ITERATE(struct arpt_entry, entries, size, fn, ## args)
182 struct arpt_entry entries[0]; member
/linux-4.1.27/kernel/time/
Dtimer_stats.c117 static struct entry entries[MAX_ENTRIES]; variable
141 memset(entries, 0, sizeof(entries)); in reset_entries()
151 return entries + nr_entries++; in alloc_entry()
308 entry = entries + i; in tstats_show()
/linux-4.1.27/Documentation/devicetree/bindings/spi/
Dnvidia,tegra114-spi.txt9 - clock-names : Must include the following entries:
13 - reset-names : Must include the following entries:
17 - dma-names : Must include the following entries:
Dnvidia,tegra20-sflash.txt11 - reset-names : Must include the following entries:
15 - dma-names : Must include the following entries:
Dnvidia,tegra20-slink.txt11 - reset-names : Must include the following entries:
15 - dma-names : Must include the following entries:
Dspi-img-spfi.txt9 - clock-names: Must include the following entries:
14 - dma-names: Must include the following entries:
/linux-4.1.27/arch/s390/kernel/
Dstacktrace.c31 trace->entries[trace->nr_entries++] = addr; in save_context_stack()
52 trace->entries[trace->nr_entries++] = addr; in save_context_stack()
94 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
/linux-4.1.27/drivers/misc/mic/host/
Dmic_smpt.c79 int entries, struct mic_device *mdev) in mic_add_smpt_entry() argument
84 for (i = spt; i < spt + entries; i++, in mic_add_smpt_entry()
100 int entries, s64 *ref, size_t size) in mic_smpt_op() argument
120 if (ae == entries) in mic_smpt_op()
127 if (ae == entries) in mic_smpt_op()
136 spt = i - entries + 1; in mic_smpt_op()
138 mic_add_smpt_entry(spt, ref, dma_addr, entries, mdev); in mic_smpt_op()
/linux-4.1.27/tools/perf/Documentation/
Dperf-top.txt45 -E <entries>::
46 --entries=<entries>::
187 Do not show entries which have an overhead under that percent.
191 Determine how to display the overhead percentage of filtered entries.
195 "relative" means it's relative to filtered entries only so that the
196 sum of shown entries will be always 100%. "absolute" means it retains
212 Number of entries to display.
Dperf-diff.txt44 file://filename entries. This option will affect the percentage
50 file://filename entries. This option will affect the percentage
56 file://filename entries. This option will affect the percentage
94 Show period values for both compared hist entries.
105 Determine how to display the overhead percentage of filtered entries.
108 "relative" means it's relative to filtered entries only so that the
109 sum of shown entries will be always 100%. "absolute" means it retains
181 relative to how entries are filtered. Use --percentage=absolute to
Dperf-report.txt41 file://filename entries. This option will affect the percentage of
51 file://filename entries. This option will affect the percentage of
56 file://filename entries. This option will affect the percentage of
64 Only display entries resolved to a symbol.
68 Sort histogram entries by given key(s) - multiple keys can be specified
79 entries are displayed as "[other]".
150 Only display entries with parent-match.
305 Do not show entries which have an overhead under that percent.
309 Determine how to display the overhead percentage of filtered entries.
313 "relative" means it's relative to filtered entries only so that the
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dbit.c31 u8 entries = nv_ro08(bios, bios->bit_offset + 10); in bit_entry() local
33 while (entries--) { in bit_entry()
/linux-4.1.27/include/uapi/linux/
Dnet_dropmon.h30 __u32 entries; member
35 __u32 entries; member
/linux-4.1.27/drivers/pci/
Dmsi.c714 struct msix_entry *entries, int nvec) in msix_setup_entries() argument
732 entry->msi_attrib.entry_nr = entries[i].entry; in msix_setup_entries()
744 struct msix_entry *entries) in msix_program_entries() argument
750 int offset = entries[i].entry * PCI_MSIX_ENTRY_SIZE + in msix_program_entries()
753 entries[i].vector = entry->irq; in msix_program_entries()
771 struct msix_entry *entries, int nvec) in msix_capability_init() argument
786 ret = msix_setup_entries(dev, base, entries, nvec); in msix_capability_init()
807 msix_program_entries(dev, entries); in msix_capability_init()
980 int pci_enable_msix(struct pci_dev *dev, struct msix_entry *entries, int nvec) in pci_enable_msix() argument
988 if (!entries) in pci_enable_msix()
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dsge.c188 struct cmdQ_e *entries; /* HW command descriptor Q */ member
203 struct freelQ_e *entries; /* HW freelist descriptor Q */ member
213 struct respQ_e *entries; /* HW response descriptor Q */ member
530 if (sge->respQ.entries) { in free_rx_resources()
532 pci_free_consistent(pdev, size, sge->respQ.entries, in free_rx_resources()
543 if (q->entries) { in free_rx_resources()
545 pci_free_consistent(pdev, size, q->entries, in free_rx_resources()
567 q->entries = pci_alloc_consistent(pdev, size, &q->dma_addr); in alloc_rx_resources()
568 if (!q->entries) in alloc_rx_resources()
604 sge->respQ.entries = in alloc_rx_resources()
[all …]
/linux-4.1.27/include/uapi/linux/netfilter_ipv4/
Dip_tables.h64 #define IPT_ENTRY_ITERATE(entries, size, fn, args...) \ argument
65 XT_ENTRY_ITERATE(struct ipt_entry, entries, size, fn, ## args)
204 struct ipt_entry entries[0]; member
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dqcom,lpass-cpu.txt9 - clock-names : A list which must include the following entries:
15 - interrupt-names : A list which must include the following entries:
22 - reg-names : A list which must include the following entries:
Dnvidia,tegra30-ahub.txt10 - Tegra30 requires 2 entries, for the APBIF and AHUB/AUDIO register blocks.
15 - clock-names : Must include the following entries:
20 - reset-names : Must include the following entries:
49 - dma-names : Must include the following entries:
Dnvidia,tegra20-i2s.txt9 - reset-names : Must include the following entries:
13 - dma-names : Must include the following entries:
Dnvidia,tegra30-hda.txt11 - clock-names : Must include the following entries: hda, hdacodec_2x, hda2hdmi
14 - reset-names : Must include the following entries: hda, hdacodec_2x, hda2hdmi
Dnvidia,tegra20-ac97.txt9 - reset-names : Must include the following entries:
13 - dma-names : Must include the following entries:
/linux-4.1.27/drivers/of/
Ddynamic.c647 INIT_LIST_HEAD(&ocs->entries); in of_changeset_init()
662 list_for_each_entry_safe_reverse(ce, cen, &ocs->entries, node) in of_changeset_destroy()
685 list_for_each_entry(ce, &ocs->entries, node) { in of_changeset_apply()
689 list_for_each_entry_continue_reverse(ce, &ocs->entries, node) in of_changeset_apply()
698 list_for_each_entry(ce, &ocs->entries, node) in of_changeset_apply()
723 list_for_each_entry_reverse(ce, &ocs->entries, node) { in of_changeset_revert()
727 list_for_each_entry_continue(ce, &ocs->entries, node) in of_changeset_revert()
736 list_for_each_entry_reverse(ce, &ocs->entries, node) in of_changeset_revert()
779 list_add_tail(&ce->node, &ocs->entries); in of_changeset_action()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_lblc.c109 atomic_t entries; /* number of entries */ member
176 atomic_inc(&tbl->entries); in ip_vs_lblc_hash()
244 atomic_dec(&tbl->entries); in ip_vs_lblc_flush()
279 atomic_dec(&tbl->entries); in ip_vs_lblc_full_check()
315 if (atomic_read(&tbl->entries) <= tbl->max_size) { in ip_vs_lblc_check_expire()
320 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblc_check_expire()
333 atomic_dec(&tbl->entries); in ip_vs_lblc_check_expire()
Dip_vs_lblcr.c278 atomic_t entries; /* number of entries */ member
339 atomic_inc(&tbl->entries); in ip_vs_lblcr_hash()
443 atomic_dec(&tbl->entries); in ip_vs_lblcr_full_check()
479 if (atomic_read(&tbl->entries) <= tbl->max_size) { in ip_vs_lblcr_check_expire()
484 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblcr_check_expire()
497 atomic_dec(&tbl->entries); in ip_vs_lblcr_check_expire()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_da_format.h682 xfs_attr_leaf_entry_t entries[1]; /* sorted on key, not name */ member
714 struct xfs_attr_leaf_entry entries[1]; member
800 return &((struct xfs_attr3_leafblock *)leafp)->entries[0]; in xfs_attr3_leaf_entryp()
801 return &leafp->entries[0]; in xfs_attr3_leaf_entryp()
810 struct xfs_attr_leaf_entry *entries = xfs_attr3_leaf_entryp(leafp); in xfs_attr3_leaf_name() local
812 return &((char *)leafp)[be16_to_cpu(entries[idx].nameidx)]; in xfs_attr3_leaf_name()
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h57 #define IP6T_ENTRY_ITERATE(entries, size, fn, args...) \ argument
58 XT_ENTRY_ITERATE(struct ip6t_entry, entries, size, fn, ## args)
244 struct ip6t_entry entries[0]; member
/linux-4.1.27/tools/perf/ui/
Dbrowser.c57 } while (pos != browser->entries); in ui_browser__list_head_filter_entries()
70 } while (pos != browser->entries); in ui_browser__list_head_filter_prev_entries()
77 struct list_head *head = browser->entries; in ui_browser__list_head_seek()
112 struct rb_root *root = browser->entries; in ui_browser__rb_tree_seek()
146 browser->top = rb_first(browser->entries); in ui_browser__rb_tree_refresh()
456 struct list_head *head = browser->entries; in ui_browser__list_head_refresh()
459 if (browser->top == NULL || browser->top == browser->entries) in ui_browser__list_head_refresh()
567 browser->top = browser->entries; in ui_browser__argv_seek()
586 browser->top = browser->entries; in ui_browser__argv_refresh()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dipz_pt_fn.h61 u8 entries[EHCA_PAGESIZE]; member
99 return &current_page->entries[q_offset & (EHCA_PAGESIZE - 1)]; in ipz_qeit_calc()
187 u64 entries[EHCA_PT_ENTRIES]; member
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_cq.c200 struct ib_cq *ipath_create_cq(struct ib_device *ibdev, int entries, int comp_vector, in ipath_create_cq() argument
210 if (entries < 1 || entries > ib_ipath_max_cqes) { in ipath_create_cq()
231 sz += sizeof(struct ib_uverbs_wc) * (entries + 1); in ipath_create_cq()
233 sz += sizeof(struct ib_wc) * (entries + 1); in ipath_create_cq()
283 cq->ibcq.cqe = entries; in ipath_create_cq()
/linux-4.1.27/net/xfrm/
Dxfrm_algo.c581 int entries; member
588 .entries = ARRAY_SIZE(aead_list),
595 .entries = ARRAY_SIZE(aalg_list),
602 .entries = ARRAY_SIZE(ealg_list),
609 .entries = ARRAY_SIZE(calg_list),
622 for (i = 0; i < algo_list->entries; i++) { in xfrm_find_algo()
/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_rmu.c712 fsl_open_outb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) in fsl_open_outb_mbox() argument
718 if ((entries < RIO_MIN_TX_RING_SIZE) || in fsl_open_outb_mbox()
719 (entries > RIO_MAX_TX_RING_SIZE) || (!is_power_of_2(entries))) { in fsl_open_outb_mbox()
726 rmu->msg_tx_ring.size = entries; in fsl_open_outb_mbox()
786 ((get_bitmask_order(entries) - 2) << 12)); in fsl_open_outb_mbox()
845 fsl_open_inb_mbox(struct rio_mport *mport, void *dev_id, int mbox, int entries) in fsl_open_inb_mbox() argument
851 if ((entries < RIO_MIN_RX_RING_SIZE) || in fsl_open_inb_mbox()
852 (entries > RIO_MAX_RX_RING_SIZE) || (!is_power_of_2(entries))) { in fsl_open_inb_mbox()
859 rmu->msg_rx_ring.size = entries; in fsl_open_inb_mbox()
900 setbits32(&rmu->msg_regs->imr, (get_bitmask_order(entries) - 2) << 12); in fsl_open_inb_mbox()
Dfsl_rio.h140 void *dev_id, int mbox, int entries);
143 void *dev_id, int mbox, int entries);
/linux-4.1.27/net/core/
Ddrop_monitor.c159 for (i = 0; i < msg->entries; i++) { in trace_drop_common()
165 if (msg->entries == dm_hit_limit) in trace_drop_common()
172 memcpy(msg->points[msg->entries].pc, &location, sizeof(void *)); in trace_drop_common()
173 msg->points[msg->entries].count = 1; in trace_drop_common()
174 msg->entries++; in trace_drop_common()
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dsunxi-ir.txt6 entries in clock-names property;
7 - clock-names : should contain "apb" and "ir" entries;
Dexynos4-fimc-is.txt16 - clocks : list of clock specifiers, corresponding to entries in
21 "div_aclk200", "aclk400mcuisp", "div_aclk400mcuisp" entries,
22 matching entries in the clocks property.
Dsamsung-mipi-csis.txt16 - clocks : list of clock specifiers, corresponding to entries in
18 - clock-names : must contain "csis", "sclk_csis" entries, matching entries
/linux-4.1.27/arch/x86/include/asm/
Dsetup.h108 #define RESERVE_BRK_ARRAY(type, name, entries) \ argument
110 RESERVE_BRK(name, sizeof(type) * entries)
Ddesc.h108 static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_alloc_ldt() argument
112 static inline void paravirt_free_ldt(struct desc_struct *ldt, unsigned entries) in paravirt_free_ldt() argument
195 static inline void native_set_ldt(const void *addr, unsigned int entries) in native_set_ldt() argument
197 if (likely(entries == 0)) in native_set_ldt()
204 entries * LDT_ENTRY_SIZE - 1); in native_set_ldt()
Dmmu_context.h47 struct desc_struct *entries; member
73 set_ldt(ldt->entries, ldt->size); in load_mm_ldt()
/linux-4.1.27/drivers/s390/char/
Dsclp_cmd.c267 u32 entries[0]; member
288 if (sccb->entries[i]) in sclp_attach_storage()
289 sclp_unassign_storage(sccb->entries[i] >> 16); in sclp_attach_storage()
489 u32 entries[0]; member
528 if (!sccb->entries[i]) in sclp_detect_standby_memory()
531 insert_increment(sccb->entries[i] >> 16, 0, 1); in sclp_detect_standby_memory()
538 if (!sccb->entries[i]) in sclp_detect_standby_memory()
541 insert_increment(sccb->entries[i] >> 16, 1, 1); in sclp_detect_standby_memory()
/linux-4.1.27/fs/xfs/
Dxfs_attr_list.c249 struct xfs_attr_leaf_entry *entries; in xfs_attr_node_list() local
264 entries = xfs_attr3_leaf_entryp(leaf); in xfs_attr_node_list()
266 entries[leafhdr.count - 1].hashval)) { in xfs_attr_node_list()
271 entries[0].hashval)) { in xfs_attr_node_list()
371 struct xfs_attr_leaf_entry *entries; in xfs_attr3_leaf_list_int() local
381 entries = xfs_attr3_leaf_entryp(leaf); in xfs_attr3_leaf_list_int()
390 entry = &entries[0]; in xfs_attr3_leaf_list_int()
409 entry = &entries[0]; in xfs_attr3_leaf_list_int()
/linux-4.1.27/Documentation/filesystems/
Dlogfs.txt47 all currently valid entries.
55 Objects are either inodes, directory entries (dentries), file data
89 of alias entries. Each alias consists of its logical address - inode
175 To satisfy efficient lookup(), directory entries are hashed and
183 table contains 16 entries, the second 512-16, etc.
189 entries each.
192 just 2^16 used entries, hash collisions would be likely (P >= 0.5).
196 188,057,130 entries with an average of 315,149,915 entries. So for
201 overflow with just 21 entries (4 higher tables + 16 entries + 1). So
/linux-4.1.27/arch/metag/kernel/
Dstacktrace.c137 trace->entries[trace->nr_entries++] = addr; in save_trace()
158 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
179 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
/linux-4.1.27/arch/um/kernel/
Dstacktrace.c56 trace->entries[trace->nr_entries++] = address; in save_addr()
67 trace->entries[trace->nr_entries++] = ULONG_MAX; in __save_stack_trace()
/linux-4.1.27/Documentation/devicetree/bindings/nvec/
Dnvidia,nvec.txt12 - clock-names : Must include the following entries:
20 - reset-names : Must include the following entries:
/linux-4.1.27/Documentation/devicetree/bindings/timer/
Drenesas,cmt.txt23 This is a fallback for the above renesas,cmt-32-* entries.
33 This is a fallback for the above renesas,cmt-32-fast-* entries.
43 This is a fallback for the above renesas,cmt-48-* entries.
54 renesas,cmt-48-r8a7790 and renesas,cmt-48-r8a7791 entries.
/linux-4.1.27/mm/
Dpage_ext.c69 int entries = ARRAY_SIZE(page_ext_ops); in invoke_need_callbacks() local
71 for (i = 0; i < entries; i++) { in invoke_need_callbacks()
82 int entries = ARRAY_SIZE(page_ext_ops); in invoke_init_callbacks() local
84 for (i = 0; i < entries; i++) { in invoke_init_callbacks()
/linux-4.1.27/drivers/iio/trigger/
DKconfig4 # When adding new entries keep the list in alphabetical order
22 Provides support for using SYSFS entries as IIO triggers.
/linux-4.1.27/Documentation/devicetree/bindings/pci/
Dnvidia,tegra20-pcie.txt11 - reg-names: Must include the following entries:
17 - interrupt-names: Must include the following entries:
30 PCI regions. The entries must be 6 cells each, where the first three cells
34 - The first two entries are expected to translate the addresses for the root
37 - The remaining entries setup the mapping for the standard I/O, memory and
51 - clock-names: Must include the following entries:
58 - reset-names: Must include the following entries:
65 - phy-names: Must include the following entries:
Dfsl,imx6q-pcie.txt11 - interrupt-names: Must include the following entries:
13 - clock-names: Must include the following additional entries:
Dlayerscape-pci.txt11 - interrupt-names: Must include the following entries:
13 - fsl,pcie-scfg: Must include two entries.
/linux-4.1.27/net/ipv4/netfilter/
Darp_tables.c278 table_base = private->entries[smp_processor_id()]; in arpt_do_table()
707 if (newinfo->entries[i] && newinfo->entries[i] != entry0) in translate_table()
708 memcpy(newinfo->entries[i], entry0, newinfo->size); in translate_table()
725 xt_entry_foreach(iter, t->entries[cpu], t->size) { in get_counters()
777 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user()
873 memcpy(newinfo, info, offsetof(struct xt_table_info, entries)); in compat_table_info()
875 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info()
1040 loc_cpu_old_entry = oldinfo->entries[raw_smp_processor_id()]; in __do_replace()
1088 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace()
1186 loc_cpu_entry = private->entries[curcpu]; in do_add_counters()
[all …]
Dip_tables.c264 table_base = private->entries[smp_processor_id()]; in trace_packet()
334 table_base = private->entries[cpu]; in ipt_do_table()
871 if (newinfo->entries[i] && newinfo->entries[i] != entry0) in translate_table()
872 memcpy(newinfo->entries[i], entry0, newinfo->size); in translate_table()
890 xt_entry_foreach(iter, t->entries[cpu], t->size) { in get_counters()
946 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user()
1061 memcpy(newinfo, info, offsetof(struct xt_table_info, entries)); in compat_table_info()
1063 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info()
1227 loc_cpu_old_entry = oldinfo->entries[raw_smp_processor_id()]; in __do_replace()
1275 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace()
[all …]
/linux-4.1.27/arch/mips/kernel/
Dstacktrace.c26 trace->entries[trace->nr_entries++] = addr; in save_raw_context_stack()
53 trace->entries[trace->nr_entries++] = pc; in save_context_stack()
/linux-4.1.27/arch/sparc/kernel/
Dstacktrace.c56 trace->entries[trace->nr_entries++] = pc; in __save_stack_trace()
64 trace->entries[trace->nr_entries++] = pc; in __save_stack_trace()
/linux-4.1.27/Documentation/devicetree/bindings/soc/mediatek/
Dpwrap.txt24 - reg-names: Must include the following entries:
28 - reset-names: Must include the following entries:
32 - clock-names: Must include the following entries:
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_cq.c215 struct ib_cq *qib_create_cq(struct ib_device *ibdev, int entries, in qib_create_cq() argument
225 if (entries < 1 || entries > ib_qib_max_cqes) { in qib_create_cq()
246 sz += sizeof(struct ib_uverbs_wc) * (entries + 1); in qib_create_cq()
248 sz += sizeof(struct ib_wc) * (entries + 1); in qib_create_cq()
299 cq->ibcq.cqe = entries; in qib_create_cq()
Dqib_mad.c2135 struct ib_cc_congestion_entry_shadow *entries; in cc_get_congestion_setting() local
2141 entries = ppd->congestion_entries_shadow->entries; in cc_get_congestion_setting()
2147 p->entries[i].ccti_increase = entries[i].ccti_increase; in cc_get_congestion_setting()
2148 p->entries[i].ccti_timer = cpu_to_be16(entries[i].ccti_timer); in cc_get_congestion_setting()
2149 p->entries[i].trigger_threshold = entries[i].trigger_threshold; in cc_get_congestion_setting()
2150 p->entries[i].ccti_min = entries[i].ccti_min; in cc_get_congestion_setting()
2168 struct ib_cc_table_entry_shadow *entries; in cc_get_congestion_control_table() local
2196 entries = &ppd->ccti_entries_shadow-> in cc_get_congestion_control_table()
2197 entries[IB_CCT_ENTRIES * cct_block_index]; in cc_get_congestion_control_table()
2201 p->ccti_entries[i].entry = cpu_to_be16(entries[i].entry); in cc_get_congestion_control_table()
[all …]
Dqib_mad.h376 struct ib_cc_congestion_entry entries[IB_CC_CCS_ENTRIES]; member
382 struct ib_cc_congestion_entry_shadow entries[IB_CC_CCS_ENTRIES]; member
415 struct ib_cc_table_entry_shadow entries[CC_TABLE_SHADOW_MAX]; member
/linux-4.1.27/arch/blackfin/
DKconfig.debug122 two entries. Omitting one of these entries from the record prevents
158 bool "Expand Trace Buffer greater than 16 entries"
162 By selecting this option, every time the 16 hardware entries in
177 0 for (2^0) 1k, or 256 entries,
178 1 for (2^1) 2k, or 512 entries,
179 2 for (2^2) 4k, or 1024 entries,
180 3 for (2^3) 8k, or 2048 entries,
181 4 for (2^4) 16k, or 4096 entries
/linux-4.1.27/kernel/trace/
Dring_buffer_benchmark.c217 unsigned long long entries; in ring_buffer_producer() local
285 entries = ring_buffer_entries(buffer); in ring_buffer_producer()
318 trace_printk("Entries: %lld\n", entries); in ring_buffer_producer()
319 trace_printk("Total: %lld\n", entries + overruns + read); in ring_buffer_producer()
/linux-4.1.27/drivers/usb/core/
Dmessage.c256 while (io->entries--) in sg_clean()
257 usb_free_urb(io->urbs[io->entries]); in sg_clean()
304 for (i = 0, found = 0; i < io->entries; i++) { in sg_complete()
379 io->entries = 1; in usb_sg_init()
382 io->entries = nents; in usb_sg_init()
386 io->urbs = kmalloc(io->entries * sizeof(*io->urbs), mem_flags); in usb_sg_init()
394 for_each_sg(sg, sg, io->entries, i) { in usb_sg_init()
400 io->entries = i; in usb_sg_init()
443 io->entries = i + 1; in usb_sg_init()
451 io->count = io->entries; in usb_sg_init()
[all …]
/linux-4.1.27/fs/overlayfs/
Dreaddir.c34 struct list_head entries; member
183 ovl_cache_free(&cache->entries); in ovl_cache_put()
322 list_for_each(p, &od->cache->entries) { in ovl_seek_cursor()
348 INIT_LIST_HEAD(&cache->entries); in ovl_cache_get()
350 res = ovl_dir_read_merged(dentry, &cache->entries); in ovl_cache_get()
352 ovl_cache_free(&cache->entries); in ovl_cache_get()
386 while (od->cursor != &od->cache->entries) { in ovl_iterate()
/linux-4.1.27/Documentation/devicetree/bindings/nios2/
Dnios2.txt24 - altr,tlb-num-entries: Specifies the number of entries in the TLB.
53 altr,tlb-num-entries = <128>;
/linux-4.1.27/arch/arm64/kernel/
Dstacktrace.c91 trace->entries[trace->nr_entries++] = addr; in save_trace()
118 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
/linux-4.1.27/net/ipv6/netfilter/
Dip6_tables.c293 table_base = private->entries[smp_processor_id()]; in trace_packet()
360 table_base = private->entries[cpu]; in ip6t_do_table()
884 if (newinfo->entries[i] && newinfo->entries[i] != entry0) in translate_table()
885 memcpy(newinfo->entries[i], entry0, newinfo->size); in translate_table()
903 xt_entry_foreach(iter, t->entries[cpu], t->size) { in get_counters()
959 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user()
1074 memcpy(newinfo, info, offsetof(struct xt_table_info, entries)); in compat_table_info()
1076 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info()
1240 loc_cpu_old_entry = oldinfo->entries[raw_smp_processor_id()]; in __do_replace()
1288 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace()
[all …]
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_provider.c644 static struct ib_cq *mthca_create_cq(struct ib_device *ibdev, int entries, in mthca_create_cq() argument
654 if (entries < 1 || entries > to_mdev(ibdev)->limits.max_cqes) in mthca_create_cq()
686 for (nent = 1; nent <= entries; nent <<= 1) in mthca_create_cq()
723 int entries) in mthca_alloc_resize_buf() argument
749 ret = mthca_alloc_cq_buf(dev, &cq->resize_buf->buf, entries); in mthca_alloc_resize_buf()
758 cq->resize_buf->cqe = entries - 1; in mthca_alloc_resize_buf()
767 static int mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mthca_resize_cq() argument
775 if (entries < 1 || entries > dev->limits.max_cqes) in mthca_resize_cq()
780 entries = roundup_pow_of_two(entries + 1); in mthca_resize_cq()
781 if (entries == ibcq->cqe + 1) { in mthca_resize_cq()
[all …]
Dmthca_main.c854 struct msix_entry entries[3]; in mthca_enable_msi_x() local
857 entries[0].entry = 0; in mthca_enable_msi_x()
858 entries[1].entry = 1; in mthca_enable_msi_x()
859 entries[2].entry = 2; in mthca_enable_msi_x()
861 err = pci_enable_msix_exact(mdev->pdev, entries, ARRAY_SIZE(entries)); in mthca_enable_msi_x()
865 mdev->eq_table.eq[MTHCA_EQ_COMP ].msi_x_vector = entries[0].vector; in mthca_enable_msi_x()
866 mdev->eq_table.eq[MTHCA_EQ_ASYNC].msi_x_vector = entries[1].vector; in mthca_enable_msi_x()
867 mdev->eq_table.eq[MTHCA_EQ_CMD ].msi_x_vector = entries[2].vector; in mthca_enable_msi_x()
/linux-4.1.27/arch/unicore32/kernel/
Dstacktrace.c92 trace->entries[trace->nr_entries++] = addr; in save_trace()
123 trace->entries[trace->nr_entries++] = ULONG_MAX; in save_stack_trace_tsk()
/linux-4.1.27/Documentation/powerpc/
Dcpu_families.txt170 - e6500 adds HW loaded indirect TLB entries.
210 - Book3E, software loaded TLB + HW loaded indirect TLB entries.
/linux-4.1.27/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra30-actmon.txt14 - clock-names: Must include the following entries:
19 - reset-names: Must include the following entries:
/linux-4.1.27/Documentation/devicetree/bindings/serial/
Dnvidia,tegra20-hsuart.txt11 - reset-names : Must include the following entries:
15 - dma-names : Must include the following entries:
/linux-4.1.27/Documentation/devicetree/bindings/watchdog/
Dmarvel.txt11 - reg : Should contain two entries: first one with the
28 - clock-names : Must include the following entries:
/linux-4.1.27/Documentation/devicetree/bindings/pwm/
Dpwm-tipwmss.txt6 - address-cells: Specify the number of u32 entries needed in child nodes.
8 - size-cells: specify number of u32 entries needed to specify child nodes size
/linux-4.1.27/Documentation/x86/x86_64/
Dmachinecheck15 log then mcelog should run to collect and decode machine check entries
21 The directory contains some configurable entries:
34 The following entries appear for each CPU, but they are truly shared
77 TBD document entries for AMD threshold interrupt configuration
Duefi.txt39 - If the EFI memory map has additional entries not in the E820 map,
40 you can include those entries in the kernels memory map of available
/linux-4.1.27/drivers/md/persistent-data/
Ddm-block-manager.c45 stack_entries entries[MAX_HOLDERS]; member
83 t->entries = lock->entries[h]; in __add_holder()
102 static stack_entries entries; in __check_holder() local
115 t.entries = entries; in __check_holder()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dhost.fuc41 .equ #fifo_qnum 3 // log2(max number of entries in queue)
42 .equ #fifo_qmaskb (1 << #fifo_qnum) // max number of entries in queue
50 .equ #rfifo_qnum 3 // log2(max number of entries in queue)
51 .equ #rfifo_qmaskb (1 << #rfifo_qnum) // max number of entries in queue
/linux-4.1.27/arch/ia64/sn/pci/
Dtioca_provider.c375 int ps, ps_shift, entry, entries, mapsize; in tioca_dma_mapped() local
411 entries = (end_xio_addr >> ps_shift) - (xio_addr >> ps_shift) + 1; in tioca_dma_mapped()
416 entry = bitmap_find_next_zero_area(map, mapsize, 0, entries, 0); in tioca_dma_mapped()
422 bitmap_set(map, entry, entries); in tioca_dma_mapped()
427 ca_dmamap->cad_gart_size = entries; in tioca_dma_mapped()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dfarch.c180 for (i = 0; i < buffer->entries; i++) { in efx_init_special_buffer()
200 unsigned int end = (buffer->index + buffer->entries - 1); in efx_fini_special_buffer()
202 if (!buffer->entries) in efx_fini_special_buffer()
206 buffer->index, buffer->index + buffer->entries - 1); in efx_fini_special_buffer()
236 buffer->entries = len / EFX_BUF_SIZE; in efx_alloc_special_buffer()
241 efx->next_buffer_table += buffer->entries; in efx_alloc_special_buffer()
250 buffer->index + buffer->entries - 1, in efx_alloc_special_buffer()
266 buffer->index + buffer->entries - 1, in efx_free_special_buffer()
271 buffer->entries = 0; in efx_free_special_buffer()
360 unsigned entries; in efx_farch_tx_probe() local
[all …]
/linux-4.1.27/fs/nfsd/
Dnfscache.c377 unsigned int entries = 0; in nfsd_cache_search() local
380 ++entries; in nfsd_cache_search()
388 if (entries > longest_chain) { in nfsd_cache_search()
389 longest_chain = entries; in nfsd_cache_search()
391 } else if (entries == longest_chain) { in nfsd_cache_search()
/linux-4.1.27/Documentation/device-mapper/
Dcache-policies.txt33 The multiqueue policy has three sets of 16 queues: one set for entries
35 clean entries and a set for dirty entries).
37 Cache entries in the queues are aged based on logical time. Entry into
/linux-4.1.27/Documentation/
Dremoteproc.txt200 resource entries that publish the existence of supported features
209 * @num: number of resource entries
211 * @offset: array of offsets pointing at the various resource entries
215 * future), the number of available resource entries, and their offsets
225 Immediately following this header are the resource entries themselves,
242 Some resources entries are mere announcements, where the host is informed
243 of specific remoteproc configuration. Other entries require the host to
252 * enum fw_resource_type - types of resource entries
279 We also expect that platform-specific resource entries will show up
296 Of course, RSC_VDEV resource entries are only good enough for static
/linux-4.1.27/arch/x86/include/uapi/asm/
Dkvm.h180 struct kvm_msr_entry entries[0]; member
203 struct kvm_cpuid_entry entries[0]; member
225 struct kvm_cpuid_entry2 entries[0]; member
/linux-4.1.27/Documentation/devicetree/bindings/thermal/
Dtegra-soctherm.txt18 - clock-names : Must include the following entries:
23 - reset-names : Must include the following entries:
/linux-4.1.27/Documentation/devicetree/bindings/fuse/
Dnvidia,tegra20-fuse.txt21 - clock-names: Must include the following entries:
25 - reset-names: Must include the following entries:
/linux-4.1.27/Documentation/devicetree/bindings/video/
Drockchip-vop.txt15 - clocks: must include clock specifiers corresponding to entries in the
25 - reset-names: Must include the following entries:
/linux-4.1.27/net/can/
Daf_can.c501 d->entries++; in can_rx_register()
584 d->entries--; in can_rx_unregister()
590 if (d->remove_on_zero_entries && !d->entries) { in can_rx_unregister()
617 if (d->entries == 0) in can_rcv_filter()
854 if (d->entries) in can_notifier()
954 BUG_ON(d->entries); in can_exit()
/linux-4.1.27/scripts/kconfig/
Dmconf.c314 struct list_head entries; member
331 list_for_each_entry(sp, &trail, entries) { in set_subtitle()
370 list_for_each_entry(pos, data->head, entries) { in update_text()
430 list_add_tail(&stpart.entries, &trail); in search_conf()
457 list_for_each_entry_safe(pos, tmp, &head, entries) in search_conf()
658 list_add_tail(&stpart.entries, &trail); in conf()
/linux-4.1.27/include/trace/events/
Dxen.h500 TP_PROTO(const void *addr, unsigned entries),
501 TP_ARGS(addr, entries),
504 __field(unsigned, entries)
507 __entry->entries = entries),
509 __entry->addr, __entry->entries)
/linux-4.1.27/Documentation/cris/
DREADME93 Dentry-cache hash table entries: 2048 (order: 1, 16384 bytes)
94 Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
95 Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
98 Inode-cache hash table entries: 1024 (order: 0, 8192 bytes)
144 And here is how some /proc entries look:
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dstmmac.txt30 - snps,perfect-filter-entries: Number of perfect filter entries supported
63 snps,perfect-filter-entries = <128>;
/linux-4.1.27/drivers/scsi/fnic/
Dvnic_wq.h81 #define VNIC_WQ_BUF_BLKS_NEEDED(entries) \ argument
82 DIV_ROUND_UP(entries, VNIC_WQ_BUF_BLK_ENTRIES)
/linux-4.1.27/arch/arc/kernel/
Dstacktrace.c182 trace->entries[trace->nr_entries++] = address; in __collect_all()
200 trace->entries[trace->nr_entries++] = address; in __collect_all_but_sched()
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dgr-udc.txt24 each OUT endpoint of the core. Fewer entries overrides the default sizes
30 each IN endpoint of the core. Fewer entries overrides the default sizes
/linux-4.1.27/drivers/video/fbdev/
Duvesafb.c935 static int uvesafb_setpalette(struct uvesafb_pal_entry *entries, int count, in uvesafb_setpalette() argument
958 outb_p(entries[i].red, dac_val); in uvesafb_setpalette()
959 outb_p(entries[i].green, dac_val); in uvesafb_setpalette()
960 outb_p(entries[i].blue, dac_val); in uvesafb_setpalette()
972 "D" (entries), /* EDI */ in uvesafb_setpalette()
989 task->buf = entries; in uvesafb_setpalette()
1053 struct uvesafb_pal_entry *entries; in uvesafb_setcmap() local
1062 entries = kmalloc(sizeof(*entries) * cmap->len, GFP_KERNEL); in uvesafb_setcmap()
1063 if (!entries) in uvesafb_setcmap()
1067 entries[i].red = cmap->red[i] >> shift; in uvesafb_setcmap()
[all …]
/linux-4.1.27/arch/powerpc/boot/dts/
Dps3.dts45 * dtc expects a clock-frequency and timebase-frequency entries, so
46 * we'll put a null entries here. These will be initialized after
/linux-4.1.27/Documentation/vm/
Dremap_file_pages.txt11 entries from entries with file offset (pte_file). Kernel reserves flag in
/linux-4.1.27/Documentation/hwmon/
Dg76212 The following entries are available to the user in a subdirectory of
14 This can be done manually using the following entries but is usually
17 Note that those entries do not provide ways to setup the specific
/linux-4.1.27/Documentation/devicetree/bindings/i2c/
Dnvidia,tegra20-i2c.txt44 - clock-names: Must include the following entries:
52 - reset-names: Must include the following entries:
56 - dma-names: Must include the following entries:
/linux-4.1.27/drivers/staging/unisys/
DMAINTAINERS5 F: Documentation/s-Par/proc-entries.txt
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c754 u32 i, entries; in qlcnic_get_table_desc() local
756 entries = le32_to_cpu(directory->num_entries); in qlcnic_get_table_desc()
758 for (i = 0; i < entries; i++) { in qlcnic_get_table_desc()
778 u32 entries, entry_size, tab_size, fw_file_size; in qlcnic_validate_header() local
785 entries = le32_to_cpu(directory->num_entries); in qlcnic_validate_header()
787 tab_size = le32_to_cpu(directory->findex) + (entries * entry_size); in qlcnic_validate_header()
870 u32 entries, entry_size, tab_size, i; in qlcnic_validate_product_offs() local
878 entries = le32_to_cpu(ptab_descr->num_entries); in qlcnic_validate_product_offs()
880 tab_size = le32_to_cpu(ptab_descr->findex) + (entries * entry_size); in qlcnic_validate_product_offs()
886 for (i = 0; i < entries; i++) { in qlcnic_validate_product_offs()
/linux-4.1.27/drivers/crypto/nx/
Dnx-842.c151 struct nx842_slentry *entries; /* ptr to array of slentries */ member
178 entry = sl->entries; in nx842_build_scatterlist()
375 slin.entries = (struct nx842_slentry *)workmem->slin; in nx842_compress()
376 slout.entries = (struct nx842_slentry *)workmem->slout; in nx842_compress()
383 op.out = nx842_get_pa(slout.entries); in nx842_compress()
419 op.in = nx842_get_pa(slin.entries); in nx842_compress()
570 slin.entries = (struct nx842_slentry *)workmem->slin; in nx842_decompress()
571 slout.entries = (struct nx842_slentry *)workmem->slout; in nx842_decompress()
614 op.in = nx842_get_pa(slin.entries); in nx842_decompress()
630 op.out = nx842_get_pa(slout.entries); in nx842_decompress()
/linux-4.1.27/Documentation/kbuild/
Dkconfig-language.txt24 Menu entries
27 Most entries define a config option; all other entries help to organize
121 entries. Default value of "visible" is true.
143 This declares a list of default entries which can be used when
220 All entries within the "menu" ... "endmenu" block become a submenu of
252 The configuration file describes a series of menu entries, where every
290 choice also allows any number of config entries to be set to 'm'. This
298 then you may define the same choice (ie. with the same entries) in another
328 to all enclosed menu entries.

12345