/Linux-v4.19/tools/perf/util/ |
D | pstack.c | 41 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() local 45 if (i < last_index) in pstack__remove() 48 (last_index - i) * sizeof(void *)); in pstack__remove()
|
/Linux-v4.19/drivers/cpufreq/ |
D | cpufreq_stats.c | 24 unsigned int last_index; member 35 stats->time_in_state[stats->last_index] += cur_time - stats->last_time; in cpufreq_stats_update() 211 stats->last_index = freq_table_get_index(stats, policy->cur); in cpufreq_stats_create_table() 236 old_index = stats->last_index; in cpufreq_stats_record_transition() 245 stats->last_index = new_index; in cpufreq_stats_record_transition()
|
/Linux-v4.19/kernel/trace/ |
D | trace_printk.c | 257 int last_index; in find_next() local 276 last_index = start_index; in find_next() 279 if (*pos < last_index + start_index) in find_next() 280 return __start___tracepoint_str + (*pos - last_index); in find_next() 282 start_index += last_index; in find_next()
|
/Linux-v4.19/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-v4.19/fs/ocfs2/ |
D | mmap.c | 71 pgoff_t last_index; in __ocfs2_page_mkwrite() local 76 last_index = (size - 1) >> PAGE_SHIFT; in __ocfs2_page_mkwrite() 106 if (page->index == last_index) in __ocfs2_page_mkwrite()
|
/Linux-v4.19/drivers/staging/speakup/ |
D | speakup_soft.c | 307 static int last_index; variable 320 last_index = supplied_index; in softsynth_write() 342 rv = last_index; in get_index() 343 last_index = 0; in get_index()
|
/Linux-v4.19/drivers/char/ |
D | mspec.c | 161 int index, last_index; in mspec_close() local 169 last_index = (vdata->vm_end - vdata->vm_start) >> PAGE_SHIFT; in mspec_close() 170 for (index = 0; index < last_index; index++) { in mspec_close()
|
/Linux-v4.19/include/linux/netfilter/ |
D | nf_conntrack_tcp.h | 23 u_int8_t last_index; /* Index of the last packet */ member
|
/Linux-v4.19/drivers/dma/ |
D | of-dma.c | 245 static atomic_t last_index; in of_dma_request_slave_channel() local 267 start = atomic_inc_return(&last_index); in of_dma_request_slave_channel()
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_proto_tcp.c | 818 && ct->proto.tcp.last_index == TCP_RST_SET)) { in tcp_packet() 847 && ct->proto.tcp.last_index == TCP_SYN_SET in tcp_packet() 874 ct->proto.tcp.last_index = index; in tcp_packet() 945 ct->proto.tcp.last_index == TCP_SYN_SET && in tcp_packet() 976 && ct->proto.tcp.last_index == TCP_SYN_SET) in tcp_packet() 978 && ct->proto.tcp.last_index == TCP_ACK_SET)) in tcp_packet() 1004 ct->proto.tcp.last_index = index; in tcp_packet() 1135 ct->proto.tcp.last_index = TCP_NONE_SET; in tcp_new()
|
/Linux-v4.19/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 1995 int last_index = -1; in lan743x_rx_process_packet() local 2014 last_index = rx->last_head; in lan743x_rx_process_packet() 2025 last_index = index; in lan743x_rx_process_packet() 2031 if (last_index >= 0) { in lan743x_rx_process_packet() 2032 descriptor = &rx->ring_cpu_ptr[last_index]; in lan743x_rx_process_packet() 2036 last_index); in lan743x_rx_process_packet() 2053 last_index = -1; in lan743x_rx_process_packet() 2058 if (first_index >= 0 && last_index >= 0) { in lan743x_rx_process_packet() 2059 int real_last_index = last_index; in lan743x_rx_process_packet() 2065 if (first_index == last_index) { in lan743x_rx_process_packet() [all …]
|
/Linux-v4.19/fs/ufs/ |
D | balloc.c | 247 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()
|
/Linux-v4.19/fs/gfs2/ |
D | file.c | 399 unsigned long last_index; in gfs2_page_mkwrite() local 461 last_index = (size - 1) >> PAGE_SHIFT; in gfs2_page_mkwrite() 463 if (size == 0 || (page->index > last_index)) in gfs2_page_mkwrite()
|
/Linux-v4.19/drivers/staging/erofs/ |
D | unzip_vle.c | 1113 pgoff_t uninitialized_var(last_index); 1167 force_submit |= (first_index != last_index + 1); 1228 last_index = first_index + i;
|
/Linux-v4.19/mm/ |
D | filemap.c | 2059 pgoff_t last_index; in generic_file_buffered_read() local 2072 last_index = (*ppos + iter->count + PAGE_SIZE-1) >> PAGE_SHIFT; in generic_file_buffered_read() 2094 index, last_index - index); in generic_file_buffered_read() 2102 index, last_index - index); in generic_file_buffered_read()
|
D | memory.c | 2810 details->first_index, details->last_index) { in unmap_mapping_range_tree() 2817 zea = details->last_index; in unmap_mapping_range_tree() 2847 details.last_index = start + nr - 1; in unmap_mapping_pages() 2848 if (details.last_index < details.first_index) in unmap_mapping_pages() 2849 details.last_index = ULONG_MAX; in unmap_mapping_pages()
|
/Linux-v4.19/fs/btrfs/ |
D | relocation.c | 3147 unsigned long last_index; in relocate_file_extent_cluster() local 3173 last_index = (cluster->end - offset) >> PAGE_SHIFT; in relocate_file_extent_cluster() 3174 while (index <= last_index) { in relocate_file_extent_cluster() 3184 last_index + 1 - index); in relocate_file_extent_cluster() 3198 last_index + 1 - index); in relocate_file_extent_cluster()
|
D | ioctl.c | 1375 unsigned long last_index; in btrfs_defrag_file() local 1430 last_index = min_t(u64, isize - 1, in btrfs_defrag_file() 1433 last_index = (isize - 1) >> PAGE_SHIFT; in btrfs_defrag_file() 1452 max_to_defrag = last_index - i + 1; in btrfs_defrag_file() 1461 while (i <= last_index && defrag_count < max_to_defrag && in btrfs_defrag_file()
|
D | free-space-cache.c | 274 unsigned long last_index; in readahead_cache() local 281 last_index = (i_size_read(inode) - 1) >> PAGE_SHIFT; in readahead_cache() 283 page_cache_sync_readahead(inode->i_mapping, ra, NULL, 0, last_index); in readahead_cache()
|
D | send.c | 4776 pgoff_t last_index; in fill_read_buf() local 4797 last_index = (offset + len - 1) >> PAGE_SHIFT; in fill_read_buf() 4803 while (index <= last_index) { in fill_read_buf() 4810 NULL, index, last_index + 1 - index); in fill_read_buf() 4822 NULL, page, index, last_index + 1 - index); in fill_read_buf()
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 2086 uint16_t last_index; in lpfc_sli4_fcf_pri_list_add() local 2109 last_index = find_first_bit(phba->fcf.fcf_rr_bmask, in lpfc_sli4_fcf_pri_list_add() 2111 if (last_index >= LPFC_SLI4_FCF_TBL_INDX_MAX) { in lpfc_sli4_fcf_pri_list_add() 2115 current_fcf_pri = phba->fcf.fcf_pri[last_index].fcf_rec.priority; in lpfc_sli4_fcf_pri_list_add()
|
D | lpfc_debugfs.c | 3611 uint32_t last_index, index, count; in lpfc_idiag_queacc_read() local 3647 last_index = idiag.offset.last_rd; in lpfc_idiag_queacc_read() 3648 index = last_index; in lpfc_idiag_queacc_read()
|
D | lpfc_sli.c | 18304 uint16_t last_index; in lpfc_check_next_fcf_pri_level() local 18309 last_index = find_first_bit(phba->fcf.fcf_rr_bmask, in lpfc_check_next_fcf_pri_level() 18312 "3060 Last IDX %d\n", last_index); in lpfc_check_next_fcf_pri_level() 18320 "3061 Last IDX %d\n", last_index); in lpfc_check_next_fcf_pri_level()
|
/Linux-v4.19/include/linux/ |
D | mm.h | 1320 pgoff_t last_index; /* Highest page->index to unmap */ member
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 2752 struct be_tx_obj *txo, u16 last_index) in be_tx_compl_process() argument 2780 } while (frag_index != last_index); in be_tx_compl_process()
|