/linux-6.12.1/lib/ |
D | interval_tree.c | 37 state->last_index); in interval_tree_span_iter_next_gap() 46 unsigned long last_index) in interval_tree_span_iter_first() argument 49 iter->last_index = last_index; in interval_tree_span_iter_first() 52 interval_tree_iter_first(itree, first_index, last_index); in interval_tree_span_iter_first() 56 iter->last_hole = last_index; in interval_tree_span_iter_first() 74 if (iter->last_used >= last_index) { in interval_tree_span_iter_first() 75 iter->last_used = last_index; in interval_tree_span_iter_first() 92 if (iter->last_used >= iter->last_index) { in interval_tree_span_iter_next() 93 iter->last_used = iter->last_index; in interval_tree_span_iter_next() 104 iter->last_hole = iter->last_index; in interval_tree_span_iter_next() [all …]
|
/linux-6.12.1/drivers/iommu/iommufd/ |
D | pages.c | 134 unsigned long first_index, unsigned long last_index) in interval_tree_double_span_iter_first() argument 142 first_index, last_index); in interval_tree_double_span_iter_first() 152 iter->last_hole == iter->spans[0].last_index) { in interval_tree_double_span_iter_next() 183 unsigned long last_index, in iopt_pages_err_unpin() argument 186 unsigned long npages = last_index - start_index + 1; in iopt_pages_err_unpin() 240 unsigned long last_index) in iopt_area_unmap_domain_range() argument 245 iopt_area_index_to_iova_last(area, last_index) - in iopt_area_unmap_domain_range() 378 unsigned long last_index) in batch_from_domain() argument 387 while (start_index <= last_index) { in batch_from_domain() 405 unsigned long last_index, in raw_pages_from_domain() argument [all …]
|
D | double_span.h | 36 unsigned long first_index, unsigned long last_index); 47 last_index) \ argument 49 first_index, last_index); \
|
D | device.c | 1064 unsigned long last_index = iopt_area_iova_to_index(area, last); in iommufd_access_pin_pages() local 1079 rc = iopt_area_add_access(area, index, last_index, out_pages, in iommufd_access_pin_pages() 1083 out_pages += last_index - index + 1; in iommufd_access_pin_pages()
|
/linux-6.12.1/include/trace/events/ |
D | filemap.h | 64 pgoff_t last_index 67 TP_ARGS(mapping, index, last_index), 73 __field(unsigned long, last_index) 84 __entry->last_index = last_index; 92 ((((loff_t)__entry->last_index + 1) << PAGE_SHIFT) - 1) 100 pgoff_t last_index 102 TP_ARGS(mapping, index, last_index) 109 pgoff_t last_index 111 TP_ARGS(mapping, index, last_index)
|
/linux-6.12.1/include/linux/ |
D | interval_tree.h | 53 unsigned long last_index; member 70 unsigned long last_index); 82 #define interval_tree_for_each_span(span, itree, first_index, last_index) \ argument 84 first_index, last_index); \
|
/linux-6.12.1/tools/testing/selftests/arm64/mte/ |
D | check_buffer_fill.c | 67 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-6.12.1/drivers/cpufreq/ |
D | cpufreq_stats.c | 20 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-6.12.1/tools/perf/util/ |
D | pstack.c | 42 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-6.12.1/kernel/trace/ |
D | trace_printk.c | 269 int last_index; in find_next() local 288 last_index = start_index; in find_next() 291 if (*pos < last_index + start_index) in find_next() 292 return __start___tracepoint_str + (*pos - last_index); in find_next() 294 start_index += last_index; in find_next()
|
/linux-6.12.1/tools/testing/radix-tree/ |
D | tag_check.c | 137 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()
|
/linux-6.12.1/fs/verity/ |
D | read_metadata.c | 22 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()
|
/linux-6.12.1/fs/ocfs2/ |
D | mmap.c | 55 pgoff_t last_index; in __ocfs2_page_mkwrite() local 60 last_index = (size - 1) >> PAGE_SHIFT; in __ocfs2_page_mkwrite() 90 if (page->index == last_index) in __ocfs2_page_mkwrite()
|
/linux-6.12.1/net/unix/ |
D | garbage.c | 396 static void __unix_walk_scc(struct unix_vertex *vertex, unsigned long *last_index, in __unix_walk_scc() argument 410 vertex->index = *last_index; in __unix_walk_scc() 411 vertex->scc_index = *last_index; in __unix_walk_scc() 412 (*last_index)++; in __unix_walk_scc() 498 unsigned long last_index = UNIX_VERTEX_INDEX_START; in unix_walk_scc() local 509 __unix_walk_scc(vertex, &last_index, hitlist); in unix_walk_scc()
|
/linux-6.12.1/net/netfilter/ |
D | nf_conntrack_proto_tcp.c | 754 (ct->proto.tcp.last_index == TCP_FIN_SET || in nf_tcp_handle_invalid() 755 ct->proto.tcp.last_index == TCP_RST_SET)) { in nf_tcp_handle_invalid() 769 index, dir, ct->proto.tcp.last_index, timeout); in nf_tcp_handle_invalid() 774 ct->proto.tcp.last_index = index; in nf_tcp_handle_invalid() 897 ct->proto.tcp.last_index = TCP_NONE_SET; in tcp_new() 1015 && ct->proto.tcp.last_index == TCP_RST_SET)) { in nf_conntrack_tcp_packet() 1044 && ct->proto.tcp.last_index == TCP_SYN_SET in nf_conntrack_tcp_packet() 1070 ct->proto.tcp.last_index = index; in nf_conntrack_tcp_packet() 1151 ct->proto.tcp.last_index == TCP_SYN_SET && in nf_conntrack_tcp_packet() 1187 ct->proto.tcp.last_index != TCP_SYN_SET) { in nf_conntrack_tcp_packet() [all …]
|
/linux-6.12.1/drivers/acpi/ |
D | acpi_processor.c | 841 int last_index = 0; in acpi_processor_evaluate_cst() local 878 if (last_index >= ACPI_PROCESSOR_MAX_POWER - 1) { in acpi_processor_evaluate_cst() 924 last_index = 1; in acpi_processor_evaluate_cst() 927 cx.index = last_index + 1; in acpi_processor_evaluate_cst() 985 memcpy(&info->states[++last_index], &cx, sizeof(cx)); in acpi_processor_evaluate_cst() 988 acpi_handle_debug(handle, "Found %d idle states\n", last_index); in acpi_processor_evaluate_cst() 990 info->count = last_index; in acpi_processor_evaluate_cst()
|
/linux-6.12.1/drivers/accessibility/speakup/ |
D | speakup_soft.c | 335 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-6.12.1/include/linux/netfilter/ |
D | nf_conntrack_tcp.h | 23 u_int8_t last_index; /* Index of the last packet */ member
|
/linux-6.12.1/drivers/dma/ |
D | of-dma.c | 259 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-6.12.1/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
D | ia_css_debug.c | 689 static int last_index; in ia_css_debug_print_sp_debug_state() 694 if (sp_index < last_index) { in ia_css_debug_print_sp_debug_state() 696 last_index = 0; in ia_css_debug_print_sp_debug_state() 699 if (last_index == 0) { in ia_css_debug_print_sp_debug_state() 708 if ((last_index + SH_CSS_SP_DBG_TRACE_DEPTH) < sp_index) { in ia_css_debug_print_sp_debug_state() 711 last_index = sp_index - SH_CSS_SP_DBG_TRACE_DEPTH; in ia_css_debug_print_sp_debug_state() 714 for (n = last_index; n < sp_index; n++) { in ia_css_debug_print_sp_debug_state() 728 last_index = sp_index; in ia_css_debug_print_sp_debug_state()
|
/linux-6.12.1/fs/btrfs/ |
D | defrag.c | 1165 unsigned long last_index = (start + len - 1) >> PAGE_SHIFT; in defrag_one_locked_target() local 1171 ASSERT(last_index - first_index + 1 <= nr_pages); in defrag_one_locked_target() 1183 for (i = start_index - first_index; i <= last_index - first_index; i++) { in defrag_one_locked_target() 1203 u64 last_index = (start + len - 1) >> PAGE_SHIFT; in defrag_one_range() local 1205 unsigned int nr_pages = last_index - start_index + 1; in defrag_one_range() 1230 (last_index << PAGE_SHIFT) + PAGE_SIZE - 1, in defrag_one_range() 1258 (last_index << PAGE_SHIFT) + PAGE_SIZE - 1, in defrag_one_range()
|
D | delayed-inode.h | 147 u64 last_index,
|
/linux-6.12.1/mm/ |
D | filemap.c | 2513 pgoff_t last_index) in filemap_readahead() argument 2519 page_cache_async_ra(&ractl, folio, last_index - folio->index); in filemap_readahead() 2530 pgoff_t last_index; in filemap_get_pages() local 2536 last_index = DIV_ROUND_UP(iocb->ki_pos + count, PAGE_SIZE); in filemap_get_pages() 2541 filemap_get_read_batch(mapping, index, last_index - 1, fbatch); in filemap_get_pages() 2548 last_index - index); in filemap_get_pages() 2551 filemap_get_read_batch(mapping, index, last_index - 1, fbatch); in filemap_get_pages() 2564 err = filemap_readahead(iocb, filp, mapping, folio, last_index); in filemap_get_pages() 2578 trace_mm_filemap_get_pages(mapping, index, last_index - 1); in filemap_get_pages() 4291 pgoff_t first_index, pgoff_t last_index, struct cachestat *cs) in filemap_cachestat() argument [all …]
|
/linux-6.12.1/fs/ufs/ |
D | balloc.c | 248 pgoff_t index, cur_index, last_index; in ufs_change_blocknr() local 261 last_index = end >> (PAGE_SHIFT - inode->i_blkbits); in ufs_change_blocknr() 284 if (unlikely(index == last_index)) in ufs_change_blocknr()
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | tid_rdma.h | 81 u8 last_index; member
|