Lines Matching refs:negp
428 static int do_proc_dobool_conv(bool *negp, unsigned long *lvalp, in do_proc_dobool_conv() argument
438 *negp = false; in do_proc_dobool_conv()
443 static int do_proc_dointvec_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_conv() argument
448 if (*negp) { in do_proc_dointvec_conv()
460 *negp = true; in do_proc_dointvec_conv()
463 *negp = false; in do_proc_dointvec_conv()
490 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in __do_proc_dointvec() argument
562 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in do_proc_dointvec() argument
842 static int do_proc_dointvec_minmax_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_minmax_conv() argument
854 ret = do_proc_dointvec_conv(negp, lvalp, ip, write, data); in do_proc_dointvec_minmax_conv()
1171 static int do_proc_dointvec_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_jiffies_conv() argument
1178 if (*negp) in do_proc_dointvec_jiffies_conv()
1186 *negp = true; in do_proc_dointvec_jiffies_conv()
1189 *negp = false; in do_proc_dointvec_jiffies_conv()
1197 static int do_proc_dointvec_userhz_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_userhz_jiffies_conv() argument
1204 *valp = clock_t_to_jiffies(*negp ? -*lvalp : *lvalp); in do_proc_dointvec_userhz_jiffies_conv()
1209 *negp = true; in do_proc_dointvec_userhz_jiffies_conv()
1212 *negp = false; in do_proc_dointvec_userhz_jiffies_conv()
1220 static int do_proc_dointvec_ms_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_ms_jiffies_conv() argument
1225 unsigned long jif = msecs_to_jiffies(*negp ? -*lvalp : *lvalp); in do_proc_dointvec_ms_jiffies_conv()
1234 *negp = true; in do_proc_dointvec_ms_jiffies_conv()
1237 *negp = false; in do_proc_dointvec_ms_jiffies_conv()
1245 static int do_proc_dointvec_ms_jiffies_minmax_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_ms_jiffies_minmax_conv() argument
1256 ret = do_proc_dointvec_ms_jiffies_conv(negp, lvalp, ip, write, data); in do_proc_dointvec_ms_jiffies_minmax_conv()