Searched refs:cap (Results 101 - 125 of 207) sorted by relevance

123456789

/freebsd-11-stable/contrib/ldns/compat/
H A Dsnprintf.c461 unsigned long long cap = 1; local
467 cap *= 10;
469 r *= (double)cap;
476 if(value >= cap)
477 value = cap-1;
/freebsd-11-stable/sys/dev/iser/
H A Diser_verbs.c458 init_attr.cap.max_recv_wr = ISER_QP_MAX_RECV_DTOS;
459 init_attr.cap.max_send_sge = 2;
460 init_attr.cap.max_recv_sge = 1;
465 init_attr.cap.max_send_wr = ISER_QP_MAX_REQ_DTOS;
469 init_attr.cap.max_send_wr = dev_attr->max_qp_wr;
/freebsd-11-stable/contrib/unbound/compat/
H A Dsnprintf.c462 unsigned long long cap = 1; local
468 cap *= 10;
470 r *= (double)cap;
477 if(value >= cap)
478 value = cap-1;
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
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)
H A Delfcopy.h127 uint64_t cap; /* section capacity */ member in struct:section
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
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/dev/qlnx/qlnxe/
H A Dbcm_osal.h64 extern int qlnx_pci_find_capability(void *ecore_dev, int cap);
387 #define OSAL_PCI_FIND_CAPABILITY(dev, cap) qlnx_pci_find_capability(dev, cap)
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_os_freebsd.h434 capable(enum __drm_capabilities cap) argument
437 switch (cap) {
441 panic("%s: unhandled capability: %0x", __func__, cap);
H A Ddrm_os_freebsd.c259 drm_device_find_capability(struct drm_device *dev, int cap) argument
262 return (pci_find_cap(dev->dev, cap, NULL) == 0);
/freebsd-11-stable/sys/netinet/
H A Dtcp_subr.c2404 tcp_maxmtu(struct in_conninfo *inc, struct tcp_ifcap *cap) argument
2422 if (cap != NULL) {
2425 cap->ifcap |= CSUM_TSO;
2426 cap->tsomax = ifp->if_hw_tsomax;
2427 cap->tsomaxsegcount = ifp->if_hw_tsomaxsegcount;
2428 cap->tsomaxsegsize = ifp->if_hw_tsomaxsegsize;
2439 tcp_maxmtu6(struct in_conninfo *inc, struct tcp_ifcap *cap) argument
2462 if (cap != NULL) {
2465 cap->ifcap |= CSUM_TSO;
2466 cap
[all...]
/freebsd-11-stable/contrib/unbound/util/
H A Dwinsock_event.c134 base->cap = WSK_MAX_ITEMS;
511 if(ev->ev_base->max == ev->ev_base->cap)
662 if(base->max == base->cap)
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-rdmasniff.c231 qp_init_attr.cap.max_recv_wr = RDMASNIFF_NUM_RECEIVES;
232 qp_init_attr.cap.max_recv_sge = 1;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/
H A Dfasttrap_isa.c241 int i, x, cap = MIN(argc, probe->ftp_nargs); local
243 for (i = 0; i < cap; i++) {
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dwpa_auth_kay.c45 static int hapd_macsec_get_capability(void *priv, enum macsec_cap *cap) argument
51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap);
/freebsd-11-stable/sys/dev/hptrr/
H A Dhptintf.h1261 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
1262 int hpt_get_driver_capabilities_v2(PDRIVER_CAPABILITIES_V2 cap);
1779 * cap max capacity of the array user want to create or transform
1786 * cap - max capacity of the target array
1789 int hpt_calc_max_array_capacity(DEVICEID source, PCREATE_ARRAY_PARAMS_V2 destInfo, HPT_U64 * cap);
1793 * cap max capacity of the array user want to create or transform
1800 * cap - max capacity of the target array
1803 int hpt_calc_max_array_capacity_v2(DEVICEID source, PCREATE_ARRAY_PARAMS_V3 destInfo, HPT_U64 * cap);
/freebsd-11-stable/sys/dev/sound/pci/hda/
H A Dhdaa.h126 uint32_t cap; member in struct:hdaa_widget::__anon11674::__anon11675
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-lldp.c763 ND_PRINT((ndo, "\n\t Willing: %d, MBC: %d, RES: %d, PFC cap:%d ",
1424 uint16_t tlv, cap, ena_cap; local
1590 cap = EXTRACT_16BITS(tptr);
1593 bittok2str(lldp_cap_values, "none", cap), cap));
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Drping.c486 init_attr.cap.max_send_wr = RPING_SQ_DEPTH;
487 init_attr.cap.max_recv_wr = 2;
488 init_attr.cap.max_recv_sge = 1;
489 init_attr.cap.max_send_sge = 1;
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dopa_port_info.h160 /* vl.cap */
295 u8 cap; /* 3 res, 5 bits */ member in struct:opa_port_info::__anon8331
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_emul.h237 void pci_populate_msicap(struct msicap *cap, int msgs, int nextptr);
H A Dpci_passthru.c177 int i, ptr, capptr, cap, sts, caplen, table_size; local
195 cap = read_config(&sel, ptr + PCICAP_ID, 1);
196 if (cap == PCIY_MSI) {
213 } else if (cap == PCIY_MSIX) {
/freebsd-11-stable/contrib/wpa/src/pae/
H A Dieee802_1x_kay.h144 int (*macsec_get_capability)(void *priv, enum macsec_cap *cap);
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpivar.h235 uint8_t cap; member in struct:wpi_softc
/freebsd-11-stable/sys/netipsec/
H A Dipsec.c639 ipsec4_capability(struct mbuf *m, u_int cap) argument
642 switch (cap) {
808 ipsec6_capability(struct mbuf *m, u_int cap) argument
811 switch (cap) {
/freebsd-11-stable/sys/dev/mlx5/
H A Dport.h204 u32 cap; member in struct:mlx5e_port_eth_proto

Completed in 585 milliseconds

123456789