sysctl.c (d55b5fdaf40846221d543937b786956e27837fda) | sysctl.c (1e5d533142c1c178a31d4cc81837eb078f9269bc) |
---|---|
1/* 2 * sysctl.c: General linux system control interface 3 * 4 * Begun 24 March 1995, Stephen Tweedie 5 * Added /proc support, Dec 1995 6 * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas. 7 * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver. 8 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver. --- 1983 unchanged lines hidden (view full) --- 1992 1993/** 1994 * proc_dointvec_userhz_jiffies - read a vector of integers as 1/USER_HZ seconds 1995 * @table: the sysctl table 1996 * @write: %TRUE if this is a write to the sysctl file 1997 * @filp: the file structure 1998 * @buffer: the user buffer 1999 * @lenp: the size of the user buffer | 1/* 2 * sysctl.c: General linux system control interface 3 * 4 * Begun 24 March 1995, Stephen Tweedie 5 * Added /proc support, Dec 1995 6 * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas. 7 * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver. 8 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver. --- 1983 unchanged lines hidden (view full) --- 1992 1993/** 1994 * proc_dointvec_userhz_jiffies - read a vector of integers as 1/USER_HZ seconds 1995 * @table: the sysctl table 1996 * @write: %TRUE if this is a write to the sysctl file 1997 * @filp: the file structure 1998 * @buffer: the user buffer 1999 * @lenp: the size of the user buffer |
2000 * @ppos: pointer to the file position |
|
2000 * 2001 * Reads/writes up to table->maxlen/sizeof(unsigned int) integer 2002 * values from/to the user buffer, treated as an ASCII string. 2003 * The values read are assumed to be in 1/USER_HZ seconds, and 2004 * are converted into jiffies. 2005 * 2006 * Returns 0 on success. 2007 */ --- 360 unchanged lines hidden --- | 2001 * 2002 * Reads/writes up to table->maxlen/sizeof(unsigned int) integer 2003 * values from/to the user buffer, treated as an ASCII string. 2004 * The values read are assumed to be in 1/USER_HZ seconds, and 2005 * are converted into jiffies. 2006 * 2007 * Returns 0 on success. 2008 */ --- 360 unchanged lines hidden --- |