/freebsd-10.0-release/sys/dev/random/ |
H A D | randomdev_soft.h | 76 if (oidp->oid_arg1 != NULL) { \ 77 if (*(u_int *)(oidp->oid_arg1) <= (min)) \ 78 *(u_int *)(oidp->oid_arg1) = (min); \ 79 else if (*(u_int *)(oidp->oid_arg1) > (max)) \ 80 *(u_int *)(oidp->oid_arg1) = (max); \ 82 return (sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, \
|
H A D | randomdev_soft.c | 118 if (oidp->oid_arg1 != NULL && *(u_int *)(oidp->oid_arg1) != 0) 119 *(u_int *)(oidp->oid_arg1) = 1; 120 return (sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req));
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_sysctl.c | 103 static int sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del, 109 struct sysctl_oid *oidp; local 112 SLIST_FOREACH(oidp, list, oid_link) { 113 if (strcmp(oidp->oid_name, name) == 0) { 114 return (oidp); 140 sysctl_register_oid(struct sysctl_oid *oidp) argument 142 struct sysctl_oid_list *parent = oidp->oid_parent; 151 p = sysctl_find_oidname(oidp->oid_name, parent); 168 if (oidp->oid_number == OID_AUTO) { 171 oidp 198 sysctl_unregister_oid(struct sysctl_oid *oidp) argument 299 sysctl_ctx_entry_add(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument 314 sysctl_ctx_entry_find(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument 334 sysctl_ctx_entry_del(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument 360 sysctl_remove_oid(struct sysctl_oid *oidp, int del, int recurse) argument 392 sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del, int recurse) argument 468 struct sysctl_oid *oidp; local 524 sysctl_rename_oid(struct sysctl_oid *oidp, const char *name) argument 543 struct sysctl_oid *oidp; local 571 struct sysctl_oid **oidp; local 606 struct sysctl_oid *oidp; local 731 struct sysctl_oid *oidp; local 816 struct sysctl_oid *oidp; local [all...] |
H A D | vfs_init.c | 155 struct sysctl_oid *oidp; local 216 SLIST_FOREACH(oidp, &sysctl__vfs_children, oid_link) 217 if (strcmp(oidp->oid_name, vfc->vfc_name) == 0) { 218 sysctl_unregister_oid(oidp); 219 oidp->oid_number = vfc->vfc_typenum; 220 sysctl_register_oid(oidp);
|
H A D | subr_clock.c | 64 error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req);
|
H A D | kern_poll.c | 115 error = sysctl_handle_int(oidp, &val, 0, req); 139 error = sysctl_handle_int(oidp, &val, 0, req); 169 error = sysctl_handle_int(oidp, &val, 0, req); 192 error = sysctl_handle_int(oidp, &val, 0, req);
|
H A D | kern_ktr.c | 145 error = sysctl_handle_string(oidp, lktr_cpumask_str, 166 error = sysctl_handle_int(oidp, &clear, 0, req); 190 error = sysctl_handle_int(oidp, &mask, 0, req); 235 error = sysctl_handle_int(oidp, &entries, 0, req); 302 error = sysctl_handle_int(oidp, &enable, 0, req);
|
/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | sysfs.h | 111 error = sysctl_handle_string(oidp, buf, PAGE_SIZE - 1, req); 129 sysctl_add_oid(NULL, SYSCTL_CHILDREN(kobj->oidp), OID_AUTO, 140 if (kobj->oidp) 141 sysctl_remove_name(kobj->oidp, attr->name, 1, 1); 148 if (kobj->oidp) 149 sysctl_remove_name(kobj->oidp, grp->name, 1, 1); 156 struct sysctl_oid *oidp; local 158 oidp = SYSCTL_ADD_NODE(NULL, SYSCTL_CHILDREN(kobj->oidp), 161 sysctl_add_oid(NULL, SYSCTL_CHILDREN(oidp), OID_AUT [all...] |
H A D | kobject.h | 54 struct sysctl_oid *oidp; member in struct:kobject 64 kobj->oidp = NULL;
|
/freebsd-10.0-release/sys/netgraph/bluetooth/common/ |
H A D | ng_bluetooth.c | 76 error = sysctl_handle_int(oidp, &value, 0, req); 100 error = sysctl_handle_int(oidp, &value, 0, req); 135 error = sysctl_handle_int(oidp, &value, 0, req); 160 error = sysctl_handle_int(oidp, &value, 0, req); 238 error = sysctl_handle_int(oidp, &value, 0, req);
|
/freebsd-10.0-release/sys/dev/isci/ |
H A D | isci_sysctl.c | 45 int error = sysctl_handle_int(oidp, &isci->coalesce_timeout, 0, req); 63 int error = sysctl_handle_int(oidp, &isci->coalesce_number, 0, req); 105 int error = sysctl_handle_int(oidp, &remote_devices_to_be_reset, 0, req); 122 sysctl_handle_int(oidp, &remote_devices_to_be_reset, 0, req); 151 int error = sysctl_handle_int(oidp, &phy_to_be_stopped, 0, req); 183 int error = sysctl_handle_int(oidp, &phy_to_be_started, 0, req); 204 error = sysctl_handle_int(oidp, &log_frozen_devices, 0, req);
|
/freebsd-10.0-release/sys/dev/nvme/ |
H A D | nvme_sysctl.c | 77 int error = sysctl_handle_int(oidp, &val, 0, req); 93 int error = sysctl_handle_int(oidp, &ctrlr->int_coal_time, 0, 112 int error = sysctl_handle_int(oidp, &ctrlr->int_coal_threshold, 0, 131 int error = sysctl_handle_int(oidp, &ctrlr->timeout_period, 0, req); 165 return (sysctl_handle_64(oidp, &num_cmds, 0, req)); 180 return (sysctl_handle_64(oidp, &num_intr_handler_calls, 0, req)); 189 int error = sysctl_handle_int(oidp, &val, 0, req);
|
/freebsd-10.0-release/sys/cddl/dev/dtrace/ |
H A D | dtrace_sysctl.c | 72 error = sysctl_handle_string(oidp, p_name, len, req);
|
H A D | dtrace_test.c | 69 error = sysctl_handle_int(oidp, &val, 0, req);
|
/freebsd-10.0-release/sys/dev/acpi_support/ |
H A D | acpi_rapidstart.c | 101 int function = oidp->oid_arg2; 106 error = sysctl_handle_int(oidp, &val, 0, req);
|
H A D | acpi_sony.c | 171 int function = oidp->oid_arg2; 176 error = sysctl_handle_int(oidp, &val, 0, req);
|
/freebsd-10.0-release/sys/i386/i386/ |
H A D | longrun.c | 203 error = sysctl_handle_int(oidp, &mode, 0, req); 227 val = *(u_int *)oidp->oid_arg1; 228 error = sysctl_handle_int(oidp, &val, 0, req); 239 argp = (u_int32_t *)oidp->oid_arg1; 241 error = sysctl_handle_int(oidp, &arg, 0, req);
|
H A D | mp_clock.c | 74 error = sysctl_handle_int(oidp, &freq, 0, req);
|
/freebsd-10.0-release/sys/kgssapi/ |
H A D | gssd_prot.c | 76 xdr_gss_OID(XDR *xdrs, gss_OID *oidp) argument 83 oid = *oidp; 100 *oidp = GSS_C_NO_OID; 106 *oidp = oid; 111 oid = *oidp;
|
/freebsd-10.0-release/sys/netinet/cc/ |
H A D | cc_hd.c | 188 error = sysctl_handle_int(oidp, &new, 0, req); 207 error = sysctl_handle_int(oidp, &new, 0, req); 225 error = sysctl_handle_int(oidp, &new, 0, req);
|
/freebsd-10.0-release/sys/security/mac/ |
H A D | mac_system.c | 223 mac_system_check_sysctl(struct ucred *cred, struct sysctl_oid *oidp, argument 232 MAC_POLICY_CHECK_NOSLEEP(system_check_sysctl, cred, oidp, arg1, arg2, 234 MAC_CHECK_PROBE3(system_check_sysctl, error, cred, oidp, req);
|
/freebsd-10.0-release/sys/dev/ath/ |
H A D | if_ath_sysctl.c | 113 error = sysctl_handle_int(oidp, &slottime, 0, req); 126 error = sysctl_handle_int(oidp, &acktimeout, 0, req); 139 error = sysctl_handle_int(oidp, &ctstimeout, 0, req); 152 error = sysctl_handle_int(oidp, &softled, 0, req); 173 error = sysctl_handle_int(oidp, &ledpin, 0, req); 192 error = sysctl_handle_int(oidp, &hardled, 0, req); 213 error = sysctl_handle_int(oidp, &txantenna, 0, req); 236 error = sysctl_handle_int(oidp, &defantenna, 0, req); 249 error = sysctl_handle_int(oidp, &diversity, 0, req); 267 error = sysctl_handle_int(oidp, [all...] |
/freebsd-10.0-release/sys/sys/ |
H A D | sysctl.h | 125 #define SYSCTL_HANDLER_ARGS struct sysctl_oid *oidp, void *arg1, \ 196 void sysctl_register_oid(struct sysctl_oid *oidp); 197 void sysctl_unregister_oid(struct sysctl_oid *oidp); 660 void sysctl_rename_oid(struct sysctl_oid *oidp, const char *name); 661 int sysctl_move_oid(struct sysctl_oid *oidp, 663 int sysctl_remove_oid(struct sysctl_oid *oidp, int del, int recurse); 667 struct sysctl_oid *oidp); 669 struct sysctl_oid *oidp); 671 struct sysctl_oid *oidp);
|
/freebsd-10.0-release/sys/dev/asmc/ |
H A D | asmc.c | 930 error = sysctl_handle_int(oidp, &v, 0, req); 944 error = sysctl_handle_int(oidp, &v, 0, req); 959 error = sysctl_handle_int(oidp, &v, 0, req); 973 error = sysctl_handle_int(oidp, &v, 0, req); 987 error = sysctl_handle_int(oidp, &v, 0, req); 1017 error = sysctl_handle_int(oidp, &val, 0, req); 1148 error = sysctl_handle_int(oidp, &v, 0, req); 1163 error = sysctl_handle_int(oidp, &v, 0, req); 1178 error = sysctl_handle_int(oidp, &v, sizeof(v), req); 1193 error = sysctl_handle_int(oidp, [all...] |
/freebsd-10.0-release/sys/dev/sound/pcm/ |
H A D | vchan.c | 300 d = devclass_get_softc(pcm_devclass, VCHAN_SYSCTL_UNIT(oidp->oid_arg1)); 307 switch (VCHAN_SYSCTL_DIR(oidp->oid_arg1)) { 333 err = sysctl_handle_int(oidp, &cnt, 0, req); 357 d = devclass_get_softc(pcm_devclass, VCHAN_SYSCTL_UNIT(oidp->oid_arg1)); 364 switch (VCHAN_SYSCTL_DIR(oidp->oid_arg1)) { 402 ret = sysctl_handle_string(oidp, dtype, sizeof(dtype), req); 450 d = devclass_get_softc(pcm_devclass, VCHAN_SYSCTL_UNIT(oidp->oid_arg1)); 457 switch (VCHAN_SYSCTL_DIR(oidp->oid_arg1)) { 499 ret = sysctl_handle_int(oidp, &newspd, 0, req); 559 d = devclass_get_softc(pcm_devclass, VCHAN_SYSCTL_UNIT(oidp [all...] |