Home
last modified time | relevance | path

Searched refs:sysctl_ctx (Results 1 – 25 of 74) sorted by relevance

123

/freebsd/sys/dev/isci/
H A Disci_sysctl.c246 struct sysctl_ctx_list *sysctl_ctx = device_get_sysctl_ctx(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.c110 struct sysctl_ctx_list *sysctl_ctx = NULL; in mpi3mr_setup_sysctl() local
122 sysctl_ctx = device_get_sysctl_ctx(sc->mpi3mr_dev); in mpi3mr_setup_sysctl()
123 if (sysctl_ctx != NULL) in mpi3mr_setup_sysctl()
127 sysctl_ctx_init(&sc->sysctl_ctx); in mpi3mr_setup_sysctl()
128 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in mpi3mr_setup_sysctl()
133 sysctl_ctx = &sc->sysctl_ctx; 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/mlx5/mlx5_core/
H A Dmlx5_main.c1447 sysctl_ctx_init(&dev->sysctl_ctx); in init_one()
1448 SYSCTL_ADD_INT(&dev->sysctl_ctx, in init_one()
1452 SYSCTL_ADD_INT(&dev->sysctl_ctx, in init_one()
1456 SYSCTL_ADD_INT(&dev->sysctl_ctx, in init_one()
1461 pme_sysctl_node = SYSCTL_ADD_NODE(&dev->sysctl_ctx, in init_one()
1469 pme_err_sysctl_node = SYSCTL_ADD_NODE(&dev->sysctl_ctx, in init_one()
1477 SYSCTL_ADD_U64(&dev->sysctl_ctx, in init_one()
1482 SYSCTL_ADD_U64(&dev->sysctl_ctx, in init_one()
1488 SYSCTL_ADD_U64(&dev->sysctl_ctx, in init_one()
1495 cap_sysctl_node = SYSCTL_ADD_NODE(&dev->sysctl_ctx, in init_one()
[all …]
H A Dmlx5_diag_cnt.c525 sysctl_ctx_init(&diag_cnt->sysctl_ctx); in mlx5_diag_cnt_init()
527 diag_cnt_sysctl_node = SYSCTL_ADD_NODE(&diag_cnt->sysctl_ctx, in mlx5_diag_cnt_init()
535 SYSCTL_ADD_PROC(&diag_cnt->sysctl_ctx, SYSCTL_CHILDREN(diag_cnt_sysctl_node), in mlx5_diag_cnt_init()
539 SYSCTL_ADD_PROC(&diag_cnt->sysctl_ctx, SYSCTL_CHILDREN(diag_cnt_sysctl_node), in mlx5_diag_cnt_init()
544 SYSCTL_ADD_PROC(&diag_cnt->sysctl_ctx, SYSCTL_CHILDREN(diag_cnt_sysctl_node), in mlx5_diag_cnt_init()
549 SYSCTL_ADD_PROC(&diag_cnt->sysctl_ctx, SYSCTL_CHILDREN(diag_cnt_sysctl_node), in mlx5_diag_cnt_init()
554 SYSCTL_ADD_PROC(&diag_cnt->sysctl_ctx, SYSCTL_CHILDREN(diag_cnt_sysctl_node), in mlx5_diag_cnt_init()
571 sysctl_ctx_free(&diag_cnt->sysctl_ctx); in mlx5_diag_cnt_cleanup()
/freebsd/sys/dev/isl/
H A Disl.c181 struct sysctl_ctx_list *sysctl_ctx; in isl_attach() local
195 sysctl_ctx = device_get_sysctl_ctx(dev); in isl_attach()
203 SYSCTL_ADD_PROC(sysctl_ctx, in isl_attach()
211 SYSCTL_ADD_PROC(sysctl_ctx, in isl_attach()
219 SYSCTL_ADD_PROC(sysctl_ctx, in isl_attach()
226 SYSCTL_ADD_PROC(sysctl_ctx, in isl_attach()
232 SYSCTL_ADD_PROC(sysctl_ctx, in isl_attach()
/freebsd/sys/netinet/
H A Dtcp_ratelimit.c301 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
307 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
313 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
318 SYSCTL_ADD_U64(&rs->sysctl_ctx, in rl_add_syctl_entries()
323 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
328 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
333 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
338 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
343 SYSCTL_ADD_U64(&rs->sysctl_ctx, in rl_add_syctl_entries()
355 rl_rates = SYSCTL_ADD_NODE(&rs->sysctl_ctx, in rl_add_syctl_entries()
[all …]
/freebsd/sys/dev/acpi_support/
H A Dacpi_panasonic.c70 struct sysctl_ctx_list sysctl_ctx; member
163 sysctl_ctx_init(&sc->sysctl_ctx); in acpi_panasonic_attach()
164 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in acpi_panasonic_attach()
168 SYSCTL_ADD_PROC(&sc->sysctl_ctx, in acpi_panasonic_attach()
180 sysctl_ctx_free(&sc->sysctl_ctx); in acpi_panasonic_attach()
191 sysctl_ctx_free(&sc->sysctl_ctx); in acpi_panasonic_attach()
217 sysctl_ctx_free(&sc->sysctl_ctx); in acpi_panasonic_detach()
H A Dacpi_sbl_wmi.c157 struct sysctl_ctx_list *sysctl_ctx; in acpi_sbl_wmi_attach() local
164 sysctl_ctx = device_get_sysctl_ctx(dev); in acpi_sbl_wmi_attach()
167 SYSCTL_ADD_PROC(sysctl_ctx, in acpi_sbl_wmi_attach()
H A Dacpi_toshiba.c128 struct sysctl_ctx_list sysctl_ctx; member
241 sysctl_ctx_init(&sc->sysctl_ctx); in acpi_toshiba_attach()
242 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in acpi_toshiba_attach()
247 SYSCTL_ADD_PROC(&sc->sysctl_ctx, in acpi_toshiba_attach()
259 sysctl_ctx_free(&sc->sysctl_ctx); in acpi_toshiba_attach()
279 sysctl_ctx_free(&sc->sysctl_ctx); in acpi_toshiba_detach()
H A Dacpi_rapidstart.c54 struct sysctl_ctx_list *sysctl_ctx; member
83 sc->sysctl_ctx = device_get_sysctl_ctx(dev); in acpi_rapidstart_attach()
H A Dacpi_asus_wmi.c109 struct sysctl_ctx_list *sysctl_ctx; member
398 sc->sysctl_ctx = device_get_sysctl_ctx(dev); in acpi_asus_wmi_attach()
400 SYSCTL_ADD_INT(sc->sysctl_ctx, in acpi_asus_wmi_attach()
423 SYSCTL_ADD_PROC(sc->sysctl_ctx, in acpi_asus_wmi_attach()
430 SYSCTL_ADD_PROC(sc->sysctl_ctx, in acpi_asus_wmi_attach()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c1391 ctx = &priv->sysctl_ctx; in mlx5e_create_diagnostics()
1469 node = SYSCTL_ADD_NODE(&priv->sysctl_ctx, in mlx5e_create_ethtool()
1478 SYSCTL_ADD_PROC(&priv->sysctl_ctx, SYSCTL_CHILDREN(node), OID_AUTO, in mlx5e_create_ethtool()
1484 SYSCTL_ADD_PROC(&priv->sysctl_ctx, SYSCTL_CHILDREN(node), OID_AUTO, in mlx5e_create_ethtool()
1495 SYSCTL_ADD_PROC(&priv->sysctl_ctx, SYSCTL_CHILDREN(node), OID_AUTO, in mlx5e_create_ethtool()
1503 fec_node = SYSCTL_ADD_NODE(&priv->sysctl_ctx, in mlx5e_create_ethtool()
1511 SYSCTL_ADD_U32(&priv->sysctl_ctx, SYSCTL_CHILDREN(fec_node), OID_AUTO, in mlx5e_create_ethtool()
1516 SYSCTL_ADD_PROC(&priv->sysctl_ctx, SYSCTL_CHILDREN(fec_node), OID_AUTO, in mlx5e_create_ethtool()
1525 SYSCTL_ADD_PROC(&priv->sysctl_ctx, SYSCTL_CHILDREN(fec_node), OID_AUTO, in mlx5e_create_ethtool()
1534 SYSCTL_ADD_PROC(&priv->sysctl_ctx, SYSCTL_CHILDREN(fec_node), OID_AUTO, in mlx5e_create_ethtool()
[all …]
/freebsd/sys/dev/regulator/
H A Dregulator.c124 struct sysctl_ctx_list sysctl_ctx; member
402 sysctl_ctx_init(&regnode->sysctl_ctx); in regnode_create()
403 regnode_oid = SYSCTL_ADD_NODE(&regnode->sysctl_ctx, in regnode_create()
408 SYSCTL_ADD_INT(&regnode->sysctl_ctx, in regnode_create()
413 SYSCTL_ADD_INT(&regnode->sysctl_ctx, in regnode_create()
418 SYSCTL_ADD_INT(&regnode->sysctl_ctx, in regnode_create()
423 SYSCTL_ADD_INT(&regnode->sysctl_ctx, in regnode_create()
428 SYSCTL_ADD_INT(&regnode->sysctl_ctx, in regnode_create()
433 SYSCTL_ADD_INT(&regnode->sysctl_ctx, in regnode_create()
438 SYSCTL_ADD_INT(&regnode->sysctl_ctx, in regnode_create()
[all …]
/freebsd/sys/dev/acpica/
H A Dacpi_dock.c59 struct sysctl_ctx_list *sysctl_ctx; member
500 sc->sysctl_ctx = device_get_sysctl_ctx(dev); in acpi_dock_attach()
503 SYSCTL_ADD_INT(sc->sysctl_ctx, in acpi_dock_attach()
507 SYSCTL_ADD_INT(sc->sysctl_ctx, in acpi_dock_attach()
511 SYSCTL_ADD_INT(sc->sysctl_ctx, in acpi_dock_attach()
515 SYSCTL_ADD_PROC(sc->sysctl_ctx, in acpi_dock_attach()
/freebsd/sys/dev/mps/
H A Dmps.c1673 struct sysctl_ctx_list *sysctl_ctx = NULL; in mps_setup_sysctl() local
1685 sysctl_ctx = device_get_sysctl_ctx(sc->mps_dev); in mps_setup_sysctl()
1686 if (sysctl_ctx != NULL) in mps_setup_sysctl()
1690 sysctl_ctx_init(&sc->sysctl_ctx); in mps_setup_sysctl()
1691 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in mps_setup_sysctl()
1696 sysctl_ctx = &sc->sysctl_ctx; 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.c442 struct sysctl_ctx_list *sysctl_ctx; in bcm2835_rng_attach() local
488 sysctl_ctx = device_get_sysctl_ctx(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.c116 struct sysctl_ctx_list sysctl_ctx; member
636 if (sysctl_ctx_free(&softc->sysctl_ctx) != 0) in ndacleanup()
723 sysctl_ctx_init(&softc->sysctl_ctx); in ndasysctlinit()
725 softc->sysctl_tree = SYSCTL_ADD_NODE_WITH_LABEL(&softc->sysctl_ctx, 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()
742 SYSCTL_ADD_UQUAD(&softc->sysctl_ctx, in ndasysctlinit()
746 SYSCTL_ADD_UQUAD(&softc->sysctl_ctx, in ndasysctlinit()
750 SYSCTL_ADD_UQUAD(&softc->sysctl_ctx, in ndasysctlinit()
755 SYSCTL_ADD_INT(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in ndasysctlinit()
[all …]
/freebsd/sys/dev/qat/qat_common/
H A Dadf_freebsd_transport_debug.c89 SYSCTL_ADD_PROC(&ring->bank->accel_dev->sysctl_ctx, in adf_ring_debugfs_add()
175 bank->bank_debug_dir = SYSCTL_ADD_NODE(&accel_dev->sysctl_ctx, in adf_bank_debugfs_add()
189 SYSCTL_ADD_PROC(&accel_dev->sysctl_ctx, in adf_bank_debugfs_add()
/freebsd/sys/dev/mpr/
H A Dmpr.c1820 struct sysctl_ctx_list *sysctl_ctx = NULL; in mpr_setup_sysctl() local
1832 sysctl_ctx = device_get_sysctl_ctx(sc->mpr_dev); in mpr_setup_sysctl()
1833 if (sysctl_ctx != NULL) in mpr_setup_sysctl()
1837 sysctl_ctx_init(&sc->sysctl_ctx); in mpr_setup_sysctl()
1838 sc->sysctl_tree = SYSCTL_ADD_NODE(&sc->sysctl_ctx, in mpr_setup_sysctl()
1843 sysctl_ctx = &sc->sysctl_ctx; 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.c201 struct sysctl_ctx_list sysctl_ctx; member
298 struct sysctl_ctx_list sysctl_ctx; member
5790 SYSCTL_ADD_PROC(&sc->syninfo.sysctl_ctx,
5800 SYSCTL_ADD_PROC(&sc->syninfo.sysctl_ctx,
5810 SYSCTL_ADD_PROC(&sc->syninfo.sysctl_ctx,
5828 sysctl_ctx_init(&sc->syninfo.sysctl_ctx);
5829 sc->syninfo.sysctl_tree = SYSCTL_ADD_NODE(&sc->syninfo.sysctl_ctx,
5835 SYSCTL_ADD_INT(&sc->syninfo.sysctl_ctx,
5844 SYSCTL_ADD_INT(&sc->syninfo.sysctl_ctx,
5852 SYSCTL_ADD_INT(&sc->syninfo.sysctl_ctx,
[all …]
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_qpair.c46 struct sysctl_ctx_list sysctl_ctx; member
257 struct sysctl_ctx_list *ctx = &qp->sysctl_ctx; in nvmf_sysctls_qp()
298 (void)sysctl_ctx_init(&qp->sysctl_ctx); in nvmf_init_qp()
321 (void)sysctl_ctx_free(&qp->sysctl_ctx); in nvmf_init_qp()
405 (void)sysctl_ctx_free(&qp->sysctl_ctx); in nvmf_destroy_qp()
/freebsd/sys/cam/ata/
H A Data_da.c277 struct sysctl_ctx_list sysctl_ctx; member
1295 if (sysctl_ctx_free(&softc->sysctl_ctx) != 0) in adacleanup()
1497 sysctl_ctx_init(&softc->sysctl_ctx); in adasysctlinit()
1499 softc->sysctl_tree = SYSCTL_ADD_NODE_WITH_LABEL(&softc->sysctl_ctx, in adasysctlinit()
1508 SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree), in adasysctlinit()
1513 SYSCTL_ADD_UQUAD(&softc->sysctl_ctx, in adasysctlinit()
1517 SYSCTL_ADD_UQUAD(&softc->sysctl_ctx, in adasysctlinit()
1521 SYSCTL_ADD_UQUAD(&softc->sysctl_ctx, 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()
[all …]
/freebsd/sys/dev/xen/blkback/
H A Dblkback.c3353 struct sysctl_ctx_list *sysctl_ctx = NULL; in xbb_setup_sysctl() local
3356 sysctl_ctx = device_get_sysctl_ctx(xbb->dev); in xbb_setup_sysctl()
3357 if (sysctl_ctx == 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/cam/
H A Dcam_iosched.c244 struct sysctl_ctx_list sysctl_ctx; member
300 struct sysctl_ctx_list sysctl_ctx; member
336 struct sysctl_ctx_list sysctl_ctx; member
1018 ios->sysctl_tree = SYSCTL_ADD_NODE(&isc->sysctl_ctx, in cam_iosched_iop_stats_sysctl_init()
1022 ctx = &ios->sysctl_ctx; in cam_iosched_iop_stats_sysctl_init()
1102 if (sysctl_ctx_free(&ios->sysctl_ctx) != 0) in cam_iosched_iop_stats_fini()
1114 clp->sysctl_tree = SYSCTL_ADD_NODE(&isc->sysctl_ctx, in cam_iosched_cl_sysctl_init()
1118 ctx = &clp->sysctl_ctx; in cam_iosched_cl_sysctl_init()
1150 if (sysctl_ctx_free(&clp->sysctl_ctx) != 0) in cam_iosched_cl_sysctl_fini()
1215 if (sysctl_ctx_free(&isc->sysctl_ctx) != 0) in cam_iosched_fini()
[all …]
/freebsd/sys/dev/clk/
H A Dclk.c124 struct sysctl_ctx_list sysctl_ctx; member
641 sysctl_ctx_init(&clknode->sysctl_ctx); in clknode_create()
642 clknode_oid = SYSCTL_ADD_NODE(&clknode->sysctl_ctx, in clknode_create()
647 SYSCTL_ADD_PROC(&clknode->sysctl_ctx, in clknode_create()
661 SYSCTL_ADD_PROC(&clknode->sysctl_ctx, in clknode_create()
670 SYSCTL_ADD_PROC(&clknode->sysctl_ctx, in clknode_create()
677 SYSCTL_ADD_PROC(&clknode->sysctl_ctx, in clknode_create()
684 SYSCTL_ADD_PROC(&clknode->sysctl_ctx, in clknode_create()
691 SYSCTL_ADD_INT(&clknode->sysctl_ctx, in clknode_create()

123