Home
last modified time | relevance | path

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

/kernel/
Duser_namespace.c137 u32 first, last, id2; in map_id_range_down() local
145 first = map->extent[idx].first; in map_id_range_down()
146 last = first + map->extent[idx].count - 1; in map_id_range_down()
147 if (id >= first && id <= last && in map_id_range_down()
148 (id2 >= first && id2 <= last)) in map_id_range_down()
153 id = (id - first) + map->extent[idx].lower_first; in map_id_range_down()
163 u32 first, last; in map_id_down() local
169 first = map->extent[idx].first; in map_id_down()
170 last = first + map->extent[idx].count - 1; in map_id_down()
171 if (id >= first && id <= last) in map_id_down()
[all …]
Dresource.c633 struct resource *first, *next; in __insert_resource() local
635 for (;; parent = first) { in __insert_resource()
636 first = __request_resource(parent, new); in __insert_resource()
637 if (!first) in __insert_resource()
638 return first; in __insert_resource()
640 if (first == parent) in __insert_resource()
641 return first; in __insert_resource()
642 if (WARN_ON(first == new)) /* duplicated insertion */ in __insert_resource()
643 return first; in __insert_resource()
645 if ((first->start > new->start) || (first->end < new->end)) in __insert_resource()
[all …]
Dtaskstats.c220 struct task_struct *tsk, *first; in fill_stats_for_tgid() local
229 first = find_task_by_vpid(tgid); in fill_stats_for_tgid()
231 if (!first || !lock_task_sighand(first, &flags)) in fill_stats_for_tgid()
234 if (first->signal->stats) in fill_stats_for_tgid()
235 memcpy(stats, first->signal->stats, sizeof(*stats)); in fill_stats_for_tgid()
239 tsk = first; in fill_stats_for_tgid()
253 } while_each_thread(first, tsk); in fill_stats_for_tgid()
255 unlock_task_sighand(first, &flags); in fill_stats_for_tgid()
Duser.c29 .first = 0,
37 .first = 0,
45 .first = 0,
Dsysctl.c1941 int *i, vleft, first = 1, err = 0; in __do_proc_dointvec() local
1972 for (; left && vleft--; i++, first=0) { in __do_proc_dointvec()
1995 if (!first) in __do_proc_dointvec()
2005 if (!write && !first && left && !err) in __do_proc_dointvec()
2012 if (first) in __do_proc_dointvec()
2191 int vleft, first = 1, err = 0; in __do_proc_doulongvec_minmax() local
2221 for (; left && vleft--; i++, first = 0) { in __do_proc_doulongvec_minmax()
2241 if (!first) in __do_proc_doulongvec_minmax()
2249 if (!write && !first && left && !err) in __do_proc_doulongvec_minmax()
2256 if (first) in __do_proc_doulongvec_minmax()
[all …]
Dpid.c430 struct hlist_node *first; in pid_task() local
431 first = rcu_dereference_check(hlist_first_rcu(&pid->tasks[type]), in pid_task()
433 if (first) in pid_task()
434 result = hlist_entry(first, struct task_struct, pids[(type)].node); in pid_task()
Drtmutex.c494 int first = (waiter == rt_mutex_top_waiter(lock)); in remove_waiter() local
507 if (first) { in remove_waiter()
Dsignal.c545 struct sigqueue *q, *first = NULL; in collect_signal() local
553 if (first) in collect_signal()
555 first = q; in collect_signal()
561 if (first) { in collect_signal()
563 list_del_init(&first->list); in collect_signal()
564 copy_siginfo(info, &first->info); in collect_signal()
565 __sigqueue_free(first); in collect_signal()
Dkprobes.c1799 ri = hlist_entry(rp->free_instances.first, in pre_handler_kretprobe()
/kernel/debug/kdb/
Dkdb_cmds7 # Standard debugging information for first level support, just type archkdb
/kernel/trace/
Dtrace_output.c319 int i, first = 1; local
329 if (!first && delim)
332 first = 0;
338 if (!first && delim)
Dftrace.c352 int first = *list == &ftrace_list_end; in add_ftrace_list_ops() local
354 if (first) in add_ftrace_list_ops()
2362 hnd = hhd->first; in t_hash_next()
2953 if (hhd->first) in __enable_ftrace_function_probe()
2977 if (hhd->first) in __disable_ftrace_function_probe()
DKconfig167 Its first purpose is to trace the duration of functions and
Dtrace.c5939 parent = hlist_entry(inode->i_dentry.first, struct dentry, d_alias); in instance_mkdir()
5966 parent = hlist_entry(inode->i_dentry.first, struct dentry, d_alias); in instance_rmdir()
/kernel/sched/
Dcore.c5596 struct sched_group *tmp, *first; in free_sched_groups() local
5601 first = sg; in free_sched_groups()
5610 } while (sg != first); in free_sched_groups()
5801 struct sched_group *first = NULL, *last = NULL, *groups = NULL, *sg; in build_overlap_sched_groups() local
5857 if (!first) in build_overlap_sched_groups()
5858 first = sg; in build_overlap_sched_groups()
5862 last->next = first; in build_overlap_sched_groups()
5869 free_sched_groups(first, 0); in build_overlap_sched_groups()
5901 struct sched_group *first = NULL, *last = NULL; in build_sched_groups() local
5938 if (!first) in build_sched_groups()
[all …]
/kernel/power/
DKconfig99 suspended image to. It will simply pick the first available swap