/freebsd-11-stable/sys/dev/random/ |
H A D | randomdev.h | 45 if (oidp->oid_arg1 != NULL) { \ 46 if (*(u_int *)(oidp->oid_arg1) <= (min)) \ 47 *(u_int *)(oidp->oid_arg1) = (min); \ 48 else if (*(u_int *)(oidp->oid_arg1) > (max)) \ 49 *(u_int *)(oidp->oid_arg1) = (max); \ 51 return (sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, \
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | sysfs.h | 119 error = sysctl_handle_string(oidp, buf, PAGE_SIZE - 1, req); 138 oid = SYSCTL_ADD_OID(NULL, SYSCTL_CHILDREN(kobj->oidp), OID_AUTO, 152 if (kobj->oidp) 153 sysctl_remove_name(kobj->oidp, attr->name, 1, 1); 183 struct sysctl_oid *oidp; local 187 oidp = SYSCTL_ADD_NODE(NULL, SYSCTL_CHILDREN(kobj->oidp), 190 oidp = kobj->oidp; 192 SYSCTL_ADD_OID(NULL, SYSCTL_CHILDREN(oidp), OID_AUT 247 struct sysctl_oid *oidp; local [all...] |
H A D | kobject.h | 58 struct sysctl_oid *oidp; member in struct:kobject 84 kobj->oidp = NULL;
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_sysctl.c | 111 static int sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del, 119 struct sysctl_oid *oidp; local 122 SLIST_FOREACH(oidp, list, oid_link) { 123 if (strcmp(oidp->oid_name, name) == 0) { 124 return (oidp); 186 sysctl_load_tunable_by_oid_locked(struct sysctl_oid *oidp) argument 200 for (curr = oidp; curr != NULL; curr = SYSCTL_PARENT(curr)) { 203 if (curr != oidp) 210 if (curr != oidp) 221 switch (oidp 325 sysctl_register_oid(struct sysctl_oid *oidp) argument 426 sysctl_register_disabled_oid(struct sysctl_oid *oidp) argument 442 sysctl_enable_oid(struct sysctl_oid *oidp) argument 457 sysctl_unregister_oid(struct sysctl_oid *oidp) argument 560 sysctl_ctx_entry_add(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument 575 sysctl_ctx_entry_find(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument 595 sysctl_ctx_entry_del(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument 621 sysctl_remove_oid(struct sysctl_oid *oidp, int del, int recurse) argument 653 sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del, int recurse) argument 728 struct sysctl_oid *oidp; local 776 sysctl_rename_oid(struct sysctl_oid *oidp, const char *name) argument 795 struct sysctl_oid *oidp; local 823 struct sysctl_oid **oidp; local 858 struct sysctl_oid *oidp; local 991 struct sysctl_oid *oidp; local 1077 struct sysctl_oid *oidp; local [all...] |
H A D | vfs_init.c | 170 struct sysctl_oid *oidp; local 295 SLIST_FOREACH(oidp, SYSCTL_CHILDREN(&sysctl___vfs), oid_link) { 296 if (strcmp(oidp->oid_name, vfc->vfc_name) == 0) { 297 sysctl_unregister_oid(oidp); 298 oidp->oid_number = vfc->vfc_typenum; 299 sysctl_register_oid(oidp);
|
H A D | subr_kdb.c | 155 error = sysctl_handle_string(oidp, buf, sizeof(buf), req); 171 error = sysctl_handle_int(oidp, &i, 0, req); 189 error = sysctl_handle_int(oidp, &i, 0, req); 206 error = sysctl_handle_int(oidp, &i, 0, req); 222 error = sysctl_handle_int(oidp, &i, 0, req); 250 error = sysctl_handle_int(oidp, &i, 0, req);
|
H A D | kern_poll.c | 116 error = sysctl_handle_int(oidp, &val, 0, req); 140 error = sysctl_handle_int(oidp, &val, 0, req); 170 error = sysctl_handle_int(oidp, &val, 0, req); 193 error = sysctl_handle_int(oidp, &val, 0, req);
|
/freebsd-11-stable/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); 233 error = sysctl_handle_int(oidp, &fail_on_timeout, 0, req);
|
/freebsd-11-stable/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-11-stable/sys/dev/nvme/ |
H A D | nvme_sysctl.c | 89 int error = sysctl_handle_int(oidp, &val, 0, req); 105 int error = sysctl_handle_int(oidp, &ctrlr->int_coal_time, 0, 124 int error = sysctl_handle_int(oidp, &ctrlr->int_coal_threshold, 0, 143 int error = sysctl_handle_int(oidp, &ctrlr->timeout_period, 0, req); 177 return (sysctl_handle_64(oidp, &num_cmds, 0, req)); 192 return (sysctl_handle_64(oidp, &num_intr_handler_calls, 0, req)); 201 int error = sysctl_handle_int(oidp, &val, 0, req);
|
/freebsd-11-stable/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; 108 *oidp = oid; 113 oid = *oidp;
|
/freebsd-11-stable/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-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_ioctl.c | 743 rc = sysctl_handle_string(oidp, file_name, sizeof(file_name), req); 821 ocs_t *ocs = oidp->oid_arg1; 842 return (sysctl_handle_string(oidp, old, sizeof(old), req)); 846 rc = sysctl_handle_string(oidp, new, sizeof(new), req); 861 ocs_t *ocs = oidp->oid_arg1; 880 return (sysctl_handle_string(oidp, old, sizeof(old), req)); 884 rc = sysctl_handle_string(oidp, new, sizeof(new), req); 898 ocs_t *ocs = oidp->oid_arg1; 903 return (sysctl_handle_int(oidp, &value, 0, req)); 909 ocs_t *ocs = oidp [all...] |
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_system.c | 222 mac_system_check_sysctl(struct ucred *cred, struct sysctl_oid *oidp, argument 231 MAC_POLICY_CHECK_NOSLEEP(system_check_sysctl, cred, oidp, arg1, arg2, 233 MAC_CHECK_PROBE3(system_check_sysctl, error, cred, oidp, req);
|
/freebsd-11-stable/sys/netinet/cc/ |
H A D | cc_hd.c | 185 error = sysctl_handle_int(oidp, &new, 0, req); 203 error = sysctl_handle_int(oidp, &new, 0, req); 221 error = sysctl_handle_int(oidp, &new, 0, req);
|
/freebsd-11-stable/sys/dev/acpi_support/ |
H A D | acpi_rapidstart.c | 110 int function = oidp->oid_arg2; 115 error = sysctl_handle_int(oidp, &val, 0, req);
|
H A D | acpi_sony.c | 180 int function = oidp->oid_arg2; 185 error = sysctl_handle_int(oidp, &val, 0, req);
|
/freebsd-11-stable/sys/cddl/dev/dtrace/ |
H A D | dtrace_test.c | 67 error = sysctl_handle_int(oidp, &val, 0, req);
|
H A D | dtrace_sysctl.c | 68 error = sysctl_handle_string(oidp, p_name, len, req);
|
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_spi.c | 131 error = sysctl_handle_int(oidp, &clk, sizeof(clk), req); 151 error = sysctl_handle_int(oidp, ®, sizeof(reg), req); 162 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CPOL)); 169 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CPHA)); 176 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CSPOL0)); 183 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CSPOL1)); 190 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CSPOL2));
|
/freebsd-11-stable/sys/dev/ixgbe/ |
H A D | if_bypass.c | 136 error = sysctl_handle_int(oidp, &version, 0, req); 172 error = sysctl_handle_int(oidp, &state, 0, req); 233 error = sysctl_handle_int(oidp, &timeout, 0, req); 275 error = sysctl_handle_int(oidp, &main_on, 0, req); 317 error = sysctl_handle_int(oidp, &main_off, 0, req); 359 error = sysctl_handle_int(oidp, &aux_on, 0, req); 401 error = sysctl_handle_int(oidp, &aux_off, 0, req); 455 error = sysctl_handle_int(oidp, &timeout, 0, req); 523 error = sysctl_handle_int(oidp, &reset_wd, 0, req); 572 error = sysctl_handle_int(oidp, [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | dn_aqm_pie.c | 93 if (!strcmp(oidp->oid_name,"alpha")) 99 error = sysctl_handle_long(oidp, &value, 0, req); 105 if (!strcmp(oidp->oid_name,"alpha")) 118 if (!strcmp(oidp->oid_name,"target")) 120 else if (!strcmp(oidp->oid_name,"tupdate")) 126 error = sysctl_handle_long(oidp, &value, 0, req); 133 if (!strcmp(oidp->oid_name,"target")) 135 else if (!strcmp(oidp->oid_name,"tupdate")) 150 error = sysctl_handle_long(oidp, &value, 0, req);
|
/freebsd-11-stable/sys/arm/ti/am335x/ |
H A D | am335x_ehrpwm.c | 195 error = sysctl_handle_int(oidp, &freq, sizeof(freq), req); 244 error = sysctl_handle_int(oidp, &clkdiv, sizeof(clkdiv), req); 272 if (oidp == sc->sc_chanA_oid) 276 error = sysctl_handle_int(oidp, &duty, 0, req); 287 if (oidp == sc->sc_chanA_oid) { 308 error = sysctl_handle_int(oidp, &period, 0, req);
|
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_sysctl.c | 119 error = sysctl_handle_int(oidp, &slottime, 0, req); 145 error = sysctl_handle_int(oidp, &acktimeout, 0, req); 171 error = sysctl_handle_int(oidp, &ctstimeout, 0, req); 192 error = sysctl_handle_int(oidp, &softled, 0, req); 213 error = sysctl_handle_int(oidp, &ledpin, 0, req); 232 error = sysctl_handle_int(oidp, &hardled, 0, req); 259 error = sysctl_handle_int(oidp, &txantenna, 0, req); 295 error = sysctl_handle_int(oidp, &defantenna, 0, req); 319 error = sysctl_handle_int(oidp, &diversity, 0, req); 353 error = sysctl_handle_int(oidp, [all...] |