/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/ext2fs/ |
H A D | gen_bitmap.c | 3 * gen_bitmap.c --- Generic bitmap routines that used to be inlined. 31 int ext2fs_mark_generic_bitmap(ext2fs_generic_bitmap bitmap, argument 34 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { 35 ext2fs_warn_bitmap2(bitmap, EXT2FS_MARK_ERROR, bitno); 38 return ext2fs_set_bit(bitno - bitmap->start, bitmap->bitmap); 41 int ext2fs_unmark_generic_bitmap(ext2fs_generic_bitmap bitmap, argument 44 if ((bitno < bitmap [all...] |
H A D | ext2fs_inline.c | 109 * Mark the inode bitmap as dirty 117 * Mark the block bitmap as dirty 125 * Check to see if a filesystem's inode bitmap is dirty 133 * Check to see if a filesystem's block bitmap is dirty 183 int ext2fs_test_generic_bitmap(ext2fs_generic_bitmap bitmap, 186 int ext2fs_test_generic_bitmap(ext2fs_generic_bitmap bitmap, argument 189 if ((bitno < bitmap->start) || (bitno > bitmap->end)) { 190 ext2fs_warn_bitmap2(bitmap, EXT2FS_TEST_ERROR, bitno); 193 return ext2fs_test_bit(bitno - bitmap 196 ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block) argument 204 ext2fs_unmark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block) argument 211 ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block) argument 218 ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode) argument 225 ext2fs_unmark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode) argument 232 ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode) argument 239 ext2fs_fast_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block) argument 245 ext2fs_fast_unmark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block) argument 251 ext2fs_fast_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block) argument 257 ext2fs_fast_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode) argument 263 ext2fs_fast_unmark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode) argument 269 ext2fs_fast_test_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode) argument 275 ext2fs_get_block_bitmap_start(ext2fs_block_bitmap bitmap) argument 280 ext2fs_get_inode_bitmap_start(ext2fs_inode_bitmap bitmap) argument 285 ext2fs_get_block_bitmap_end(ext2fs_block_bitmap bitmap) argument 290 ext2fs_get_inode_bitmap_end(ext2fs_inode_bitmap bitmap) argument 295 ext2fs_test_block_bitmap_range(ext2fs_block_bitmap bitmap, blk_t block, int num) argument 312 ext2fs_fast_test_block_bitmap_range(ext2fs_block_bitmap bitmap, blk_t block, int num) argument 324 ext2fs_mark_block_bitmap_range(ext2fs_block_bitmap bitmap, blk_t block, int num) argument 338 ext2fs_fast_mark_block_bitmap_range(ext2fs_block_bitmap bitmap, blk_t block, int num) argument 347 ext2fs_unmark_block_bitmap_range(ext2fs_block_bitmap bitmap, blk_t block, int num) argument 361 ext2fs_fast_unmark_block_bitmap_range(ext2fs_block_bitmap bitmap, blk_t block, int num) argument [all...] |
H A D | bitmaps.c | 35 ext2fs_generic_bitmap bitmap; local 40 &bitmap); 44 bitmap->magic = EXT2_ET_MAGIC_GENERIC_BITMAP; 45 bitmap->fs = NULL; 46 bitmap->start = start; 47 bitmap->end = end; 48 bitmap->real_end = real_end; 49 bitmap->base_error_code = EXT2_ET_BAD_GENERIC_MARK; 51 retval = ext2fs_get_mem(strlen(descr)+1, &bitmap->description); 53 ext2fs_free_mem(&bitmap); 114 ext2fs_inode_bitmap bitmap; local 143 ext2fs_block_bitmap bitmap; local 169 ext2fs_fudge_inode_bitmap_end(ext2fs_inode_bitmap bitmap, ext2_ino_t end, ext2_ino_t *oend) argument 182 ext2fs_fudge_block_bitmap_end(ext2fs_block_bitmap bitmap, blk_t end, blk_t *oend) argument 195 ext2fs_clear_inode_bitmap(ext2fs_inode_bitmap bitmap) argument 204 ext2fs_clear_block_bitmap(ext2fs_block_bitmap bitmap) argument [all...] |
H A D | bitops.h | 47 * EXT2FS bitmap manipulation routines. 58 extern void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap, 61 extern int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block); 62 extern int ext2fs_unmark_block_bitmap(ext2fs_block_bitmap bitmap, 64 extern int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block); 66 extern int ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode); 67 extern int ext2fs_unmark_inode_bitmap(ext2fs_inode_bitmap bitmap, 69 extern int ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode); 71 extern void ext2fs_fast_mark_block_bitmap(ext2fs_block_bitmap bitmap, 73 extern void ext2fs_fast_unmark_block_bitmap(ext2fs_block_bitmap bitmap, [all...] |
H A D | freefs.c | 54 void ext2fs_free_generic_bitmap(ext2fs_inode_bitmap bitmap) argument 56 if (!bitmap || (bitmap->magic != EXT2_ET_MAGIC_GENERIC_BITMAP)) 59 bitmap->magic = 0; 60 ext2fs_free_mem(&bitmap->description); 61 ext2fs_free_mem(&bitmap->bitmap); 62 ext2fs_free_mem(&bitmap); 65 void ext2fs_free_inode_bitmap(ext2fs_inode_bitmap bitmap) argument 67 if (!bitmap || (bitma 74 ext2fs_free_block_bitmap(ext2fs_block_bitmap bitmap) argument [all...] |
H A D | cmp_bitmaps.c | 40 (memcmp(bm1->bitmap, bm2->bitmap, 62 (memcmp(bm1->bitmap, bm2->bitmap,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/ |
H A D | bitmap.c | 2 * bitmap.c two-level bitmap (C) Peter T. Breuer (ptb@ot.uc3m.es) 2003 4 * bitmap_create - sets up the bitmap structure 5 * bitmap_destroy - destroys the bitmap structure 8 * - added disk storage for bitmap 9 * - changes to allow various bitmap chunk sizes 30 #include <linux/raid/bitmap.h> 41 #define INJECT_FAULTS_2 0 /* cause bitmap file to be kicked when first bit set*/ 42 #define INJECT_FAULTS_3 0 /* treat bitmap file as kicked at init time */ 64 static inline char * bmname(struct bitmap *bitma argument 73 bitmap_alloc_page(struct bitmap *bitmap) argument 93 bitmap_free_page(struct bitmap *bitmap, unsigned char *page) argument 109 bitmap_checkpage(struct bitmap *bitmap, unsigned long page, int create) argument 170 bitmap_checkfree(struct bitmap *bitmap, unsigned long page) argument 251 write_sb_page(struct bitmap *bitmap, struct page *page, int wait) argument 279 write_page(struct bitmap *bitmap, struct page *page, int wait) argument 306 struct bitmap *bitmap = bh->b_private; local 346 read_page(struct file *file, unsigned long index, struct bitmap *bitmap, unsigned long count) argument 421 bitmap_update_sb(struct bitmap *bitmap) argument 443 bitmap_print_sb(struct bitmap *bitmap) argument 472 bitmap_read_sb(struct bitmap *bitmap) argument 569 bitmap_mask_state(struct bitmap *bitmap, enum bitmap_state bits, enum bitmap_mask_op op) argument 615 filemap_get_page(struct bitmap *bitmap, unsigned long chunk) argument 623 bitmap_file_unmap(struct bitmap *bitmap) argument 651 bitmap_file_put(struct bitmap *bitmap) argument 679 bitmap_file_kick(struct bitmap *bitmap) argument 708 set_page_attr(struct bitmap *bitmap, struct page *page, enum bitmap_page_attr attr) argument 714 clear_page_attr(struct bitmap *bitmap, struct page *page, enum bitmap_page_attr attr) argument 720 test_page_attr(struct bitmap *bitmap, struct page *page, enum bitmap_page_attr attr) argument 733 bitmap_file_set_bit(struct bitmap *bitmap, sector_t block) argument 765 bitmap_unplug(struct bitmap *bitmap) argument 820 bitmap_init_from_disk(struct bitmap *bitmap, sector_t start) argument 960 bitmap_write_all(struct bitmap *bitmap) argument 973 bitmap_count_page(struct bitmap *bitmap, sector_t offset, int inc) argument 993 bitmap_daemon_work(struct bitmap *bitmap) argument 1103 bitmap_get_counter(struct bitmap *bitmap, sector_t offset, int *blocks, int create) argument 1140 bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, int behind) argument 1199 bitmap_endwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, int success, int behind) argument 1241 bitmap_start_sync(struct bitmap *bitmap, sector_t offset, int *blocks, int degraded) argument 1269 bitmap_end_sync(struct bitmap *bitmap, sector_t offset, int *blocks, int aborted) argument 1304 bitmap_close_sync(struct bitmap *bitmap) argument 1322 bitmap_set_memory_bits(struct bitmap *bitmap, sector_t offset, int needed) argument 1349 bitmap_dirty_bits(struct bitmap *bitmap, unsigned long s, unsigned long e) argument 1365 struct bitmap *bitmap = mddev->bitmap; local 1386 bitmap_free(struct bitmap *bitmap) argument 1411 struct bitmap *bitmap = mddev->bitmap; local 1429 struct bitmap *bitmap; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/mlx4/ |
H A D | alloc.c | 35 #include <linux/bitmap.h> 40 u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap) argument 44 spin_lock(&bitmap->lock); 46 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last); 47 if (obj >= bitmap->max) { 48 bitmap->top = (bitmap->top + bitmap 64 mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj) argument 75 mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask, u32 reserved) argument 98 mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap) argument [all...] |
H A D | pd.c | 76 uar->index = mlx4_bitmap_alloc(&mlx4_priv(dev)->uar_table.bitmap); 88 mlx4_bitmap_free(&mlx4_priv(dev)->uar_table.bitmap, uar->index); 94 return mlx4_bitmap_init(&mlx4_priv(dev)->uar_table.bitmap, 101 mlx4_bitmap_cleanup(&mlx4_priv(dev)->uar_table.bitmap);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/raid/ |
H A D | bitmap.h | 2 * bitmap.h: Copyright (C) Peter T. Breuer (ptb@ot.uc3m.es) 2003 10 /* version 4 insists the bitmap is in little-endian order 19 * in-memory bitmap: 109 #define CHUNK_BLOCK_RATIO(bitmap) ((bitmap)->chunksize >> BITMAP_BLOCK_SHIFT) 110 #define CHUNK_BLOCK_SHIFT(bitmap) ((bitmap)->chunkshift - BITMAP_BLOCK_SHIFT) 111 #define CHUNK_BLOCK_MASK(bitmap) (CHUNK_BLOCK_RATIO(bitmap) - 1) 115 #define PAGEPTR_BLOCK_RATIO(bitmap) \ 203 struct bitmap { struct [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/lib/ |
H A D | bitstr.c | 4 /* Find string of zero bits in a bitmap */ 6 find_next_zero_string(unsigned long *bitmap, long start, long nbits, int len) argument 11 n = find_next_zero_bit(bitmap, nbits, start); 20 if (test_bit(i, bitmap)) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/ |
H A D | bitmap.c | 3 simple bitmap functions 27 allocate a bitmap of the specified size 29 struct bitmap *bitmap_allocate(int n) 31 struct bitmap *bm; 33 bm = SMB_MALLOC_P(struct bitmap); 50 free a bitmap. 53 void bitmap_free(struct bitmap *bm) 63 talloc a bitmap 65 struct bitmap *bitmap_talloc(TALLOC_CTX *mem_ctx, int n) 67 struct bitmap *b [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/qnx4/ |
H A D | Makefile | 7 qnx4-objs := inode.o dir.o namei.o file.o bitmap.o truncate.o fsync.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/minix/ |
H A D | Makefile | 7 minix-objs := bitmap.o itree_v1.o itree_v2.o namei.o inode.o file.o dir.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/ |
H A D | ioport.c | 4 * This contains the io-permission bitmap code - written by obz, with changes 21 static void set_bitmap(unsigned long *bitmap, unsigned int base, unsigned int extent, int new_value) argument 26 __set_bit(i, bitmap); 29 clear_bit(i, bitmap); 33 * this changes the io permissions bitmap in the current task. 40 unsigned long *bitmap; local 49 * IO bitmap up. ioperm() is much less timing critical than clone(), 53 bitmap = kmalloc(IO_BITMAP_BYTES, GFP_KERNEL); 54 if (!bitmap) 57 memset(bitmap, [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/ |
H A D | extattrs.c | 77 uint16_t vid, bitmap, uint16; local 94 memcpy( &bitmap, ibuf +6, sizeof(bitmap)); 95 bitmap = ntohs( bitmap ); 122 if (bitmap & kXAttrNoFollow) 220 bitmap = htons(bitmap); 221 memcpy( rbuf, &bitmap, sizeof(bitmap)); 265 uint16_t vid, bitmap, attrnamelen; local 347 uint16_t vid, bitmap, attrnamelen; local 427 uint16_t vid, bitmap, attrnamelen; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | extattrs.c | 77 uint16_t vid, bitmap, uint16; local 94 memcpy( &bitmap, ibuf +6, sizeof(bitmap)); 95 bitmap = ntohs( bitmap ); 122 if (bitmap & kXAttrNoFollow) 208 bitmap = htons(bitmap); 209 memcpy( rbuf, &bitmap, sizeof(bitmap)); 253 uint16_t vid, bitmap, attrnamelen; local 335 uint16_t vid, bitmap, attrnamelen; local 415 uint16_t vid, bitmap, attrnamelen; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/ |
H A D | bitmap.h | 2 * bitmap.h - Exports for bitmap handling. Originated from the Linux-NTFS project. 34 * - bitmap starts at bit = 0 and ends at bit = bitmap size - 1. 36 * size of the bitmap. 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 47 * @na: attribute containing the bitmap [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/ |
H A D | callback_proc.c | 24 res->bitmap[0] = res->bitmap[1] = 0; 43 res->bitmap[0] = (FATTR4_WORD0_CHANGE|FATTR4_WORD0_SIZE) & 44 args->bitmap[0]; 45 res->bitmap[1] = (FATTR4_WORD1_TIME_METADATA|FATTR4_WORD1_TIME_MODIFY) & 46 args->bitmap[1];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/ |
H A D | bitmap.c | 2 * bitmap.c - Bitmap handling code. Originated from the Linux-NTFS project. 43 #include "bitmap.h" 50 * @bitmap: field of bits 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 58 if (!bitmap || new_value > 1) 61 bitmap[bit >> 3] &= ~(1 << (bit & 7)); 63 bitmap[bit >> 3] |= (1 << (bit & 7)); 68 * @bitmap: field of bits 71 * Get and return the value of the bit @bit in @bitmap ( 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 [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/ |
H A D | bitmap.c | 2 * linux/fs/hfs/bitmap.c 10 * This file contains the code to modify the volume bitmap: 29 static u32 hfs_find_set_zero_bits(__be32 *bitmap, u32 size, u32 offset, u32 *max) argument 40 curr = bitmap + (offset / 32); 41 end = bitmap + ((size + 31) / 32); 70 start = (curr - bitmap) * 32 + i; 108 *max = (curr - bitmap) * 32 + i - start; 114 void *bitmap; local 122 bitmap = HFS_SB(sb)->bitmap; [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/affs/ |
H A D | Makefile | 9 affs-objs := super.o namei.o inode.o file.o dir.o amigaffs.o bitmap.o symlink.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/ |
H A D | ioport.c | 4 * This contains the io-permission bitmap code - written by obz, with changes 21 static void set_bitmap(unsigned long *bitmap, unsigned int base, unsigned int extent, int new_value) argument 24 unsigned long *bitmap_base = bitmap + (base / BITS_PER_LONG); 56 * this changes the io permissions bitmap in the current task. 63 unsigned long *bitmap; local 72 * IO bitmap up. ioperm() is much less timing critical than clone(), 76 bitmap = kmalloc(IO_BITMAP_BYTES, GFP_KERNEL); 77 if (!bitmap) 80 memset(bitmap, 0xff, IO_BITMAP_BYTES); 81 t->io_bitmap_ptr = bitmap; [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/cio/ |
H A D | idset.c | 16 unsigned long bitmap[0]; member in struct:idset 44 memset(set->bitmap, 0, bitmap_size(set->num_ssid, set->num_id)); 49 memset(set->bitmap, 0xff, bitmap_size(set->num_ssid, set->num_id)); 54 set_bit(ssid * set->num_id + id, set->bitmap); 59 clear_bit(ssid * set->num_id + id, set->bitmap); 64 return test_bit(ssid * set->num_id + id, set->bitmap); 71 bitnum = find_first_bit(set->bitmap, set->num_ssid * set->num_id);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netlabel/ |
H A D | netlabel_kapi.c | 48 * @catmap: the category bitmap 52 * This function walks a LSM secattr category bitmap starting at @offset and 62 NETLBL_CATMAP_MAPTYPE bitmap; local 77 bitmap = iter->bitmap[node_idx] >> node_bit; 80 if (bitmap != 0) { 81 while ((bitmap & NETLBL_CATMAP_BIT) == 0) { 82 bitmap >>= 1; 95 bitmap = iter->bitmap[node_id 120 NETLBL_CATMAP_MAPTYPE bitmap; local [all...] |