Searched refs:ctl_table (Results 1 - 13 of 13) sorted by relevance

/external/kernel-headers/original/linux/
H A Dsysctl.h909 typedef struct ctl_table ctl_table; typedef in typeref:struct:ctl_table
911 typedef int ctl_handler (ctl_table *table, int __user *name, int nlen,
916 typedef int proc_handler (ctl_table *ctl, int write, struct file * filp,
919 extern int proc_dostring(ctl_table *, int, struct file *,
921 extern int proc_dointvec(ctl_table *, int, struct file *,
923 extern int proc_dointvec_bset(ctl_table *, int, struct file *,
925 extern int proc_dointvec_minmax(ctl_table *, int, struct file *,
927 extern int proc_dointvec_jiffies(ctl_table *, int, struct file *,
929 extern int proc_dointvec_userhz_jiffies(ctl_table *, in
991 struct ctl_table struct
1010 ctl_table *ctl_table; member in struct:ctl_table_header
[all...]
H A Dif_tr.h53 extern struct ctl_table tr_table[];
H A Dmmzone.h413 struct ctl_table;
415 int min_free_kbytes_sysctl_handler(struct ctl_table *, int, struct file *,
418 int lowmem_reserve_ratio_sysctl_handler(struct ctl_table *, int, struct file *,
420 int percpu_pagelist_fraction_sysctl_handler(struct ctl_table *, int, struct file *,
422 int sysctl_min_unmapped_ratio_sysctl_handler(struct ctl_table *, int,
H A Dif_ether.h135 extern struct ctl_table ether_table[];
H A Dnet.h302 extern ctl_table net_table[];
H A Dfs.h2648 struct ctl_table;
2649 int proc_nr_files(struct ctl_table *table, int write,
2651 int proc_nr_dentry(struct ctl_table *table, int write,
2653 int proc_nr_inodes(struct ctl_table *table, int write,
H A Dmm.h1061 int drop_caches_sysctl_handler(struct ctl_table *, int, struct file *,
/external/oprofile/module/
H A Doprofile.h106 int (*add_sysctls)(ctl_table * next);
108 void (*remove_sysctls)(ctl_table * next);
147 extern int lproc_dointvec(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp);
H A Doprofile.c638 static int get_nr_interrupts(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
661 static int get_nr_buffer_overflow(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
682 int lproc_dointvec(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
702 static int sysctl_do_dump(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
724 static int sysctl_do_dump_stop(ctl_table * table, int write, struct file * filp, void * buffer, size_t * lenp)
751 static ctl_table oprof_table[] = {
764 static ctl_table oprof_root[] = {
769 static ctl_table dev_root[] = {
781 ctl_table * next = &oprof_table[nr_oprof_static];
797 ctl_table * nex
[all...]
/external/oprofile/module/x86/
H A Dop_nmi.c310 static int pmc_add_sysctls(ctl_table * next)
312 ctl_table * start = next;
313 ctl_table * tab;
322 if (!(tab = kmalloc(sizeof(ctl_table)*7, GFP_KERNEL)))
327 memset(tab, 0, sizeof(ctl_table)*7);
328 tab[0] = ((ctl_table) { 1, "enabled", &sysctl_parms.ctr[i].enabled, sizeof(int), 0644, NULL, lproc_dointvec, NULL, });
329 tab[1] = ((ctl_table) { 1, "event", &sysctl_parms.ctr[i].event, sizeof(int), 0644, NULL, lproc_dointvec, NULL, });
330 tab[2] = ((ctl_table) { 1, "count", &sysctl_parms.ctr[i].count, sizeof(int), 0644, NULL, lproc_dointvec, NULL, });
331 tab[3] = ((ctl_table) { 1, "unit_mask", &sysctl_parms.ctr[i].unit_mask, sizeof(int), 0644, NULL, lproc_dointvec, NULL, });
332 tab[4] = ((ctl_table) {
[all...]
H A Dop_rtc.c172 static int rtc_add_sysctls(ctl_table * next)
174 *next = ((ctl_table) { 1, "rtc_value", &sysctl_parms.ctr[0].count, sizeof(int), 0600, NULL, lproc_dointvec, NULL, });
178 static void rtc_remove_sysctls(ctl_table * next)
/external/oprofile/module/ia64/
H A Dop_pmu.c581 pmu_add_sysctls(ctl_table * next)
583 ctl_table * start = next;
584 ctl_table * tab;
592 if (!(tab = kmalloc(sizeof(ctl_table)*7, GFP_KERNEL)))
597 memset(tab, 0, sizeof(ctl_table)*7);
598 tab[0] = ((ctl_table) { 1, "enabled", &sysctl_parms.ctr[i].enabled, sizeof(int), 0600, NULL, lproc_dointvec, NULL, });
599 tab[1] = ((ctl_table) { 1, "event", &sysctl_parms.ctr[i].event, sizeof(int), 0600, NULL, lproc_dointvec, NULL, });
600 tab[2] = ((ctl_table) { 1, "count", &sysctl_parms.ctr[i].count, sizeof(int), 0600, NULL, lproc_dointvec, NULL, });
601 tab[3] = ((ctl_table) { 1, "unit_mask", &sysctl_parms.ctr[i].unit_mask, sizeof(int), 0600, NULL, lproc_dointvec, NULL, });
602 tab[4] = ((ctl_table) {
[all...]
/external/linux-tools-perf/util/include/linux/added/
H A Dperf_event.h1122 extern int perf_proc_update_handler(struct ctl_table *table, int write,

Completed in 135 milliseconds