Lines Matching refs:lvalp
2298 static int do_proc_dointvec_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_conv() argument
2304 if (*lvalp > (unsigned long) INT_MAX + 1) in do_proc_dointvec_conv()
2306 *valp = -*lvalp; in do_proc_dointvec_conv()
2308 if (*lvalp > (unsigned long) INT_MAX) in do_proc_dointvec_conv()
2310 *valp = *lvalp; in do_proc_dointvec_conv()
2316 *lvalp = -(unsigned long)val; in do_proc_dointvec_conv()
2319 *lvalp = (unsigned long)val; in do_proc_dointvec_conv()
2325 static int do_proc_douintvec_conv(unsigned long *lvalp, in do_proc_douintvec_conv() argument
2330 if (*lvalp > UINT_MAX) in do_proc_douintvec_conv()
2332 *valp = *lvalp; in do_proc_douintvec_conv()
2335 *lvalp = (unsigned long)val; in do_proc_douintvec_conv()
2345 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in __do_proc_dointvec() argument
2426 int (*conv)(bool *negp, unsigned long *lvalp, int *valp, in do_proc_dointvec() argument
2438 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_w() argument
2498 int (*conv)(unsigned long *lvalp, in do_proc_douintvec_r() argument
2530 int (*conv)(unsigned long *lvalp, in __do_proc_douintvec() argument
2565 int (*conv)(unsigned long *lvalp, in do_proc_douintvec() argument
2673 static int do_proc_dointvec_minmax_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_minmax_conv() argument
2685 ret = do_proc_dointvec_conv(negp, lvalp, ip, write, data); in do_proc_dointvec_minmax_conv()
2740 static int do_proc_douintvec_minmax_conv(unsigned long *lvalp, in do_proc_douintvec_minmax_conv() argument
2750 ret = do_proc_douintvec_conv(lvalp, up, write, data); in do_proc_douintvec_minmax_conv()
2795 static int do_proc_dopipe_max_size_conv(unsigned long *lvalp, in do_proc_dopipe_max_size_conv() argument
2802 val = round_pipe_size(*lvalp); in do_proc_dopipe_max_size_conv()
2809 *lvalp = (unsigned long) val; in do_proc_dopipe_max_size_conv()
2998 static int do_proc_dointvec_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_jiffies_conv() argument
3003 if (*lvalp > INT_MAX / HZ) in do_proc_dointvec_jiffies_conv()
3005 *valp = *negp ? -(*lvalp*HZ) : (*lvalp*HZ); in do_proc_dointvec_jiffies_conv()
3016 *lvalp = lval / HZ; in do_proc_dointvec_jiffies_conv()
3021 static int do_proc_dointvec_userhz_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_userhz_jiffies_conv() argument
3026 if (USER_HZ < HZ && *lvalp > (LONG_MAX / HZ) * USER_HZ) in do_proc_dointvec_userhz_jiffies_conv()
3028 *valp = clock_t_to_jiffies(*negp ? -*lvalp : *lvalp); in do_proc_dointvec_userhz_jiffies_conv()
3039 *lvalp = jiffies_to_clock_t(lval); in do_proc_dointvec_userhz_jiffies_conv()
3044 static int do_proc_dointvec_ms_jiffies_conv(bool *negp, unsigned long *lvalp, in do_proc_dointvec_ms_jiffies_conv() argument
3049 unsigned long jif = msecs_to_jiffies(*negp ? -*lvalp : *lvalp); in do_proc_dointvec_ms_jiffies_conv()
3064 *lvalp = jiffies_to_msecs(lval); in do_proc_dointvec_ms_jiffies_conv()