Searched refs:cap (Results 1 - 25 of 325) sorted by last modified time

1234567891011>>

/freebsd-current/sys/netinet/
H A Dtcp_subr.c3317 tcp_maxmtu(struct in_conninfo *inc, struct tcp_ifcap *cap) argument
3334 if (cap != NULL) {
3337 cap->ifcap |= CSUM_TSO;
3338 cap->tsomax = ifp->if_hw_tsomax;
3339 cap->tsomaxsegcount = ifp->if_hw_tsomaxsegcount;
3340 cap->tsomaxsegsize = ifp->if_hw_tsomaxsegsize;
3350 tcp_maxmtu6(struct in_conninfo *inc, struct tcp_ifcap *cap) argument
3373 if (cap != NULL) {
3376 cap->ifcap |= CSUM_TSO;
3377 cap
[all...]
H A Dtcp_input.c3748 struct hc_metrics_lite *metricptr, struct tcp_ifcap *cap)
3775 maxmtu = tcp_maxmtu6(&inp->inp_inc, cap);
3784 maxmtu = tcp_maxmtu(&inp->inp_inc, cap);
3914 struct tcp_ifcap cap; local
3918 bzero(&cap, sizeof(cap));
3919 tcp_mss_update(tp, offer, -1, &metrics, &cap);
3981 if (cap.ifcap & CSUM_TSO) {
3983 tp->t_tsomax = cap.tsomax;
3984 tp->t_tsomaxsegcount = cap
3747 tcp_mss_update(struct tcpcb *tp, int offer, int mtuoffer, struct hc_metrics_lite *metricptr, struct tcp_ifcap *cap) argument
[all...]
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dspa.c358 uint64_t size, alloc, cap, version; local
391 cap = (size == 0) ? 0 : (alloc * 100 / size);
392 spa_prop_add_list(*nvp, ZPOOL_PROP_CAPACITY, NULL, cap, src);
/freebsd-current/sys/dev/nvmf/host/
H A Dnvmf.c456 error = nvmf_read_property(sc, NVMF_PROP_CAP, 8, &sc->cap);
476 NVME_CAP_HI_MPSMIN(sc->cap >> 32)));
H A Dnvmf_var.h49 uint64_t cap; member in struct:nvmf_softc
/freebsd-current/contrib/bmake/
H A Dvar.c276 size_t cap; member in struct:__anon5
353 if (evalStack.len >= evalStack.cap) {
354 evalStack.cap = 16 + 2 * evalStack.cap;
356 evalStack.cap * sizeof(*evalStack.elems));
H A Dparse.c376 if (buf.len == buf.cap) {
377 if (buf.cap >= 512 * 1024 * 1024) {
383 assert(buf.len < buf.cap);
384 n = read(fd, buf.data + buf.len, buf.cap - buf.len);
394 assert(buf.len <= buf.cap);
H A Dlst.c246 v->cap = 10;
248 v->items = bmake_malloc(v->cap * v->itemSize);
258 if (v->len >= v->cap) {
259 v->cap *= 2;
260 v->items = bmake_realloc(v->items, v->cap * v->itemSize);
H A Dlst.h173 size_t cap; /* capacity */ member in struct:Vector
H A Dbuf.h84 size_t cap; /* Allocated size of the buffer, including the '\0' */ member in struct:Buffer
105 if (old_len + 1 >= buf->cap)
H A Dbuf.c84 buf->cap += buf->cap > 16 ? buf->cap : 16;
85 buf->data = bmake_realloc(buf->data, buf->cap);
95 if (old_len + bytes_len >= buf->cap) {
97 buf->cap += buf->cap > minIncr ? buf->cap : minIncr;
98 buf->data = bmake_realloc(buf->data, buf->cap);
143 Buf_InitSize(Buffer *buf, size_t cap) argument
[all...]
/freebsd-current/sbin/nvmecontrol/
H A Dfabrics.c192 uint64_t cap, cc, csts; local
232 error = nvmf_read_property(qp, NVMF_PROP_CAP, 8, &cap);
254 timo = NVME_CAP_LO_TO(cap);
283 uint64_t cap, cc, csts; local
296 error = nvmf_read_property(qp, NVMF_PROP_CAP, 8, &cap);
304 if (NVME_CAP_HI_CSS_NVM(cap >> 32) == 0) {
311 *mqes = NVME_CAP_LO_MQES(cap);
314 mpsmin = NVMEV(NVME_CAP_HI_REG_MPSMIN, cap >> 32);
315 mpsmax = NVMEV(NVME_CAP_HI_REG_MPSMAX, cap >> 32);
352 timo = NVME_CAP_LO_TO(cap);
[all...]
/freebsd-current/sys/net/
H A Dif_lagg.c159 static void lagg_setcaps(struct lagg_port *, int cap, int cap2);
672 int cap, cap2, ena, ena2, pena, pena2; local
702 cap = cap2 = ~0;
706 cap &= lp->lp_ifp->if_capabilities;
712 cap = cap2 = hwa = 0;
714 if (sc->sc_ifp->if_capabilities != cap ||
719 sc->sc_ifp->if_capabilities = cap;
728 "capabilities 0x%08x enabled 0x%08x\n", cap, ena);
2048 lagg_setcaps(struct lagg_port *lp, int cap, int cap2) argument
2053 if (lp->lp_ifp->if_capenable == cap
[all...]
/freebsd-current/sys/dev/sound/pci/hda/
H A Dhdaa.c543 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
692 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
765 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
784 if (!HDA_PARAM_PIN_CAP_DP(w->wclass.pin.cap) &&
785 !HDA_PARAM_PIN_CAP_HDMI(w->wclass.pin.cap))
981 uint32_t cap; local
983 cap = fcap;
984 if (cap != 0) {
985 sbuf_printf(sb, " Stream cap: 0x%08x", cap);
1113 hdaa_dump_amp_sb(struct sbuf *sb, uint32_t cap, const char *banner) argument
1469 uint32_t wcap, cap; local
5273 uint32_t cap, fmtcap, pcmcap; local
5624 uint32_t cap; local
5782 hdaa_dump_amp(device_t dev, uint32_t cap, const char *banner) argument
[all...]
/freebsd-current/usr.sbin/nvmfd/
H A Dcontroller.c18 uint64_t cap; member in struct:controller
35 if (!nvmf_validate_cc(c->qp, c->cap, c->cc, new_cc))
72 rsp.value.u64 = htole64(c->cap);
233 c->cap = nvmf_controller_cap(c->qp);
/freebsd-current/tools/tools/nvmf/nvmfdd/
H A Dnvmfdd.c88 uint64_t cap, cc, csts; local
97 error = nvmf_read_property(qp, NVMF_PROP_CAP, 8, &cap);
102 if (NVME_CAP_HI_CSS_NVM(cap >> 32) == 0)
106 mpsmin = NVMEV(NVME_CAP_HI_REG_MPSMIN, cap >> 32);
107 mpsmax = NVMEV(NVME_CAP_HI_REG_MPSMAX, cap >> 32);
138 timo = NVME_CAP_LO_TO(cap);
160 info.mqes = NVME_CAP_LO_MQES(cap);
/freebsd-current/sys/dev/nvmf/controller/
H A Dnvmft_subr.h26 bool _nvmf_validate_cc(uint32_t max_io_qsize, uint64_t cap, uint32_t old_cc,
H A Dnvmft_var.h33 uint64_t cap; member in struct:nvmft_port
H A Dnvmft_subr.c105 _nvmf_validate_cc(uint32_t max_io_qsize __unused, uint64_t cap, uint32_t old_cc, argument
145 caphi = cap >> 32;
H A Dnvmft_controller.c802 if (!_nvmf_validate_cc(np->max_io_qsize, np->cap, ctrlr->cc, new_cc)) {
847 rsp.value.u64 = htole64(ctrlr->np->cap);
H A Dctl_frontend_nvmf.c754 np->cap = _nvmf_controller_cap(max_io_qsize, enable_timeout / 500);
/freebsd-current/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c6423 uint64_t cap; local
6467 cap = (vs->vs_space == 0) ? 0 :
6469 print_one_column(ZPOOL_PROP_CAPACITY, cap, NULL,
/freebsd-current/lib/libnvmf/
H A Dnvmf_controller.c369 nvmf_validate_cc(struct nvmf_qpair *qp, uint64_t cap, uint32_t old_cc, argument
374 return (_nvmf_validate_cc(na->na_params.max_io_qsize, cap, old_cc,
H A Dlibnvmf.h238 bool nvmf_validate_cc(struct nvmf_qpair *qp, uint64_t cap, uint32_t old_cc,
/freebsd-current/sys/dev/rtsx/
H A Drtsx.c1054 uint16_t cap; local
1078 cap = pci_read_config(sc->rtsx_dev, sc->rtsx_pcie_cap + PCIER_DEVICE_CTL2, 2);
1079 if (cap & PCIEM_CTL2_LTR_ENABLE)
1123 cap = pci_read_config(sc->rtsx_dev, sc->rtsx_pcie_cap + PCIER_DEVICE_CTL2, 2);
1124 if (cap & PCIEM_CTL2_LTR_ENABLE)

Completed in 273 milliseconds

1234567891011>>