Home
last modified time | relevance | path

Searched refs:pbm (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/bmake/
H A Dmeta.c133 meta_open_filemon(BuildMon *pbm) in meta_open_filemon() argument
137 pbm->mon_fd = -1; in meta_open_filemon()
138 pbm->filemon = NULL; in meta_open_filemon()
139 if (!useFilemon || pbm->mfp == NULL) in meta_open_filemon()
142 pbm->filemon = filemon_open(); in meta_open_filemon()
143 if (pbm->filemon == NULL) { in meta_open_filemon()
156 pbm->mon_fd = Job_TempFile("filemon.XXXXXX", NULL, 0); in meta_open_filemon()
158 pbm->mon_fd = mkTempFile("filemon.XXXXXX", NULL, 0); in meta_open_filemon()
159 if ((dupfd = dup(pbm->mon_fd)) == -1) { in meta_open_filemon()
163 if (filemon_setfd(pbm->filemon, dupfd) == -1) { in meta_open_filemon()
[all …]
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_ioctl.c93 struct pci_bar_mmap pbm; in freebsd32_ioctl_barmmap() local
99 PTRIN_CP(pbm32, pbm, pbm_map_base); in freebsd32_ioctl_barmmap()
100 CP(pbm32, pbm, pbm_sel); in freebsd32_ioctl_barmmap()
101 CP(pbm32, pbm, pbm_reg); in freebsd32_ioctl_barmmap()
102 CP(pbm32, pbm, pbm_flags); in freebsd32_ioctl_barmmap()
103 CP(pbm32, pbm, pbm_memattr); in freebsd32_ioctl_barmmap()
104 pbm.pbm_bar_length = PAIR32TO64(uint64_t, pbm32.pbm_bar_length); in freebsd32_ioctl_barmmap()
105 error = fo_ioctl(fp, PCIOCBARMMAP, (caddr_t)&pbm, td->td_ucred, td); in freebsd32_ioctl_barmmap()
107 PTROUT_CP(pbm, pbm32, pbm_map_base); in freebsd32_ioctl_barmmap()
108 CP(pbm, pbm32, pbm_map_length); in freebsd32_ioctl_barmmap()
[all …]
/freebsd/crypto/openssl/crypto/crmf/
H A Dcrmf_pbm.c45 OSSL_CRMF_PBMPARAMETER *pbm = NULL; in OSSL_CRMF_pbmp_new() local
48 if ((pbm = OSSL_CRMF_PBMPARAMETER_new()) == NULL) in OSSL_CRMF_pbmp_new()
62 if (!ASN1_OCTET_STRING_set(pbm->salt, salt, (int)slen)) in OSSL_CRMF_pbmp_new()
70 if (!X509_ALGOR_set0(pbm->owf, OBJ_nid2obj(owfnid), V_ASN1_UNDEF, NULL)) { in OSSL_CRMF_pbmp_new()
94 if (!ASN1_INTEGER_set(pbm->iterationCount, itercnt)) { in OSSL_CRMF_pbmp_new()
104 if (!X509_ALGOR_set0(pbm->mac, OBJ_nid2obj(macnid), V_ASN1_UNDEF, NULL)) { in OSSL_CRMF_pbmp_new()
110 return pbm; in OSSL_CRMF_pbmp_new()
113 OSSL_CRMF_PBMPARAMETER_free(pbm); in OSSL_CRMF_pbmp_new()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_protect.c58 OSSL_CRMF_PBMPARAMETER *pbm = NULL; in ossl_cmp_calc_protection() local
80 pbm = d2i_OSSL_CRMF_PBMPARAMETER(NULL, &pbm_str_uc, pbm_str->length); in ossl_cmp_calc_protection()
81 if (pbm == NULL) { in ossl_cmp_calc_protection()
87 pbm, prot_part_der, prot_part_der_len, in ossl_cmp_calc_protection()
102 OSSL_CRMF_PBMPARAMETER_free(pbm); in ossl_cmp_calc_protection()
190 OSSL_CRMF_PBMPARAMETER *pbm = NULL; in set_pbmac_algor() local
198 pbm = OSSL_CRMF_pbmp_new(ctx->libctx, ctx->pbm_slen, in set_pbmac_algor()
202 if (pbm == NULL || pbm_str == NULL) in set_pbmac_algor()
205 if ((pbm_der_len = i2d_OSSL_CRMF_PBMPARAMETER(pbm, &pbm_der)) < 0) in set_pbmac_algor()
216 OSSL_CRMF_PBMPARAMETER_free(pbm); in set_pbmac_algor()
[all …]
/freebsd/usr.sbin/pciconf/
H A Dpciconf.c1095 struct pci_bar_mmap pbm; in dump_bar() local
1119 pbm.pbm_sel = getsel(name); in dump_bar()
1120 pbm.pbm_reg = strtoul(reg, &el, 0); in dump_bar()
1123 pbm.pbm_flags = 0; in dump_bar()
1124 pbm.pbm_memattr = VM_MEMATTR_DEVICE; in dump_bar()
1130 if (ioctl(fd, PCIOCBARMMAP, &pbm) < 0) in dump_bar()
1134 count = pbm.pbm_bar_length / width; in dump_bar()
1137 if ((start + count) * width > pbm.pbm_bar_length) { in dump_bar()
1138 if (start * width > pbm.pbm_bar_length) in dump_bar()
1141 count = (pbm.pbm_bar_length - start * width) / width; in dump_bar()
[all …]
/freebsd/sys/dev/pci/
H A Dpci_user.c849 pci_bar_mmap(device_t pcidev, struct pci_bar_mmap *pbm) in pci_bar_mmap() argument
865 if ((pbm->pbm_flags & ~(PCIIO_BAR_MMAP_FIXED | PCIIO_BAR_MMAP_EXCL | in pci_bar_mmap()
867 pbm->pbm_memattr != (vm_memattr_t)pbm->pbm_memattr || in pci_bar_mmap()
868 !pmap_is_valid_memattr(map->pmap, pbm->pbm_memattr)) in pci_bar_mmap()
872 pm = pci_find_bar(pcidev, pbm->pbm_reg); in pci_bar_mmap()
887 prot = VM_PROT_READ | (((pbm->pbm_flags & PCIIO_BAR_MMAP_RW) != 0) ? in pci_bar_mmap()
900 obj->memattr = pbm->pbm_memattr; in pci_bar_mmap()
903 if ((pbm->pbm_flags & PCIIO_BAR_MMAP_FIXED) != 0) { in pci_bar_mmap()
904 addr = (uintptr_t)pbm->pbm_map_base; in pci_bar_mmap()
907 if ((pbm->pbm_flags & PCIIO_BAR_MMAP_EXCL) != 0) in pci_bar_mmap()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dpbm3 # $File: pbm,v 1.6 2009/09/19 16:28:11 christos Exp $
4 # pbm: file(1) magic for Portable Bitmap files
H A Dimages199 # skip DROID x-fmt-164-signature-id-583.pbm with ten 0 digits
205 !:ext pbm
233 !:ext pbm
/freebsd/usr.sbin/bhyve/
H A Dpci_passthru.c509 struct pci_bar_mmap pbm; in init_msix_table() local
527 memset(&pbm, 0, sizeof(pbm)); in init_msix_table()
528 pbm.pbm_sel = sc->psc_sel; in init_msix_table()
529 pbm.pbm_flags = PCIIO_BAR_MMAP_RW; in init_msix_table()
530 pbm.pbm_reg = PCIR_BAR(pi->pi_msix.table_bar); in init_msix_table()
531 pbm.pbm_memattr = VM_MEMATTR_DEVICE; in init_msix_table()
533 if (ioctl(pcifd, PCIOCBARMMAP, &pbm) != 0) { in init_msix_table()
537 assert(pbm.pbm_bar_off == 0); in init_msix_table()
538 pi->pi_msix.mapped_addr = (uint8_t *)(uintptr_t)pbm.pbm_map_base; in init_msix_table()
539 pi->pi_msix.mapped_size = pbm.pbm_map_length; in init_msix_table()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CRMF_pbmp_new.pod64 OSSL_CRMF_PBMPARAMETER *pbm = NULL;
70 if ((pbm = OSSL_CRMF_pbmp_new(16, NID_sha256, 500, NID_hmac_sha1) == NULL))
72 if (!OSSL_CRMF_pbm_new(pbm, msg, 5, sec, 6, &mac, &maclen))
/freebsd/sys/arm/ti/am335x/
H A Dtps65217x.h54 unsigned int pbm:1; member
/freebsd/share/man/man5/
H A DMakefile38 pbm.5 \
/freebsd/crypto/openssl/test/recipes/04-test_pem_reading_data/
H A Dcert-threecolumn.pem35 pbm
/freebsd/contrib/file/magic/
H A DMakefile.am239 $(MAGIC_FRAGMENT_DIR)/pbm \
H A DMakefile.in517 $(MAGIC_FRAGMENT_DIR)/pbm \
/freebsd/crypto/openssl/apps/
H A Dopenssl.cnf363 [pbm] # Password-based protection for Insta CA
H A Dopenssl-vms.cnf362 [pbm] # Password-based protection for Insta CA
/freebsd/crypto/openssl/crypto/err/
H A Dopenssl.txt234 CMP_R_MISSING_PBM_SECRET:166:missing pbm secret
279 CMP_R_WRONG_PBM_VALUE:155:wrong pbm value
418 CRMF_R_BAD_PBM_ITERATIONCOUNT:100:bad pbm iterationcount
/freebsd/contrib/tcsh/
H A Dcomplete.tcsh283 laserjet ljet4 sparc pbm pbmraw pgm pgmraw ppm ppmraw bit)/' \