Lines Matching refs:oid

3454     struct sysctl_ctx_list *ctx, struct sysctl_oid *oid)  in alloc_iq_fl()  argument
3482 add_fl_sysctls(sc, ctx, oid, fl); in alloc_iq_fl()
3485 add_iq_sysctls(ctx, oid, iq); in alloc_iq_fl()
3688 add_iq_sysctls(struct sysctl_ctx_list *ctx, struct sysctl_oid *oid, in add_iq_sysctls() argument
3693 if (ctx == NULL || oid == NULL) in add_iq_sysctls()
3696 children = SYSCTL_CHILDREN(oid); in add_iq_sysctls()
3711 struct sysctl_oid *oid, struct sge_fl *fl) in add_fl_sysctls() argument
3715 if (ctx == NULL || oid == NULL) in add_fl_sysctls()
3718 children = SYSCTL_CHILDREN(oid); in add_fl_sysctls()
3719 oid = SYSCTL_ADD_NODE(ctx, children, OID_AUTO, "fl", in add_fl_sysctls()
3721 children = SYSCTL_CHILDREN(oid); in add_fl_sysctls()
3819 struct sysctl_oid *oid; in alloc_ctrlq() local
3828 oid = SYSCTL_ADD_NODE(&sc->ctx, SYSCTL_CHILDREN(sc->ctrlq_oid), in alloc_ctrlq()
3836 rc = alloc_wrq(sc, NULL, ctrlq, &sc->ctx, oid); in alloc_ctrlq()
3839 sysctl_remove_oid(oid, 1, 1); in alloc_ctrlq()
3944 struct sysctl_oid *oid; in alloc_rxq() local
3958 oid = SYSCTL_ADD_NODE(&vi->ctx, SYSCTL_CHILDREN(vi->rxq_oid), in alloc_rxq()
3973 rc = alloc_iq_fl(vi, &rxq->iq, &rxq->fl, &vi->ctx, oid); in alloc_rxq()
3976 sysctl_remove_oid(oid, 1, 1); in alloc_rxq()
3984 add_rxq_sysctls(&vi->ctx, oid, rxq); in alloc_rxq()
4040 add_rxq_sysctls(struct sysctl_ctx_list *ctx, struct sysctl_oid *oid, in add_rxq_sysctls() argument
4045 if (ctx == NULL || oid == NULL) in add_rxq_sysctls()
4048 children = SYSCTL_CHILDREN(oid); in add_rxq_sysctls()
4074 struct sysctl_oid *oid; in alloc_ofld_rxq() local
4081 oid = SYSCTL_ADD_NODE(&vi->ctx, in alloc_ofld_rxq()
4091 oid); in alloc_ofld_rxq()
4095 sysctl_remove_oid(oid, 1, 1); in alloc_ofld_rxq()
4105 add_ofld_rxq_sysctls(&vi->ctx, oid, ofld_rxq); in alloc_ofld_rxq()
4147 add_ofld_rxq_sysctls(struct sysctl_ctx_list *ctx, struct sysctl_oid *oid, in add_ofld_rxq_sysctls() argument
4152 if (ctx == NULL || oid == NULL) in add_ofld_rxq_sysctls()
4155 children = SYSCTL_CHILDREN(oid); in add_ofld_rxq_sysctls()
4181 oid = SYSCTL_ADD_NODE(ctx, children, OID_AUTO, "iscsi", in add_ofld_rxq_sysctls()
4183 children = SYSCTL_CHILDREN(oid); in add_ofld_rxq_sysctls()
4372 struct sysctl_oid *oid) in alloc_eq() argument
4385 if (ctx != NULL && oid != NULL) in alloc_eq()
4386 add_eq_sysctls(sc, ctx, oid, eq); in alloc_eq()
4407 struct sysctl_oid *oid, struct sge_eq *eq) in add_eq_sysctls() argument
4409 struct sysctl_oid_list *children = SYSCTL_CHILDREN(oid); in add_eq_sysctls()
4522 struct sysctl_ctx_list *ctx, struct sysctl_oid *oid) in alloc_wrq() argument
4529 rc = alloc_eq(sc, eq, ctx, oid); in alloc_wrq()
4541 add_wrq_sysctls(ctx, oid, wrq); in alloc_wrq()
4557 add_wrq_sysctls(struct sysctl_ctx_list *ctx, struct sysctl_oid *oid, in add_wrq_sysctls() argument
4562 if (ctx == NULL || oid == NULL) in add_wrq_sysctls()
4565 children = SYSCTL_CHILDREN(oid); in add_wrq_sysctls()
4586 struct sysctl_oid *oid; in alloc_txq() local
4592 oid = SYSCTL_ADD_NODE(&vi->ctx, SYSCTL_CHILDREN(vi->txq_oid), in alloc_txq()
4608 sysctl_remove_oid(oid, 1, 1); in alloc_txq()
4612 rc = alloc_eq(sc, eq, &vi->ctx, oid); in alloc_txq()
4627 add_txq_sysctls(vi, &vi->ctx, oid, txq); in alloc_txq()
4697 struct sysctl_oid *oid, struct sge_txq *txq) in add_txq_sysctls() argument
4702 if (ctx == NULL || oid == NULL) in add_txq_sysctls()
4706 children = SYSCTL_CHILDREN(oid); in add_txq_sysctls()
4796 struct sysctl_oid *oid; in alloc_ofld_txq() local
4808 oid = SYSCTL_ADD_NODE(&vi->ctx, in alloc_ofld_txq()
4824 rc = alloc_wrq(sc, vi, &ofld_txq->wrq, &vi->ctx, oid); in alloc_ofld_txq()
4828 sysctl_remove_oid(oid, 1, 1); in alloc_ofld_txq()
4841 add_ofld_txq_sysctls(&vi->ctx, oid, ofld_txq); in alloc_ofld_txq()
4888 add_ofld_txq_sysctls(struct sysctl_ctx_list *ctx, struct sysctl_oid *oid, in add_ofld_txq_sysctls() argument
4893 if (ctx == NULL || oid == NULL) in add_ofld_txq_sysctls()
4896 children = SYSCTL_CHILDREN(oid); in add_ofld_txq_sysctls()