Searched refs:cap (Results 76 - 100 of 207) sorted by relevance

123456789

/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dverbs.c819 if (attr->cap.max_inline_data) {
821 attr->cap.max_inline_data, 16);
831 if (attr->cap.max_send_sge > max_gather)
834 size += attr->cap.max_send_sge * sizeof(struct mlx5_wqe_data_seg);
853 num_scatter = max_t(uint32_t, attr->cap.max_recv_sge, 1);
874 if (!attr->cap.max_send_wr)
890 attr->cap.max_inline_data = qp->max_inline_data;
896 if (attr->cap.max_send_wr > 0x7fffffff / ctx->max_sq_desc_sz) {
901 wq_size = mlx5_round_up_power_of_two(attr->cap.max_send_wr * wqe_size);
909 qp->sq.max_gs = attr->cap
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dtree-phinodes.c315 int cap = ideal_phi_node_len (len + 4); local
325 resize_phi_node (loc, cap);
/freebsd-11-stable/usr.sbin/gpioctl/
H A Dgpioctl.c83 cap2str(uint32_t cap) argument
87 if (pdesc->flag == cap)
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c134 .cap = {
205 init_attr.cap.max_send_sge = IPOIB_UD_TX_SG;
/freebsd-11-stable/lib/libvmmapi/
H A Dvmmapi.h149 int vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap,
151 int vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap,
H A Dvmmapi.c818 vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, argument
826 vmcap.captype = cap;
834 vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, int val) argument
840 vmcap.captype = cap;
1169 struct vm_hpet_cap cap; local
1171 bzero(&cap, sizeof(struct vm_hpet_cap));
1172 error = ioctl(ctx->fd, VM_GET_HPET_CAPABILITIES, &cap);
1174 *capabilities = cap.capabilities;
/freebsd-11-stable/usr.sbin/acpi/acpiconf/
H A Dacpiconf.c192 if (battio.battinfo.cap == -1)
196 battio.battinfo.cap);
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dos_unix.c372 struct __user_cap_data_struct cap; local
383 cap.effective = cap.permitted =
385 cap.inheritable = 0;
386 capset(&header, &cap);
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c1729 if (attrs->cap.max_inline_data > T4_MAX_SEND_INLINE)
1732 if (attrs->cap.max_recv_wr > rhp->rdev.hw_queue.t4_max_rq_size)
1734 rqsize = attrs->cap.max_recv_wr + 1;
1738 if (attrs->cap.max_send_wr > rhp->rdev.hw_queue.t4_max_sq_size)
1740 sqsize = attrs->cap.max_send_wr + 1;
1772 attrs->cap.max_recv_wr = rqsize - 1;
1773 attrs->cap.max_send_wr = sqsize - 1;
1774 attrs->cap.max_inline_data = T4_MAX_SEND_INLINE;
1780 qhp->attr.sq_num_entries = attrs->cap.max_send_wr;
1781 qhp->attr.rq_num_entries = attrs->cap
[all...]
/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/contrib/ofed/libibverbs/
H A Dcompat-1_0.c78 struct ibv_qp_cap cap; member in struct:ibv_qp_init_attr_1_0
882 real_init_attr.cap = qp_init_attr->cap;
902 qp_init_attr->cap = real_init_attr.cap;
926 init_attr->cap = real_init_attr.cap;
/freebsd-11-stable/usr.sbin/mfiutil/
H A Dmfi_show.c145 struct mfi_bbu_capacity_info cap; local
165 if (mfi_dcmd_command(fd, MFI_DCMD_BBU_GET_CAPACITY_INFO, &cap,
166 sizeof(cap), NULL, 0, &status) < 0) {
213 cap.full_charge_capacity);
215 cap.remaining_capacity);
216 printf(" Charge Cycles: %d\n", cap.cycle_count);
217 printf(" Current Charge: %d%%\n", cap.relative_charge);
/freebsd-11-stable/contrib/ncurses/progs/
H A Dinfocmp.c728 skip_csi(const char *cap) argument
731 if (cap[0] == '\033' && cap[1] == '[')
733 else if (UChar(cap[0]) == 0233)
784 analyze_string(const char *name, const char *cap, TERMTYPE *tp) argument
791 if (!VALID_STRING(cap))
795 for (sp = cap; *sp; sp++) {
813 cp != cap) {
830 if (cap < cp)
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dmlx4.h443 void mlx4_calc_sq_wqe_size(struct ibv_qp_cap *cap, enum ibv_qp_type type,
445 int mlx4_alloc_qp_buf(struct ibv_context *context, struct ibv_qp_cap *cap,
447 void mlx4_set_sq_sizes(struct mlx4_qp *qp, struct ibv_qp_cap *cap,
/freebsd-11-stable/contrib/tcsh/
H A Ded.screen.c360 TCset(struct termcapstr *t, const char *cap) argument
362 if (cap == NULL || *cap == '\0') {
368 size = strlen(cap) + 1;
370 memcpy(t->str, cap, size);
518 char *cap, *scap, *cv; local
621 for (cap = scap, arg_need = 0; *cap; cap++)
622 if (*cap
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dread_termcap.c169 * Cgetcap searches the capability record buf for the capability cap with type
170 * `type'. A pointer to the value of cap is returned on success, 0 if the
173 * Specifying a type of ':' means that nothing should follow cap (:cap:). In
174 * this case a pointer to the terminating ':' or NUL will be returned if cap is
177 * If (cap, '@') or (cap, terminator, '@') is found before (cap, terminator)
181 _nc_cgetcap(char *buf, const char *cap, int type) argument
191 * the remainder of a field whose name failed to match cap
264 _nc_getent( char **cap, unsigned *len, int *beginning, int in_array, char **db_array, int fd, const char *name, int depth, char *nfield) argument
[all...]
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Dcmtime.c649 init_qp_attr.cap.max_send_wr = 1;
650 init_qp_attr.cap.max_recv_wr = 1;
651 init_qp_attr.cap.max_send_sge = 1;
652 init_qp_attr.cap.max_recv_sge = 1;
H A Dcmatose.c131 init_qp_attr.cap.max_send_wr = cqe;
132 init_qp_attr.cap.max_recv_wr = cqe;
133 init_qp_attr.cap.max_send_sge = 1;
134 init_qp_attr.cap.max_recv_sge = 1;
H A Dudaddy.c146 init_qp_attr.cap.max_send_wr = message_count ? message_count : 1;
147 init_qp_attr.cap.max_recv_wr = message_count ? message_count : 1;
148 init_qp_attr.cap.max_send_sge = 1;
149 init_qp_attr.cap.max_recv_sge = 1;
/freebsd-11-stable/sys/dev/hptmv/
H A Dentry.c2709 unsigned int cap; local
2712 cap = 0xfffffffful;
2714 cap = pVDev->VDeviceCapacity - 1;
2717 rbuf[0] = (UCHAR)(cap>>24);
2718 rbuf[1] = (UCHAR)(cap>>16);
2719 rbuf[2] = (UCHAR)(cap>>8);
2720 rbuf[3] = (UCHAR)cap;
2734 LBA_T cap = pVDev->VDeviceCapacity - 1; local
2736 rbuf[0] = (UCHAR)(cap>>56);
2737 rbuf[1] = (UCHAR)(cap>>4
[all...]
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_agpsupport.c46 drm_device_find_capability(struct drm_device *dev, int cap) argument
49 return (pci_find_cap(dev->device, cap, NULL) == 0);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dwpas_kay.c41 static int wpas_macsec_get_capability(void *priv, enum macsec_cap *cap) argument
43 return wpa_drv_macsec_get_capability(priv, cap);
/freebsd-11-stable/contrib/wpa/src/pae/
H A Dieee802_1x_secy_ops.c136 int secy_get_capability(struct ieee802_1x_kay *kay, enum macsec_cap *cap) argument
152 return ops->macsec_get_capability(ops->ctx, cap);
/freebsd-11-stable/sys/dev/pci/
H A Dpci.c2158 int cap; local
2161 cap = dinfo->cfg.pcie.pcie_location;
2162 if (cap == 0)
2164 val = pci_read_config(dev, cap + PCIER_DEVICE_CTL, 2);
2174 int cap; local
2177 cap = dinfo->cfg.pcie.pcie_location;
2178 if (cap == 0)
2180 val = pci_read_config(dev, cap + PCIER_DEVICE_CTL, 2);
2190 int cap; local
2193 cap
2212 int cap; local
2228 int cap; local
2249 int cap; local
6172 int cap; local
6207 int cap; local
6268 int cap; local
[all...]
/freebsd-11-stable/contrib/ldns/
H A Drr.c1099 size_t cap; local
1102 cap = rr_list->_rr_capacity;
1105 if(rr_count+1 > cap) {
1108 if(cap == 0)
1109 cap = LDNS_RRLIST_INIT; /* initial list size */
1110 else cap *= 2;
1111 rrs = LDNS_XREALLOC(rr_list->_rrs, ldns_rr *, cap);
1116 rr_list->_rr_capacity = cap;
1144 size_t cap; local
1153 cap
[all...]

Completed in 200 milliseconds

123456789