Home
last modified time | relevance | path

Searched refs:sysctl_tree (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/sys/dev/isci/
H A Disci_sysctl.c247 struct sysctl_oid *sysctl_tree = device_get_sysctl_tree(isci->device); in isci_sysctl_initialize() local
249 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in isci_sysctl_initialize()
254 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in isci_sysctl_initialize()
259 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in isci_sysctl_initialize()
265 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in isci_sysctl_initialize()
271 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in isci_sysctl_initialize()
275 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in isci_sysctl_initialize()
279 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in isci_sysctl_initialize()
285 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in isci_sysctl_initialize()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_pci.c111 struct sysctl_oid *sysctl_tree = NULL; in mpi3mr_setup_sysctl() local
124 sysctl_tree = device_get_sysctl_tree(sc->mpi3mr_dev); in mpi3mr_setup_sysctl()
126 if (sysctl_tree == NULL) { in mpi3mr_setup_sysctl()
128 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in mpi3mr_setup_sysctl()
131 if (sc->sysctl_tree == NULL) in mpi3mr_setup_sysctl()
134 sysctl_tree = sc->sysctl_tree; in mpi3mr_setup_sysctl()
137 SYSCTL_ADD_STRING(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mpi3mr_setup_sysctl()
141 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mpi3mr_setup_sysctl()
145 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mpi3mr_setup_sysctl()
149 SYSCTL_ADD_STRING(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mpi3mr_setup_sysctl()
[all …]
/freebsd/sys/dev/isl/
H A Disl.c182 struct sysctl_oid *sysctl_tree; in isl_attach() local
196 sysctl_tree = device_get_sysctl_tree(dev); in isl_attach()
204 SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, "als", in isl_attach()
212 SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, "ir", in isl_attach()
220 SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, "prox", in isl_attach()
227 SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, "resolution", in isl_attach()
233 SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, "range", in isl_attach()
/freebsd/sys/arm/xilinx/
H A Dzy7_devcfg.c72 struct sysctl_ctx_list sysctl_tree; member
357 sysctl_ctx_init(&sc->sysctl_tree); in zy7_devcfg_init_fclk_sysctl()
358 sc->sysctl_tree_top = SYSCTL_ADD_NODE(&sc->sysctl_tree, in zy7_devcfg_init_fclk_sysctl()
362 sysctl_ctx_free(&sc->sysctl_tree); in zy7_devcfg_init_fclk_sysctl()
368 fclk_node = SYSCTL_ADD_NODE(&sc->sysctl_tree, in zy7_devcfg_init_fclk_sysctl()
372 SYSCTL_ADD_INT(&sc->sysctl_tree, in zy7_devcfg_init_fclk_sysctl()
377 SYSCTL_ADD_PROC(&sc->sysctl_tree, in zy7_devcfg_init_fclk_sysctl()
383 SYSCTL_ADD_PROC(&sc->sysctl_tree, in zy7_devcfg_init_fclk_sysctl()
796 sysctl_ctx_free(&sc->sysctl_tree); in zy7_devcfg_detach()
/freebsd/sys/dev/acpi_support/
H A Dacpi_sbl_wmi.c158 struct sysctl_oid *sysctl_tree; in acpi_sbl_wmi_attach() local
165 sysctl_tree = device_get_sysctl_tree(dev); in acpi_sbl_wmi_attach()
168 SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in acpi_sbl_wmi_attach()
H A Dacpi_rapidstart.c55 struct sysctl_oid *sysctl_tree; member
84 sc->sysctl_tree = device_get_sysctl_tree(dev); in acpi_rapidstart_attach()
H A Dacpi_asus_wmi.c110 struct sysctl_oid *sysctl_tree; member
399 sc->sysctl_tree = device_get_sysctl_tree(dev); in acpi_asus_wmi_attach()
401 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, in acpi_asus_wmi_attach()
424 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, in acpi_asus_wmi_attach()
431 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, in acpi_asus_wmi_attach()
H A Dacpi_ibm.c200 struct sysctl_oid *sysctl_tree; member
487 sc->sysctl_tree = device_get_sysctl_tree(dev); in acpi_ibm_attach()
495 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, "initialmask", in acpi_ibm_attach()
531 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, in acpi_ibm_attach()
543 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, in acpi_ibm_attach()
550 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, in acpi_ibm_attach()
561 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, "thermal", in acpi_ibm_attach()
569 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, "handlerevents", in acpi_ibm_attach()
H A Dacpi_panasonic.c71 struct sysctl_oid *sysctl_tree; member
164 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in acpi_panasonic_attach()
169 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, in acpi_panasonic_attach()
H A Dacpi_toshiba.c129 struct sysctl_oid *sysctl_tree; member
242 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in acpi_toshiba_attach()
248 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, in acpi_toshiba_attach()
/freebsd/sys/dev/acpica/
H A Dacpi_dock.c60 struct sysctl_oid *sysctl_tree; member
501 sc->sysctl_tree = device_get_sysctl_tree(dev); in acpi_dock_attach()
504 SYSCTL_CHILDREN(sc->sysctl_tree), in acpi_dock_attach()
508 SYSCTL_CHILDREN(sc->sysctl_tree), in acpi_dock_attach()
512 SYSCTL_CHILDREN(sc->sysctl_tree), in acpi_dock_attach()
516 SYSCTL_CHILDREN(sc->sysctl_tree), in acpi_dock_attach()
/freebsd/sys/dev/mps/
H A Dmps.c1674 struct sysctl_oid *sysctl_tree = NULL; in mps_setup_sysctl() local
1687 sysctl_tree = device_get_sysctl_tree(sc->mps_dev); in mps_setup_sysctl()
1689 if (sysctl_tree == NULL) { in mps_setup_sysctl()
1691 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in mps_setup_sysctl()
1694 if (sc->sysctl_tree == NULL) in mps_setup_sysctl()
1697 sysctl_tree = sc->sysctl_tree; in mps_setup_sysctl()
1700 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mps_setup_sysctl()
1704 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mps_setup_sysctl()
1708 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mps_setup_sysctl()
1712 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mps_setup_sysctl()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_rng.c443 struct sysctl_oid *sysctl_tree; in bcm2835_rng_attach() local
489 sysctl_tree = device_get_sysctl_tree(dev); in bcm2835_rng_attach()
490 SYSCTL_ADD_LONG(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in bcm2835_rng_attach()
494 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in bcm2835_rng_attach()
497 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in bcm2835_rng_attach()
501 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in bcm2835_rng_attach()
/freebsd/sys/cam/nvme/
H A Dnvme_da.c117 struct sysctl_oid *sysctl_tree; member
725 softc->sysctl_tree = SYSCTL_ADD_NODE_WITH_LABEL(&softc->sysctl_ctx, in ndasysctlinit()
728 if (softc->sysctl_tree == NULL) { in ndasysctlinit()
734 SYSCTL_ADD_INT(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in ndasysctlinit()
738 SYSCTL_ADD_QUAD(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in ndasysctlinit()
743 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in ndasysctlinit()
747 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in ndasysctlinit()
751 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in ndasysctlinit()
755 SYSCTL_ADD_INT(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in ndasysctlinit()
759 SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in ndasysctlinit()
[all …]
/freebsd/sys/dev/mpr/
H A Dmpr.c1821 struct sysctl_oid *sysctl_tree = NULL; in mpr_setup_sysctl() local
1834 sysctl_tree = device_get_sysctl_tree(sc->mpr_dev); in mpr_setup_sysctl()
1836 if (sysctl_tree == NULL) { in mpr_setup_sysctl()
1838 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in mpr_setup_sysctl()
1841 if (sc->sysctl_tree == NULL) in mpr_setup_sysctl()
1844 sysctl_tree = sc->sysctl_tree; in mpr_setup_sysctl()
1847 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mpr_setup_sysctl()
1851 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mpr_setup_sysctl()
1855 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mpr_setup_sysctl()
1859 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), in mpr_setup_sysctl()
[all …]
/freebsd/sys/dev/atkbdc/
H A Dpsm.c202 struct sysctl_oid *sysctl_tree; member
299 struct sysctl_oid *sysctl_tree; member
1875 guest_model = sc->tpinfo.sysctl_tree != NULL ?
2007 if (sc->synhw.infoMajor >= 4 || sc->tpinfo.sysctl_tree != NULL)
5791 SYSCTL_CHILDREN(sc->syninfo.sysctl_tree), OID_AUTO,
5801 SYSCTL_CHILDREN(sc->syninfo.sysctl_tree), OID_AUTO,
5811 SYSCTL_CHILDREN(sc->syninfo.sysctl_tree), OID_AUTO,
5824 if (sc->syninfo.sysctl_tree != NULL)
5829 sc->syninfo.sysctl_tree = SYSCTL_ADD_NODE(&sc->syninfo.sysctl_ctx,
5836 SYSCTL_CHILDREN(sc->syninfo.sysctl_tree), OID_AUTO,
[all …]
/freebsd/sys/cam/
H A Dcam_iosched.c245 struct sysctl_oid *sysctl_tree; member
301 struct sysctl_oid *sysctl_tree; member
337 struct sysctl_oid *sysctl_tree; member
1018 ios->sysctl_tree = SYSCTL_ADD_NODE(&isc->sysctl_ctx, in cam_iosched_iop_stats_sysctl_init()
1019 SYSCTL_CHILDREN(isc->sysctl_tree), OID_AUTO, name, in cam_iosched_iop_stats_sysctl_init()
1021 n = SYSCTL_CHILDREN(ios->sysctl_tree); in cam_iosched_iop_stats_sysctl_init()
1101 if (ios->sysctl_tree) in cam_iosched_iop_stats_fini()
1114 clp->sysctl_tree = SYSCTL_ADD_NODE(&isc->sysctl_ctx, in cam_iosched_cl_sysctl_init()
1115 SYSCTL_CHILDREN(isc->sysctl_tree), OID_AUTO, "control", in cam_iosched_cl_sysctl_init()
1117 n = SYSCTL_CHILDREN(clp->sysctl_tree); in cam_iosched_cl_sysctl_init()
[all …]
/freebsd/sys/cam/ata/
H A Data_da.c278 struct sysctl_oid *sysctl_tree; member
1499 softc->sysctl_tree = SYSCTL_ADD_NODE_WITH_LABEL(&softc->sysctl_ctx, in adasysctlinit()
1502 if (softc->sysctl_tree == NULL) { in adasysctlinit()
1508 SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in adasysctlinit()
1514 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in adasysctlinit()
1518 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in adasysctlinit()
1522 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in adasysctlinit()
1525 SYSCTL_ADD_INT(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in adasysctlinit()
1528 SYSCTL_ADD_INT(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in adasysctlinit()
1531 SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in adasysctlinit()
[all …]
/freebsd/sys/dev/xen/blkback/
H A Dblkback.c3354 struct sysctl_oid *sysctl_tree = NULL; in xbb_setup_sysctl() local
3360 sysctl_tree = device_get_sysctl_tree(xbb->dev); in xbb_setup_sysctl()
3361 if (sysctl_tree == NULL) in xbb_setup_sysctl()
3364 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in xbb_setup_sysctl()
3368 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in xbb_setup_sysctl()
3372 SYSCTL_ADD_INT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in xbb_setup_sysctl()
3376 SYSCTL_ADD_UQUAD(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in xbb_setup_sysctl()
3380 SYSCTL_ADD_UQUAD(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in xbb_setup_sysctl()
3384 SYSCTL_ADD_UQUAD(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in xbb_setup_sysctl()
3389 SYSCTL_ADD_UQUAD(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in xbb_setup_sysctl()
[all …]
/freebsd/sys/kern/
H A Dsubr_busdma_bounce.c84 struct sysctl_ctx_list sysctl_tree; member
140 return (&bz->sysctl_tree); in busdma_sysctl_tree()
207 sysctl_ctx_init(&bz->sysctl_tree); in alloc_bounce_zone()
208 bz->sysctl_tree_top = SYSCTL_ADD_NODE(&bz->sysctl_tree, in alloc_bounce_zone()
212 sysctl_ctx_free(&bz->sysctl_tree); in alloc_bounce_zone()
H A Dsubr_bus.c112 struct sysctl_oid *sysctl_tree; member
164 struct sysctl_oid *sysctl_tree; /**< state for sysctl variables */ member
252 if (dc->sysctl_tree != NULL) in devclass_sysctl_init()
255 dc->sysctl_tree = SYSCTL_ADD_NODE(&dc->sysctl_ctx, in devclass_sysctl_init()
258 SYSCTL_ADD_PROC(&dc->sysctl_ctx, SYSCTL_CHILDREN(dc->sysctl_tree), in devclass_sysctl_init()
336 if (dev->sysctl_tree != NULL) in device_sysctl_init()
340 dev->sysctl_tree = SYSCTL_ADD_NODE_WITH_LABEL(&dev->sysctl_ctx, in device_sysctl_init()
341 SYSCTL_CHILDREN(dc->sysctl_tree), OID_AUTO, in device_sysctl_init()
344 SYSCTL_ADD_PROC(&dev->sysctl_ctx, SYSCTL_CHILDREN(dev->sysctl_tree), in device_sysctl_init()
348 SYSCTL_ADD_PROC(&dev->sysctl_ctx, SYSCTL_CHILDREN(dev->sysctl_tree), in device_sysctl_init()
[all …]
/freebsd/sys/geom/
H A Dgeom_disk.c68 struct sysctl_oid *sysctl_tree; member
750 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in g_disk_create()
753 if (sc->sysctl_tree != NULL) { in g_disk_create()
755 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, "led", in g_disk_create()
759 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, "flags", in g_disk_create()
763 SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, "flush_notsup_succeed", in g_disk_create()
803 if (sc->sysctl_tree != NULL) { in g_disk_providergone()
805 sc->sysctl_tree = NULL; in g_disk_providergone()
/freebsd/sys/dev/xen/xenstore/
H A Dxenstore_dev.c514 struct sysctl_oid *sysctl_tree; in xs_dev_attach() local
517 sysctl_tree = device_get_sysctl_tree(dev); in xs_dev_attach()
518 if (sysctl_ctx == NULL || sysctl_tree == NULL) in xs_dev_attach()
521 SYSCTL_ADD_UINT(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in xs_dev_attach()
/freebsd/sys/dev/sfxge/
H A Dsfxge_port.c749 struct sysctl_oid *sysctl_tree; in sfxge_port_init() local
775 sysctl_tree = device_get_sysctl_tree(sc->dev); in sfxge_port_init()
781 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in sfxge_port_init()
784 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in sfxge_port_init()
800 SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree), OID_AUTO, in sfxge_port_init()
/freebsd/sys/cam/scsi/
H A Dscsi_da.c376 struct sysctl_oid *sysctl_tree; member
2286 softc->sysctl_tree = SYSCTL_ADD_NODE_WITH_LABEL(&softc->sysctl_ctx, in dasysctlinit()
2289 if (softc->sysctl_tree == NULL) { in dasysctlinit()
2299 SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in dasysctlinit()
2304 SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in dasysctlinit()
2309 SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in dasysctlinit()
2315 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in dasysctlinit()
2319 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in dasysctlinit()
2323 SYSCTL_CHILDREN(softc->sysctl_tree), OID_AUTO, in dasysctlinit()
2327 SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in dasysctlinit()
[all …]

12