Home
last modified time | relevance | path

Searched refs:b (Results 1 – 12 of 12) sorted by relevance

/kernel/
Dtimeconst.pl173 my ($b,$n,$d) = @_;
178 return scalar (($n << $b)+$d-bint(1))/$d;
183 my($b,$n,$d) = @_;
189 return scalar (($d-bint(1)) << $b)/$d;
193 my($b,$n,$d) = @_;
195 my($thres) = bint(1) << ($b-1);
219 my($b, $t, $hz) = @_;
220 my $s = fmuls($b, $t, $hz);
340 @hzlist = sort {$a <=> $b} (@ARGV);
Dsys.c48 # define SET_UNALIGN_CTL(a,b) (-EINVAL) argument
51 # define GET_UNALIGN_CTL(a,b) (-EINVAL) argument
54 # define SET_FPEMU_CTL(a,b) (-EINVAL) argument
57 # define GET_FPEMU_CTL(a,b) (-EINVAL) argument
60 # define SET_FPEXC_CTL(a,b) (-EINVAL) argument
63 # define GET_FPEXC_CTL(a,b) (-EINVAL) argument
66 # define GET_ENDIAN(a,b) (-EINVAL) argument
69 # define SET_ENDIAN(a,b) (-EINVAL) argument
1149 gid_t *b; in groups_alloc() local
1150 b = (void *)__get_free_page(GFP_USER); in groups_alloc()
[all …]
Dauditfilter.c791 static int audit_compare_rule(struct audit_krule *a, struct audit_krule *b) in audit_compare_rule() argument
795 if (a->flags != b->flags || in audit_compare_rule()
796 a->listnr != b->listnr || in audit_compare_rule()
797 a->action != b->action || in audit_compare_rule()
798 a->field_count != b->field_count) in audit_compare_rule()
802 if (a->fields[i].type != b->fields[i].type || in audit_compare_rule()
803 a->fields[i].op != b->fields[i].op) in audit_compare_rule()
817 if (strcmp(a->fields[i].lsm_str, b->fields[i].lsm_str)) in audit_compare_rule()
821 if (strcmp(a->watch->path, b->watch->path)) in audit_compare_rule()
826 audit_tree_path(b->tree))) in audit_compare_rule()
[all …]
Dcpuset.c528 static int cpusets_overlap(struct cpuset *a, struct cpuset *b) in cpusets_overlap() argument
530 return cpumask_intersects(a->cpus_allowed, b->cpus_allowed); in cpusets_overlap()
701 struct cpuset *b = csa[j]; in generate_sched_domains() local
702 int bpn = b->pn; in generate_sched_domains()
704 if (apn != bpn && cpusets_overlap(a, b)) { in generate_sched_domains()
760 struct cpuset *b = csa[j]; in generate_sched_domains() local
762 if (apn == b->pn) { in generate_sched_domains()
763 cpumask_or(dp, dp, b->cpus_allowed); in generate_sched_domains()
765 update_domain_attr_tree(dattr + nslot, b); in generate_sched_domains()
768 b->pn = -1; in generate_sched_domains()
Dposix-cpu-timers.c96 union cpu_time_count b) in cpu_time_sub() argument
99 a.sched -= b.sched; in cpu_time_sub()
101 a.cpu = cputime_sub(a.cpu, b.cpu); in cpu_time_sub()
264 static void update_gt_cputime(struct task_cputime *a, struct task_cputime *b) in update_gt_cputime() argument
266 if (cputime_gt(b->utime, a->utime)) in update_gt_cputime()
267 a->utime = b->utime; in update_gt_cputime()
269 if (cputime_gt(b->stime, a->stime)) in update_gt_cputime()
270 a->stime = b->stime; in update_gt_cputime()
272 if (b->sum_exec_runtime > a->sum_exec_runtime) in update_gt_cputime()
273 a->sum_exec_runtime = b->sum_exec_runtime; in update_gt_cputime()
Dmodule.c595 static int already_uses(struct module *a, struct module *b) in already_uses() argument
599 list_for_each_entry(use, &b->modules_which_use_me, list) { in already_uses()
601 DEBUGP("%s uses %s!\n", a->name, b->name); in already_uses()
605 DEBUGP("%s does not use %s!\n", a->name, b->name); in already_uses()
610 static int use_module(struct module *a, struct module *b) in use_module() argument
615 if (b == NULL || already_uses(a, b)) return 1; in use_module()
619 module_wq, (err = strong_try_module_get(b)) != -EBUSY, in use_module()
622 a->name, b->name); in use_module()
634 module_put(b); in use_module()
639 list_add(&use->list, &b->modules_which_use_me); in use_module()
[all …]
Dprintk.c1274 struct console *a, *b; in unregister_console() local
1287 for (a=console_drivers->next, b=console_drivers ; in unregister_console()
1288 a; b=a, a=b->next) { in unregister_console()
1290 b->next = a->next; in unregister_console()
Dsched_fair.c1142 long S, rw, s, a, b; in effective_load() local
1158 b = S*rw + s*wg; in effective_load()
1160 wl = s*(a-b); in effective_load()
1162 if (likely(b)) in effective_load()
1163 wl /= b; in effective_load()
Dhrtimer.c238 # define switch_hrtimer_base(t, b) (b) argument
Dsignal.c110 #define PENDING(p,b) has_pending_signals(&(p)->signal, (b)) argument
Dcgroup.c2097 static int cmppid(const void *a, const void *b) in cmppid() argument
2099 return *(pid_t *)a - *(pid_t *)b; in cmppid()
/kernel/trace/
Dtrace.h314 #define TRACER_OPT(s, b) .name = #s, .bit = b argument