Searched refs:first (Results 1 – 13 of 13) sorted by relevance
/kernel/ |
D | resource.c | 372 struct resource *first, *next; in __insert_resource() local 374 for (;; parent = first) { in __insert_resource() 375 first = __request_resource(parent, new); in __insert_resource() 376 if (!first) in __insert_resource() 377 return first; in __insert_resource() 379 if (first == parent) in __insert_resource() 380 return first; in __insert_resource() 382 if ((first->start > new->start) || (first->end < new->end)) in __insert_resource() 384 if ((first->start == new->start) && (first->end == new->end)) in __insert_resource() 388 for (next = first; ; next = next->sibling) { in __insert_resource() [all …]
|
D | taskstats.c | 220 static int fill_tgid(pid_t tgid, struct task_struct *first, in fill_tgid() argument 232 if (!first) in fill_tgid() 233 first = find_task_by_vpid(tgid); in fill_tgid() 235 if (!first || !lock_task_sighand(first, &flags)) in fill_tgid() 238 if (first->signal->stats) in fill_tgid() 239 memcpy(stats, first->signal->stats, sizeof(*stats)); in fill_tgid() 243 tsk = first; in fill_tgid() 257 } while_each_thread(first, tsk); in fill_tgid() 259 unlock_task_sighand(first, &flags); in fill_tgid()
|
D | hrtimer.c | 500 if (!base->first) in hrtimer_force_reprogram() 502 timer = rb_entry(base->first, struct hrtimer, node); in hrtimer_force_reprogram() 819 base->first = &timer->node; in enqueue_hrtimer() 851 if (base->first == &timer->node) { in __remove_hrtimer() 852 base->first = rb_next(&timer->node); in __remove_hrtimer() 1056 if (!base->first) in hrtimer_get_next_event() 1059 timer = rb_entry(base->first, struct hrtimer, node); in hrtimer_get_next_event() 1226 while ((node = base->first)) { in hrtimer_interrupt() 1354 if (!base->first) in hrtimer_run_queues() 1364 while ((node = base->first)) { in hrtimer_run_queues()
|
D | pid.c | 369 struct hlist_node *first; in pid_task() local 370 first = rcu_dereference(pid->tasks[type].first); in pid_task() 371 if (first) in pid_task() 372 result = hlist_entry(first, struct task_struct, pids[(type)].node); in pid_task()
|
D | sysctl.c | 2208 int *i, vleft, first=1, neg, val; in __do_proc_dointvec() local 2228 for (; left && vleft--; i++, first=0) { in __do_proc_dointvec() 2270 if (!first) in __do_proc_dointvec() 2287 if (!write && !first && left) { in __do_proc_dointvec() 2302 if (write && first) in __do_proc_dointvec() 2442 int vleft, first=1, neg; in __do_proc_doulongvec_minmax() local 2459 for (; left && vleft--; i++, min++, max++, first=0) { in __do_proc_doulongvec_minmax() 2502 if (!first) in __do_proc_doulongvec_minmax() 2515 if (!write && !first && left) { in __do_proc_doulongvec_minmax() 2530 if (write && first) in __do_proc_doulongvec_minmax()
|
D | signal.c | 361 struct sigqueue *q, *first = NULL; in collect_signal() local 369 if (first) in collect_signal() 371 first = q; in collect_signal() 377 if (first) { in collect_signal() 379 list_del_init(&first->list); in collect_signal() 380 copy_siginfo(info, &first->info); in collect_signal() 381 __sigqueue_free(first); in collect_signal()
|
D | sched_rt.c | 965 int first; in pick_optimal_cpu() local 971 first = cpumask_first(mask); in pick_optimal_cpu() 972 if (first < nr_cpu_ids) in pick_optimal_cpu() 973 return first; in pick_optimal_cpu()
|
D | rtmutex.c | 537 int first = (waiter == rt_mutex_top_waiter(lock)); in remove_waiter() local 548 if (first && owner != current) { in remove_waiter()
|
D | kprobes.c | 907 ri = hlist_entry(rp->free_instances.first, in pre_handler_kretprobe()
|
D | sched.c | 7162 struct sched_group *first = NULL, *last = NULL; in init_sched_build_groups() local 7185 if (!first) in init_sched_build_groups() 7186 first = sg; in init_sched_build_groups() 7191 last->next = first; in init_sched_build_groups()
|
/kernel/time/ |
D | timer_list.c | 89 curr = base->first; in print_active_timers()
|
/kernel/trace/ |
D | Kconfig | 75 It's first purpose is to trace the duration of functions and
|
/kernel/power/ |
D | Kconfig | 246 suspended image to. It will simply pick the first available swap
|