Home
last modified time | relevance | path

Searched refs:last_idx (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/drivers/cpuidle/governors/
Dladder.c71 int last_residency, last_idx = ldev->last_state_idx; in ladder_select_state() local
77 ladder_do_selection(ldev, last_idx, 0); in ladder_select_state()
81 last_state = &ldev->states[last_idx]; in ladder_select_state()
83 last_residency = cpuidle_get_last_residency(dev) - drv->states[last_idx].exit_latency; in ladder_select_state()
86 if (last_idx < drv->state_count - 1 && in ladder_select_state()
87 !drv->states[last_idx + 1].disabled && in ladder_select_state()
88 !dev->states_usage[last_idx + 1].disable && in ladder_select_state()
90 drv->states[last_idx + 1].exit_latency <= latency_req) { in ladder_select_state()
94 ladder_do_selection(ldev, last_idx, last_idx + 1); in ladder_select_state()
95 return last_idx + 1; in ladder_select_state()
[all …]
Dmenu.c484 int last_idx = data->last_state_idx; in menu_update() local
485 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update()
515 } else if ((drv->states[last_idx].flags & CPUIDLE_FLAG_POLLING) && in menu_update()
/linux-4.19.296/drivers/media/rc/
Dite-cir.c391 int remaining_us, fifo_avail, fifo_remaining, last_idx = 0; in ite_tx_ir() local
450 last_sent[last_idx++] = val; in ite_tx_ir()
451 last_idx &= (ITE_TX_FIFO_LEN); in ite_tx_ir()
503 last_idx--; in ite_tx_ir()
504 last_idx &= (ITE_TX_FIFO_LEN - 1); in ite_tx_ir()
505 remaining_us += last_sent[last_idx]; in ite_tx_ir()
/linux-4.19.296/include/pcmcia/
Dcistpl.h386 u_char last_idx; member
/linux-4.19.296/fs/
Dbinfmt_elf.c392 int i, first_idx = -1, last_idx = -1; in total_mapping_size() local
396 last_idx = i; in total_mapping_size()
404 return cmds[last_idx].p_vaddr + cmds[last_idx].p_memsz - in total_mapping_size()
/linux-4.19.296/fs/f2fs/
Ddata.c2026 pgoff_t last_idx = ULONG_MAX; in f2fs_write_cache_pages() local
2132 last_idx = page->index; in f2fs_write_cache_pages()
2154 if (last_idx != ULONG_MAX) in f2fs_write_cache_pages()
2156 0, last_idx, DATA); in f2fs_write_cache_pages()
Dnode.c1651 pgoff_t last_idx = ULONG_MAX; in f2fs_fsync_node_pages() local
1735 last_idx = page->index; in f2fs_fsync_node_pages()
1761 if (last_idx != ULONG_MAX) in f2fs_fsync_node_pages()
1762 f2fs_submit_merged_write_cond(sbi, NULL, ino, last_idx, NODE); in f2fs_fsync_node_pages()
Dsegment.c398 pgoff_t last_idx = ULONG_MAX; in __f2fs_commit_inmem_pages() local
433 last_idx = page->index; in __f2fs_commit_inmem_pages()
439 if (last_idx != ULONG_MAX) in __f2fs_commit_inmem_pages()
440 f2fs_submit_merged_write_cond(sbi, inode, 0, last_idx, DATA); in __f2fs_commit_inmem_pages()