/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | verbs.c | 819 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 D | tree-phinodes.c | 315 int cap = ideal_phi_node_len (len + 4); local 325 resize_phi_node (loc, cap);
|
/freebsd-11-stable/usr.sbin/gpioctl/ |
H A D | gpioctl.c | 83 cap2str(uint32_t cap) argument 87 if (pdesc->flag == cap)
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_verbs.c | 134 .cap = { 205 init_attr.cap.max_send_sge = IPOIB_UD_TX_SG;
|
/freebsd-11-stable/lib/libvmmapi/ |
H A D | vmmapi.h | 149 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 D | vmmapi.c | 818 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 D | acpiconf.c | 192 if (battio.battinfo.cap == -1) 196 battio.battinfo.cap);
|
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | os_unix.c | 372 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 D | qp.c | 1729 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 D | if_lagg.c | 121 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 D | compat-1_0.c | 78 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 D | mfi_show.c | 145 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 D | infocmp.c | 728 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 D | mlx4.h | 443 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 D | ed.screen.c | 360 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 D | read_termcap.c | 169 * 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 D | cmtime.c | 649 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 D | cmatose.c | 131 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 D | udaddy.c | 146 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 D | entry.c | 2709 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 D | drm_agpsupport.c | 46 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 D | wpas_kay.c | 41 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 D | ieee802_1x_secy_ops.c | 136 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 D | pci.c | 2158 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 D | rr.c | 1099 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...] |