/freebsd-11-stable/contrib/libreadline/ |
H A D | terminal.c | 573 rl_get_termcap (cap) 574 const char *cap; 582 if (tc_strings[i].tc_var[0] == cap[0] && strcmp (tc_strings[i].tc_var, cap) == 0)
|
/freebsd-11-stable/crypto/heimdal/kdc/ |
H A D | main.c | 42 #include <cap-ng.h>
|
/freebsd-11-stable/sys/dev/hptrr/ |
H A D | hptrr_osm_bsd.c | 607 HPT_U32 cap; local 610 cap = 0xfffffffful; 612 cap = vd->capacity - 1; 614 rbuf[0] = (HPT_U8)(cap>>24); 615 rbuf[1] = (HPT_U8)(cap>>16); 616 rbuf[2] = (HPT_U8)(cap>>8); 617 rbuf[3] = (HPT_U8)cap; 630 HPT_U64 cap = vd->capacity - 1; local 632 rbuf[0] = (HPT_U8)(cap>>56); 633 rbuf[1] = (HPT_U8)(cap>>4 [all...] |
/freebsd-11-stable/contrib/wpa/src/pae/ |
H A D | ieee802_1x_secy_ops.h | 32 int secy_get_capability(struct ieee802_1x_kay *kay, enum macsec_cap *cap);
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | winsock_event.h | 141 int cap; member in struct:event_base
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | cmd.c | 864 if (qp_attr->cap.max_send_wr) 877 cmd->max_send_wr = qp_attr->cap.max_send_wr; 878 cmd->max_recv_wr = qp_attr->cap.max_recv_wr; 879 cmd->max_send_sge = qp_attr->cap.max_send_sge; 880 cmd->max_recv_sge = qp_attr->cap.max_recv_sge; 881 cmd->max_inline_data = qp_attr->cap.max_inline_data; 898 qp_attr->cap.max_recv_sge = resp->max_recv_sge; 899 qp_attr->cap.max_send_sge = resp->max_send_sge; 900 qp_attr->cap.max_recv_wr = resp->max_recv_wr; 901 qp_attr->cap [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_termcap.c | 77 #define ValidCap(cap) (((cap)[0] != '\0') && ((cap)[1] != '\0'))
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | identcpu-v6.c | 240 add_cap(char *cap) argument 244 len = strlen(cap); 258 hw_buf_idx += sprintf(hw_buf + hw_buf_idx, "%s", cap);
|
/freebsd-11-stable/usr.sbin/rpcbind/ |
H A D | rpcb_svc_com.c | 431 xdr_rmtcall_args(XDR *xdrs, struct r_rmtcall_args *cap) argument 434 if (xdr_rpcprog(xdrs, &(cap->rmt_prog)) && 435 xdr_rpcvers(xdrs, &(cap->rmt_vers)) && 436 xdr_rpcproc(xdrs, &(cap->rmt_proc))) { 437 return (xdr_encap_parms(xdrs, &(cap->rmt_args))); 448 xdr_rmtcall_result(XDR *xdrs, struct r_rmtcall_args *cap) argument 453 if (cap->rmt_localvers == PMAPVERS) { 458 if (sscanf(cap->rmt_uaddr, "%d.%d.%d.%d.%d.%d", 465 if ((cap->rmt_localvers == RPCBVERS) || 466 (cap 481 xdr_opaque_parms(XDR *xdrs, struct r_rmtcall_args *cap) argument [all...] |
/freebsd-11-stable/sys/x86/acpica/ |
H A D | acpi_apm.c | 88 if (battp->cap >= 50) 100 if (battp->cap >= 50) 116 if (battp->cap >= 50) 156 aip->ai_batt_life = batt.cap; 190 app->ap_batt_life = batt.cap;
|
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibroute.c | 147 unsigned block, i, j, e, nports, cap, chunks, startblock, lastblock, local 155 mad_decode_field(sw, IB_SW_MCAST_FDB_CAP_F, &cap); 158 if (!endlid || endlid > IB_MIN_MCAST_LID + cap - 1) 159 endlid = IB_MIN_MCAST_LID + cap - 1; 205 cap, top);
|
H A D | dump_fts.c | 122 unsigned block, i, j, e, nports, cap, chunks, startblock, lastblock, local 131 mad_decode_field(node->switchinfo, IB_SW_MCAST_FDB_CAP_F, &cap); 134 if (!endlid || endlid > IB_MIN_MCAST_LID + cap - 1) 135 endlid = IB_MIN_MCAST_LID + cap - 1; 181 cap, top);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_addrhashmap.h | 51 uptr cap; member in struct:__sanitizer::AddrHashMap::AddBucket 269 add->cap = (kInitSize - sizeof(*add)) / sizeof(add->cells[0]) + 1; 273 if (add->size == add->cap) { 275 uptr oldsize = sizeof(*add) + (add->cap - 1) * sizeof(add->cells[0]); 279 add1->cap = (newsize - sizeof(*add)) / sizeof(add->cells[0]) + 1;
|
/freebsd-11-stable/contrib/ofed/libmlx4/ |
H A D | qp.c | 599 void mlx4_calc_sq_wqe_size(struct ibv_qp_cap *cap, enum ibv_qp_type type, argument 605 max_sq_sge = align(cap->max_inline_data + 606 num_inline_segs(cap->max_inline_data, type) * 610 if (max_sq_sge < cap->max_send_sge) 611 max_sq_sge = cap->max_send_sge; 653 int mlx4_alloc_qp_buf(struct ibv_context *context, struct ibv_qp_cap *cap, argument 656 qp->rq.max_gs = cap->max_recv_sge; 704 void mlx4_set_sq_sizes(struct mlx4_qp *qp, struct ibv_qp_cap *cap, argument 726 cap->max_send_sge = qp->sq.max_gs; 728 cap [all...] |
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_qp.c | 498 qp_attr->cap.max_send_wr = qp->sq.max; 499 qp_attr->cap.max_recv_wr = qp->rq.max; 500 qp_attr->cap.max_send_sge = qp->sq.max_gs; 501 qp_attr->cap.max_recv_sge = qp->rq.max_gs; 502 qp_attr->cap.max_inline_data = qp->max_inline_data; 504 qp_init_attr->cap = qp_attr->cap; 1230 static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, argument 1236 if (cap->max_send_wr > dev->limits.max_wqes || 1237 cap 1269 mthca_alloc_qp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_qp_type type, enum ib_sig_type send_policy, struct ib_qp_cap *cap, struct mthca_qp *qp) argument 1343 mthca_alloc_sqp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_sig_type send_policy, struct ib_qp_cap *cap, int qpn, int port, struct mthca_sqp *sqp) argument [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 385 static int set_rq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, argument 389 if (cap->max_recv_wr > dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE || 390 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) 394 if (cap->max_recv_wr) 400 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge)) 403 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, cap->max_recv_wr)); 404 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); 410 cap->max_recv_wr = qp->rq.max_post = qp->rq.wqe_cnt; 411 cap 423 set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp, bool shrink_wqe) argument [all...] |
/freebsd-11-stable/contrib/elftoolchain/elfcopy/ |
H A D | symbols.c | 65 size_t cap; /* buffer capacity */ member in struct:strimpl 415 st_buf->g.cap = 256; 416 st_buf->l.cap = 64; 839 st_buf->g.cap = 256; 840 st_buf->l.cap = 64; 893 sy_buf->B##SZ = malloc(sy_buf->B##cap * \ 897 } else if (sy_buf->n##B##s >= sy_buf->B##cap) { \ 898 sy_buf->B##cap *= 2; \ 899 sy_buf->B##SZ = realloc(sy_buf->B##SZ, sy_buf->B##cap * \ 916 st_buf->B.buf = calloc(st_buf->B.cap, \ [all...] |
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_provider.c | 793 rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr); 794 if (rqsize == attrs->cap.max_recv_wr) 795 rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr+1); 804 if (attrs->cap.max_inline_data > T3_MAX_INLINE) 812 sqsize = roundup_pow_of_two(attrs->cap.max_send_wr); 829 attrs->cap.max_recv_wr = rqsize - 1; 830 attrs->cap.max_send_wr = sqsize; 831 attrs->cap.max_inline_data = T3_MAX_INLINE; 837 qhp->attr.sq_num_entries = attrs->cap.max_send_wr; 838 qhp->attr.rq_num_entries = attrs->cap [all...] |
/freebsd-11-stable/sys/dev/hptnr/ |
H A D | hptnr_osm_bsd.c | 878 HPT_U32 cap; local 902 cap = 0xffffffff; 904 cap = new_cap - 1; 906 rbuf[0] = (HPT_U8)(cap>>24); 907 rbuf[1] = (HPT_U8)(cap>>16); 908 rbuf[2] = (HPT_U8)(cap>>8); 909 rbuf[3] = (HPT_U8)cap; 930 HPT_U64 cap = 0; local 950 cap = (vd->capacity >> sector_size_shift) - 1; 952 rbuf[0] = (HPT_U8)(cap>>5 [all...] |
/freebsd-11-stable/sys/dev/hpt27xx/ |
H A D | hpt27xx_osm_bsd.c | 639 HPT_U32 cap; local 663 cap = 0xffffffff; 665 cap = new_cap - 1; 667 rbuf[0] = (HPT_U8)(cap>>24); 668 rbuf[1] = (HPT_U8)(cap>>16); 669 rbuf[2] = (HPT_U8)(cap>>8); 670 rbuf[3] = (HPT_U8)cap; 690 HPT_U64 cap = 0; local 710 cap = (vd->capacity >> sector_size_shift) - 1; 712 rbuf[0] = (HPT_U8)(cap>>5 [all...] |
/freebsd-11-stable/usr.bin/limits/ |
H A D | limits.c | 229 const char * cap; member in struct:__anon8635 400 sprintf(str, "%s-cur", resources[rcswhich].cap); 401 val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_cur, limits[rcswhich].rlim_cur); 404 sprintf(str, "%s-max", resources[rcswhich].cap); 405 val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_max, limits[rcswhich].rlim_max); 482 err(1, "setrlimit %s", resources[rcswhich].cap);
|
/freebsd-11-stable/sys/amd64/vmm/intel/ |
H A D | vmx.c | 151 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...] |
H A D | vmx.h | 128 struct vmxcap cap[VM_MAXCPU]; member in struct:vmx
|
/freebsd-11-stable/contrib/ofed/librdmacm/examples/ |
H A D | mckey.c | 151 init_qp_attr.cap.max_send_wr = message_count ? message_count : 1; 152 init_qp_attr.cap.max_recv_wr = message_count ? message_count : 1; 153 init_qp_attr.cap.max_send_sge = 1; 154 init_qp_attr.cap.max_recv_sge = 1;
|
/freebsd-11-stable/lib/libedit/ |
H A D | terminal.c | 343 terminal_alloc(EditLine *el, const struct termcapstr *t, const char *cap) argument 351 if (cap == NULL || *cap == '\0') { 355 clen = strlen(cap); 364 (void) strcpy(*str, cap); /* XXX strcpy is safe */ 373 el->el_terminal.t_loc], cap); 399 cap); 1242 terminal_tputs(EditLine *el, const char *cap, int affcnt) argument 1248 (void)tputs(cap, affcnt, terminal_putc); 1480 char *cap, *sca local [all...] |