Home
last modified time | relevance | path

Searched refs:neg (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dsysctl.c343 unsigned long *val, bool *neg, in proc_get_long() argument
360 *neg = true; in proc_get_long()
363 *neg = false; in proc_get_long()
401 static void proc_put_long(void **buf, size_t *size, unsigned long val, bool neg) in proc_put_long() argument
406 sprintf(p, "%s%lu", neg ? "-" : "", val); in proc_put_long()
521 bool neg; in __do_proc_dointvec() local
528 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec()
533 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
538 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
544 proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec()
[all …]
/kernel/sched/
Ddebug.c103 int neg = 0; in sched_feat_set() local
106 neg = 1; in sched_feat_set()
114 if (neg) { in sched_feat_set()
/kernel/trace/
Dtrace.c5311 struct tracer_opt *opts, int neg) in __set_tracer_option() argument
5316 ret = trace->set_flag(tr, tracer_flags->val, opts->bit, !neg); in __set_tracer_option()
5320 if (neg) in __set_tracer_option()
5328 static int set_tracer_option(struct trace_array *tr, char *cmp, int neg) in set_tracer_option() argument
5339 return __set_tracer_option(tr, trace->flags, opts, neg); in set_tracer_option()
5425 int neg = 0; in trace_set_options() local
5434 neg = 1; in trace_set_options()
5444 ret = set_tracer_option(tr, cmp, neg); in trace_set_options()
5446 ret = set_tracer_flag(tr, 1 << ret, !neg); in trace_set_options()