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

123456789

/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c217 .cap.max_send_wr = 1, /* For drain WR */
218 .cap.max_send_sge = 1,
225 attr.cap.max_recv_wr = ipoib_recvq_size;
226 attr.cap.max_recv_sge = priv->cm.num_frags;
925 .cap.max_send_wr = ipoib_sendq_size,
926 .cap.max_send_sge = priv->cm.num_frags,
/freebsd-11-stable/sys/dev/ena/
H A Dena.c2365 int cap = if_getcapenable(ifp); local
2370 if ((cap & IFCAP_TXCSUM) != 0) {
2380 if ((cap & IFCAP_TXCSUM_IPV6) != 0)
2383 if ((cap & IFCAP_TSO4) != 0)
2386 if ((cap & IFCAP_TSO6) != 0)
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c2635 init_attr->cap.max_send_wr = MAX_UMR_WR;
2636 init_attr->cap.max_send_sge = 1;
H A Dmlx5_ib_qp.c232 static int set_rq_size(struct mlx5_ib_dev *dev, struct ib_qp_cap *cap, argument
239 if (cap->max_recv_wr > (1 << MLX5_CAP_GEN(dev->mdev, log_max_qp_sz)))
246 cap->max_recv_wr = 0;
247 cap->max_recv_sge = 0;
256 wqe_size += cap->max_recv_sge * sizeof(struct mlx5_wqe_data_seg);
258 wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size;
336 if (attr->cap.max_inline_data) {
338 attr->cap.max_inline_data;
341 size += attr->cap.max_send_sge * sizeof(struct mlx5_wqe_data_seg);
378 if (!attr->cap
[all...]
/freebsd-11-stable/sys/contrib/rdma/krping/
H A Dkrping.c620 init_attr.cap.max_send_wr = cb->txdepth;
621 init_attr.cap.max_recv_wr = 2;
624 init_attr.cap.max_send_wr++;
625 init_attr.cap.max_recv_wr++;
627 init_attr.cap.max_recv_sge = 1;
628 init_attr.cap.max_send_sge = 1;
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Delfcopy.h127 uint64_t cap; /* section capacity */ member in struct:section
H A Dsections.c700 uint64_t cap, n, nrels, sym; local
724 if ((REL##SZ = malloc(cap * \
728 if (nrels >= cap) { \
729 cap *= 2; \
730 if ((REL##SZ = realloc(REL##SZ, cap * \
742 cap = 4; /* keep list is usually small. */
H A Dascii.c672 s->cap = _SEC_INIT_CAP;
673 if ((s->buf = malloc(s->cap)) == NULL)
677 while (sz + s->sz > s->cap) {
678 s->cap *= 2;
679 if ((s->buf = realloc(s->buf, s->cap)) == NULL)
/freebsd-11-stable/sys/netinet/
H A Dtcp_input.c3629 struct hc_metrics_lite *metricptr, struct tcp_ifcap *cap)
3654 maxmtu = tcp_maxmtu6(&inp->inp_inc, cap);
3663 maxmtu = tcp_maxmtu(&inp->inp_inc, cap);
3782 struct tcp_ifcap cap; local
3786 bzero(&cap, sizeof(cap));
3787 tcp_mss_update(tp, offer, -1, &metrics, &cap);
3840 if (cap.ifcap & CSUM_TSO) {
3842 tp->t_tsomax = cap.tsomax;
3843 tp->t_tsomaxsegcount = cap
3628 tcp_mss_update(struct tcpcb *tp, int offer, int mtuoffer, struct hc_metrics_lite *metricptr, struct tcp_ifcap *cap) argument
[all...]
/freebsd-11-stable/sys/contrib/ena-com/
H A Dena_com.c2205 u32 stat, timeout, cap, reset_val; local
2209 cap = ena_com_reg_bar_read32(ena_dev, ENA_REGS_CAPS_OFF);
2212 (cap == ENA_MMIO_READ_TIMEOUT))) {
2222 timeout = (cap & ENA_REGS_CAPS_RESET_TIMEOUT_MASK) >>
2253 timeout = (cap & ENA_REGS_CAPS_ADMIN_CMD_TO_MASK) >>
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c1888 attr.cap.max_send_wr = cmd->max_send_wr;
1889 attr.cap.max_recv_wr = cmd->max_recv_wr;
1890 attr.cap.max_send_sge = cmd->max_send_sge;
1891 attr.cap.max_recv_sge = cmd->max_recv_sge;
1892 attr.cap.max_inline_data = cmd->max_inline_data;
1964 resp.base.max_recv_sge = attr.cap.max_recv_sge;
1965 resp.base.max_send_sge = attr.cap.max_send_sge;
1966 resp.base.max_recv_wr = attr.cap.max_recv_wr;
1967 resp.base.max_send_wr = attr.cap.max_send_wr;
1968 resp.base.max_inline_data = attr.cap
[all...]
/freebsd-11-stable/sys/amd64/vmm/intel/
H A Dvmx.c151 static SYSCTL_NODE(_hw_vmm_vmx, OID_AUTO, cap, CTLFLAG_RW, NULL, NULL);
1083 vmx->cap[i].set = 0;
1084 vmx->cap[i].proc_ctls = procbased_ctls;
1085 vmx->cap[i].proc_ctls2 = procbased_ctls2;
1244 if ((vmx->cap[vcpu].proc_ctls & PROCBASED_INT_WINDOW_EXITING) == 0) {
1245 vmx->cap[vcpu].proc_ctls |= PROCBASED_INT_WINDOW_EXITING;
1246 vmcs_write(VMCS_PRI_PROC_BASED_CTLS, vmx->cap[vcpu].proc_ctls);
1255 KASSERT((vmx->cap[vcpu].proc_ctls & PROCBASED_INT_WINDOW_EXITING) != 0,
1256 ("intr_window_exiting not set: %#x", vmx->cap[vcpu].proc_ctls));
1257 vmx->cap[vcp
[all...]
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_port.c1358 eproto->cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext,
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c3317 uint64_t cap; local
3349 cap = (vs->vs_space == 0) ? 0 :
3351 print_one_column(ZPOOL_PROP_CAPACITY, cap, scripted, toplevel);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_parse.c2902 int cap, mode_ppsoffset; local
2910 if (time_pps_getcap(parse->atom.handle, &cap) < 0) {
2942 if (!(mode_ppsoffset & cap)) {
2944 CLK_UNIT(parse->peer), cp, cap);
/freebsd-11-stable/sys/dev/mxge/
H A Dif_mxge.c2568 int cap = m->m_pkthdr.rcvif->if_capenable; local
2578 if ((cap & IFCAP_RXCSUM) == 0)
2591 if ((cap & IFCAP_RXCSUM_IPV6) == 0)
4512 /* cap to number of CPUs in system */
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_main.c9806 t4_os_find_pci_capability(struct adapter *sc, int cap) argument
9810 return (pci_find_cap(sc->dev, cap, &i) == 0 ? i : 0);
/freebsd-11-stable/sys/dev/cxgb/
H A Dcxgb_main.c1138 t3_os_find_pci_capability(adapter_t *sc, int cap) argument
1169 if (pci_read_config(dev, ptr + PCICAP_ID, 1) == cap)
2123 ("%s: unexpected cap 0x%x", __func__, phy->caps));
/freebsd-11-stable/sys/net/
H A Dif_lagg.c121 static int lagg_setcaps(struct lagg_port *, int cap);
564 int cap, ena, pena; local
589 cap = ~0;
593 cap &= lp->lp_ifp->if_capabilities;
597 cap = (cap == ~0 ? 0 : cap);
600 if (sc->sc_ifp->if_capabilities != cap ||
604 sc->sc_ifp->if_capabilities = cap;
611 "capabilities 0x%08x enabled 0x%08x\n", cap, en
1561 lagg_setcaps(struct lagg_port *lp, int cap) argument
[all...]
/freebsd-11-stable/sys/dev/mlx5/
H A Ddevice.h957 #define MLX5_CAP_GEN(mdev, cap) \
958 MLX5_GET(cmd_hca_cap, mdev->hca_caps_cur[MLX5_CAP_GENERAL], cap)
960 #define MLX5_CAP_GEN_MAX(mdev, cap) \
961 MLX5_GET(cmd_hca_cap, mdev->hca_caps_max[MLX5_CAP_GENERAL], cap)
963 #define MLX5_CAP_ETH(mdev, cap) \
965 mdev->hca_caps_cur[MLX5_CAP_ETHERNET_OFFLOADS], cap)
967 #define MLX5_CAP_ETH_MAX(mdev, cap) \
969 mdev->hca_caps_max[MLX5_CAP_ETHERNET_OFFLOADS], cap)
971 #define MLX5_CAP_ROCE(mdev, cap) \
972 MLX5_GET(roce_cap, mdev->hca_caps_cur[MLX5_CAP_ROCE], cap)
[all...]
/freebsd-11-stable/sys/amd64/vmm/
H A Dx86.c597 vm_cpuid_capability(struct vm *vm, int vcpuid, enum vm_cpuid_capability cap) argument
601 KASSERT(cap > 0 && cap < VCC_LAST, ("%s: invalid vm_cpu_capability %d",
602 __func__, cap));
608 switch (cap) {
622 panic("%s: unknown vm_cpu_capability %d", __func__, cap);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A Dregcomp.c1072 cat_t *cap = p->g->categories; local
1078 if (cap[ch] == 0)
1079 cap[ch] = p->g->ncategories++;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_vector.h104 uptr cap = cap0 * 5 / 4; // 25% growth local
105 if (cap == 0)
106 cap = 16;
107 if (cap < size)
108 cap = size;
109 T *p = (T*)InternalAlloc(cap * sizeof(T));
116 last_ = begin_ + cap;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp392 OpaqueValueExpr *cap = capture(e); local
394 return cap;
/freebsd-11-stable/contrib/llvm-project/lldb/source/DataFormatters/
H A DTypeSummary.cpp44 TypeSummaryOptions::SetCapping(lldb::TypeSummaryCapping cap) { argument
45 m_capping = cap;

Completed in 315 milliseconds

123456789