Lines Matching refs:sysctl_oid

126 static int	sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del,
131 static struct sysctl_oid *
134 struct sysctl_oid *oidp; in sysctl_find_oidname()
165 sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1, intmax_t arg2, in sysctl_root_handler_locked()
207 sysctl_load_tunable_by_oid_locked(struct sysctl_oid *oidp) in sysctl_load_tunable_by_oid_locked()
210 struct sysctl_oid *curr; in sysctl_load_tunable_by_oid_locked()
351 sysctl_search_oid(struct sysctl_oid **nodes, struct sysctl_oid *needle) in sysctl_search_oid()
382 sysctl_warn_reuse(const char *func, struct sysctl_oid *leaf) in sysctl_warn_reuse()
384 struct sysctl_oid *nodes[CTL_MAXNAME]; in sysctl_warn_reuse()
425 sysctl_register_oid(struct sysctl_oid *oidp) in sysctl_register_oid()
428 struct sysctl_oid *p; in sysctl_register_oid()
429 struct sysctl_oid *q; in sysctl_register_oid()
526 sysctl_register_disabled_oid(struct sysctl_oid *oidp) in sysctl_register_disabled_oid()
542 sysctl_enable_oid(struct sysctl_oid *oidp) in sysctl_enable_oid()
557 sysctl_unregister_oid(struct sysctl_oid *oidp) in sysctl_unregister_oid()
559 struct sysctl_oid *p; in sysctl_unregister_oid()
570 sysctl_oid, oid_link); in sysctl_unregister_oid()
660 sysctl_ctx_entry_add(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) in sysctl_ctx_entry_add()
675 sysctl_ctx_entry_find(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) in sysctl_ctx_entry_find()
695 sysctl_ctx_entry_del(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) in sysctl_ctx_entry_del()
721 sysctl_remove_oid(struct sysctl_oid *oidp, int del, int recurse) in sysctl_remove_oid()
732 sysctl_remove_name(struct sysctl_oid *parent, const char *name, in sysctl_remove_name()
735 struct sysctl_oid *p, *tmp; in sysctl_remove_name()
792 sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del, int recurse) in sysctl_remove_oid_locked()
794 struct sysctl_oid *p, *tmp; in sysctl_remove_oid_locked()
865 struct sysctl_oid *
871 struct sysctl_oid *oidp; in sysctl_add_oid()
896 oidp = malloc(sizeof(struct sysctl_oid), M_SYSCTLOID, M_WAITOK|M_ZERO); in sysctl_add_oid()
924 sysctl_rename_oid(struct sysctl_oid *oidp, const char *name) in sysctl_rename_oid()
941 sysctl_move_oid(struct sysctl_oid *oid, struct sysctl_oid_list *parent) in sysctl_move_oid()
943 struct sysctl_oid *oidp; in sysctl_move_oid()
966 SET_DECLARE(sysctl_set, struct sysctl_oid);
971 struct sysctl_oid **oidp; in sysctl_register_all()
1016 struct sysctl_oid *oidp; in sysctl_sysctl_debug_dump_node()
1084 struct sysctl_oid *oid; in sysctl_sysctl_name()
1159 sysctl_sysctl_next_node(struct sysctl_oid *oidp, int *name, unsigned int namelen, in sysctl_sysctl_next_node()
1242 struct sysctl_oid *oidp; in sysctl_sysctl_next_action()
1324 name2oid(char *name, int *oid, int *len, struct sysctl_oid **oidpp) in name2oid()
1326 struct sysctl_oid *oidp; in name2oid()
1367 struct sysctl_oid *op = NULL; in sysctl_sysctl_name2oid()
1414 struct sysctl_oid *oid; in sysctl_sysctl_oidfmt()
1446 struct sysctl_oid *oid; in sysctl_sysctl_oiddescr()
1475 struct sysctl_oid *oid; in sysctl_sysctl_oidlabel()
2160 sysctl_find_oid(int *name, u_int namelen, struct sysctl_oid **noid, in sysctl_find_oid()
2164 struct sysctl_oid *oid; in sysctl_find_oid()
2213 struct sysctl_oid *oid; in sysctl_root()
2518 static struct sysctl_oid *g_ddb_oid;
2729 db_sysctl(struct sysctl_oid *oidp, int *name, u_int namelen, in db_sysctl()
2775 struct sysctl_oid *oidp; in db_show_oid_name()
2796 db_oid_safe(const struct sysctl_oid *oidp) in db_oid_safe()
2811 db_show_oid(struct sysctl_oid *oidp, int *oid, size_t nlen, int flags) in db_show_oid()
2866 struct sysctl_oid *oidp; in db_show_sysctl_all()
2923 struct sysctl_oid *oidp; in db_sysctlbyname()