1PROC_DOULONGVEC_MS_J(9)       The proc filesystem      PROC_DOULONGVEC_MS_J(9)
2
3
4

NAME

6       proc_doulongvec_ms_jiffies_minmax - read a vector of millisecond values
7       with min/max values
8

SYNOPSIS

10       int proc_doulongvec_ms_jiffies_minmax(struct ctl_table * table,
11                                             int write, void __user * buffer,
12                                             size_t * lenp, loff_t * ppos);
13

ARGUMENTS

15       table
16           the sysctl table
17
18       write
19           TRUE if this is a write to the sysctl file
20
21       buffer
22           the user buffer
23
24       lenp
25           the size of the user buffer
26
27       ppos
28           file position
29

DESCRIPTION

31       Reads/writes up to table->maxlen/sizeof(unsigned long) unsigned long
32       values from/to the user buffer, treated as an ASCII string. The values
33       are treated as milliseconds, and converted to jiffies when they are
34       stored.
35
36       This routine will ensure the values are within the range specified by
37       table->extra1 (min) and table->extra2 (max).
38
39       Returns 0 on success.
40
42Kernel Hackers Manual 3.10         June 2019           PROC_DOULONGVEC_MS_J(9)
Impressum