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
20           TRUE if this is a write to the sysctl file
21
22       buffer
23           the user buffer
24
25       lenp
26           the size of the user buffer
27
28       ppos
29           file position
30

DESCRIPTION

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