/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/ |
H A D | support.h | 64 * Simple bit operation macros. NOTE: These are NOT atomic. 66 #define test_bit(bit, var) ((var) & (1 << (bit))) 67 #define set_bit(bit, var) (var) |= 1 << (bit) 68 #define clear_bit(bit, var) (var) &= ~(1 << (bit)) 70 #define test_and_set_bit(bit, var) \ 72 const BOOL old_state = test_bit(bit, var); \ 73 set_bit(bit, va [all...] |
H A D | bitmap.h | 32 * - Operations are 8-bit only to ensure the functions work both on little 33 * and big endian machines! So don't make them 32-bit ops! 34 * - bitmap starts at bit = 0 and ends at bit = bitmap size - 1. 35 * - _Caller_ has to make sure that the bit to operate on is less than the 39 extern void ntfs_bit_set(u8 *bitmap, const u64 bit, const u8 new_value); 40 extern char ntfs_bit_get(const u8 *bitmap, const u64 bit); 41 extern char ntfs_bit_get_and_set(u8 *bitmap, const u64 bit, const u8 new_value); 46 * ntfs_bitmap_set_bit - set a bit in a bitmap 48 * @bit 54 ntfs_bitmap_set_bit(ntfs_attr *na, s64 bit) argument 68 ntfs_bitmap_clear_bit(ntfs_attr *na, s64 bit) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/lib/ |
H A D | bitops.c | 5 * find_next_bit - find the first set bit in a memory region 13 int set = 0, bit = offset & 31, res; local 15 if (bit) { 24 : "r" (*p >> bit)); 25 if (set < (32 - bit)) 27 set = 32 - bit; 31 * No set bit yet, search remaining full words for a bit 39 * find_next_zero_bit - find the first zero bit in a memory region 47 int set = 0, bit local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/ |
H A D | bitmap.c | 49 * ntfs_bit_set - set a bit in a field of bits 51 * @bit: bit to set 52 * @new_value: value to set bit to (0 or 1) 54 * Set the bit @bit in the @bitmap to @new_value. Ignore all errors. 56 void ntfs_bit_set(u8 *bitmap, const u64 bit, const u8 new_value) argument 61 bitmap[bit >> 3] &= ~(1 << (bit & 7)); 63 bitmap[bit >> 74 ntfs_bit_get(const u8 *bitmap, const u64 bit) argument 90 ntfs_bit_get_and_set(u8 *bitmap, const u64 bit, const u8 new_value) argument 120 int bit, firstbyte, lastbyte, lastbyte_pos, tmp, ret = -1; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/syslib/ |
H A D | ppc403_pic.c | 60 * We want PPC, not C bit numbering, so just subtract the ffs() 74 int bit, word; local 76 bit = irq & 0x1f; 79 ppc_cached_irq_mask[word] |= (1 << (31 - bit)); 86 int bit, word; local 88 bit = irq & 0x1f; 91 ppc_cached_irq_mask[word] &= ~(1 << (31 - bit)); 98 int bit, word; local 100 bit = irq & 0x1f; 103 ppc_cached_irq_mask[word] &= ~(1 << (31 - bit)); [all...] |
H A D | ppc8xx_pic.c | 26 int bit, word; local 28 bit = irq_nr & 0x1f; 31 ppc_cached_irq_mask[word] &= ~(1 << (31-bit)); 37 int bit, word; local 39 bit = irq_nr & 0x1f; 42 ppc_cached_irq_mask[word] |= (1 << (31-bit)); 50 int bit, word; local 52 bit = irq_nr & 0x1f; 55 ppc_cached_irq_mask[word] |= (1 << (31-bit)); 63 int bit, wor local [all...] |
H A D | cpm2_pic.c | 3 * There are two 32-bit registers (high/low) for up to 64 8 * That is, interrupt 4 does not map to bit position 4. 10 * which register to use and which bit in the register to use. 35 /* bit numbers do not match the docs, these are precomputed so the bit for 50 int bit, word; local 55 bit = irq_to_siubit[irq_nr]; 59 ppc_cached_irq_mask[word] &= ~(1 << bit); 65 int bit, word; local 70 bit 80 int bit, word; local 97 int bit, word; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/auxdisplay/ |
H A D | ks0108.c | 64 * There are not bit definitions because they are not flags, 73 #define bit(n) (((unsigned char)1)<<(n)) macro 83 parport_write_control(ks0108_parport, byte ^ (bit(0) | bit(1) | bit(3))); 88 ks0108_writedata((state ? bit(0) : 0) | bit(1) | bit(2) | bit(3) | bit( [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/ss/ |
H A D | ebitmap.h | 9 * an explicitly specified starting bit position within 21 #define MAPBIT 1ULL /* a bit in the node bitmap */ 50 unsigned int bit) 52 if ((bit == ((*n)->startbit + MAPSIZE - 1)) && 58 return (bit+1); 62 unsigned int bit) 64 if (n->map & (MAPBIT << (bit - n->startbit))) 69 #define ebitmap_for_each_bit(e, n, bit) \ 70 for (bit = ebitmap_start(e, &n); bit < ebitmap_lengt 49 ebitmap_next(struct ebitmap_node **n, unsigned int bit) argument 61 ebitmap_node_get_bit(struct ebitmap_node * n, unsigned int bit) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/math-emu/ |
H A D | fp_emu.h | 52 #define fp_set_sr(bit) ({ \ 53 FPDATA->fpsr |= 1 << (bit); \ 130 * set, reset or clear a bit in the fp status register 132 .macro fp_set_sr bit 133 bset #(\bit&7),(FPD_FPSR+3-(\bit/8),FPDATA) 136 .macro fp_clr_sr bit 137 bclr #(\bit&7),(FPD_FPSR+3-(\bit/8),FPDATA) 140 .macro fp_tst_sr bit [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/bzip2/ |
H A D | unzcrash.c | 6 and then repeatedly decompress it, each time with a different bit of 7 the compressed data inverted, so as to test all possible one-bit errors. 64 void flip_bit ( int bit ) 66 int byteno = bit / 8; 67 int bitno = bit % 8; 69 //fprintf ( stderr, "(byte %d bit %d mask %d)", 78 int bit; local 102 for (bit = 0; bit < nZ*8; bit [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/lib/ |
H A D | bitops.c | 48 * find_first_zero_bit - find the first zero bit in a memory region 52 * Returns the bit-number of the first zero bit, not the number of the byte 53 * containing a bit. 61 * find_next_zero_bit - find the first zero bit in a memory region 70 unsigned long res, bit = offset&63; local 72 if (bit) { 79 : "r" (~(*p >> bit)), "r"(64L)); 80 if (set < (64 - bit)) 82 set = 64 - bit; 148 unsigned long set = 0, bit = offset & 63, res; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-pnx4008/ |
H A D | gpio.c | 55 u32 bit, val; local 61 bit = GPIO_BIT(gpio); 62 if (bit) { 64 ret = (val & bit) ? 1 : 0; 72 u32 bit, val; local 78 bit = GPIO_BIT(gpio); 79 if (bit) { 81 val |= bit; 122 unsigned long bit = GPIO_BIT(pin); local 128 if (access_map[GPIO_INDEX] & bit) 164 unsigned long bit = GPIO_BIT(pin); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/ |
H A D | sys_sable.c | 40 /* Note mask bit is true for DISABLED irqs. */ 43 void (*update_irq_hw)(unsigned long bit, unsigned long mask); 44 void (*ack_irq_hw)(unsigned long bit); 94 sable_update_irq_hw(unsigned long bit, unsigned long mask) argument 98 if (bit >= 16) { 101 } else if (bit >= 8) { 110 sable_ack_irq_hw(unsigned long bit) argument 114 if (bit >= 16) { 116 val1 = 0xE0 | (bit - 16); 118 } else if (bit > 293 lynx_update_irq_hw(unsigned long bit, unsigned long mask) argument 309 lynx_ack_irq_hw(unsigned long bit) argument 448 unsigned long bit, mask; local 460 unsigned long bit, mask; local 486 unsigned long bit, mask; local 513 int bit, irq; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/prime/ |
H A D | Makefile | 15 @echo Test creating a 128-bit prime 17 @echo Test creating a 256-bit prime 19 @echo Test creating a 512-bit prime
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/fips/sha1/ |
H A D | fips_sha1test.c | 31 static void bitfill(unsigned char *buf,int bit,int b,int n) argument 33 for( ; n > 0 ; --n,++bit) 35 assert(bit < MAX_TEST_BITS); 36 buf[bit/8]|=b << (7-bit%8); 57 /* dump(m,bit/8); */ 96 int n,t,b,bit; local 128 for(bit=0,p=strtok(NULL," ") ; p && *p != '^' ; p=strtok(NULL," ")) 131 bitfill(buf,bit,b,atoi(p)); 132 bit [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/test/ |
H A D | fips_sha1test.c | 31 static void bitfill(unsigned char *buf,int bit,int b,int n) argument 33 for( ; n > 0 ; --n,++bit) 35 assert(bit < MAX_TEST_BITS); 36 buf[bit/8]|=b << (7-bit%8); 57 /* dump(m,bit/8); */ 96 int n,t,b,bit; local 128 for(bit=0,p=strtok(NULL," ") ; p && *p != '^' ; p=strtok(NULL," ")) 131 bitfill(buf,bit,b,atoi(p)); 132 bit [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/prime/ |
H A D | Makefile | 15 @echo Test creating a 128-bit prime 17 @echo Test creating a 256-bit prime 19 @echo Test creating a 512-bit prime
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/ |
H A D | genalloc.c | 19 * @min_alloc_order: log base 2 of number of bytes each bitmap bit represents 86 int bit, end_bit; local 95 bit = find_next_bit(chunk->bits, end_bit, 0); 96 BUG_ON(bit < end_bit); 119 int nbits, bit, start_bit, end_bit; local 134 bit = -1; 135 while (bit + 1 < end_bit) { 136 bit = find_next_zero_bit(chunk->bits, end_bit, bit + 1); 137 if (bit > 177 int bit, nbits; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/ |
H A D | heartbeat.h | 43 int bit); 46 int bit); 49 int bit); 62 /* returns 1 if bit is the only bit set in target, 0 otherwise */ 65 int bit);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ntfs/ |
H A D | bitmap.h | 38 * @start_bit: first bit to set 42 * Set @count bits starting at bit @start_bit in the bitmap described by the 57 * @start_bit: first bit to set 60 * Set @count bits starting at bit @start_bit in the bitmap described by the 74 * @start_bit: first bit to clear 77 * Clear @count bits starting at bit @start_bit in the bitmap described by the 89 * ntfs_bitmap_set_bit - set a bit in a bitmap 91 * @bit: bit to set 93 * Set bit 97 ntfs_bitmap_set_bit(struct inode *vi, const s64 bit) argument 111 ntfs_bitmap_clear_bit(struct inode *vi, const s64 bit) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-h8300/ |
H A D | gpio.h | 40 #define H8300_GPIO_DDR(port, bit, dir) \ 41 h8300_set_gpio_dir(((port) << 8) | (bit), dir) 43 #define H8300_GPIO_GETDIR(port, bit) \ 44 h8300_get_gpio_dir(((port) << 8) | (bit))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-omap/ |
H A D | board-fsample.h | 45 #define fsample_cpld_set(bit) \ 46 fsample_cpld_write((((bit) & 15) << 4) | 0x0f, FSAMPLE_CPLD_SET_CLR) 48 #define fsample_cpld_clear(bit) \ 49 fsample_cpld_write(0xf0 | ((bit) & 15), FSAMPLE_CPLD_SET_CLR)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/ |
H A D | backing-dev.c | 16 enum bdi_state bit; local 19 bit = (rw == WRITE) ? BDI_write_congested : BDI_read_congested; 20 clear_bit(bit, &bdi->state); 29 enum bdi_state bit; local 31 bit = (rw == WRITE) ? BDI_write_congested : BDI_read_congested; 32 set_bit(bit, &bdi->state);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-frv/ |
H A D | bitops.h | 1 /* bitops.h: bit operations for the Fujitsu FR-V CPUs 163 * fls - find last bit set 167 * - return 32..1 to indicate bit 31..0 most significant bit set 172 int bit; \ 179 : "=&r"(bit) \ 184 bit; \ 188 * fls64 - find last bit set in a 64-bit value 192 * - return 64..1 to indicate bit 6 202 int bit, x, y; local 254 int bit; local 267 int bit; local 284 int bit, x, y; local [all...] |