• Home
  • Raw
  • Download

Lines Matching refs:val

2253 			  unsigned long *val, bool *neg,  in proc_get_long()  argument
2277 if (strtoul_lenient(p, &p, 0, val)) in proc_get_long()
2311 static int proc_put_long(void __user **buf, size_t *size, unsigned long val, in proc_put_long() argument
2317 sprintf(p, "%s%lu", neg ? "-" : "", val); in proc_put_long()
2356 int val = *valp; in do_proc_dointvec_conv() local
2357 if (val < 0) { in do_proc_dointvec_conv()
2359 *lvalp = -(unsigned long)val; in do_proc_dointvec_conv()
2362 *lvalp = (unsigned long)val; in do_proc_dointvec_conv()
2377 unsigned int val = *valp; in do_proc_douintvec_conv() local
2378 *lvalp = (unsigned long)val; in do_proc_douintvec_conv()
2843 unsigned int val; in do_proc_dopipe_max_size_conv() local
2845 val = round_pipe_size(*lvalp); in do_proc_dopipe_max_size_conv()
2846 if (val == 0) in do_proc_dopipe_max_size_conv()
2849 *valp = val; in do_proc_dopipe_max_size_conv()
2851 unsigned int val = *valp; in do_proc_dopipe_max_size_conv() local
2852 *lvalp = (unsigned long) val; in do_proc_dopipe_max_size_conv()
2933 unsigned long val; in __do_proc_doulongvec_minmax() local
2942 err = proc_get_long(&p, &left, &val, &neg, in __do_proc_doulongvec_minmax()
2949 val = convmul * val / convdiv; in __do_proc_doulongvec_minmax()
2950 if ((min && val < *min) || (max && val > *max)) { in __do_proc_doulongvec_minmax()
2954 *i = val; in __do_proc_doulongvec_minmax()
2956 val = convdiv * (*i) / convmul; in __do_proc_doulongvec_minmax()
2962 err = proc_put_long(&buffer, &left, val, false); in __do_proc_doulongvec_minmax()
3050 int val = *valp; in do_proc_dointvec_jiffies_conv() local
3052 if (val < 0) { in do_proc_dointvec_jiffies_conv()
3054 lval = -(unsigned long)val; in do_proc_dointvec_jiffies_conv()
3057 lval = (unsigned long)val; in do_proc_dointvec_jiffies_conv()
3073 int val = *valp; in do_proc_dointvec_userhz_jiffies_conv() local
3075 if (val < 0) { in do_proc_dointvec_userhz_jiffies_conv()
3077 lval = -(unsigned long)val; in do_proc_dointvec_userhz_jiffies_conv()
3080 lval = (unsigned long)val; in do_proc_dointvec_userhz_jiffies_conv()
3098 int val = *valp; in do_proc_dointvec_ms_jiffies_conv() local
3100 if (val < 0) { in do_proc_dointvec_ms_jiffies_conv()
3102 lval = -(unsigned long)val; in do_proc_dointvec_ms_jiffies_conv()
3105 lval = (unsigned long)val; in do_proc_dointvec_ms_jiffies_conv()
3444 int val, ret; in proc_do_static_key() local
3446 .data = &val, in proc_do_static_key()
3447 .maxlen = sizeof(val), in proc_do_static_key()
3457 val = static_key_enabled(key); in proc_do_static_key()
3460 if (val) in proc_do_static_key()