/freebsd/sys/dev/isci/ |
H A D | isci_sysctl.c | 247 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 D | mpi3mr_pci.c | 111 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 D | isl.c | 182 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 D | zy7_devcfg.c | 72 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 D | acpi_sbl_wmi.c | 158 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 D | acpi_rapidstart.c | 55 struct sysctl_oid *sysctl_tree; member 84 sc->sysctl_tree = device_get_sysctl_tree(dev); in acpi_rapidstart_attach()
|
H A D | acpi_asus_wmi.c | 110 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 D | acpi_ibm.c | 200 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 D | acpi_panasonic.c | 71 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 D | acpi_toshiba.c | 129 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 D | acpi_dock.c | 60 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 D | mps.c | 1674 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 D | bcm2835_rng.c | 443 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 D | nvme_da.c | 117 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 D | mpr.c | 1821 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 D | psm.c | 202 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 D | cam_iosched.c | 245 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 D | ata_da.c | 278 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 D | blkback.c | 3354 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 D | subr_busdma_bounce.c | 84 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 D | subr_bus.c | 112 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 D | geom_disk.c | 68 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 D | xenstore_dev.c | 514 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 D | sfxge_port.c | 749 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 D | scsi_da.c | 376 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 …]
|