Lines Matching refs:neg
343 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()
582 bool neg; in do_proc_douintvec_w() local
599 err = proc_get_long(&p, &left, &lval, &neg, in do_proc_douintvec_w()
602 if (err || neg) { in do_proc_douintvec_w()
1076 bool neg; in __do_proc_doulongvec_minmax() local
1082 err = proc_get_long(&p, &left, &val, &neg, in __do_proc_doulongvec_minmax()
1085 if (err || neg) { in __do_proc_doulongvec_minmax()
1417 bool neg; in proc_do_large_bitmap() local
1422 err = proc_get_long(&p, &left, &val_a, &neg, tr_a, in proc_do_large_bitmap()
1436 if (val_a >= bitmap_len || neg) { in proc_do_large_bitmap()
1449 &neg, tr_b, sizeof(tr_b), in proc_do_large_bitmap()
1462 if (val_b >= bitmap_len || neg || in proc_do_large_bitmap()