/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/affs/ |
H A D | amigaffs.c | 22 /* Insert a header block bh into the directory dir 27 affs_insert_hash(struct inode *dir, struct buffer_head *bh) argument 34 ino = bh->b_blocknr; 35 offset = affs_hash_name(sb, AFFS_TAIL(sb, bh)->name + 1, AFFS_TAIL(sb, bh)->name[0]); 51 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino); 52 AFFS_TAIL(sb, bh)->hash_chain = 0; 53 affs_fix_checksum(sb, bh); 79 struct buffer_head *bh; local 89 bh 153 struct buffer_head *bh = NULL, *link_bh = NULL; local 234 struct buffer_head *bh; local 268 struct buffer_head *bh = NULL; local 336 affs_checksum_block(struct super_block *sb, struct buffer_head *bh) argument 354 affs_fix_checksum(struct super_block *sb, struct buffer_head *bh) argument [all...] |
H A D | affs.h | 18 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) 28 #define AFFS_HEAD(bh) ((struct affs_head *)(bh)->b_data) 29 #define AFFS_TAIL(sb, bh) ((struct affs_tail *)((bh)->b_data+(sb)->s_blocksize-sizeof(struct affs_tail))) 30 #define AFFS_ROOT_HEAD(bh) ((struct affs_root_head *)(bh)->b_data) 31 #define AFFS_ROOT_TAIL(sb, bh) ((struct affs_root_tail *)((bh) 229 struct buffer_head *bh; local 244 struct buffer_head *bh; local 255 affs_brelse(struct buffer_head *bh) argument 263 affs_adjust_checksum(struct buffer_head *bh, u32 val) argument 269 affs_adjust_bitmapchecksum(struct buffer_head *bh, u32 val) argument [all...] |
H A D | bitmap.c | 65 struct buffer_head *bh; local 81 bh = sbi->s_bmap_bh; 83 affs_brelse(bh); 84 bh = affs_bread(sb, bm->bm_key); 85 if (!bh) 87 sbi->s_bmap_bh = bh; 92 data = (__be32 *)bh->b_data + bit / 32 + 1; 101 tmp = be32_to_cpu(*(__be32 *)bh->b_data); 102 *(__be32 *)bh->b_data = cpu_to_be32(tmp - mask); 104 mark_buffer_dirty(bh); 143 struct buffer_head *bh; local 270 struct buffer_head *bmap_bh = NULL, *bh = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/ |
H A D | prints.c | 134 static void sprintf_block_head(char *buf, struct buffer_head *bh) argument 137 B_LEVEL(bh), B_NR_ITEMS(bh), B_FREE_SPACE(bh)); 140 static void sprintf_buffer_head(char *buf, struct buffer_head *bh) argument 146 bdevname(bh->b_bdev, b), bh->b_size, 147 (unsigned long long)bh->b_blocknr, atomic_read(&(bh->b_count)), 148 bh 390 print_internal(struct buffer_head *bh, int first, int last) argument 425 print_leaf(struct buffer_head *bh, int print_mode, int first, int last) argument 494 print_super_block(struct buffer_head *bh) argument 542 print_desc_block(struct buffer_head *bh) argument 557 print_block(struct buffer_head *bh, ...) argument 675 check_leaf_block_head(struct buffer_head *bh) argument 693 check_internal_block_head(struct buffer_head *bh) argument 717 check_leaf(struct buffer_head *bh) argument 729 check_internal(struct buffer_head *bh) argument [all...] |
H A D | resize.c | 27 struct buffer_head *bh; local 47 bh = sb_bread(s, block_count_new - 1); 48 if (!bh) { 52 bforget(bh); 133 bh = sb_bread(s, i * s->s_blocksize * 8); 134 if (!bh) { 138 memset(bh->b_data, 0, sb_blocksize(sb)); 139 reiserfs_test_and_set_le_bit(0, bh->b_data); 140 reiserfs_cache_bitmap_metadata(s, bh, bitmap + i); 142 set_buffer_uptodate(bh); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd/ |
H A D | recovery.c | 74 struct buffer_head *bh; local 97 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); 98 if (!bh) { 103 if (!buffer_uptodate(bh) && !buffer_locked(bh)) { 104 bufs[nbufs++] = bh; 111 brelse(bh); 136 struct buffer_head *bh; local 153 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); 154 if (!bh) 181 count_tags(struct buffer_head *bh, int size) argument 318 struct buffer_head * bh; local 570 scan_revoke_records(journal_t *journal, struct buffer_head *bh, tid_t sequence, struct recovery_info *info) argument [all...] |
H A D | transaction.c | 505 struct buffer_head *bh = jh2bh(jh); local 507 if (test_clear_buffer_dirty(bh)) 508 set_buffer_jbddirty(bh); 526 struct buffer_head *bh; local 543 bh = jh2bh(jh); 547 lock_buffer(bh); 548 jbd_lock_bh_state(bh); 563 if (buffer_dirty(bh)) { 586 unlock_buffer(bh); 590 jbd_unlock_bh_state(bh); 749 journal_get_write_access(handle_t *handle, struct buffer_head *bh) argument 782 journal_get_create_access(handle_t *handle, struct buffer_head *bh) argument 865 journal_get_undo_access(handle_t *handle, struct buffer_head *bh) argument 930 journal_dirty_data(handle_t *handle, struct buffer_head *bh) argument 1111 journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) argument 1187 journal_release_buffer(handle_t *handle, struct buffer_head *bh) argument 1209 journal_forget(handle_t *handle, struct buffer_head *bh) argument 1507 struct buffer_head *bh = jh2bh(jh); local 1576 __journal_try_to_free_buffer(journal_t *journal, struct buffer_head *bh) argument 1650 struct buffer_head *bh; local 1696 struct buffer_head *bh = jh2bh(jh); local 1760 journal_unmap_buffer(journal_t *journal, struct buffer_head *bh) argument 1907 struct buffer_head *head, *bh, *next; local 1950 struct buffer_head *bh = jh2bh(jh); local 2039 struct buffer_head *bh = jh2bh(jh); local 2084 struct buffer_head *bh = jh2bh(jh); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/platforms/ |
H A D | cpci690.c | 35 static struct mv64x60_handle bh; variable in typeref:struct:mv64x60_handle 159 if (mv64x60_init(&bh, &si)) 167 mv64x60_set_bus(&bh, 0, 0); 168 bh.hose_a->first_busno = 0; 169 bh.hose_a->last_busno = 0xff; 170 bh.hose_a->last_busno = pciauto_bus_scan(bh.hose_a, 0); 172 bh.hose_b->first_busno = bh.hose_a->last_busno + 1; 173 mv64x60_set_bus(&bh, [all...] |
H A D | katana.c | 45 static struct mv64x60_handle bh; variable in typeref:struct:mv64x60_handle 154 early_read_config_word(bh.hose_b, 0, 293 if (mv64x60_init(&bh, &si)) 301 mv64x60_set_bus(&bh, 1, 0); 302 bh.hose_b->first_busno = 0; 303 bh.hose_b->last_busno = 0xff; 311 bh.hose_a = &katana_hose_a; 312 setup_indirect_pci_nomap(bh.hose_a, 313 bh.v_base + MV64x60_PCI0_CONFIG_ADDR, 314 bh [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/ |
H A D | recovery.c | 70 struct buffer_head *bh; local 93 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); 94 if (!bh) { 99 if (!buffer_uptodate(bh) && !buffer_locked(bh)) { 100 bufs[nbufs++] = bh; 107 brelse(bh); 132 struct buffer_head *bh; local 149 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); 150 if (!bh) 177 count_tags(struct buffer_head *bh, int size) argument 312 struct buffer_head * bh; local 565 scan_revoke_records(hfsplus_jbd_t *journal, struct buffer_head *bh, hfsplus_jbd_tid_t sequence, struct recovery_info *info) argument [all...] |
H A D | part_tbl.c | 77 struct buffer_head *bh; local 82 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK, data); 83 if (!bh) 92 pm = (struct old_pmap *)bh->b_data; 110 pm = (struct new_pmap *)bh->b_data; 120 brelse(bh); 121 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK + ++i, pm); 122 if (!bh) 130 brelse(bh);
|
H A D | checkpoint.c | 57 struct buffer_head *bh = hfsplus_jh2bh(jh); local 59 if (jh->b_jlist == HFSPLUS_BJ_None && !buffer_locked(bh) && !buffer_dirty(bh)) { 62 hfsplus_jbd_unlock_bh_state(bh); 63 hfsplus_jbd_remove_journal_head(bh); 64 HFSPLUS_BUFFER_TRACE(bh, "release"); 65 __brelse(bh); 68 hfsplus_jbd_unlock_bh_state(bh); 111 static void jbd_sync_bh(hfsplus_jbd_t *journal, struct buffer_head *bh) argument 113 get_bh(bh); 135 struct buffer_head *bh; local 211 struct buffer_head *bh = bhs[i]; local 232 struct buffer_head *bh = hfsplus_jh2bh(jh); local 324 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ppc/ |
H A D | mv64x60.h | 214 void (*set_pci2regs_window)(struct mv64x60_handle *bh, 216 u32 (*is_enabled_32bit)(mv64x60_handle_t *bh, u32 window); 217 void (*enable_window_32bit)(mv64x60_handle_t *bh, u32 window); 218 void (*disable_window_32bit)(mv64x60_handle_t *bh, u32 window); 219 void (*enable_window_64bit)(mv64x60_handle_t *bh, u32 window); 220 void (*disable_window_64bit)(mv64x60_handle_t *bh, u32 window); 221 void (*disable_all_windows)(mv64x60_handle_t *bh, 223 void (*config_io2mem_windows)(mv64x60_handle_t *bh, 226 void (*set_mpsc2regs_window)(struct mv64x60_handle *bh, u32 base); 227 void (*chip_specific_init)(mv64x60_handle_t *bh, 255 mv64x60_write(struct mv64x60_handle *bh, u32 offset, u32 val) argument 264 mv64x60_read(struct mv64x60_handle *bh, u32 offset) argument 275 mv64x60_modify(struct mv64x60_handle *bh, u32 offs, u32 data, u32 mask) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/qnx4/ |
H A D | fsync.c | 33 struct buffer_head *bh; local 39 bh = sb_find_get_block(inode->i_sb, *block); 40 if (!bh) 43 brelse(bh); 46 if (wait && buffer_req(bh) && !buffer_uptodate(bh)) { 47 brelse(bh); 50 if (wait || !buffer_uptodate(bh) || !buffer_dirty(bh)) { 51 brelse(bh); 60 sync_iblock(struct inode *inode, unsigned short *iblock, struct buffer_head **bh, int wait) argument [all...] |
H A D | namei.c | 34 struct buffer_head *bh, unsigned long *offset) 39 if (bh == NULL) { 43 de = (struct qnx4_inode_entry *) (bh->b_data + *offset); 72 struct buffer_head *bh; local 79 bh = NULL; 82 if (!bh) { 83 bh = qnx4_bread(dir, blkofs, 0); 84 if (!bh) { 89 *res_dir = (struct qnx4_inode_entry *) (bh->b_data + offset); 90 if (qnx4_match(len, name, bh, 33 qnx4_match(int len, const char *name, struct buffer_head *bh, unsigned long *offset) argument 114 struct buffer_head *bh; local 156 struct buffer_head *bh; local 198 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysv/ |
H A D | balloc.c | 30 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) argument 32 char *bh_data = bh->b_data; 45 struct buffer_head * bh; local 77 bh = sb_getblk(sb, block); 78 if (!bh) { 83 memset(bh->b_data, 0, sb->s_blocksize); 84 *(__fs16*)bh->b_data = cpu_to_fs16(sbi, count); 85 memcpy(get_chunk(sb,bh), blocks, count * sizeof(sysv_zone_t)); 86 mark_buffer_dirty(bh); 87 set_buffer_uptodate(bh); 104 struct buffer_head * bh; local 163 struct buffer_head * bh = NULL; local [all...] |
H A D | itree.c | 15 static inline void dirty_indirect(struct buffer_head *bh, struct inode *inode) argument 17 mark_buffer_dirty_inode(bh, inode); 19 sync_dirty_buffer(bh); 61 struct buffer_head *bh; member in struct:__anon7676 66 static inline void add_chain(Indirect *p, struct buffer_head *bh, sysv_zone_t *v) argument 69 p->bh = bh; 79 static inline sysv_zone_t *block_end(struct buffer_head *bh) argument 81 return (sysv_zone_t*)((char*)bh->b_data + bh 95 struct buffer_head *bh; local 135 struct buffer_head *bh; local 339 struct buffer_head * bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/ |
H A D | part_tbl.c | 61 struct buffer_head *bh; local 66 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK, data); 67 if (!bh) 76 pm = (struct old_pmap *)bh->b_data; 94 pm = (struct new_pmap *)bh->b_data; 104 brelse(bh); 105 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK + ++i, pm); 106 if (!bh) 114 brelse(bh);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/ |
H A D | part_tbl.c | 77 struct buffer_head *bh; local 82 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK, data); 83 if (!bh) 92 pm = (struct old_pmap *)bh->b_data; 110 pm = (struct new_pmap *)bh->b_data; 120 brelse(bh); 121 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK + ++i, pm); 122 if (!bh) 130 brelse(bh);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext2/ |
H A D | xattr.c | 52 * by the bh lock. No more than a single bh lock is held at any time 67 #define HDR(bh) ((struct ext2_xattr_header *)((bh)->b_data)) 69 #define FIRST_ENTRY(bh) ENTRY(HDR(bh)+1) 79 # define ea_bdebug(bh, f...) do { \ 82 bdevname(bh->b_bdev, b), \ 83 (unsigned long) bh->b_blocknr); \ 152 struct buffer_head *bh local 254 struct buffer_head *bh = NULL; local 367 struct buffer_head *bh = NULL; local 762 struct buffer_head *bh = NULL; local 833 ext2_xattr_cache_insert(struct buffer_head *bh) argument 919 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/linux-2.6/ |
H A D | xfs_aops.c | 51 struct buffer_head *bh, *head; local 55 bh = head = page_buffers(page); 57 if (buffer_uptodate(bh) && !buffer_mapped(bh)) 59 else if (buffer_unwritten(bh)) 61 else if (buffer_delay(bh)) 63 } while ((bh = bh->b_this_page) != head); 131 struct buffer_head *bh, *next; local 133 for (bh 357 xfs_alloc_ioend_bio( struct buffer_head *bh) argument 376 xfs_start_buffer_writeback( struct buffer_head *bh) argument 408 bio_add_buffer(struct bio *bio, struct buffer_head *bh) argument 436 struct buffer_head *bh; local 487 struct buffer_head *bh, *next_bh; local 510 xfs_add_to_ioend( struct inode *inode, struct buffer_head *bh, xfs_off_t offset, unsigned int type, xfs_ioend_t **result, int need_ioend) argument 540 xfs_map_buffer( struct buffer_head *bh, xfs_iomap_t *mp, xfs_off_t offset, uint block_bits) argument 560 xfs_map_at_offset( struct buffer_head *bh, loff_t offset, int block_bits, xfs_iomap_t *iomapp) argument 593 struct buffer_head *bh, *head; local 613 xfs_probe_cluster( struct inode *inode, struct page *startpage, struct buffer_head *bh, struct buffer_head *head, int mapped) argument 694 struct buffer_head *bh, *head; local 733 struct buffer_head *bh, *head; local 916 struct buffer_head *bh, *head; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/minix/ |
H A D | itree_common.c | 6 struct buffer_head *bh; member in struct:__anon7509 11 static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) argument 14 p->bh = bh; 24 static inline block_t *block_end(struct buffer_head *bh) argument 26 return (block_t *)((char*)bh->b_data + bh->b_size); 37 struct buffer_head *bh; local 45 bh = sb_bread(sb, block_to_cpu(p->key)); 46 if (!bh) 80 struct buffer_head *bh; local 145 get_block(struct inode * inode, sector_t block, struct buffer_head *bh, int create) argument 271 struct buffer_head * bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jbd2/ |
H A D | transaction.c | 505 struct buffer_head *bh = jh2bh(jh); local 507 if (test_clear_buffer_dirty(bh)) 508 set_buffer_jbddirty(bh); 526 struct buffer_head *bh; local 543 bh = jh2bh(jh); 547 lock_buffer(bh); 548 jbd_lock_bh_state(bh); 563 if (buffer_dirty(bh)) { 586 unlock_buffer(bh); 590 jbd_unlock_bh_state(bh); 749 jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) argument 782 jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) argument 865 jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) argument 930 jbd2_journal_dirty_data(handle_t *handle, struct buffer_head *bh) argument 1111 jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) argument 1187 jbd2_journal_release_buffer(handle_t *handle, struct buffer_head *bh) argument 1209 jbd2_journal_forget(handle_t *handle, struct buffer_head *bh) argument 1507 struct buffer_head *bh = jh2bh(jh); local 1576 __journal_try_to_free_buffer(journal_t *journal, struct buffer_head *bh) argument 1650 struct buffer_head *bh; local 1696 struct buffer_head *bh = jh2bh(jh); local 1760 journal_unmap_buffer(journal_t *journal, struct buffer_head *bh) argument 1907 struct buffer_head *head, *bh, *next; local 1950 struct buffer_head *bh = jh2bh(jh); local 2039 struct buffer_head *bh = jh2bh(jh); local 2084 struct buffer_head *bh = jh2bh(jh); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/math-emu/ |
H A D | sfp-util.h | 7 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 8 ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) 10 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 11 ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/ |
H A D | symlink.c | 59 struct buffer_head **bh); 78 struct buffer_head **bh) 88 bh, 97 fe = (struct ocfs2_dinode *) (*bh)->b_data; 111 struct buffer_head *bh = NULL; local 116 link = ocfs2_fast_symlink_getlink(inode, &bh); 128 brelse(bh); 141 struct buffer_head *bh = NULL; local 144 link = ocfs2_fast_symlink_getlink(inode, &bh); 160 if (bh) 77 ocfs2_fast_symlink_getlink(struct inode *inode, struct buffer_head **bh) argument [all...] |