Lines Matching refs:lvalp

539 static int do_proc_dobool_conv(bool *negp, unsigned long *lvalp,  in do_proc_dobool_conv()  argument
544 *(bool *)valp = *lvalp; in do_proc_dobool_conv()
548 *lvalp = (unsigned long)val; in do_proc_dobool_conv()
554 static int do_proc_dointvec_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_conv() argument
560 if (*lvalp > (unsigned long) INT_MAX + 1) in do_proc_dointvec_conv()
562 *valp = -*lvalp; in do_proc_dointvec_conv()
564 if (*lvalp > (unsigned long) INT_MAX) in do_proc_dointvec_conv()
566 *valp = *lvalp; in do_proc_dointvec_conv()
572 *lvalp = -(unsigned long)val; in do_proc_dointvec_conv()
575 *lvalp = (unsigned long)val; in do_proc_dointvec_conv()
581 static int do_proc_douintvec_conv(unsigned long *lvalp, in do_proc_douintvec_conv() argument
586 if (*lvalp > UINT_MAX) in do_proc_douintvec_conv()
588 *valp = *lvalp; in do_proc_douintvec_conv()
591 *lvalp = (unsigned long)val; in do_proc_douintvec_conv()
601 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in __do_proc_dointvec() argument
673 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in do_proc_dointvec() argument
685 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_w() argument
740 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_r() argument
772 int (*conv)(unsigned long *lvalp, in __do_proc_douintvec() argument
807 int (*conv)(unsigned long *lvalp, in do_proc_douintvec() argument
964 static int do_proc_dointvec_minmax_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_minmax_conv() argument
976 ret = do_proc_dointvec_conv(negp, lvalp, ip, write, data); in do_proc_dointvec_minmax_conv()
1031 static int do_proc_douintvec_minmax_conv(unsigned long *lvalp, in do_proc_douintvec_minmax_conv() argument
1041 ret = do_proc_douintvec_conv(lvalp, up, write, data); in do_proc_douintvec_minmax_conv()
1145 static int do_proc_dopipe_max_size_conv(unsigned long *lvalp, in do_proc_dopipe_max_size_conv() argument
1152 val = round_pipe_size(*lvalp); in do_proc_dopipe_max_size_conv()
1159 *lvalp = (unsigned long) val; in do_proc_dopipe_max_size_conv()
1353 static int do_proc_dointvec_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_jiffies_conv() argument
1358 if (*lvalp > INT_MAX / HZ) in do_proc_dointvec_jiffies_conv()
1360 *valp = *negp ? -(*lvalp*HZ) : (*lvalp*HZ); in do_proc_dointvec_jiffies_conv()
1371 *lvalp = lval / HZ; in do_proc_dointvec_jiffies_conv()
1376 static int do_proc_dointvec_userhz_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_userhz_jiffies_conv() argument
1381 if (USER_HZ < HZ && *lvalp > (LONG_MAX / HZ) * USER_HZ) in do_proc_dointvec_userhz_jiffies_conv()
1383 *valp = clock_t_to_jiffies(*negp ? -*lvalp : *lvalp); in do_proc_dointvec_userhz_jiffies_conv()
1394 *lvalp = jiffies_to_clock_t(lval); in do_proc_dointvec_userhz_jiffies_conv()
1399 static int do_proc_dointvec_ms_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_ms_jiffies_conv() argument
1404 unsigned long jif = msecs_to_jiffies(*negp ? -*lvalp : *lvalp); in do_proc_dointvec_ms_jiffies_conv()
1419 *lvalp = jiffies_to_msecs(lval); in do_proc_dointvec_ms_jiffies_conv()