Searched refs:bitno (Results 1 - 25 of 25) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/arch/xen/include/
H A Dxen.h253 xen_atomic_test_and_clear_bit(volatile void *ptr, unsigned long bitno) argument
266 :"Ir" (bitno) : "memory");
271 xen_atomic_test_and_set_bit(volatile void *ptr, unsigned long bitno) argument
284 :"Ir" (bitno) : "memory");
289 xen_constant_test_bit(const volatile void *ptr, unsigned long bitno) argument
291 return ((1UL << (bitno & LONG_MASK)) &
292 (((const volatile XATOMIC_T *) ptr)[bitno >> LONG_SHIFT])) != 0;
296 xen_variable_test_bit(const volatile void *ptr, unsigned long bitno) argument
309 :"m" (*(const volatile XATOMIC_T *)(ptr)), "Ir" (bitno));
313 #define xen_atomic_test_bit(ptr, bitno) \
319 xen_atomic_set_bit(volatile void *ptr, unsigned long bitno) argument
332 xen_atomic_clear_bit(volatile void *ptr, unsigned long bitno) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/ccom/
H A Dsymtabs.c45 int bitno; member in struct:tree
80 int cix, bit, fbit, svbit, ix, bitno, len; local
101 bitno = len * CHECKBITS;
103 bit = BITNO(w->bitno);
104 fbit = bit > bitno ? 0 : P_BIT(key, bit);
105 svbit = fbit ? IS_RIGHT_LEAF(w->bitno) :
106 IS_LEFT_LEAF(w->bitno);
131 new->bitno = cix | (bit ? RIGHT_IS_LEAF : LEFT_IS_LEAF);
137 new->bitno |= (bit ? LEFT_IS_LEAF : RIGHT_IS_LEAF);
146 fbit = w->bitno;
184 int cix, bit, fbit, svbit, bitno; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/cxxcom/
H A Dsymtabs.c45 int bitno; member in struct:tree
80 int cix, bit, fbit, svbit, ix, bitno, len; local
101 bitno = len * CHECKBITS;
103 bit = BITNO(w->bitno);
104 fbit = bit > bitno ? 0 : P_BIT(key, bit);
105 svbit = fbit ? IS_RIGHT_LEAF(w->bitno) :
106 IS_LEFT_LEAF(w->bitno);
131 new->bitno = cix | (bit ? RIGHT_IS_LEAF : LEFT_IS_LEAF);
137 new->bitno |= (bit ? LEFT_IS_LEAF : RIGHT_IS_LEAF);
146 fbit = w->bitno;
184 int cix, bit, fbit, svbit, bitno; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/marvell/
H A Dgtbrgreg.h50 #define BIT(bitno) (1U << (bitno))
H A Dgtsdmareg.h50 #define BIT(bitno) (1U << (bitno))
H A Dgtmpscreg.h50 #define BIT(bitno) (1U << (bitno))
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dsbitmap.h55 /* Test if bit number bitno in the bitmap is set. */
63 SET_BIT (sbitmap map, unsigned int bitno) argument
68 oldbit = TEST_BIT (map, bitno);
70 map->popcount[bitno / SBITMAP_ELT_BITS]++;
72 map->elms[bitno / SBITMAP_ELT_BITS]
73 |= (SBITMAP_ELT_TYPE) 1 << (bitno) % SBITMAP_ELT_BITS;
82 RESET_BIT (sbitmap map, unsigned int bitno) argument
87 oldbit = TEST_BIT (map, bitno);
89 map->popcount[bitno / SBITMAP_ELT_BITS]--;
91 map->elms[bitno / SBITMAP_ELT_BIT
[all...]
H A Dgenautomata.c3328 /* Set bit number bitno in the bit string. The macro is not side
3330 #define SET_BIT(bitstring, bitno) \
3331 (((char *) (bitstring)) [(bitno) / CHAR_BIT] |= 1 << (bitno) % CHAR_BIT)
3333 #define CLEAR_BIT(bitstring, bitno) \
3334 (((char *) (bitstring)) [(bitno) / CHAR_BIT] &= ~(1 << (bitno) % CHAR_BIT))
3336 /* Test if bit number bitno in the bitstring is set. The macro is not
3338 #define TEST_BIT(bitstring, bitno) \
3339 (((char *) (bitstring)) [(bitno) / CHAR_BI
[all...]
H A Dtree-ssa-loop-ivopts.c2780 unsigned bitno = TYPE_PRECISION (TREE_TYPE (t)) - 1; local
2783 if (bitno < HOST_BITS_PER_WIDE_INT)
2788 bitno -= HOST_BITS_PER_WIDE_INT;
2791 return (w >> bitno) & 1;
/netbsd-6-1-5-RELEASE/sys/arch/vax/vax/
H A Dmulticpu.c167 int bitno; local
172 while ((bitno = ffs(ci->ci_ipimsgs))) {
173 bitno -= 1; /* ffs() starts from 1 */
174 bbcci(bitno, &ci->ci_ipimsgs);
175 switch (bitno) {
202 panic("cpu_handle_ipi: bad bit %x", bitno);
/netbsd-6-1-5-RELEASE/sys/arch/mips/ralink/
H A Dralink_intr.c274 const u_int bitno = 31 - __builtin_clz(pending); local
275 pending ^= (1 << bitno);
276 const int irq = bit2irq[bitno];
297 const u_int bitno = 31 - __builtin_clz(ipending); local
298 ipending ^= (1 << bitno);
299 const int irq = bitno - (31 - __builtin_clz(MIPS_INT_MASK_0));
/netbsd-6-1-5-RELEASE/sys/arch/mips/rmi/
H A Drmixl_pcix.c789 u_int bitno, irq; local
791 rmixl_pcix_decompose_pih(pih, &bitno, &irq);
807 rmixl_pcix_make_pih(u_int bitno, u_int irq) argument
811 KASSERT(bitno < 64);
815 pih |= bitno;
821 rmixl_pcix_decompose_pih(pci_intr_handle_t pih, u_int *bitno, u_int *irq) argument
823 *bitno = (u_int)(pih & 0x3f);
826 KASSERT(*bitno < 64);
839 __func__, dip->bitno + 1, dip->irq));
840 KASSERT(dip->bitno < RMIXL_PCIX_NINT
891 u_int bitno, irq; local
[all...]
H A Drmixl_pcixvar.h44 u_int bitno; member in struct:rmixl_pcix_dispatch
H A Drmixl_pcie.c160 #define RMIXL_PCIE_EVCNT(sc, link, bitno, cpu) \
161 &(sc)->sc_evcnts[link][(bitno) * (ncpu) + (cpu)]
1100 u_int link, bitno, irq; local
1102 rmixl_pcie_decompose_pih(pih, &link, &bitno, &irq);
1156 rmixl_pcie_make_pih(u_int link, u_int bitno, u_int irq) argument
1161 KASSERT(bitno < 64);
1165 pih |= (bitno << 4);
1172 rmixl_pcie_decompose_pih(pci_intr_handle_t pih, u_int *link, u_int *bitno, u_int *irq) argument
1175 *bitno = (u_int)((pih >> 4) & 0x3f);
1179 KASSERT(*bitno < 6
1261 u_int link, bitno, irq; local
[all...]
H A Drmixl_pcievar.h62 u_int bitno; member in struct:rmixl_pcie_link_dispatch
/netbsd-6-1-5-RELEASE/dist/bzip2/
H A Dunzcrash.c67 int bitno = bit % 8; local
68 uchar mask = 1 << bitno;
70 // byteno, bitno, (int)mask );
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/loongson/
H A Dyeeloong_machdep.c434 int bitno, ret; local
438 for (bitno = bit, mask = 1UL << bitno;
440 bitno--, mask >>= 1) {
443 loongson_isa_specific_eoi(bitno);
446 &bonito_intrhead[BONITO_ISA_IRQ(bitno)].intrhand_head,
451 bonito_intrhead[BONITO_ISA_IRQ(bitno)].intr_count.ev_count++;
455 if (stray_intr[bitno]++ & 0x10000) {
457 bitno);
458 stray_intr[bitno]
[all...]
/netbsd-6-1-5-RELEASE/sys/net/
H A Dbsd-comp.c462 u_int bitno = 32; local
493 bitno -= n_bits; \
494 accm |= ((ent) << bitno); \
498 bitno += 8; \
499 } while (bitno <= 24); \
617 if (bitno < 32)
627 if (bitno != 32)
628 PUTBYTE((accm | (0xff << (bitno-8))) >> 24);
679 u_int bitno = 7; local
736 bitno
801 u_int bitno = 32; /* 1st valid bit in accm */ local
[all...]
/netbsd-6-1-5-RELEASE/sbin/ifconfig/
H A Dmedia.c398 int bitno, found = 0; local
401 for (bitno = 0; ifm_status_valid_list[bitno] != 0; bitno++) {
407 ifm_status_valid_list[bitno])
/netbsd-6-1-5-RELEASE/dist/pppd/pppdump/
H A Dbsd-comp.c454 u_int bitno = 7; local
501 bitno += n_bits;
525 bitno += n_bits; /* output (count) the last code */
526 db->bytes_out += bitno/8;
568 u_int bitno = 32; /* 1st valid bit in accm */ local
570 u_int tgtbitno = 32-n_bits; /* bitno when we have a code */
606 bitno -= 8;
607 accm |= *rptr++ << bitno;
609 if (tgtbitno < bitno)
613 bitno
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/
H A Drpz.c100 #define DNS_RPZ_IP_BIT(ip, bitno) \
101 (1 & ((ip)->w[(bitno)/DNS_RPZ_CIDR_WORD_BITS] >> \
102 (DNS_RPZ_CIDR_WORD_BITS - 1 - ((bitno) % DNS_RPZ_CIDR_WORD_BITS))))
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dgdbtypes.c2741 int bitno;
2743 for (bitno = 0; bitno < nbits; bitno++)
2745 if ((bitno % 8) == 0)
2749 if (B_TST (bits, bitno))
2740 int bitno; local
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/
H A Dgenautomata.c3721 /* Set bit number bitno in the bit string. The macro is not side
3723 #define SET_BIT(bitstring, bitno) \
3724 (((char *) (bitstring)) [(bitno) / CHAR_BIT] |= 1 << (bitno) % CHAR_BIT)
3726 #define CLEAR_BIT(bitstring, bitno) \
3727 (((char *) (bitstring)) [(bitno) / CHAR_BIT] &= ~(1 << (bitno) % CHAR_BIT))
3729 /* Test if bit number bitno in the bitstring is set. The macro is not
3731 #define TEST_BIT(bitstring, bitno) \
3732 (((char *) (bitstring)) [(bitno) / CHAR_BI
[all...]
H A Dtree-ssa-loop-ivopts.c2566 unsigned bitno = TYPE_PRECISION (TREE_TYPE (t)) - 1; local
2569 if (bitno < HOST_BITS_PER_WIDE_INT)
2574 bitno -= HOST_BITS_PER_WIDE_INT;
2577 return (w >> bitno) & 1;
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/cpp/
H A Dcpp.c1927 * unsigned char bitno[2]; bit number in the string
1938 int bitno; member in struct:tree
1980 int len, cix, bit, fbit, svbit, ix, bitno; local
2002 bitno = len * CHECKBITS;
2004 bit = BITNO(w->bitno);
2005 fbit = bit > bitno ? 0 : P_BIT(key, bit);
2006 svbit = fbit ? IS_RIGHT_LEAF(w->bitno) :
2007 IS_LEFT_LEAF(w->bitno);
2039 new->bitno = cix | (bit ? RIGHT_IS_LEAF : LEFT_IS_LEAF);
2044 new->bitno |
[all...]

Completed in 299 milliseconds