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

1234567891011>>

/freebsd-10.0-release/sys/dev/random/
H A Drandomdev_soft.h76 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 Drandomdev_soft.c118 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 Dkern_sysctl.c103 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 Dvfs_init.c155 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 Dsubr_clock.c64 error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2, req);
H A Dkern_poll.c115 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 Dkern_ktr.c145 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 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.h54 struct sysctl_oid *oidp; member in struct:kobject
64 kobj->oidp = NULL;
/freebsd-10.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-10.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);
/freebsd-10.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-10.0-release/sys/cddl/dev/dtrace/
H A Ddtrace_sysctl.c72 error = sysctl_handle_string(oidp, p_name, len, req);
H A Ddtrace_test.c69 error = sysctl_handle_int(oidp, &val, 0, req);
/freebsd-10.0-release/sys/dev/acpi_support/
H A Dacpi_rapidstart.c101 int function = oidp->oid_arg2;
106 error = sysctl_handle_int(oidp, &val, 0, req);
H A Dacpi_sony.c171 int function = oidp->oid_arg2;
176 error = sysctl_handle_int(oidp, &val, 0, req);
/freebsd-10.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-10.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;
106 *oidp = oid;
111 oid = *oidp;
/freebsd-10.0-release/sys/netinet/cc/
H A Dcc_hd.c188 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 Dmac_system.c223 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 Dif_ath_sysctl.c113 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 Dsysctl.h125 #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 Dasmc.c930 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 Dvchan.c300 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...]

Completed in 841 milliseconds

1234567891011>>