| /freebsd-13.1/usr.bin/netstat/ |
| H A D | common.c | 75 print_flags_generic(int flags, const struct bits *pbits, const char *format, in print_flags_generic() argument 81 xo_emit(format, fmt_flags(pbits, flags)); in print_flags_generic() 85 for (p = pbits; p->b_mask; p++) in print_flags_generic()
|
| H A D | common.h | 46 void print_flags_generic(int flags, const struct bits *pbits,
|
| /freebsd-13.1/lib/libc/inet/ |
| H A D | inet_cidr_pton.c | 88 inet_cidr_pton_ipv4(const char *src, u_char *dst, int *pbits, int ipv6) { in inet_cidr_pton_ipv4() argument 142 *pbits = bits; in inet_cidr_pton_ipv4() 155 inet_cidr_pton_ipv6(const char *src, u_char *dst, int *pbits) { in inet_cidr_pton_ipv6() argument 245 *pbits = bits; in inet_cidr_pton_ipv6()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | dh.c | 286 int pbits; in dh_gen_key() local 292 (pbits = BN_num_bits(dh_p)) <= 0 || in dh_gen_key() 293 need > INT_MAX / 2 || 2 * need > pbits) in dh_gen_key() 301 if (!DH_set_length(dh, MINIMUM(need * 2, pbits - 1))) in dh_gen_key()
|
| /freebsd-13.1/sbin/dumpfs/ |
| H A D | dumpfs.c | 90 static void pbits(void *, int); 392 pbits(cg_clustersfree(&acg), acg.cg_nclusterblks); in dumpcg() 396 pbits(cg_inosused(&acg), afs.fs_ipg); in dumpcg() 398 pbits(cg_blksfree(&acg), afs.fs_fpg); in dumpcg() 482 pbits(void *vp, int max) in pbits() function
|
| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_filter_gzip.c | 130 peek_at_header(struct archive_read_filter *filter, int *pbits, in peek_at_header() argument 229 if (pbits != NULL) in peek_at_header() 230 *pbits = bits; in peek_at_header()
|
| /freebsd-13.1/sys/mips/mips/ |
| H A D | pmap.c | 2023 pt_entry_t pbits, *pte; in pmap_protect() local 2066 pbits = *pte; in pmap_protect() 2067 if (!pte_test(&pbits, PTE_V) || pte_test(&pbits, in pmap_protect() 2075 pte_set(&pbits, PTE_RO); in pmap_protect() 2096 *pte = pbits; in pmap_protect() 2967 pt_entry_t pbits, *pte; in pmap_remove_write() local 2983 pbits = *pte; in pmap_remove_write() 2985 pte_clear(&pbits, PTE_D); in pmap_remove_write() 2988 pte_set(&pbits, PTE_RO); in pmap_remove_write() 2989 if (pbits != *pte) { in pmap_remove_write() [all …]
|
| /freebsd-13.1/contrib/ntp/lib/isc/win32/ |
| H A D | interfaceiter.c | 407 unsigned char * pbits; in GAA_find_prefix() local 445 pbits = (void *)&iter->current.netmask.type.in6; in GAA_find_prefix() 446 pbits += nbytes; in GAA_find_prefix() 447 *pbits |= 0xFF << (8 - nbits); in GAA_find_prefix()
|
| /freebsd-13.1/sys/i386/i386/ |
| H A D | pmap.c | 3366 pt_entry_t obits, pbits; in __CONCAT() local 3436 obits = pbits = *pte; in __CONCAT() 3437 if ((pbits & PG_V) == 0) in __CONCAT() 3441 if ((pbits & (PG_MANAGED | PG_M | PG_RW)) == in __CONCAT() 3443 m = PHYS_TO_VM_PAGE(pbits & PG_FRAME); in __CONCAT() 3446 pbits &= ~(PG_RW | PG_M); in __CONCAT() 3450 pbits |= pg_nx; in __CONCAT() 3453 if (pbits != obits) { in __CONCAT() 3455 if (!atomic_cmpset_64(pte, obits, pbits)) in __CONCAT() 3459 pbits)) in __CONCAT()
|
| /freebsd-13.1/sys/powerpc/aim/ |
| H A D | mmu_radix.c | 4540 pt_entry_t obits, pbits; in mmu_radix_protect() local 4545 obits = pbits = be64toh(*pte); in mmu_radix_protect() 4546 if ((pbits & PG_V) == 0) in mmu_radix_protect() 4550 if ((pbits & (PG_MANAGED | PG_M | PG_RW)) == in mmu_radix_protect() 4552 m = PHYS_TO_VM_PAGE(pbits & PG_FRAME); in mmu_radix_protect() 4555 pbits &= ~(PG_RW | PG_M); in mmu_radix_protect() 4556 pbits |= RPTE_EAA_R; in mmu_radix_protect() 4559 pbits |= PG_X; in mmu_radix_protect() 4561 if (pbits != obits) { in mmu_radix_protect() 4562 if (!atomic_cmpset_long(pte, htobe64(obits), htobe64(pbits))) in mmu_radix_protect() [all …]
|
| /freebsd-13.1/sys/amd64/amd64/ |
| H A D | pmap.c | 6452 pt_entry_t obits, pbits; in pmap_protect() local 6513 obits = pbits = *pdpe; in pmap_protect() 6517 pbits &= ~(PG_RW | PG_M); in pmap_protect() 6519 pbits |= pg_nx; in pmap_protect() 6521 if (pbits != obits) { in pmap_protect() 6573 obits = pbits = *pte; in pmap_protect() 6574 if ((pbits & PG_V) == 0) in pmap_protect() 6580 m = PHYS_TO_VM_PAGE(pbits & PG_FRAME); in pmap_protect() 6583 pbits &= ~(PG_RW | PG_M); in pmap_protect() 6586 pbits |= pg_nx; in pmap_protect() [all …]
|