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

1234567891011>>

/freebsd-11.0-release/sys/dev/random/
H A Drandomdev.h45 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.0-release/sys/compat/linuxkpi/common/include/linux/
H A Dsysfs.h111 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 Dkobject.h57 struct sysctl_oid *oidp; member in struct:kobject
83 kobj->oidp = NULL;
/freebsd-11.0-release/sys/kern/
H A Dkern_sysctl.c111 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
205 for (curr = oidp; curr != NULL; curr = SYSCTL_PARENT(curr)) {
208 if (curr != oidp)
215 if (curr != oidp)
226 switch (oidp
327 sysctl_register_oid(struct sysctl_oid *oidp) argument
428 sysctl_unregister_oid(struct sysctl_oid *oidp) argument
529 sysctl_ctx_entry_add(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument
544 sysctl_ctx_entry_find(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument
564 sysctl_ctx_entry_del(struct sysctl_ctx_list *clist, struct sysctl_oid *oidp) argument
590 sysctl_remove_oid(struct sysctl_oid *oidp, int del, int recurse) argument
622 sysctl_remove_oid_locked(struct sysctl_oid *oidp, int del, int recurse) argument
696 struct sysctl_oid *oidp; local
744 sysctl_rename_oid(struct sysctl_oid *oidp, const char *name) argument
763 struct sysctl_oid *oidp; local
791 struct sysctl_oid **oidp; local
826 struct sysctl_oid *oidp; local
959 struct sysctl_oid *oidp; local
1045 struct sysctl_oid *oidp; local
[all...]
H A Dvfs_init.c170 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 Dsubr_clock.c65 error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req);
H A Dkern_poll.c116 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.0-release/sys/dev/isci/
H A Disci_sysctl.c45 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.0-release/sys/netgraph/bluetooth/common/
H A Dng_bluetooth.c76 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.0-release/sys/dev/nvme/
H A Dnvme_sysctl.c77 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-11.0-release/sys/i386/i386/
H A Dlongrun.c203 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 Dmp_clock.c74 error = sysctl_handle_int(oidp, &freq, 0, req);
/freebsd-11.0-release/sys/kgssapi/
H A Dgssd_prot.c76 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.0-release/sys/netinet/cc/
H A Dcc_hd.c187 error = sysctl_handle_int(oidp, &new, 0, req);
206 error = sysctl_handle_int(oidp, &new, 0, req);
224 error = sysctl_handle_int(oidp, &new, 0, req);
/freebsd-11.0-release/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-11.0-release/sys/dev/acpi_support/
H A Dacpi_rapidstart.c110 int function = oidp->oid_arg2;
115 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-11.0-release/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-11.0-release/sys/netpfil/ipfw/
H A Ddn_aqm_pie.c93 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.0-release/sys/arm/ti/am335x/
H A Dam335x_ehrpwm.c195 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.0-release/sys/arm/broadcom/bcm2835/
H A Dbcm2835_spi.c127 error = sysctl_handle_int(oidp, &clk, sizeof(clk), req);
158 error = sysctl_handle_int(oidp, &reg, sizeof(reg), req);
175 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CPOL));
182 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CPHA));
189 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CSPOL0));
196 return (bcm_spi_cs_bit_proc(oidp, arg1, arg2, req, SPI_CS_CSPOL1));
/freebsd-11.0-release/sys/dev/asmc/
H A Dasmc.c1059 error = sysctl_handle_int(oidp, &v, 0, req);
1076 error = sysctl_handle_string(oidp, desc, 0, req);
1090 error = sysctl_handle_int(oidp, &v, 0, req);
1105 error = sysctl_handle_int(oidp, &v, 0, req);
1124 error = sysctl_handle_int(oidp, &v, 0, req);
1143 error = sysctl_handle_int(oidp, &v, 0, req);
1178 error = sysctl_handle_int(oidp, &val, 0, req);
1309 error = sysctl_handle_int(oidp, &v, 0, req);
1324 error = sysctl_handle_int(oidp, &v, 0, req);
1339 error = sysctl_handle_int(oidp,
[all...]
/freebsd-11.0-release/sys/dev/ath/
H A Dif_ath_sysctl.c119 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...]
/freebsd-11.0-release/crypto/openssh/
H A Dssh-rsa.c284 rsa_hash_alg_oid(int hash_alg, const u_char **oidp, size_t *oidlenp) argument
288 *oidp = id_sha1;
292 *oidp = id_sha256;
296 *oidp = id_sha512;

Completed in 329 milliseconds

1234567891011>>