Searched refs:nr (Results 1 – 10 of 10) sorted by relevance
/kernel/ |
D | pid.c | 40 #define pid_hashfn(nr, ns) \ argument 41 hash_long((unsigned long)nr + (unsigned long)ns, pidhash_shift) 91 if (pid != NULL && pid->numbers[pid->level].nr == 1) in is_container_init() 117 int nr = upid->nr; in free_pidmap() local 118 struct pidmap *map = upid->ns->pidmap + nr / BITS_PER_PAGE; in free_pidmap() 119 int offset = nr & BITS_PER_PAGE_MASK; in free_pidmap() 246 int i, nr; in alloc_pid() local 256 nr = alloc_pidmap(tmp); in alloc_pid() 257 if (nr < 0) in alloc_pid() 260 pid->numbers[i].nr = nr; in alloc_pid() [all …]
|
D | lockdep_proc.c | 452 unsigned long nl, nr; in lock_stat_cmp() local 454 nl = dl->stats.read_waittime.nr + dl->stats.write_waittime.nr; in lock_stat_cmp() 455 nr = dr->stats.read_waittime.nr + dr->stats.write_waittime.nr; in lock_stat_cmp() 457 return nr - nl; in lock_stat_cmp() 471 static void snprint_time(char *buf, size_t bufsiz, s64 nr) in snprint_time() argument 476 nr += 5; /* for display rounding */ in snprint_time() 477 div = div_s64_rem(nr, 1000, &rem); in snprint_time() 491 seq_printf(m, "%14lu", lt->nr); in seq_lock_time() 532 if (stats->write_holdtime.nr) { in seq_stats() 533 if (stats->read_holdtime.nr) in seq_stats() [all …]
|
D | pid_namespace.c | 153 int nr; in zap_pid_ns_processes() local 170 nr = next_pidmap(pid_ns, 1); in zap_pid_ns_processes() 171 while (nr > 0) { in zap_pid_ns_processes() 172 kill_proc_info(SIGKILL, SEND_SIG_PRIV, nr); in zap_pid_ns_processes() 173 nr = next_pidmap(pid_ns, nr); in zap_pid_ns_processes()
|
D | softirq.c | 295 inline void raise_softirq_irqoff(unsigned int nr) in raise_softirq_irqoff() argument 297 __raise_softirq_irqoff(nr); in raise_softirq_irqoff() 312 void raise_softirq(unsigned int nr) in raise_softirq() argument 317 raise_softirq_irqoff(nr); in raise_softirq() 321 void open_softirq(int nr, void (*action)(struct softirq_action *)) in open_softirq() argument 323 softirq_vec[nr].action = action; in open_softirq()
|
D | fork.c | 1362 long nr; in do_fork() local 1413 nr = task_pid_vnr(p); in do_fork() 1416 put_user(nr, parent_tidptr); in do_fork() 1424 tracehook_report_clone(trace, regs, clone_flags, nr, p); in do_fork() 1446 clone_flags, nr, p); in do_fork() 1456 tracehook_report_vfork_done(p, nr); in do_fork() 1459 nr = PTR_ERR(p); in do_fork() 1461 return nr; in do_fork()
|
D | exit.c | 370 pid_t nr = pid_nr(pid); in __set_special_pids() local 374 set_task_session(curr, nr); in __set_special_pids() 378 set_task_pgrp(curr, nr); in __set_special_pids()
|
D | lockdep.c | 165 lt->nr++; in lock_time_inc() 173 dst->nr += src->nr; in lock_time_add()
|
/kernel/irq/ |
D | numa_migrate.c | 18 int cpu, int nr) in init_copy_kstat_irqs() argument 22 init_kstat_irqs(desc, cpu, nr); in init_copy_kstat_irqs() 26 bytes = nr * sizeof(unsigned int); in init_copy_kstat_irqs()
|
D | internals.h | 17 extern void init_kstat_irqs(struct irq_desc *desc, int cpu, int nr);
|
D | handle.c | 84 void init_kstat_irqs(struct irq_desc *desc, int cpu, int nr) in init_kstat_irqs() argument 91 bytes = nr * sizeof(unsigned int); in init_kstat_irqs()
|