Lines Matching defs:STATIC

178 #ifdef STATIC
179 #undef STATIC
182 #define STATIC
184 #define STATIC static
189 STATIC void
191 STATIC void
193 STATIC void
195 STATIC void
197 STATIC void
199 STATIC void
216 STATIC int
223 STATIC int sysdoproc_filt_KERN_PROC_PID(proc_t p, void * arg);
224 STATIC int sysdoproc_filt_KERN_PROC_PGRP(proc_t p, void * arg);
225 STATIC int sysdoproc_filt_KERN_PROC_TTY(proc_t p, void * arg);
226 STATIC int sysdoproc_filt_KERN_PROC_UID(proc_t p, void * arg);
227 STATIC int sysdoproc_filt_KERN_PROC_RUID(proc_t p, void * arg);
229 STATIC int sysdoproc_filt_KERN_PROC_LCID(proc_t p, void * arg);
234 /* forward declarations for non-static STATIC */
235 STATIC void fill_loadavg64(struct loadavg *la, struct user64_loadavg *la64);
236 STATIC void fill_loadavg32(struct loadavg *la, struct user32_loadavg *la32);
237 STATIC int sysctl_handle_kern_threadname(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
238 STATIC int sysctl_sched_stats(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
239 STATIC int sysctl_sched_stats_enable(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
240 STATIC int sysctl_kdebug_ops SYSCTL_HANDLER_ARGS;
241 STATIC int sysctl_dotranslate SYSCTL_HANDLER_ARGS;
242 STATIC int sysctl_doaffinity SYSCTL_HANDLER_ARGS;
244 STATIC int sysctl_docountsyscalls SYSCTL_HANDLER_ARGS;
247 STATIC int sysctl_doprocargs SYSCTL_HANDLER_ARGS;
249 STATIC int sysctl_doprocargs2 SYSCTL_HANDLER_ARGS;
250 STATIC int sysctl_prochandle SYSCTL_HANDLER_ARGS;
252 STATIC int sysctl_dodebug SYSCTL_HANDLER_ARGS;
254 STATIC int sysctl_aiomax(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
255 STATIC int sysctl_aioprocmax(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
256 STATIC int sysctl_aiothreads(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
257 STATIC int sysctl_maxproc(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
258 STATIC int sysctl_osversion(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
259 STATIC int sysctl_sysctl_bootargs(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
260 STATIC int sysctl_maxvnodes(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
261 STATIC int sysctl_securelvl(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
262 STATIC int sysctl_domainname(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
263 STATIC int sysctl_hostname(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
264 STATIC int sysctl_procname(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
265 STATIC int sysctl_boottime(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
266 STATIC int sysctl_symfile(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
268 STATIC int sysctl_netboot(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
271 STATIC int sysctl_imgsrcdev(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
273 STATIC int sysctl_usrstack(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
274 STATIC int sysctl_usrstack64(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
275 STATIC int sysctl_coredump(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
276 STATIC int sysctl_suid_coredump(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
277 STATIC int sysctl_delayterm(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
278 STATIC int sysctl_rage_vnode(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
279 STATIC int sysctl_kern_check_openevt(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
280 STATIC int sysctl_nx(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
281 STATIC int sysctl_loadavg(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
282 STATIC int sysctl_vm_toggle_address_reuse(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
283 STATIC int sysctl_swapusage(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
285 STATIC int sysctl_sysctl_exec_affinity(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
287 STATIC int fetch_process_cputype( proc_t cur_proc, int *name, u_int namelen, cpu_type_t *cputype);
288 STATIC int sysctl_sysctl_native(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
289 STATIC int sysctl_sysctl_cputype(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
290 STATIC int sysctl_safeboot(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
291 STATIC int sysctl_singleuser(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
292 STATIC int sysctl_slide(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
297 STATIC void
306 STATIC void
569 STATIC int
612 STATIC int
668 STATIC int
728 STATIC int
773 STATIC int
802 STATIC int
875 STATIC struct ctldebug *debugvars[CTL_DEBUG_MAXID] = {
881 STATIC int
1180 STATIC int
1189 STATIC int
1198 STATIC int
1221 STATIC int
1240 STATIC int
1259 STATIC int
1319 STATIC int
1493 STATIC void
1553 STATIC void
1614 STATIC void
1664 STATIC void
1707 STATIC void
1715 STATIC void
1722 STATIC int
1791 STATIC int
1819 STATIC int
1846 STATIC int
2102 STATIC int
2122 STATIC int
2142 STATIC int
2164 STATIC int
2242 STATIC int
2261 STATIC int
2318 STATIC int
2356 STATIC int
2379 STATIC int
2399 STATIC int
2416 STATIC int
2482 STATIC int
2506 STATIC int
2523 STATIC int
2539 STATIC int
2578 STATIC int
2645 STATIC int
2656 STATIC int
2671 STATIC int
2693 STATIC int
2715 STATIC int
2738 STATIC int
2788 STATIC int
2822 STATIC int
2860 STATIC int
2893 STATIC int
2915 STATIC int
2932 STATIC int
3001 STATIC int
3032 STATIC int
3075 STATIC int
3090 STATIC int
3102 STATIC int
3113 STATIC int
3138 STATIC int