| /netbsd/src/lib/libc/gen/ |
| D | sysctlgetmibinfo.c | 66 static struct sysctlnode sysctl_mibroot = { 74 .sysctl_size = sizeof(struct sysctlnode), 83 static void free_children(struct sysctlnode *); 94 return (((const struct sysctlnode *)a)->sysctl_num - in compar() 95 ((const struct sysctlnode *)b)->sysctl_num); in compar() 102 free_children(struct sysctlnode *rnode) in free_children() 104 struct sysctlnode *node; in free_children() 128 struct sysctlnode *h, *i, *o, qnode; in relearnhead() 147 so = sysctl_mibroot.sysctl_clen * sizeof(struct sysctlnode); in relearnhead() 164 nlen = so / sizeof(struct sysctlnode); in relearnhead() [all …]
|
| D | sysctl.c | 67 static size_t __cvt_node_out(uint, const struct sysctlnode *, void **, 122 static const struct sysctlnode sysctl_usermib[] = { in user_sysctl() 242 const struct sysctlnode *node; in user_sysctl() 259 newlen == sizeof(struct sysctlnode)) in user_sysctl() 283 newlen != sizeof(struct sysctlnode))) in user_sysctl() 358 __cvt_node_out(uint v, const struct sysctlnode *n, void **o, size_t *l) in __cvt_node_out() 369 sz = sizeof(struct sysctlnode); in __cvt_node_out()
|
| /netbsd/src/sys/dev/ic/ |
| D | ath_netbsd.c | 67 const struct sysctlnode *cnode, *rnode; 115 struct sysctlnode node; in ath_sysctl_slottime() 133 struct sysctlnode node; in ath_sysctl_acktimeout() 151 struct sysctlnode node; in ath_sysctl_ctstimeout() 169 struct sysctlnode node; in ath_sysctl_softled() 198 struct sysctlnode node; in ath_sysctl_rxantenna() 217 struct sysctlnode node; in ath_sysctl_diversity() 238 struct sysctlnode node; in ath_sysctl_diag() 257 struct sysctlnode node; in ath_sysctl_tpscale() 277 struct sysctlnode node; in ath_sysctl_tpc() [all …]
|
| D | spdmem.c | 51 static void decode_edofpm(const struct sysctlnode *, device_t, struct spdmem *); 52 static void decode_rom(const struct sysctlnode *, device_t, struct spdmem *); 53 static void decode_sdram(const struct sysctlnode *, device_t, struct spdmem *, 55 static void decode_ddr(const struct sysctlnode *, device_t, struct spdmem *); 56 static void decode_ddr2(const struct sysctlnode *, device_t, struct spdmem *); 57 static void decode_ddr3(const struct sysctlnode *, device_t, struct spdmem *); 58 static void decode_ddr4(const struct sysctlnode *, device_t, struct spdmem *); 59 static void decode_fbdimm(const struct sysctlnode *, device_t, struct spdmem *); 61 static void decode_size_speed(device_t, const struct sysctlnode *, 294 const struct sysctlnode *node = NULL; in spdmem_common_attach() [all …]
|
| /netbsd/src/sys/kern/ |
| D | kern_sysctl.c | 104 static int sysctl_alloc(struct sysctlnode *, int); 105 static int sysctl_realloc(struct sysctlnode *); 108 struct sysctlnode *); 109 static int sysctl_cvt_out(struct lwp *, int, const struct sysctlnode *, 112 static int sysctl_log_add(struct sysctllog **, const struct sysctlnode *); 124 const struct sysctlnode *log_root; 132 struct sysctlnode sysctl_root = { 137 .sysctl_size = sizeof(struct sysctlnode), 502 const struct sysctlnode **rnode, int *nip) in sysctl_locate() 504 const struct sysctlnode *node, *pnode; in sysctl_locate() [all …]
|
| D | init_sysctl.c | 150 const struct sysctlnode *rnode; 704 struct sysctlnode node; in sysctl_kern_maxvnodes() 749 struct sysctlnode node; in sysctl_kern_messages() 810 struct sysctlnode node; in sysctl_kern_boottime() 827 struct sysctlnode node; in sysctl_kern_rtc_offset() 860 struct sysctlnode node; in sysctl_kern_maxproc() 895 struct sysctlnode node; in sysctl_kern_hostid() 919 struct sysctlnode node; in sysctl_kern_defcorename() 952 struct sysctlnode node = *rnode; in sysctl_kern_cptime() 1036 struct sysctlnode node; in sysctl_kern_maxptys() [all …]
|
| D | sched_m2.c | 356 struct sysctlnode node; in sysctl_sched_rtts() 367 struct sysctlnode node; in sysctl_sched_mints() 400 struct sysctlnode node; in sysctl_sched_maxts() 432 const struct sysctlnode *node = NULL;
|
| /netbsd/src/sys/compat/netbsd32/ |
| D | netbsd32_sysctl.c | 66 struct sysctlnode netbsd32_sysctl_root = { 70 .sysctl_size = sizeof(struct sysctlnode), 79 struct sysctlnode node; in netbsd32_sysctl_kern_boottime() 97 struct sysctlnode node; in netbsd32_sysctl_vm_loadavg() 110 struct sysctlnode node = *rnode; in sysctl_hw_machine_arch32() 123 const struct sysctlnode *_root = &netbsd32_sysctl_root; 202 const struct sysctlnode *pnode; in netbsd32___sysctl()
|
| /netbsd/src/sys/sys/ |
| D | sysctl.h | 73 struct sysctlnode; 975 extern struct sysctlnode sysctl_root; 1016 const int *, struct lwp *, const struct sysctlnode * 1021 const struct sysctlnode *rnode 1141 const struct sysctlnode **, int *); 1152 const struct sysctlnode **, const struct sysctlnode **, 1155 int sysctl_destroyv(struct sysctlnode *, ...); 1164 VERIFY_FN(CTLTYPE_NODE, struct sysctlnode); 1180 void sysctl_dump(const struct sysctlnode *); 1181 void sysctl_free(struct sysctlnode *); [all …]
|
| /netbsd/src/usr.sbin/puffs/mount_sysctlfs/ |
| D | sysctlfs.c | 166 struct sysctlnode sn[SFS_NODEPERDIR]; in getnode() 167 struct sysctlnode qnode; in getnode() 205 for (i = 0; i < sl / sizeof(struct sysctlnode); i++) { in getnode() 503 struct sysctlnode sn[SFS_NODEPERDIR]; in getlinks() 504 struct sysctlnode qnode; in getlinks() 545 struct sysctlnode sn[SFS_NODEPERDIR]; in sysctlfs_node_lookup() 546 struct sysctlnode qnode; in sysctlfs_node_lookup() 562 sl = SFS_NODEPERDIR * sizeof(struct sysctlnode); in sysctlfs_node_lookup() 570 for (i = 0; i < sl / sizeof(struct sysctlnode); i++) in sysctlfs_node_lookup() 573 if (i == sl / sizeof(struct sysctlnode)) in sysctlfs_node_lookup() [all …]
|
| /netbsd/src/sys/dev/pci/ixgbe/ |
| D | if_bypass.c | 121 struct sysctlnode node = *rnode; in ixgbe_bp_version() 163 struct sysctlnode node = *rnode; in ixgbe_bp_set_state() 227 struct sysctlnode node = *rnode; in ixgbe_bp_timeout() 272 struct sysctlnode node = *rnode; in ixgbe_bp_main_on() 316 struct sysctlnode node = *rnode; in ixgbe_bp_main_off() 360 struct sysctlnode node = *rnode; in ixgbe_bp_aux_on() 404 struct sysctlnode node = *rnode; in ixgbe_bp_aux_off() 453 struct sysctlnode node = *rnode; in ixgbe_bp_wd_set() 526 struct sysctlnode node = *rnode; in ixgbe_bp_wd_reset() 575 struct sysctlnode node = *rnode; in ixgbe_bp_log() [all …]
|
| /netbsd/src/sys/dev/ |
| D | keylock.c | 54 const struct sysctlnode *node = NULL; 164 struct sysctlnode node; in keylock_pos_sysctl() 177 struct sysctlnode node; in keylock_state_sysctl() 190 struct sysctlnode node; in keylock_order_sysctl()
|
| /netbsd/src/sbin/sysctl/ |
| D | sysctl.c | 114 int *, u_int, const struct sysctlnode *, \ 117 int *name, u_int namelen, const struct sysctlnode *pnode, \ 128 static void purge_tree(struct sysctlnode *); 129 static void print_tree(int *, u_int, struct sysctlnode *, u_int, int, regex_t *, 131 static void write_number(int *, u_int, struct sysctlnode *, char *, bool); 132 static void write_string(int *, u_int, struct sysctlnode *, char *, bool); 133 static void display_number(const struct sysctlnode *, const char *, 135 static void display_string(const struct sysctlnode *, const char *, 137 static void display_struct(const struct sysctlnode *, const char *, 145 static void getdesc1(int *, u_int, struct sysctlnode *); [all …]
|
| D | prog_ops.h | 35 struct sysctlnode; 49 size_t *, struct sysctlnode **, int);
|
| /netbsd/src/sys/arch/evbppc/obs405/dev/ |
| D | obsled.c | 83 struct sysctlnode *node; in obsled_attach() 102 NULL, (const struct sysctlnode **)&node, in obsled_attach() 112 NULL, (const struct sysctlnode **)&node, in obsled_attach() 134 struct sysctlnode node; in obsled_sysctl_verify()
|
| /netbsd/src/sys/arch/powerpc/oea/ |
| D | cpu_speedctl.c | 57 const struct sysctlnode *sysctl_node, *me, *freq; in init_scom_speedctl() 116 struct sysctlnode node = *rnode; in sysctl_cpuspeed_temp() 151 struct sysctlnode node = *rnode; in sysctl_cpuspeed_cur() 166 struct sysctlnode node = *rnode; in sysctl_cpuspeed_available()
|
| /netbsd/src/sys/secmodel/extensions/ |
| D | extensions_impl.h | 32 struct sysctlnode; 39 const struct sysctlnode *);
|
| /netbsd/src/sys/rump/librump/rumpkern/ |
| D | secmodel_extensions_rump.c | 49 const struct sysctlnode *); 52 const struct sysctlnode *rnode) in rump_secmodel_extensions_vfs_sysctl()
|
| /netbsd/src/sys/arch/evbmips/loongson/ |
| D | loongson_clock.c | 86 const struct sysctlnode *sysctl_node, *me, *freq; in loongson_initclocks() 272 struct sysctlnode node = *rnode; in loongson_cpuspeed_temp() 296 struct sysctlnode node = *rnode; in loongson_cpuspeed_cur() 307 struct sysctlnode node = *rnode; in loongson_cpuspeed_available()
|
| /netbsd/src/sys/dev/acpi/ |
| D | apeivar.h | 43 struct sysctlnode; 69 const struct sysctlnode *sc_sysctlroot;
|
| /netbsd/src/usr.bin/sockstat/ |
| D | prog_ops.h | 35 struct sysctlnode; 46 size_t *, struct sysctlnode **, int);
|
| /netbsd/src/sys/compat/linux/common/ |
| D | linux_sysctl.c | 63 struct sysctlnode linux_sysctl_root = { 68 .sysctl_size = sizeof(struct sysctlnode), 92 const struct sysctlnode *node = &linux_sysctl_root;
|
| /netbsd/src/sys/compat/linux32/common/ |
| D | linux32_sysctl.c | 63 struct sysctlnode linux32_sysctl_root = { 68 .sysctl_size = sizeof(struct sysctlnode), 91 const struct sysctlnode *node = &linux32_sysctl_root;
|
| /netbsd/src/sbin/route/ |
| D | prog_ops.h | 39 struct sysctlnode; 62 char *, size_t *, struct sysctlnode **, int);
|
| /netbsd/src/sys/dev/pci/voyager/ |
| D | pwmclock.c | 125 const struct sysctlnode *sysctl_node, *me, *freq; in pwmclock_attach() 337 struct sysctlnode node = *rnode; in pwmclock_cpuspeed_temp() 362 struct sysctlnode node = *rnode; in pwmclock_cpuspeed_cur() 374 struct sysctlnode node = *rnode; in pwmclock_cpuspeed_available()
|