/freebsd-10-stable/sys/amd64/vmm/intel/ |
H A D | ept.c | 49 #define EPT_SUPPORTS_EXEC_ONLY(cap) ((cap) & (1UL << 0)) 50 #define EPT_PWL4(cap) ((cap) & (1UL << 6)) 51 #define EPT_MEMORY_TYPE_WB(cap) ((cap) & (1UL << 14)) 52 #define EPT_PDE_SUPERPAGE(cap) ((cap) & (1UL << 16)) /* 2MB pages */ 53 #define EPT_PDPTE_SUPERPAGE(cap) ((cap) 82 uint64_t cap; local [all...] |
H A D | vtd.c | 56 volatile uint64_t cap; member in struct:vtdmap 64 #define VTD_CAP_SAGAW(cap) (((cap) >> 8) & 0x1F) 65 #define VTD_CAP_ND(cap) ((cap) & 0x7) 66 #define VTD_CAP_CM(cap) (((cap) >> 7) & 0x1) 67 #define VTD_CAP_SPS(cap) (((cap) >> 34) & 0xF) 68 #define VTD_CAP_RWBF(cap) (((ca [all...] |
/freebsd-10-stable/sys/opencrypto/ |
H A D | crypto.c | 177 static int crypto_invoke(struct cryptocap *cap, struct cryptop *crp, int hint); 314 driver_suitable(const struct cryptocap *cap, const struct cryptoini *cri) argument 320 if (cap->cc_alg[cr->cri_alg] == 0) 339 struct cryptocap *cap, *best; local 354 cap = &crypto_drivers[hid]; 360 if (cap->cc_dev == NULL || 361 (cap->cc_flags & CRYPTOCAP_F_CLEANUP) || 362 (cap->cc_flags & match) == 0) 366 if (driver_suitable(cap, cri)) { 368 cap 391 struct cryptocap *cap; local 433 crypto_remove(struct cryptocap *cap) argument 448 struct cryptocap *cap; local 578 struct cryptocap *cap = crypto_checkdriver(hid); local 588 struct cryptocap *cap = crypto_checkdriver(hid); local 599 struct cryptocap *cap; local 636 struct cryptocap *cap; local 670 driver_finis(struct cryptocap *cap) argument 699 struct cryptocap *cap; local 735 struct cryptocap *cap; local 757 struct cryptocap *cap; local 783 struct cryptocap *cap; local 850 kdriver_suitable(const struct cryptocap *cap, const struct cryptkop *krp) argument 868 struct cryptocap *cap, *best, *blocked; local 918 struct cryptocap *cap = NULL; local 1005 crypto_invoke(struct cryptocap *cap, struct cryptop *crp, int hint) argument 1175 struct cryptocap *cap; local 1203 const struct cryptocap *cap = &crypto_drivers[hid]; local 1244 struct cryptocap *cap; local 1465 const struct cryptocap *cap = &crypto_drivers[hid]; local [all...] |
/freebsd-10-stable/usr.sbin/pciconf/ |
H A D | Makefile | 5 SRCS= pciconf.c cap.c err.c
|
H A D | cap.c | 53 uint16_t cap, status; local 55 cap = read_config(fd, &p->pc_sel, ptr + PCIR_POWER_CAP, 2); 58 cap & PCIM_PCAP_SPEC, 59 cap & PCIM_PCAP_D1SUPP ? " D1" : "", 60 cap & PCIM_PCAP_D2SUPP ? " D2" : "", 310 printf(" Intel cap %d version %d", version >> 4, version & 0xf); 413 uint32_t cap, cap2; local 454 cap = read_config(fd, &p->pc_sel, ptr + PCIER_DEVICE_CAP, 4); 459 MAX_PAYLOAD(cap & PCIEM_CAP_MAX_PAYLOAD)); 460 if ((cap 526 uint8_t cap; local 539 uint8_t ptr, cap; local 773 uint8_t ptr, cap; local [all...] |
/freebsd-10-stable/contrib/wpa/src/ap/ |
H A D | ieee802_11_vht.c | 25 struct ieee80211_vht_capabilities *cap; local 33 *pos++ = sizeof(*cap); 35 cap = (struct ieee80211_vht_capabilities *) pos; 36 os_memset(cap, 0, sizeof(*cap)); 37 cap->vht_capabilities_info = host_to_le32( 41 os_memcpy(cap->vht_supported_mcs_set, 44 pos += sizeof(*cap);
|
H A D | ieee802_11_ht.c | 30 struct ieee80211_ht_capabilities *cap; local 38 *pos++ = sizeof(*cap); 40 cap = (struct ieee80211_ht_capabilities *) pos; 41 os_memset(cap, 0, sizeof(*cap)); 42 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab); 43 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; 44 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, 51 pos += sizeof(*cap); 247 u16 cap; local [all...] |
/freebsd-10-stable/sys/gnu/dts/arm/ |
H A D | ste-ccu9540.dts | 41 cap-sd-highspeed; 42 cap-mmc-highspeed; 66 cap-mmc-highspeed;
|
H A D | exynos5410-smdk5410.dts | 43 cap-mmc-highspeed; 55 cap-sd-highspeed;
|
H A D | exynos5260-xyref5260.dts | 72 cap-mmc-highspeed; 86 cap-sd-highspeed;
|
/freebsd-10-stable/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_attr.c | 71 STACK_OF(X509_ALGOR) *cap) 78 seq->length = ASN1_item_i2d((ASN1_VALUE *)cap, &seq->data, 86 ASN1_TYPE *cap; local 89 cap = PKCS7_get_signed_attribute(si, NID_SMIMECapabilities); 90 if (!cap || (cap->type != V_ASN1_SEQUENCE)) 92 p = cap->value.sequence->data; 94 ASN1_item_d2i(NULL, &p, cap->value.sequence->length, 70 PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, STACK_OF(X509_ALGOR) *cap) argument
|
/freebsd-10-stable/lib/libc/rpc/ |
H A D | pmap_rmt.c | 120 xdr_rmtcall_args(XDR *xdrs, struct rmtcallargs *cap) argument 125 assert(cap != NULL); 127 if (xdr_u_long(xdrs, &(cap->prog)) && 128 xdr_u_long(xdrs, &(cap->vers)) && 129 xdr_u_long(xdrs, &(cap->proc))) { 131 if (! xdr_u_long(xdrs, &(cap->arglen))) 134 if (! (*(cap->xdr_args))(xdrs, cap->args_ptr)) 137 cap->arglen = (u_long)position - (u_long)argposition; 139 if (! xdr_u_long(xdrs, &(cap [all...] |
/freebsd-10-stable/sys/dev/mlx5/ |
H A D | device.h | 1152 #define MLX5_CAP_GEN(mdev, cap) \ 1153 MLX5_GET(cmd_hca_cap, mdev->hca_caps_cur[MLX5_CAP_GENERAL], cap) 1155 #define MLX5_CAP_GEN_MAX(mdev, cap) \ 1156 MLX5_GET(cmd_hca_cap, mdev->hca_caps_max[MLX5_CAP_GENERAL], cap) 1158 #define MLX5_CAP_ETH(mdev, cap) \ 1160 mdev->hca_caps_cur[MLX5_CAP_ETHERNET_OFFLOADS], cap) 1162 #define MLX5_CAP_ETH_MAX(mdev, cap) \ 1164 mdev->hca_caps_max[MLX5_CAP_ETHERNET_OFFLOADS], cap) 1166 #define MLX5_CAP_ROCE(mdev, cap) \ 1167 MLX5_GET(roce_cap, mdev->hca_caps_cur[MLX5_CAP_ROCE], cap) [all...] |
/freebsd-10-stable/usr.bin/tput/ |
H A D | tput.c | 133 process(const char *cap, char *str, char **argv) argument 172 warnx(erresc, *cp, cap); 184 errx(2, errfew, 1, cap); 191 errx(2, errfew, 2, cap); 195 errx(2, errfew, 2, cap); 202 errx(2, errmany, arg_need, cap);
|
/freebsd-10-stable/sys/amd64/vmm/io/ |
H A D | vhpet.h | 42 int vhpet_getcap(struct vm_hpet_cap *cap);
|
/freebsd-10-stable/lib/libutil/ |
H A D | login_cap.c | 360 login_getcapstr(login_cap_t *lc, const char *cap, const char *def, const char *error) argument 365 if (lc == NULL || cap == NULL || lc->lc_cap == NULL || *cap == '\0') 368 if ((ret = cgetstr(lc->lc_cap, cap, &res)) == -1) 382 login_getcaplist(login_cap_t *lc, const char *cap, const char *chars) argument 388 if ((lstring = login_getcapstr(lc, cap, NULL, NULL)) != NULL) 396 * From the login_cap_t <lc>, get the capability <cap> which is 403 login_getpath(login_cap_t *lc, const char *cap, const char *error) argument 409 str = login_getcapstr(lc, cap, NULL, NULL); 528 * From the login_cap_t <lc>, get the capability <cap>, whic 535 login_getcaptime(login_cap_t *lc, const char *cap, rlim_t def, rlim_t error) argument 626 login_getcapnum(login_cap_t *lc, const char *cap, rlim_t def, rlim_t error) argument 678 login_getcapsize(login_cap_t *lc, const char *cap, rlim_t def, rlim_t error) argument 751 login_getcapbool(login_cap_t *lc, const char *cap, int def) argument [all...] |
/freebsd-10-stable/sbin/camcontrol/ |
H A D | persist.c | 240 persist_print_cap(struct scsi_per_res_cap *cap, uint32_t valid_len) argument 245 length = scsi_2btoul(cap->length); 257 (cap->flags1 & SPRI_RLR_C) ? 1 : 0); 259 (cap->flags1 & SPRI_CRH) ? 1 : 0); 261 (cap->flags1 & SPRI_SIP_C) ? 1 : 0); 263 (cap->flags1 & SPRI_ATP_C) ? 1 : 0); 265 (cap->flags1 & SPRI_PTPL_C) ? 1 : 0); 267 (cap->flags2 & SPRI_ALLOW_CMD_MASK) >> SPRI_ALLOW_CMD_SHIFT); 274 switch (cap->flags2 & SPRI_ALLOW_CMD_MASK) { 337 (cap 916 struct scsi_per_res_cap *cap; local [all...] |
/freebsd-10-stable/contrib/tcpdump/ |
H A D | ieee802_11.h | 141 #define CAPABILITY_ESS(cap) ((cap) & 0x0001) 142 #define CAPABILITY_IBSS(cap) ((cap) & 0x0002) 143 #define CAPABILITY_CFP(cap) ((cap) & 0x0004) 144 #define CAPABILITY_CFP_REQ(cap) ((cap) & 0x0008) 145 #define CAPABILITY_PRIVACY(cap) ((cap) [all...] |
/freebsd-10-stable/usr.bin/setchannel/ |
H A D | setchannel.c | 99 struct bktr_capture_area cap; local 243 memset(&cap, 0, sizeof(cap)); 244 cap.x_size = x_size; 245 cap.y_size = y_size; 246 if (ioctl(tfd, BT848_SCAPAREA, &cap) < 0) {
|
/freebsd-10-stable/tools/regression/security/cap_test/ |
H A D | cap_test_fcntl.c | 82 { "file cap", cap_new(files[0].f_fd, rights) }, 83 { "socket cap", cap_new(files[1].f_fd, rights) }, 84 { "SHM cap", cap_new(files[2].f_fd, rights) }, 105 int cap; local 108 REQUIRE(cap = cap_new(f.f_fd, CAP_READ)); 112 CHECK_NOTCAPABLE(fcntl, cap, F_GETFL, 0);
|
/freebsd-10-stable/contrib/ofed/libmlx4/src/ |
H A D | verbs.c | 414 if (attr->cap.max_send_wr > context->max_qp_wr || 415 attr->cap.max_recv_wr > context->max_qp_wr || 416 attr->cap.max_send_sge > context->max_sge || 417 attr->cap.max_recv_sge > context->max_sge) 420 if (attr->cap.max_inline_data) { 421 nsegs = num_inline_segs(attr->cap.max_inline_data, attr->qp_type); 440 if (attr->cap.max_inline_data > size) 464 mlx4_calc_sq_wqe_size(&attr->cap, attr->qp_type, qp); 471 qp->sq.wqe_cnt = align_queue_size(attr->cap.max_send_wr + qp->sq_spare_wqes); 472 qp->rq.wqe_cnt = align_queue_size(attr->cap [all...] |
/freebsd-10-stable/sys/dev/acpica/ |
H A D | acpi_battery.c | 107 bst->cap != ACPI_BATT_UNKNOWN && bst->volt != ACPI_BATT_UNKNOWN); 204 bst[i].cap = (bst[i].cap * bif->dvol) / 1000; 217 bi[i].cap = (100 * bst[i].cap) / bif->lfcap; 224 if (bi[i].cap > 100) 225 bi[i].cap = 100; 255 bi[i].min = (60 * bst[i].cap) / valid_rate; 261 if (bi[i].cap != -1) 262 total_cap += bi[i].cap; [all...] |
H A D | acpiio.h | 45 int cap; /* percent */ member in struct:acpi_battinfo 73 uint32_t cap; /* Remaining Capacity */ member in struct:acpi_bst
|
/freebsd-10-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | MKcaptab.sh | 49 ./make_hash 3 cap $OPT1 <$DATA 125 return termcap ? build_names(cap) : build_names(info) ; 135 return termcap ? build_alias(cap) : build_alias(info) ;
|
/freebsd-10-stable/usr.bin/mkuzip/ |
H A D | mkuz_fqueue.c | 108 mkuz_fqueue_check(struct mkuz_fifo_queue *fqp, cmp_cb_t cmp_cb, void *cap) argument 113 if (cmp_cb(ip->this, cap)) { 121 mkuz_fqueue_deq_when(struct mkuz_fifo_queue *fqp, cmp_cb_t cmp_cb, void *cap) argument 127 while (fqp->last == NULL || !mkuz_fqueue_check(fqp, cmp_cb, cap)) { 130 if (cmp_cb(fqp->last->this, cap)) { 146 if (cmp_cb(ip->this, cap)) {
|