Searched refs:mask (Results 276 - 300 of 1780) sorted by last modified time

<<11121314151617181920>>

/freebsd-11-stable/sbin/sconfig/
H A Dsconfig.c41 char mask[64]; variable
935 if (ioctl (fd, SERIAL_GETREGISTERED, &mask) < 0) {
971 if (ioctl (fd, SERIAL_GETREGISTERED, &mask) < 0) {
979 if (ioctl (fd1, SERIAL_GETREGISTERED, (mask+16)) < 0) {
987 if (ioctl (fd2, SERIAL_GETREGISTERED, (mask+32)) < 0) {
995 if (ioctl (fd3, SERIAL_GETREGISTERED, (mask+48)) < 0) {
1115 if (mask[adapter_type*16+chan_num/8] & 1 << (chan_num & 7)) {
/freebsd-11-stable/lib/libutil/
H A Dlogin_class.c252 list2cpuset(const char *list, cpuset_t *mask) argument
276 CPU_SET(lastnum, mask);
291 CPU_SET(curnum, mask);
313 CPU_SET(curnum, mask);
337 "list2cpuset(%s) invalid mask specification", maskstr);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c2881 uint_t mask = vap->va_mask; local
2901 if (mask == 0)
2904 if (mask & AT_NOSET)
2918 (((mask & AT_UID) && IS_EPHEMERAL(vap->va_uid)) ||
2919 ((mask & AT_GID) && IS_EPHEMERAL(vap->va_gid)) ||
2920 (mask & AT_XVATTR))) {
2925 if (mask & AT_SIZE && vp->v_type == VDIR) {
2930 if (mask & AT_SIZE && vp->v_type != VREG && vp->v_type != VFIFO) {
2947 ((mask & (AT_SIZE|AT_UID|AT_GID|AT_MTIME|AT_MODE)) ||
2948 ((mask
[all...]
/freebsd-11-stable/sys/dev/tpm/
H A Dtpm_crb.c98 uint32_t mask, uint32_t val, int32_t timeout);
247 tpm_wait_for_u32(struct tpm_sc *sc, bus_size_t off, uint32_t mask, uint32_t val, argument
252 if ((RD4(sc, off) & mask) == val)
256 if ((RD4(sc, off) & mask) == val)
268 uint32_t mask; local
274 mask = TPM_LOC_STATE_VALID | TPM_LOC_STATE_ASSIGNED;
277 if (!tpm_wait_for_u32(sc, TPM_LOC_STATE, mask, mask, TPM_TIMEOUT_C))
293 uint32_t mask = ~0; local
297 mask, ~mas
311 uint32_t mask, curr_cmd; local
[all...]
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_mem2.c1011 uint32_t mask, j = 0; /* slot counter */ local
1034 for (j = 0, mask = 1; (cur & mask) == 0; j++, mask <<= 1)
1037 p->bitmap[i] &= ~mask; /* mark object as in use */
1059 uint32_t *ptr, mask; local
1066 mask = (1 << (j % 32));
1067 if (*ptr & mask) {
1071 *ptr |= mask;
/freebsd-11-stable/usr.bin/vmstat/
H A Dvmstat.c598 u_long mask; local
604 mask = 0;
623 mask |= (1ul << i);
628 *maskp = mask;
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_xenix.h67 char mask_l_[PADL_(ibcs2_sigset_t *)]; ibcs2_sigset_t * mask; char mask_r_[PADR_(ibcs2_sigset_t *)]; member in struct:ibcs2_sigpending_args
70 char mask_l_[PADL_(ibcs2_sigset_t *)]; ibcs2_sigset_t * mask; char mask_r_[PADR_(ibcs2_sigset_t *)]; member in struct:ibcs2_sigsuspend_args
/freebsd-11-stable/sbin/newfs/
H A Dmkfs.c1067 unsigned char mask; local
1073 mask = 0x0f << ((h & 0x1) << 2);
1074 return ((cp[h >> 1] & mask) == mask);
1076 mask = 0x03 << ((h & 0x3) << 1);
1077 return ((cp[h >> 2] & mask) == mask);
1079 mask = 0x01 << (h & 0x7);
1080 return ((cp[h >> 3] & mask) == mask);
[all...]
/freebsd-11-stable/usr.sbin/inetd/
H A Dinetd.c283 static mode_t mask; variable
466 umask(mask = umask(0777));
1316 umask(mask);
1325 umask(mask);
/freebsd-11-stable/lib/libc/secure/
H A Dstack_protector.c115 sigset_t mask; local
118 (void)sigfillset(&mask);
119 (void)sigdelset(&mask, SIGABRT);
120 (void)sigprocmask(SIG_BLOCK, &mask, NULL);
/freebsd-11-stable/sbin/fsck_ffs/
H A Dsuj.c516 blk_setmask(struct jblkrec *brec, int *mask) argument
521 *mask |= 1 << i;
526 * Returns a mask of overlapping bits if any frags have been reused or
530 * to be freed. The mask value can be used to free partial blocks.
538 int mask; local
548 mask = 0;
563 mask = 0;
565 blk_setmask(brec, &mask);
568 printf("blk_freemask: blk %jd sblk %jd off %d mask 0x%X\n",
569 blk, sblk->sb_blk, off, mask);
644 blk_free(ufs2_daddr_t bno, int mask, int frags) argument
1162 int mask; local
1711 int mask; local
[all...]
/freebsd-11-stable/sys/dev/hyperv/netvsc/
H A Dif_hn.c715 u_long mask; local
722 mask = 1UL << (chim_idx % LONG_BIT);
723 KASSERT(sc->hn_chim_bmap[idx] & mask,
726 sc->hn_chim_bmap[idx], chim_idx, idx, mask));
728 atomic_clear_long(&sc->hn_chim_bmap[idx], mask);
3696 int mask, error = 0; local
3864 mask = (ifr->ifr_reqcap & ifp->if_capabilities) ^
3867 if (mask & IFCAP_TXCSUM) {
3874 if (mask & IFCAP_TXCSUM_IPV6) {
3883 if (mask
6990 uint32_t mask = 0; local
[all...]
/freebsd-11-stable/contrib/unbound/util/storage/
H A Dslabhash.h61 uint32_t mask; member in struct:slabhash
H A Dslabhash.c64 sl->mask = (uint32_t)(sl->size - 1);
65 if(sl->mask == 0) {
68 log_assert( (sl->size & sl->mask) == 0
71 while(!(sl->mask & 0x80000000)) {
72 sl->mask <<= 1;
113 return ((hash & sl->mask) >> sl->shift);
137 log_info("Slabhash %s: %u tables mask=%x shift=%d",
138 id, (unsigned)sl->size, (unsigned)sl->mask, sl->shift);
/freebsd-11-stable/contrib/tcpdump/
H A Dutil-print.c630 mask2plen(uint32_t mask) argument
645 /* let's see if we can transform the mask into a prefixlen */
647 if (bitmasks[prefix_len] == mask)
655 mask62plen(const u_char *mask) argument
669 if (mask[byte] == bitmasks[bits]) {
675 if (mask[byte] != 0xff)
H A Dprint-rx.c803 #define STOREATTROUT() { unsigned long mask, _i; \
805 mask = EXTRACT_32BITS(bp); bp += sizeof(int32_t); \
806 if (mask) ND_PRINT((ndo, " StoreStatus")); \
807 if (mask & 1) { ND_PRINT((ndo, " date")); DATEOUT(); } \
810 if (mask & 2) ND_PRINT((ndo, " owner %lu", _i)); \
812 if (mask & 4) ND_PRINT((ndo, " group %lu", _i)); \
814 if (mask & 8) ND_PRINT((ndo, " mode %lo", _i & 07777)); \
816 if (mask & 16) ND_PRINT((ndo, " segsize %lu", _i)); \
818 if (mask & 1024) ND_PRINT((ndo, " fsync")); \
H A Dprint-isakmp.c1417 const u_char *mask; local
1421 mask = data + sizeof(struct in_addr);
1424 mask[0], mask[1], mask[2], mask[3]));
1438 const u_char *mask; local
1442 mask = (const u_char *)(data + sizeof(struct in6_addr));
1446 mask[0], mask[
[all...]
H A Dprint-dvmrp.c168 register uint32_t mask, origin; local
178 mask = (uint32_t)0xff << 24 | bp[0] << 16 | bp[1] << 8 | bp[2];
187 ND_PRINT((ndo, "\n\tMask %s", intoa(htonl(mask))));
H A Daddrtoname.c1216 * of the local network. mask is its subnet mask.
1219 init_addrtoname(netdissect_options *ndo, uint32_t localnet, uint32_t mask) argument
1223 f_netmask = mask;
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dthreadsignaltest.c135 sigset_t mask; local
139 sigemptyset(&mask);
141 action.sa_mask = mask;
H A Dfindalldevstest.c101 bpf_u_int32 net, mask; local
153 if (pcap_lookupnet(alldevs->name, &net, &mask, errbuf) < 0)
160 printf("Preferred device is on network: %s/%s\n",iptos(net), iptos(mask));
/freebsd-11-stable/contrib/libpcap/
H A Dscanner.l310 mask return NETMASK;
H A Dpcap-dos.c521 DWORD mask, net; local
530 mask = _w32_sin_mask;
531 net = my_ip_addr & mask;
542 pcap_snprintf (errbuf, PCAP_ERRBUF_SIZE, "inet class for 0x%lx unknown", mask);
547 *netmask = htonl (mask);
1000 static const char mask[] = "255.255.255.0"; local
1002 printf ("Just guessing, using IP %s and netmask %s\n", myip, mask);
1004 _w32_sin_mask = aton (mask);
H A Doptimize.c118 #define lowest_set_bit(mask) __builtin_ctz(mask)
131 lowest_set_bit(int mask) argument
136 * Don't sign-extend mask if long is longer than int.
139 if (_BitScanForward(&bit, (unsigned int)mask) == 0)
140 return -1; /* mask is zero */
148 #define lowest_set_bit(mask) (ffs((mask)) - 1)
156 #define lowest_set_bit(mask) (ffs((mask))
163 lowest_set_bit(int mask) argument
[all...]
H A Dgencode.c707 const char *buf, int optimize, bpf_u_int32 mask)
767 cstate.netmask = mask;
863 const char *buf, int optimize, bpf_u_int32 mask)
871 ret = pcap_compile(p, program, buf, optimize, mask);
1051 u_int size, bpf_int32 v, bpf_u_int32 mask)
1053 return gen_ncmp(cstate, offrel, offset, size, mask, BPF_JEQ, 0, v);
1104 * specified by "offrel" with "mask", and compare it with the value "v"
1110 bpf_u_int32 size, bpf_u_int32 mask, bpf_u_int32 jtype, int reverse,
1118 if (mask != 0xffffffff) {
1120 s2->s.k = mask;
706 pcap_compile(pcap_t *p, struct bpf_program *program, const char *buf, int optimize, bpf_u_int32 mask) argument
861 pcap_compile_nopcap(int snaplen_arg, int linktype_arg, struct bpf_program *program, const char *buf, int optimize, bpf_u_int32 mask) argument
1050 gen_mcmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_int32 v, bpf_u_int32 mask) argument
1109 gen_ncmp(compiler_state_t *cstate, enum e_offrel offrel, bpf_u_int32 offset, bpf_u_int32 size, bpf_u_int32 mask, bpf_u_int32 jtype, int reverse, bpf_int32 v) argument
3981 gen_hostop(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, int dir, int proto, u_int src_off, u_int dst_off) argument
4046 gen_hostop6(compiler_state_t *cstate, struct in6_addr *addr, struct in6_addr *mask, int dir, int proto, u_int src_off, u_int dst_off) argument
4909 gen_host(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, int proto, int dir, int type) argument
5061 gen_host6(compiler_state_t *cstate, struct in6_addr *addr, struct in6_addr *mask, int proto, int dir, int type) argument
6640 bpf_u_int32 mask, addr; local
7004 bpf_u_int32 mask; local
7127 struct in6_addr mask; local
8584 gen_p80211_type(compiler_state_t *cstate, int type, int mask) argument
[all...]

Completed in 260 milliseconds

<<11121314151617181920>>