Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 36) sorted by relevance

12

/kernel/bpf/
Dpercpu_freelist.c18 head->first = NULL; in pcpu_freelist_init()
21 s->extralist.first = NULL; in pcpu_freelist_init()
33 node->next = head->first; in pcpu_freelist_push_node()
34 head->first = node; in pcpu_freelist_push_node()
133 node = head->first; in ___pcpu_freelist_pop()
135 head->first = node->next; in ___pcpu_freelist_pop()
149 node = s->extralist.first; in ___pcpu_freelist_pop()
151 s->extralist.first = node->next; in ___pcpu_freelist_pop()
167 node = head->first; in ___pcpu_freelist_pop_nmi()
169 head->first = node->next; in ___pcpu_freelist_pop_nmi()
[all …]
Dpercpu_freelist.h10 struct pcpu_freelist_node *first; member
/kernel/
Duser_namespace.c226 u32 first, last, id2; in cmp_map_id() local
234 first = el->lower_first; in cmp_map_id()
236 first = el->first; in cmp_map_id()
238 last = first + el->count - 1; in cmp_map_id()
240 if (key->id >= first && key->id <= last && in cmp_map_id()
241 (id2 >= first && id2 <= last)) in cmp_map_id()
244 if (key->id < first || id2 < first) in cmp_map_id()
276 u32 first, last, id2; in map_id_range_down_base() local
282 first = map->extent[idx].first; in map_id_range_down_base()
283 last = first + map->extent[idx].count - 1; in map_id_range_down_base()
[all …]
Dasync.c83 struct async_entry *first = NULL; in lowest_in_progress() local
91 first = list_first_entry(&domain->pending, in lowest_in_progress()
95 first = list_first_entry(&async_global_pending, in lowest_in_progress()
99 if (first) in lowest_in_progress()
100 ret = first->cookie; in lowest_in_progress()
Dtaskstats.c193 struct task_struct *tsk, *first; in fill_stats_for_tgid() local
204 first = find_task_by_vpid(tgid); in fill_stats_for_tgid()
206 if (!first || !lock_task_sighand(first, &flags)) in fill_stats_for_tgid()
209 if (first->signal->stats) in fill_stats_for_tgid()
210 memcpy(stats, first->signal->stats, sizeof(*stats)); in fill_stats_for_tgid()
214 tsk = first; in fill_stats_for_tgid()
239 } while_each_thread(first, tsk); in fill_stats_for_tgid()
241 unlock_task_sighand(first, &flags); in fill_stats_for_tgid()
Dresource.c786 struct resource *first, *next; in __insert_resource() local
788 for (;; parent = first) { in __insert_resource()
789 first = __request_resource(parent, new); in __insert_resource()
790 if (!first) in __insert_resource()
791 return first; in __insert_resource()
793 if (first == parent) in __insert_resource()
794 return first; in __insert_resource()
795 if (WARN_ON(first == new)) /* duplicated insertion */ in __insert_resource()
796 return first; in __insert_resource()
798 if ((first->start > new->start) || (first->end < new->end)) in __insert_resource()
[all …]
Dpid.c51 { .first = NULL },
52 { .first = NULL },
53 { .first = NULL },
400 struct hlist_node *first; in pid_task() local
401 first = rcu_dereference_check(hlist_first_rcu(&pid->tasks[type]), in pid_task()
403 if (first) in pid_task()
404 result = hlist_entry(first, struct task_struct, pid_links[(type)]); in pid_task()
Duser.c32 .first = 0,
42 .first = 0,
52 .first = 0,
Dsysctl.c600 int *i, vleft, first = 1, err = 0; in __do_proc_dointvec() local
625 for (; left && vleft--; i++, first=0) { in __do_proc_dointvec()
648 if (!first) in __do_proc_dointvec()
654 if (!write && !first && left && !err) in __do_proc_dointvec()
658 if (write && first) in __do_proc_dointvec()
1206 int vleft, first = 1, err = 0; in __do_proc_doulongvec_minmax() local
1230 for (; left && vleft--; i++, first = 0) { in __do_proc_doulongvec_minmax()
1255 if (!first) in __do_proc_doulongvec_minmax()
1261 if (!write && !first && left && !err) in __do_proc_doulongvec_minmax()
1265 if (write && first) in __do_proc_doulongvec_minmax()
[all …]
Dstatic_call.c126 struct static_call_mod *site_mod, first; in __static_call_update() local
145 first = (struct static_call_mod){ in __static_call_update()
151 for (site_mod = &first; site_mod; site_mod = site_mod->next) { in __static_call_update()
Dsignal.c574 struct sigqueue *q, *first = NULL; in collect_signal() local
582 if (first) in collect_signal()
584 first = q; in collect_signal()
590 if (first) { in collect_signal()
592 list_del_init(&first->list); in collect_signal()
593 copy_siginfo(info, &first->info); in collect_signal()
596 (first->flags & SIGQUEUE_PREALLOC) && in collect_signal()
600 __sigqueue_free(first); in collect_signal()
Dworkqueue.c2526 bool first = true; in rescuer_thread() local
2544 if (first) in rescuer_thread()
2548 first = false; in rescuer_thread()
4847 bool first = true; in show_workqueue_state() local
4862 pr_cont(" %s%d", first ? "idle: " : "", in show_workqueue_state()
4864 first = false; in show_workqueue_state()
Dwatch_queue.c614 watch = hlist_entry(wqueue->watches.first, struct watch, queue_node); in watch_queue_clear()
/kernel/sched/
Dtopology.c565 struct sched_group *tmp, *first; in free_sched_groups() local
570 first = sg; in free_sched_groups()
580 } while (sg != first); in free_sched_groups()
934 struct sched_group *first = NULL, *last = NULL, *sg; in build_overlap_sched_groups() local
973 if (!first) in build_overlap_sched_groups()
974 first = sg; in build_overlap_sched_groups()
978 last->next = first; in build_overlap_sched_groups()
980 sd->groups = first; in build_overlap_sched_groups()
985 free_sched_groups(first, 0); in build_overlap_sched_groups()
1109 struct sched_group *first = NULL, *last = NULL; in build_sched_groups() local
[all …]
Dstop_task.c32 static void set_next_task_stop(struct rq *rq, struct task_struct *stop, bool first) in set_next_task_stop() argument
Didle.c431 static void set_next_task_idle(struct rq *rq, struct task_struct *next, bool first) in set_next_task_idle() argument
/kernel/cgroup/
Ddebug.c241 bool first = true; in cgroup_masks_read_one() local
247 if (!first) in cgroup_masks_read_one()
250 first = false; in cgroup_masks_read_one()
/kernel/trace/
Dtrace_output.c72 int i, first = 1; in trace_print_flags_seq() local
82 if (!first && delim) in trace_print_flags_seq()
85 first = 0; in trace_print_flags_seq()
91 if (!first && delim) in trace_print_flags_seq()
136 int i, first = 1; in trace_print_flags_seq_u64() local
146 if (!first && delim) in trace_print_flags_seq_u64()
149 first = 0; in trace_print_flags_seq_u64()
155 if (!first && delim) in trace_print_flags_seq_u64()
DKconfig188 Its first purpose is to trace the duration of functions and
267 Enables hooks which will be called when preemption is first disabled,
710 "START". The second string records the cold cache time of the first
719 first=3672 [COLD CACHED]
720 last=632 first=3672 max=632 min=632 avg=316 std=446 std^2=199712
721 last=278 first=3672 max=632 min=278 avg=303 std=316 std^2=100337
722 last=277 first=3672 max=632 min=277 avg=296 std=258 std^2=67064
723 last=273 first=3672 max=632 min=273 avg=292 std=224 std^2=50411
724 last=273 first=3672 max=632 min=273 avg=288 std=200 std^2=40389
725 last=281 first=3672 max=632 min=273 avg=287 std=183 std^2=33666
Dtrace_event_perf.c454 head.first = &event->hlist_entry; in perf_ftrace_function_call()
Dtrace_events.c2421 bool first = false; in trace_event_eval_update() local
2429 first = true; in trace_event_eval_update()
2447 if (first) { in trace_event_eval_update()
2449 first = false; in trace_event_eval_update()
/kernel/debug/kdb/
Dkdb_cmds7 # Standard debugging information for first level support, just type archkdb
/kernel/locking/
Dmutex.c1041 bool first; in __mutex_lock_common() local
1071 first = __mutex_waiter_is_first(lock, &waiter); in __mutex_lock_common()
1072 if (first) in __mutex_lock_common()
1082 (first && mutex_optimistic_spin(lock, ww_ctx, &waiter))) in __mutex_lock_common()
/kernel/time/
Dhrtimer.c1115 bool force_local, first; in __hrtimer_start_range_ns() local
1156 first = enqueue_hrtimer(timer, new_base, mode); in __hrtimer_start_range_ns()
1158 return first; in __hrtimer_start_range_ns()
Dtimer.c1451 timer = hlist_entry(head->first, struct timer_list, entry); in expire_timers()
1939 timer = hlist_entry(head->first, struct timer_list, entry); in migrate_timer_list()

12