Home
last modified time | relevance | path

Searched refs:last_index (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/iommu/iommufd/
H A Ddouble_span.h36 unsigned long first_index, unsigned long last_index);
47 last_index) \ argument
49 first_index, last_index); \
/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_buffer_fill.c67 int i, j, item, last_index; in check_buffer_underflow_by_byte() local
81 last_index = 0; in check_buffer_underflow_by_byte()
86 last_index = j; in check_buffer_underflow_by_byte()
104 if (cur_mte_cxt.fault_valid == true || last_index != -underflow_range) { in check_buffer_underflow_by_byte()
128 for (j = last_index ; j < 0 ; j++) { in check_buffer_underflow_by_byte()
137 if (!cur_mte_cxt.fault_valid || (last_index != (-1))) { in check_buffer_underflow_by_byte()
162 int i, j, item, last_index; in check_buffer_overflow_by_byte() local
181 for (j = 0, last_index = 0 ; (j < (sizes[i] + overflow_range)) && in check_buffer_overflow_by_byte()
184 last_index = j; in check_buffer_overflow_by_byte()
205 (last_index != (sizes[i] + overflow_range - 1))) { in check_buffer_overflow_by_byte()
[all …]
/linux/drivers/cpufreq/
H A Dcpufreq_stats.c20 unsigned int last_index; member
35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update()
79 if (i == stats->last_index) { in show_time_in_state()
91 if (i == stats->last_index) in show_time_in_state()
252 stats->last_index = freq_table_get_index(stats, policy->cur); in cpufreq_stats_create_table()
277 old_index = stats->last_index; in cpufreq_stats_record_transition()
286 stats->last_index = new_index; in cpufreq_stats_record_transition()
/linux/tools/perf/util/
H A Dpstack.c42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() local
46 if (i < last_index) in pstack__remove()
49 (last_index - i) * sizeof(void *)); in pstack__remove()
/linux/tools/testing/radix-tree/
H A Dtag_check.c137 unsigned long last_index = 0; in gang_check() local
146 while (last_index < item->index) { in gang_check()
147 assert(thrash_state[last_index] != NODE_TAGGED); in gang_check()
148 last_index++; in gang_check()
150 assert(thrash_state[last_index] == NODE_TAGGED); in gang_check()
151 last_index++; in gang_check()
H A Dmaple.c36421 unsigned long last_index = mas_data_end(mas); in get_last_index() local
36423 BUG_ON(last_index == 0); in get_last_index()
36425 return pivots[last_index - 1] + 1; in get_last_index()
/linux/net/unix/
H A Dgarbage.c457 unsigned long *last_index, in __unix_walk_scc() argument
472 vertex->index = *last_index; in __unix_walk_scc()
473 vertex->scc_index = *last_index; in __unix_walk_scc()
474 (*last_index)++; in __unix_walk_scc()
556 unsigned long last_index = UNIX_VERTEX_INDEX_START; in unix_walk_scc() local
568 cyclic_sccs += __unix_walk_scc(vertex, &last_index, hitlist); in unix_walk_scc()
/linux/drivers/acpi/
H A Dacpi_processor.c839 int last_index = 0; in acpi_processor_evaluate_cst() local
876 if (last_index >= ACPI_PROCESSOR_MAX_POWER - 1) { in acpi_processor_evaluate_cst()
922 last_index = 1; in acpi_processor_evaluate_cst()
925 cx.index = last_index + 1; in acpi_processor_evaluate_cst()
983 memcpy(&info->states[++last_index], &cx, sizeof(cx)); in acpi_processor_evaluate_cst()
986 acpi_handle_debug(handle, "Found %d idle states\n", last_index); in acpi_processor_evaluate_cst()
988 info->count = last_index; in acpi_processor_evaluate_cst()
/linux/include/linux/netfilter/
H A Dnf_conntrack_tcp.h23 u_int8_t last_index; /* Index of the last packet */ member
/linux/drivers/accessibility/speakup/
H A Dspeakup_soft.c335 static int last_index; variable
348 last_index = supplied_index; in softsynth_write()
371 rv = last_index; in get_index()
372 last_index = 0; in get_index()
/linux/drivers/dma/
H A Dof-dma.c259 static atomic_t last_index; in of_dma_request_slave_channel() local
281 start = atomic_inc_return(&last_index); in of_dma_request_slave_channel()
/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.h81 u8 last_index; member
H A Dtid_rdma.c351 qpriv->flow_state.last_index = RXE_NUM_TID_FLOWS; in hfi1_qp_priv_init()
796 ret = kern_reserve_flow(rcd, fs->last_index); in hfi1_kern_setup_hw_flow()
800 fs->last_index = fs->index; in hfi1_kern_setup_hw_flow()
/linux/fs/btrfs/
H A Ddelayed-inode.c1694 u64 last_index, in btrfs_readdir_get_delayed_items() argument
1715 while (item && item->index <= last_index) { in btrfs_readdir_get_delayed_items()
1722 while (item && item->index <= last_index) { in btrfs_readdir_get_delayed_items()
/linux/lib/
H A Dtest_maple_tree.c2204 unsigned long last_index; in next_prev_test() local
2209 last_index = 0x138e; in next_prev_test()
2213 last_index = 0x7d6; in next_prev_test()
2320 MT_BUG_ON(mt, mas.index != last_index); in next_prev_test()
/linux/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c4288 uint32_t last_index, index, count; in lpfc_idiag_queacc_read() local
4324 last_index = idiag.offset.last_rd; in lpfc_idiag_queacc_read()
4325 index = last_index; in lpfc_idiag_queacc_read()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c2753 struct be_tx_obj *txo, u16 last_index) in be_tx_compl_process() argument
2781 } while (frag_index != last_index); in be_tx_compl_process()