Home
last modified time | relevance | path

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

/kernel/
Dsysctl.c464 unsigned long *val, bool *neg, in proc_get_long() argument
481 *neg = true; in proc_get_long()
484 *neg = false; in proc_get_long()
522 static void proc_put_long(void **buf, size_t *size, unsigned long val, bool neg) in proc_put_long() argument
527 sprintf(p, "%s%lu", neg ? "-" : "", val); in proc_put_long()
627 bool neg; in __do_proc_dointvec() local
634 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec()
639 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
644 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
650 proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec()
[all …]
/kernel/sched/
Ddebug.c104 int neg = 0; in sched_feat_set() local
107 neg = 1; in sched_feat_set()
115 if (neg) { in sched_feat_set()
/kernel/trace/
Dtrace.c4892 struct tracer_opt *opts, int neg) in __set_tracer_option() argument
4897 ret = trace->set_flag(tr, tracer_flags->val, opts->bit, !neg); in __set_tracer_option()
4901 if (neg) in __set_tracer_option()
4909 static int set_tracer_option(struct trace_array *tr, char *cmp, int neg) in set_tracer_option() argument
4920 return __set_tracer_option(tr, trace->flags, opts, neg); in set_tracer_option()
5006 int neg = 0; in trace_set_options() local
5015 neg = 1; in trace_set_options()
5025 ret = set_tracer_option(tr, cmp, neg); in trace_set_options()
5027 ret = set_tracer_flag(tr, 1 << ret, !neg); in trace_set_options()