Searched refs:oidp (Results 1 - 25 of 395) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/dev/random/
H A Drandomdev.h46 if (oidp->oid_arg1 != NULL) { \
47 if (*(u_int *)(oidp->oid_arg1) <= (min)) \
48 *(u_int *)(oidp->oid_arg1) = (min); \
49 else if (*(u_int *)(oidp->oid_arg1) > (max)) \
50 *(u_int *)(oidp->oid_arg1) = (max); \
52 return (sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, \
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dsysfs.h118 error = sysctl_handle_string(oidp, buf, PAGE_SIZE - 1, req);
137 oid = SYSCTL_ADD_OID(NULL, SYSCTL_CHILDREN(kobj->oidp), OID_AUTO,
151 if (kobj->oidp)
152 sysctl_remove_name(kobj->oidp, attr->name, 1, 1);
182 struct sysctl_oid *oidp; local
186 oidp = SYSCTL_ADD_NODE(NULL, SYSCTL_CHILDREN(kobj->oidp),
189 oidp = kobj->oidp;
191 SYSCTL_ADD_OID(NULL, SYSCTL_CHILDREN(oidp), OID_AUT
246 struct sysctl_oid *oidp; local
[all...]
H A Dkobject.h60 struct sysctl_oid *oidp; member in struct:kobject
86 kobj->oidp = NULL;
/freebsd-13-stable/sys/kern/
H A Dkern_sysctl.c125 static int sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del,
133 struct sysctl_oid *oidp; local
136 SLIST_FOREACH(oidp, list, oid_link) {
137 if (strcmp(oidp->oid_name, name) == 0) {
138 return (oidp);
206 sysctl_load_tunable_by_oid_locked(struct sysctl_oid *oidp) argument
220 for (curr = oidp; curr != NULL; curr = SYSCTL_PARENT(curr)) {
223 if (curr != oidp)
230 if (curr != oidp)
241 switch (oidp
424 sysctl_register_oid(struct sysctl_oid *oidp) argument
525 sysctl_register_disabled_oid(struct sysctl_oid *oidp) argument
541 sysctl_enable_oid(struct sysctl_oid *oidp) argument
556 sysctl_unregister_oid(struct sysctl_oid *oidp) argument
659 sysctl_ctx_entry_add(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument
674 sysctl_ctx_entry_find(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument
694 sysctl_ctx_entry_del(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument
720 sysctl_remove_oid(struct sysctl_oid *oidp, int del, int recurse) argument
751 sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del, int recurse) argument
830 struct sysctl_oid *oidp; local
880 sysctl_rename_oid(struct sysctl_oid *oidp, const char *name) argument
899 struct sysctl_oid *oidp; local
927 struct sysctl_oid **oidp; local
972 struct sysctl_oid *oidp; local
1115 sysctl_sysctl_next_node(struct sysctl_oid *oidp, int *name, unsigned int namelen, bool honor_skip) argument
1198 struct sysctl_oid *oidp; local
1282 struct sysctl_oid *oidp; local
2685 db_sysctl(struct sysctl_oid *oidp, int *name, u_int namelen, void *old, size_t *oldlenp, size_t *retval, int flags) argument
2731 struct sysctl_oid *oidp; local
2752 db_oid_safe(const struct sysctl_oid *oidp) argument
2767 db_show_oid(struct sysctl_oid *oidp, int *oid, size_t nlen, int flags) argument
2822 struct sysctl_oid *oidp; local
2879 struct sysctl_oid *oidp; local
[all...]
H A Dsubr_kdb.c173 error = sysctl_handle_string(oidp, buf, sizeof(buf), req);
189 error = sysctl_handle_int(oidp, &i, 0, req);
207 error = sysctl_handle_int(oidp, &i, 0, req);
222 error = sysctl_handle_string(oidp, buf, sizeof(buf), req);
238 error = sysctl_handle_int(oidp, &i, 0, req);
254 error = sysctl_handle_int(oidp, &i, 0, req);
282 error = sysctl_handle_int(oidp, &i, 0, req);
H A Dkern_mib.c158 return (sysctl_handle_long(oidp, &lvalue, 0, req));
160 return (sysctl_handle_long(oidp, &lvalue, 0, req));
162 return (sysctl_handle_int(oidp, &ivalue, 0, req));
206 return (sysctl_handle_long(oidp, &val, 0, req));
222 return (sysctl_handle_long(oidp, &val, 0, req));
239 return (sysctl_handle_long(oidp, &val, 0, req));
358 error = sysctl_handle_string(oidp, tmpname, len, req);
419 error = sysctl_handle_int(oidp, &level, 0, req);
474 error = sysctl_handle_long(oidp, &tmpid, 0, req);
702 error = sysctl_handle_int(oidp,
[all...]
/freebsd-13-stable/sys/dev/isci/
H A Disci_sysctl.c47 int error = sysctl_handle_int(oidp, &isci->coalesce_timeout, 0, req);
65 int error = sysctl_handle_int(oidp, &isci->coalesce_number, 0, req);
107 int error = sysctl_handle_int(oidp, &remote_devices_to_be_reset, 0, req);
124 sysctl_handle_int(oidp, &remote_devices_to_be_reset, 0, req);
153 int error = sysctl_handle_int(oidp, &phy_to_be_stopped, 0, req);
185 int error = sysctl_handle_int(oidp, &phy_to_be_started, 0, req);
206 error = sysctl_handle_int(oidp, &log_frozen_devices, 0, req);
235 error = sysctl_handle_int(oidp, &fail_on_timeout, 0, req);
/freebsd-13-stable/sys/netgraph/bluetooth/common/
H A Dng_bluetooth.c79 error = sysctl_handle_int(oidp, &value, 0, req);
103 error = sysctl_handle_int(oidp, &value, 0, req);
138 error = sysctl_handle_int(oidp, &value, 0, req);
163 error = sysctl_handle_int(oidp, &value, 0, req);
241 error = sysctl_handle_int(oidp, &value, 0, req);
/freebsd-13-stable/sys/dev/nvme/
H A Dnvme_sysctl.c85 int error = sysctl_handle_int(oidp, &val, 0, req);
101 int error = sysctl_handle_int(oidp, &ctrlr->int_coal_time, 0,
120 int error = sysctl_handle_int(oidp, &ctrlr->int_coal_threshold, 0,
139 int error = sysctl_handle_int(oidp, &newval, 0, req);
176 return (sysctl_handle_64(oidp, &num_cmds, 0, req));
191 return (sysctl_handle_64(oidp, &num_intr_handler_calls, 0, req));
206 return (sysctl_handle_64(oidp, &num_retries, 0, req));
221 return (sysctl_handle_64(oidp, &num_failures, 0, req));
230 int error = sysctl_handle_int(oidp, &val, 0, req);
/freebsd-13-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_pwm.c195 error = sysctl_handle_int(oidp, &r, sizeof(r), req);
208 error = sysctl_handle_int(oidp, &r, sizeof(r), req);
226 error = sysctl_handle_int(oidp, &r, sizeof(r), req);
242 error = sysctl_handle_int(oidp, &sc->period, sizeof(sc->period), req);
257 error = sysctl_handle_int(oidp, &r, sizeof(r), req);
279 error = sysctl_handle_int(oidp, &r, sizeof(r), req);
292 error = sysctl_handle_int(oidp, &r, sizeof(r), req);
308 error = sysctl_handle_int(oidp, &sc->period2, sizeof(sc->period2), req);
323 error = sysctl_handle_int(oidp, &r, sizeof(r), req);
343 error = sysctl_handle_int(oidp,
[all...]
H A Dbcm2835_spi.c131 error = sysctl_handle_int(oidp, &clk, sizeof(clk), req);
151 error = sysctl_handle_int(oidp, &reg, 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-13-stable/sys/i386/i386/
H A Dlongrun.c206 error = sysctl_handle_int(oidp, &mode, 0, req);
230 val = *(u_int *)oidp->oid_arg1;
231 error = sysctl_handle_int(oidp, &val, 0, req);
242 argp = (u_int32_t *)oidp->oid_arg1;
244 error = sysctl_handle_int(oidp, &arg, 0, req);
/freebsd-13-stable/sys/kgssapi/
H A Dgssd_prot.c78 xdr_gss_OID(XDR *xdrs, gss_OID *oidp) argument
85 oid = *oidp;
102 *oidp = GSS_C_NO_OID;
110 *oidp = oid;
115 oid = *oidp;
/freebsd-13-stable/sys/dev/ocs_fc/
H A Docs_ioctl.c736 rc = sysctl_handle_string(oidp, file_name, sizeof(file_name), req);
812 ocs_t *ocs = oidp->oid_arg1;
832 return (sysctl_handle_string(oidp, old, sizeof(old), req));
836 rc = sysctl_handle_string(oidp, new, sizeof(new), req);
851 ocs_t *ocs = oidp->oid_arg1;
869 return (sysctl_handle_string(oidp, old, sizeof(old), req));
873 rc = sysctl_handle_string(oidp, new, sizeof(new), req);
887 ocs_t *ocs = oidp->oid_arg1;
892 return (sysctl_handle_int(oidp, &value, 0, req));
898 ocs_t *ocs = oidp
[all...]
/freebsd-13-stable/sys/netinet/cc/
H A Dcc_hd.c187 error = sysctl_handle_int(oidp, &new, 0, req);
205 error = sysctl_handle_int(oidp, &new, 0, req);
223 error = sysctl_handle_int(oidp, &new, 0, req);
/freebsd-13-stable/sys/security/mac/
H A Dmac_system.c222 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-13-stable/sys/dev/intel/
H A Dpchtherm.c124 struct pchtherm_softc *sc = oidp->oid_arg1;
125 int regshift = oidp->oid_arg2;
132 return sysctl_handle_int(oidp, &temp, 0, req);
136 struct pchtherm_softc *sc = oidp->oid_arg1;
137 int regoff = oidp->oid_arg2;
143 return sysctl_handle_int(oidp, &temp, 0, req);
/freebsd-13-stable/sys/dev/acpi_support/
H A Dacpi_rapidstart.c111 int function = oidp->oid_arg2;
116 error = sysctl_handle_int(oidp, &val, 0, req);
H A Dacpi_sony.c180 int function = oidp->oid_arg2;
185 error = sysctl_handle_int(oidp, &val, 0, req);
/freebsd-13-stable/sys/gnu/gcov/
H A Dgcov_subr.c63 error = sysctl_handle_int(oidp, &v, 0, req);
81 error = sysctl_handle_int(oidp, &v, v, req);
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dsysctl_os.c235 err = sysctl_handle_int(oidp, &val, 0, req);
256 err = sysctl_handle_long(oidp, arg1, 0, req);
270 err = sysctl_handle_int(oidp, arg1, 0, req);
434 err = sysctl_handle_int(oidp, &val, 0, req);
462 err = sysctl_handle_long(oidp, &val, 0, req);
479 err = sysctl_handle_long(oidp, &val, 0, req);
498 rc = sysctl_handle_string(oidp, buf, sizeof (buf), req);
528 err = sysctl_handle_64(oidp, &val, 0, req);
547 err = sysctl_handle_64(oidp, &val, 0, req);
669 err = sysctl_handle_int(oidp,
[all...]
/freebsd-13-stable/sys/cddl/dev/dtrace/
H A Ddtrace_sysctl.c68 error = sysctl_handle_string(oidp, p_name, len, req);
H A Ddtrace_test.c67 error = sysctl_handle_int(oidp, &val, 0, req);
/freebsd-13-stable/sys/dev/ixgbe/
H A Dif_bypass.c136 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);
513 error = sysctl_handle_int(oidp, &reset_wd, 0, req);
563 error = sysctl_handle_int(oidp,
[all...]
/freebsd-13-stable/sys/tests/fib_lookup/
H A Dfib_lookup.c125 add_addr_sysctl_handler(struct sysctl_oid *oidp, struct sysctl_req *req, int family) argument
132 error = sysctl_handle_string(oidp, addr_str, sizeof(addr_str), req);
145 return (add_addr_sysctl_handler(oidp, req, AF_INET));
155 return (add_addr_sysctl_handler(oidp, req, AF_INET6));
185 int error = sysctl_handle_int(oidp, &count, 0, req);
249 int error = sysctl_handle_int(oidp, &count, 0, req);
352 int error = sysctl_handle_int(oidp, &count, 0, req);
462 int error = sysctl_handle_int(oidp, &count, 0, req);
550 error = sysctl_handle_int(oidp, &count, 0, req);

Completed in 152 milliseconds

1234567891011>>