Lines Matching full:neg
331 * @neg: set to %TRUE if number is negative
342 unsigned long *val, bool *neg, in proc_get_long() argument
359 *neg = true; in proc_get_long()
362 *neg = false; in proc_get_long()
395 * @neg: sign of the number, %TRUE for negative
400 static void proc_put_long(void **buf, size_t *size, unsigned long val, bool neg) in proc_put_long() argument
405 sprintf(p, "%s%lu", neg ? "-" : "", val); in proc_put_long()
505 bool neg; in __do_proc_dointvec() local
512 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec()
517 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
522 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
528 proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec()
566 bool neg; in do_proc_douintvec_w() local
583 err = proc_get_long(&p, &left, &lval, &neg, in do_proc_douintvec_w()
586 if (err || neg) { in do_proc_douintvec_w()
1059 bool neg; in __do_proc_doulongvec_minmax() local
1065 err = proc_get_long(&p, &left, &val, &neg, in __do_proc_doulongvec_minmax()
1068 if (err || neg) { in __do_proc_doulongvec_minmax()
1400 bool neg; in proc_do_large_bitmap() local
1405 err = proc_get_long(&p, &left, &val_a, &neg, tr_a, in proc_do_large_bitmap()
1419 if (val_a >= bitmap_len || neg) { in proc_do_large_bitmap()
1432 &neg, tr_b, sizeof(tr_b), in proc_do_large_bitmap()
1445 if (val_b >= bitmap_len || neg || in proc_do_large_bitmap()