/Linux-v5.4/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-v5.4/kernel/trace/ |
D | trace_printk.c | 258 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()
|
/Linux-v5.4/drivers/cpufreq/ |
D | cpufreq_stats.c | 20 unsigned int last_index; member 31 stats->time_in_state[stats->last_index] += cur_time - stats->last_time; in cpufreq_stats_update() 210 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() 246 stats->last_index = new_index; in cpufreq_stats_record_transition()
|
/Linux-v5.4/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-v5.4/fs/ocfs2/ |
D | mmap.c | 57 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()
|
/Linux-v5.4/drivers/char/ |
D | mspec.c | 107 int index, last_index; in mspec_close() local 115 last_index = (vdata->vm_end - vdata->vm_start) >> PAGE_SHIFT; in mspec_close() 116 for (index = 0; index < last_index; index++) { in mspec_close()
|
/Linux-v5.4/drivers/misc/habanalabs/ |
D | device.c | 468 u32 overlap_cnt = 0, last_index = hdev->idle_busy_ts_idx; in hl_device_utilization() local 474 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization() 480 last_index--; in hl_device_utilization() 482 if (last_index > HL_IDLE_BUSY_TS_ARR_SIZE) in hl_device_utilization() 483 last_index = HL_IDLE_BUSY_TS_ARR_SIZE - 1; in hl_device_utilization() 485 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization() 544 last_index--; in hl_device_utilization() 546 if (last_index > HL_IDLE_BUSY_TS_ARR_SIZE) in hl_device_utilization() 547 last_index = HL_IDLE_BUSY_TS_ARR_SIZE - 1; in hl_device_utilization() 549 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization()
|
/Linux-v5.4/drivers/staging/speakup/ |
D | speakup_soft.c | 314 static int last_index; variable 327 last_index = supplied_index; in softsynth_write() 350 rv = last_index; in get_index() 351 last_index = 0; in get_index()
|
/Linux-v5.4/include/linux/netfilter/ |
D | nf_conntrack_tcp.h | 23 u_int8_t last_index; /* Index of the last packet */ member
|
/Linux-v5.4/drivers/dma/ |
D | of-dma.c | 242 static atomic_t last_index; in of_dma_request_slave_channel() local 264 start = atomic_inc_return(&last_index); in of_dma_request_slave_channel()
|
/Linux-v5.4/net/netfilter/ |
D | nf_conntrack_proto_tcp.c | 818 ct->proto.tcp.last_index = TCP_NONE_SET; in tcp_new() 890 && ct->proto.tcp.last_index == TCP_RST_SET)) { in nf_conntrack_tcp_packet() 919 && ct->proto.tcp.last_index == TCP_SYN_SET in nf_conntrack_tcp_packet() 946 ct->proto.tcp.last_index = index; in nf_conntrack_tcp_packet() 1017 ct->proto.tcp.last_index == TCP_SYN_SET && in nf_conntrack_tcp_packet() 1059 if (ct->proto.tcp.last_index == TCP_ACK_SET && in nf_conntrack_tcp_packet() 1070 && ct->proto.tcp.last_index == TCP_SYN_SET) in nf_conntrack_tcp_packet() 1072 && ct->proto.tcp.last_index == TCP_ACK_SET)) in nf_conntrack_tcp_packet() 1098 ct->proto.tcp.last_index = index; in nf_conntrack_tcp_packet()
|
/Linux-v5.4/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 1991 int last_index = -1; in lan743x_rx_process_packet() local 2010 last_index = rx->last_head; in lan743x_rx_process_packet() 2021 last_index = index; in lan743x_rx_process_packet() 2027 if (last_index >= 0) { in lan743x_rx_process_packet() 2028 descriptor = &rx->ring_cpu_ptr[last_index]; in lan743x_rx_process_packet() 2032 last_index); in lan743x_rx_process_packet() 2049 last_index = -1; in lan743x_rx_process_packet() 2054 if (first_index >= 0 && last_index >= 0) { in lan743x_rx_process_packet() 2055 int real_last_index = last_index; in lan743x_rx_process_packet() 2061 if (first_index == last_index) { in lan743x_rx_process_packet() [all …]
|
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/hfi1/ |
D | tid_rdma.h | 81 u8 last_index; member
|
D | tid_rdma.c | 350 qpriv->flow_state.last_index = RXE_NUM_TID_FLOWS; in hfi1_qp_priv_init() 791 ret = kern_reserve_flow(rcd, fs->last_index); in hfi1_kern_setup_hw_flow() 795 fs->last_index = fs->index; in hfi1_kern_setup_hw_flow()
|
/Linux-v5.4/fs/erofs/ |
D | zdata.c | 1214 pgoff_t uninitialized_var(last_index); in z_erofs_vle_submit_all() 1250 force_submit |= (first_index != last_index + 1); in z_erofs_vle_submit_all() 1286 last_index = first_index + i; in z_erofs_vle_submit_all()
|
/Linux-v5.4/fs/gfs2/ |
D | file.c | 425 unsigned long last_index; in gfs2_page_mkwrite() local 487 last_index = (size - 1) >> PAGE_SHIFT; in gfs2_page_mkwrite() 489 if (size == 0 || (page->index > last_index)) in gfs2_page_mkwrite()
|
/Linux-v5.4/mm/ |
D | filemap.c | 2018 pgoff_t last_index; in generic_file_buffered_read() local 2031 last_index = (*ppos + iter->count + PAGE_SIZE-1) >> PAGE_SHIFT; in generic_file_buffered_read() 2053 index, last_index - index); in generic_file_buffered_read() 2061 index, last_index - index); in generic_file_buffered_read()
|
D | memory.c | 2645 details->first_index, details->last_index) { in unmap_mapping_range_tree() 2652 zea = details->last_index; in unmap_mapping_range_tree() 2682 details.last_index = start + nr - 1; in unmap_mapping_pages() 2683 if (details.last_index < details.first_index) in unmap_mapping_pages() 2684 details.last_index = ULONG_MAX; in unmap_mapping_pages()
|
/Linux-v5.4/fs/btrfs/ |
D | relocation.c | 3237 unsigned long last_index; in relocate_file_extent_cluster() local 3263 last_index = (cluster->end - offset) >> PAGE_SHIFT; in relocate_file_extent_cluster() 3264 while (index <= last_index) { in relocate_file_extent_cluster() 3274 last_index + 1 - index); in relocate_file_extent_cluster() 3290 last_index + 1 - index); in relocate_file_extent_cluster()
|
D | ioctl.c | 1387 unsigned long last_index; in btrfs_defrag_file() local 1442 last_index = min_t(u64, isize - 1, in btrfs_defrag_file() 1445 last_index = (isize - 1) >> PAGE_SHIFT; in btrfs_defrag_file() 1464 max_to_defrag = last_index - i + 1; in btrfs_defrag_file() 1473 while (i <= last_index && defrag_count < max_to_defrag && in btrfs_defrag_file()
|
D | free-space-cache.c | 286 unsigned long last_index; in readahead_cache() local 293 last_index = (i_size_read(inode) - 1) >> PAGE_SHIFT; in readahead_cache() 295 page_cache_sync_readahead(inode->i_mapping, ra, NULL, 0, last_index); in readahead_cache()
|
D | send.c | 4774 pgoff_t last_index; in fill_read_buf() local 4795 last_index = (offset + len - 1) >> PAGE_SHIFT; in fill_read_buf() 4801 while (index <= last_index) { in fill_read_buf() 4808 NULL, index, last_index + 1 - index); in fill_read_buf() 4820 NULL, page, index, last_index + 1 - index); in fill_read_buf()
|
/Linux-v5.4/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 2134 uint16_t last_index; in lpfc_sli4_fcf_pri_list_add() local 2157 last_index = find_first_bit(phba->fcf.fcf_rr_bmask, in lpfc_sli4_fcf_pri_list_add() 2159 if (last_index >= LPFC_SLI4_FCF_TBL_INDX_MAX) { in lpfc_sli4_fcf_pri_list_add() 2163 current_fcf_pri = phba->fcf.fcf_pri[last_index].fcf_rec.priority; in lpfc_sli4_fcf_pri_list_add()
|
D | lpfc_debugfs.c | 4057 uint32_t last_index, index, count; in lpfc_idiag_queacc_read() local 4093 last_index = idiag.offset.last_rd; in lpfc_idiag_queacc_read() 4094 index = last_index; in lpfc_idiag_queacc_read()
|