patch-1.3.69 linux/include/linux/sysctl.h
Next file: linux/include/linux/sysv_fs.h
Previous file: linux/include/linux/swap.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Mon Feb 26 11:58:16 1996
- Orig file:
v1.3.68/linux/include/linux/sysctl.h
- Orig date:
Wed Feb 7 15:11:38 1996
diff -u --recursive --new-file v1.3.68/linux/include/linux/sysctl.h linux/include/linux/sysctl.h
@@ -60,7 +60,8 @@
#define VM_SWAPCTL 1 /* struct: Set vm swapping control */
#define VM_KSWAPD 2 /* struct: control background pagout */
#define VM_FREEPG 3 /* struct: Set free page thresholds */
-#define VM_MAXID 4
+#define VM_BDFLUSH 4 /* struct: Control buffer cache flushing */
+#define VM_MAXID 5
/* CTL_NET names: */
@@ -91,6 +92,8 @@
void *, size_t *);
extern int proc_dointvec(ctl_table *, int, struct file *,
void *, size_t *);
+extern int proc_dointvec_minmax(ctl_table *, int, struct file *,
+ void *, size_t *);
extern int do_sysctl (int *name, int nlen,
void *oldval, size_t *oldlenp,
@@ -102,6 +105,7 @@
void *newval, size_t newlen, void ** context);
extern ctl_handler sysctl_string;
+extern ctl_handler sysctl_intvec;
extern int do_string (
void *oldval, size_t *oldlenp, void *newval, size_t newlen,
@@ -163,6 +167,8 @@
proc_handler *proc_handler; /* Callback for text formatting */
ctl_handler *strategy; /* Callback function for all r/w */
struct proc_dir_entry *de; /* /proc control block */
+ void *extra1;
+ void *extra2;
};
/* struct ctl_table_header is used to maintain dynamic lists of
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this