Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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()
253 stats->last_index = freq_table_get_index(stats, policy->cur); in cpufreq_stats_create_table()
279 old_index = stats->last_index; in cpufreq_stats_record_transition()
288 stats->last_index = new_index; in cpufreq_stats_record_transition()
H A Dcpufreq_times.c38 unsigned int last_index; member
143 state = freqs->offset + READ_ONCE(freqs->last_index); in cpufreq_acct_update_power()
195 WRITE_ONCE(freqs->last_index, index); in cpufreq_times_create_policy()
213 WRITE_ONCE(freqs->last_index, index); in cpufreq_times_record_transition()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtrace_printk.c258 int last_index; in find_next() local
277 last_index = start_index; in find_next()
280 if (*pos < last_index + start_index) in find_next()
281 return __start___tracepoint_str + (*pos - last_index); in find_next()
283 start_index += last_index; in find_next()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/verity/
H A Dread_metadata.c22 pgoff_t index, last_index; in fsverity_read_merkle_tree() local
30 last_index = (end_offset - 1) >> PAGE_SHIFT; in fsverity_read_merkle_tree()
38 for (index = offset >> PAGE_SHIFT; index <= last_index; index++) { in fsverity_read_merkle_tree()
40 min_t(unsigned long, last_index - index + 1, in fsverity_read_merkle_tree()
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Dmmap.c57 pgoff_t last_index; in __ocfs2_page_mkwrite() local
62 last_index = (size - 1) >> PAGE_SHIFT; in __ocfs2_page_mkwrite()
92 if (page->index == last_index) in __ocfs2_page_mkwrite()
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dacpi_processor.c753 int last_index = 0; in acpi_processor_evaluate_cst() local
790 if (last_index >= ACPI_PROCESSOR_MAX_POWER - 1) { in acpi_processor_evaluate_cst()
836 last_index = 1; in acpi_processor_evaluate_cst()
839 cx.index = last_index + 1; in acpi_processor_evaluate_cst()
897 memcpy(&info->states[++last_index], &cx, sizeof(cx)); in acpi_processor_evaluate_cst()
900 acpi_handle_info(handle, "Found %d idle states\n", last_index); in acpi_processor_evaluate_cst()
902 info->count = last_index; in acpi_processor_evaluate_cst()
/OK3568_Linux_fs/kernel/drivers/char/
H A Dmspec.c106 int index, last_index; in mspec_close() local
114 last_index = (vdata->vm_end - vdata->vm_start) >> PAGE_SHIFT; in mspec_close()
115 for (index = 0; index < last_index; index++) { in mspec_close()
/OK3568_Linux_fs/kernel/drivers/misc/habanalabs/common/
H A Ddevice.c504 u32 overlap_cnt = 0, last_index = hdev->idle_busy_ts_idx; in hl_device_utilization() local
510 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization()
516 last_index--; in hl_device_utilization()
518 if (last_index > HL_IDLE_BUSY_TS_ARR_SIZE) in hl_device_utilization()
519 last_index = HL_IDLE_BUSY_TS_ARR_SIZE - 1; in hl_device_utilization()
521 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization()
580 last_index--; in hl_device_utilization()
582 if (last_index > HL_IDLE_BUSY_TS_ARR_SIZE) in hl_device_utilization()
583 last_index = HL_IDLE_BUSY_TS_ARR_SIZE - 1; in hl_device_utilization()
585 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/is_simple/
H A Dlinear.hpp66 signed_size_type last_index) in check_segment_indices() argument
70 && turn.operations[1].seg_id.segment_index == last_index) in check_segment_indices()
73 && turn.operations[1].seg_id.segment_index == last_index); in check_segment_indices()
/OK3568_Linux_fs/kernel/drivers/accessibility/speakup/
H A Dspeakup_soft.c316 static int last_index; variable
329 last_index = supplied_index; in softsynth_write()
352 rv = last_index; in get_index()
353 last_index = 0; in get_index()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_proto_tcp.c825 ct->proto.tcp.last_index = TCP_NONE_SET; in tcp_new()
907 && ct->proto.tcp.last_index == TCP_RST_SET)) { in nf_conntrack_tcp_packet()
936 && ct->proto.tcp.last_index == TCP_SYN_SET in nf_conntrack_tcp_packet()
962 ct->proto.tcp.last_index = index; in nf_conntrack_tcp_packet()
1033 ct->proto.tcp.last_index == TCP_SYN_SET && in nf_conntrack_tcp_packet()
1075 if (ct->proto.tcp.last_index == TCP_ACK_SET && in nf_conntrack_tcp_packet()
1086 && ct->proto.tcp.last_index == TCP_SYN_SET) in nf_conntrack_tcp_packet()
1088 && ct->proto.tcp.last_index == TCP_ACK_SET)) in nf_conntrack_tcp_packet()
1114 ct->proto.tcp.last_index = index; in nf_conntrack_tcp_packet()
/OK3568_Linux_fs/kernel/drivers/dma/
H A Dof-dma.c249 static atomic_t last_index; in of_dma_request_slave_channel() local
271 start = atomic_inc_return(&last_index); in of_dma_request_slave_channel()
/OK3568_Linux_fs/kernel/include/linux/netfilter/
H A Dnf_conntrack_tcp.h23 u_int8_t last_index; /* Index of the last packet */ member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/iio/include/
H A Drkiio_fifo.h32 RKIIO_FIFO_HANDLE rkiio_fifo_handle_create(RKIIO_FIFO_DEV dev, RK_S32 last_index, struct rkiio_form…
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/vp9/
H A Dvp9d_codec.h36 RK_S32 last_index; member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/
H A Dh265d_codec.h54 RK_S32 last_index; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/microchip/
H A Dlan743x_main.c2064 int last_index = -1; in lan743x_rx_process_packet() local
2082 last_index = rx->last_head; in lan743x_rx_process_packet()
2093 last_index = index; in lan743x_rx_process_packet()
2099 if (last_index >= 0) { in lan743x_rx_process_packet()
2100 descriptor = &rx->ring_cpu_ptr[last_index]; in lan743x_rx_process_packet()
2104 last_index); in lan743x_rx_process_packet()
2121 last_index = -1; in lan743x_rx_process_packet()
2126 if (first_index >= 0 && last_index >= 0) { in lan743x_rx_process_packet()
2127 int real_last_index = last_index; in lan743x_rx_process_packet()
2133 if (first_index == last_index) { in lan743x_rx_process_packet()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/av1/
H A Dav1d_codec.h62 RK_S32 last_index; member
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/debug/src/
H A Dia_css_debug.c1528 static int last_index; in ia_css_debug_print_sp_debug_state()
1533 if (sp_index < last_index) { in ia_css_debug_print_sp_debug_state()
1535 last_index = 0; in ia_css_debug_print_sp_debug_state()
1538 if (last_index == 0) { in ia_css_debug_print_sp_debug_state()
1547 if ((last_index + SH_CSS_SP_DBG_TRACE_DEPTH) < sp_index) { in ia_css_debug_print_sp_debug_state()
1550 last_index = sp_index - SH_CSS_SP_DBG_TRACE_DEPTH; in ia_css_debug_print_sp_debug_state()
1553 for (n = last_index; n < sp_index; n++) { in ia_css_debug_print_sp_debug_state()
1567 last_index = sp_index; in ia_css_debug_print_sp_debug_state()
/OK3568_Linux_fs/kernel/fs/ufs/
H A Dballoc.c247 pgoff_t index, cur_index, last_index; in ufs_change_blocknr() local
262 last_index = end >> (PAGE_SHIFT - inode->i_blkbits); in ufs_change_blocknr()
286 if (unlikely(index == last_index)) in ufs_change_blocknr()
/OK3568_Linux_fs/kernel/fs/erofs/
H A Dzdata.c1274 pgoff_t last_index; in z_erofs_submit_queue() local
1313 if (bio && cur != last_index + 1) { in z_erofs_submit_queue()
1336 last_index = cur; in z_erofs_submit_queue()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.h81 u8 last_index; member

12