Home
last modified time | relevance | path

Searched refs:last (Results 1 – 22 of 22) sorted by relevance

/kernel/time/
Dtimekeeping_internal.h19 static inline u64 clocksource_delta(u64 now, u64 last, u64 mask) in clocksource_delta() argument
21 u64 ret = (now - last) & mask; in clocksource_delta()
30 static inline u64 clocksource_delta(u64 now, u64 last, u64 mask) in clocksource_delta() argument
32 return (now - last) & mask; in clocksource_delta()
DKconfig20 # Clocksources require validation of the clocksource against the last
Dtimekeeping.c243 u64 now, last, mask, max, delta; in timekeeping_get_delta() local
256 last = tkr->cycle_last; in timekeeping_get_delta()
261 delta = clocksource_delta(now, last, mask); in timekeeping_get_delta()
/kernel/
Duser_namespace.c247 u32 first, last, id2; in cmp_map_id() local
259 last = first + el->count - 1; in cmp_map_id()
261 if (key->id >= first && key->id <= last && in cmp_map_id()
262 (id2 >= first && id2 <= last)) in cmp_map_id()
297 u32 first, last, id2; in map_id_range_down_base() local
304 last = first + map->extent[idx].count - 1; in map_id_range_down_base()
305 if (id >= first && id <= last && in map_id_range_down_base()
306 (id2 >= first && id2 <= last)) in map_id_range_down_base()
346 u32 first, last; in map_id_up_base() local
351 last = first + map->extent[idx].count - 1; in map_id_up_base()
[all …]
Dcpu.c76 struct hlist_node *last; member
506 st->last = NULL; in cpuhp_set_state()
538 if (!st->last) { in cpuhp_reset_state()
829 st->result = cpuhp_invoke_callback(cpu, state, bringup, st->node, &st->last); in cpuhp_thread_fun()
837 st->result = cpuhp_invoke_callback(cpu, state, bringup, st->node, &st->last); in cpuhp_thread_fun()
883 st->last = NULL; in cpuhp_invoke_ap_callback()
895 if ((ret = st->result) && st->last) { in cpuhp_invoke_ap_callback()
906 st->node = st->last = NULL; in cpuhp_invoke_ap_callback()
Ducount.c293 struct ucounts *last, enum rlimit_type type) in do_dec_rlimit_put_ucounts() argument
296 for (iter = ucounts; iter != last; iter = next) { in do_dec_rlimit_put_ucounts()
Dfork.c772 mas.last = tmp->vm_end - 1; in dup_mmap()
/kernel/bpf/
Dbpf_lru_list.c175 struct list_head *cur, *last, *next = inactive; in __bpf_lru_list_rotate_inactive() local
182 last = l->next_inactive_rotation->next; in __bpf_lru_list_rotate_inactive()
183 if (last == inactive) in __bpf_lru_list_rotate_inactive()
184 last = last->next; in __bpf_lru_list_rotate_inactive()
197 if (cur == last) in __bpf_lru_list_rotate_inactive()
Dcgroup.c664 struct hlist_node *last = NULL; in __cgroup_bpf_attach() local
674 hlist_for_each(last, progs) { in __cgroup_bpf_attach()
675 if (last->next) in __cgroup_bpf_attach()
677 hlist_add_behind(&pl->node, last); in __cgroup_bpf_attach()
/kernel/sched/
Dtopology.c1007 struct sched_group *first = NULL, *last = NULL, *sg; in build_overlap_sched_groups() local
1083 if (last) in build_overlap_sched_groups()
1084 last->next = sg; in build_overlap_sched_groups()
1085 last = sg; in build_overlap_sched_groups()
1086 last->next = first; in build_overlap_sched_groups()
1218 struct sched_group *first = NULL, *last = NULL; in build_sched_groups() local
1241 if (last) in build_sched_groups()
1242 last->next = sg; in build_sched_groups()
1243 last = sg; in build_sched_groups()
1245 last->next = first; in build_sched_groups()
Ddebug.c588 struct sched_entity *last; in print_cfs_rq() local
604 last = __pick_last_entity(cfs_rq); in print_cfs_rq()
605 if (last) in print_cfs_rq()
606 max_vruntime = last->vruntime; in print_cfs_rq()
Dfair.c670 struct rb_node *last = rb_last(&cfs_rq->tasks_timeline.rb_root); in __pick_last_entity() local
672 if (!last) in __pick_last_entity()
675 return __node_2_se(last); in __pick_last_entity()
4836 if (cfs_rq->last != se) in __clear_buddies_last()
4839 cfs_rq->last = NULL; in __clear_buddies_last()
4867 if (cfs_rq->last == se) in clear_buddies()
5082 } else if (cfs_rq->last && wakeup_preempt_entity(cfs_rq->last, left) < 1) { in pick_next_entity()
5086 se = cfs_rq->last; in pick_next_entity()
7697 cfs_rq_of(se)->last = se; in set_last_buddy()
8310 &p->se == cfs_rq_of(&p->se)->last)) in task_hot()
Dsched.h587 struct sched_entity *last; member
/kernel/locking/
Dtest-ww_mutex.c318 unsigned int n, last = nthreads - 1; in __test_cycle() local
329 if (n == last) in __test_cycle()
335 cycle->a_signal = &cycles[last].b_signal; in __test_cycle()
/kernel/power/
Dswap.c983 struct swap_map_page_list *tmp, *last; in get_swap_reader() local
992 last = handle->maps = NULL; in get_swap_reader()
1002 if (last) in get_swap_reader()
1003 last->next = tmp; in get_swap_reader()
1004 last = tmp; in get_swap_reader()
DKconfig247 This enables code to save the last PM event point across
265 This enables some cheesy code to save the last PM event point in the
/kernel/events/
Dring_buffer.c716 int last, order; in rb_alloc_aux() local
723 for (last = rb->aux_nr_pages + (1 << page_private(page)); in rb_alloc_aux()
724 last > rb->aux_nr_pages; rb->aux_nr_pages++) in rb_alloc_aux()
/kernel/irq/
Dmsi.c104 unsigned int idx, last = index + ndesc - 1; in msi_add_simple_msi_descs() local
110 for (idx = index; idx <= last; idx++) { in msi_add_simple_msi_descs()
123 msi_free_msi_descs_range(dev, MSI_DESC_NOTASSOCIATED, index, last); in msi_add_simple_msi_descs()
DKconfig147 # Cavium Octeon is the last system to use this deprecated option
/kernel/trace/
DKconfig315 and last enabled.
845 last=632 first=3672 max=632 min=632 avg=316 std=446 std^2=199712
846 last=278 first=3672 max=632 min=278 avg=303 std=316 std^2=100337
847 last=277 first=3672 max=632 min=277 avg=296 std=258 std^2=67064
848 last=273 first=3672 max=632 min=273 avg=292 std=224 std^2=50411
849 last=273 first=3672 max=632 min=273 avg=288 std=200 std^2=40389
850 last=281 first=3672 max=632 min=273 avg=287 std=183 std^2=33666
Dtrace.c2027 struct tracer *t, **last; in init_trace_selftests() local
2050 last = &trace_types; in init_trace_selftests()
2053 *last = t->next; in init_trace_selftests()
2056 last = &t->next; in init_trace_selftests()
9835 union trace_eval_map_item **last = &trace_eval_maps; in trace_module_remove_evals() local
9848 last = &map->tail.next; in trace_module_remove_evals()
9854 *last = trace_eval_jmp_to_tail(map)->tail.next; in trace_module_remove_evals()
/kernel/cgroup/
Dcgroup.c4499 unsigned long last = cfile->notified_at; in cgroup_file_notify() local
4500 unsigned long next = last + CGROUP_FILE_NOTIFY_MIN_INTV; in cgroup_file_notify()
4502 if (time_in_range(jiffies, last, next)) { in cgroup_file_notify()
4663 struct cgroup_subsys_state *last, *tmp; in css_rightmost_descendant() local
4668 last = pos; in css_rightmost_descendant()
4671 css_for_each_child(tmp, last) in css_rightmost_descendant()
4675 return last; in css_rightmost_descendant()
4681 struct cgroup_subsys_state *last; in css_leftmost_descendant() local
4684 last = pos; in css_leftmost_descendant()
4688 return last; in css_leftmost_descendant()