/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/ |
H A D | balloc.c | 63 * @bh: pointer to the buffer head to store the block 68 struct buffer_head ** bh) 98 if (bh) 99 *bh = sbi->s_group_desc[group_desc]; 117 struct buffer_head * bh = NULL; local 122 bh = sb_bread(sb, ext4_block_bitmap(sb, desc)); 123 if (!bh) 130 return bh; 637 * @bh: bufferhead contains the bitmap of the given block group 654 static int ext4_test_allocatable(ext4_grpblk_t nr, struct buffer_head *bh) argument 66 ext4_get_group_desc(struct super_block * sb, unsigned int block_group, struct buffer_head ** bh) argument 682 bitmap_search_next_usable_block(ext4_grpblk_t start, struct buffer_head *bh, ext4_grpblk_t maxblocks) argument 717 find_next_usable_block(ext4_grpblk_t start, struct buffer_head *bh, ext4_grpblk_t maxblocks) argument 773 claim_block(spinlock_t *lock, ext4_grpblk_t block, struct buffer_head *bh) argument [all...] |
H A D | dir.c | 68 struct buffer_head * bh, 80 else if (((char *) de - bh->b_data) + rlen > dir->i_sb->s_blocksize) 133 struct buffer_head *bh = NULL; local 144 bh = ext4_bread(NULL, inode, blk, 0, &err); 151 if (!bh) { 170 (bh->b_data + i); 190 de = (struct ext4_dir_entry_2 *) (bh->b_data + offset); 192 bh, offset)) { 198 brelse (bh); 227 brelse (bh); 66 ext4_check_dir_entry(const char * function, struct inode * dir, struct ext4_dir_entry_2 * de, struct buffer_head * bh, unsigned long offset) argument [all...] |
H A D | ialloc.c | 57 struct buffer_head *bh = NULL; local 63 bh = sb_bread(sb, ext4_inode_bitmap(sb, desc)); 64 if (!bh) 70 return bh; 207 struct buffer_head *bh; local 214 desc = ext4_get_group_desc (sb, group, &bh); 272 struct buffer_head *bh; local 290 desc = ext4_get_group_desc (sb, group, &bh); 325 desc = ext4_get_group_desc (sb, group, &bh); 340 desc = ext4_get_group_desc (sb, group, &bh); 364 struct buffer_head *bh; local [all...] |
H A D | extents.c | 467 struct buffer_head *bh; local 496 bh = sb_bread(inode->i_sb, path[ppos].p_block); 497 if (!bh) 500 eh = ext_block_hdr(bh); 503 path[ppos].p_bh = bh; 603 struct buffer_head *bh = NULL; local 659 bh = sb_getblk(inode->i_sb, newblock); 660 if (!bh) { 664 lock_buffer(bh); 666 err = ext4_journal_get_create_access(handle, bh); 845 struct buffer_head *bh; local 1542 struct buffer_head *bh; local 1619 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/ |
H A D | dir.c | 68 struct buffer_head * bh, 80 else if (((char *) de - bh->b_data) + rlen > dir->i_sb->s_blocksize) 133 struct buffer_head *bh = NULL; local 145 bh = ext3_bread(NULL, inode, blk, 0, &err); 152 if (!bh) { 171 (bh->b_data + i); 191 de = (struct ext3_dir_entry_2 *) (bh->b_data + offset); 193 bh, offset)) { 198 brelse (bh); 227 brelse (bh); 66 ext3_check_dir_entry(const char * function, struct inode * dir, struct ext3_dir_entry_2 * de, struct buffer_head * bh, unsigned long offset) argument [all...] |
H A D | ialloc.c | 57 struct buffer_head *bh = NULL; local 63 bh = sb_bread(sb, le32_to_cpu(desc->bg_inode_bitmap)); 64 if (!bh) 70 return bh; 207 struct buffer_head *bh; local 214 desc = ext3_get_group_desc (sb, group, &bh); 272 struct buffer_head *bh; local 289 desc = ext3_get_group_desc (sb, group, &bh); 322 desc = ext3_get_group_desc (sb, group, &bh); 337 desc = ext3_get_group_desc (sb, group, &bh); 361 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hpfs/ |
H A D | inode.c | 44 struct buffer_head *bh; local 51 if (!(fnode = hpfs_map_fnode(sb, i->i_ino, &bh))) { 83 brelse(bh); 103 brelse(bh); 140 brelse(bh); 215 struct buffer_head *bh; local 220 if (!(fnode = hpfs_map_fnode(i->i_sb, i->i_ino, &bh))) return; 223 brelse(bh); 259 mark_buffer_dirty(bh); 260 brelse(bh); [all...] |
H A D | file.c | 37 struct buffer_head *bh; local 41 if (!(fnode = hpfs_map_fnode(inode->i_sb, inode->i_ino, &bh))) return 0; 42 disk_secno = hpfs_bplus_lookup(inode->i_sb, inode, &fnode->btree, file_secno, bh);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | reiserfs_fs.h | 999 #define B_I_PITEM(bh,ih) ( (bh)->b_data + ih_location(ih) ) 1000 #define B_I_DEH(bh,ih) ((struct reiserfs_de_head *)(B_I_PITEM(bh,ih))) 1012 static inline int entry_length(const struct buffer_head *bh, argument 1017 deh = B_I_DEH(bh, ih) + pos_in_item; 1027 /* name by bh, ih and entry_num */ 1028 #define B_I_E_NAME(bh,ih,entry_num) ((char *)(bh->b_data + ih_location(ih) + deh_location(B_I_DEH(bh,i 1670 struct buffer_head *bh; member in struct:reiserfs_jh [all...] |
H A D | ext4_fs_extents.h | 170 static inline struct ext4_extent_header *ext_block_hdr(struct buffer_head *bh) argument 172 return (struct ext4_extent_header *) bh->b_data;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/fat/ |
H A D | inode.c | 549 struct buffer_head *bh; local 560 bh = sb_bread(sb, i_pos >> sbi->dir_per_block_bits); 561 if (!bh) { 570 brelse(bh); 575 raw_entry = &((struct msdos_dir_entry *) (bh->b_data)) 593 mark_buffer_dirty(bh); 595 err = sync_dirty_buffer(bh); 596 brelse(bh); 739 struct buffer_head *bh; local 748 err = fat_get_dotdot_entry(child->d_inode, &bh, 1152 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/bn/ |
H A D | bn_lcl.h | 361 #define mul64(l,h,bl,bh) \ 367 m =(bh)*(lt); \ 370 ht =(bh)*(ht); \ 396 #define mul_add(r,a,bl,bh,c) { \ 402 mul64(l,h,(bl),(bh)); \ 412 #define mul(r,a,bl,bh,c) { \ 418 mul64(l,h,(bl),(bh)); \
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ufs/ |
H A D | balloc.c | 259 struct buffer_head *head, *bh; local 288 bh = head; 291 bh = bh->b_this_page; 304 if (!buffer_mapped(bh)) 305 map_bh(bh, inode->i_sb, oldb + pos); 306 if (!buffer_uptodate(bh)) { 307 ll_rw_block(READ, 1, &bh); 308 wait_on_buffer(bh); 309 if (!buffer_uptodate(bh)) { 337 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/ |
H A D | quota.c | 252 struct buffer_head *bh; local 270 error = gfs2_meta_read(ip->i_gl, bh_map.b_blocknr, DIO_WAIT, &bh); 274 if (gfs2_metatype_check(sdp, bh, GFS2_METATYPE_QC)) 277 qd->qd_bh = bh; 279 (bh->b_data + sizeof(struct gfs2_meta_header) + 287 brelse(bh); 578 struct buffer_head *bh; local 595 bh = page_buffers(page); 598 bh = bh 1085 struct buffer_head *bh; local [all...] |
H A D | eattr.h | 43 #define GFS2_EA_BH2FIRST(bh) \ 44 ((struct gfs2_ea_header *)((bh)->b_data + sizeof(struct gfs2_meta_header)))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/adfs/ |
H A D | super.c | 331 struct buffer_head *bh; local 354 if (!(bh = sb_bread(sb, ADFS_DISCRECORD / BLOCK_SIZE))) { 359 b_data = bh->b_data + (ADFS_DISCRECORD % BLOCK_SIZE); 380 brelse(bh); 382 bh = sb_bread(sb, ADFS_DISCRECORD / sb->s_blocksize); 383 if (!bh) { 388 b_data = bh->b_data + (ADFS_DISCRECORD % sb->s_blocksize); 417 brelse(bh); 462 brelse(bh);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/ |
H A D | super.c | 150 struct buffer_head *bh; local 199 bh = get_last_bh(&path); 201 if (item_pos != B_NR_ITEMS(bh)) { 207 ih = B_N_PITEM_HEAD(bh, item_pos); 220 item = B_I_PITEM(bh, ih); 1250 struct buffer_head *bh; local 1254 bh = sb_bread(s, offset / s->s_blocksize); 1255 if (!bh) { 1263 rs = (struct reiserfs_super_block *)bh->b_data; 1265 brelse(bh); 2020 struct buffer_head tmp_bh, *bh; local 2066 struct buffer_head tmp_bh, *bh; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/ |
H A D | dir.c | 147 brelse(epos.bh); 175 brelse(epos.bh); 190 brelse(epos.bh); 250 brelse(epos.bh); 261 brelse(epos.bh);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/ |
H A D | journal.c | 110 static void hfsplus_journal_abort_handle(const char *err_no, struct buffer_head *bh, hfsplus_handle_t *hfsplus_handle) argument 119 int hfsplus_journal_get_write_access(const char *err_fn, hfsplus_handle_t *hfsplus_handle, struct buffer_head *bh) argument 126 err = hfsplus_jbd_get_write_access(hfsplus_handle->handle, bh); 129 hfsplus_journal_abort_handle(err_fn, bh, hfsplus_handle); 135 int hfsplus_journal_dirty_metadata(const char *err_fn, struct buffer_head *bh, hfsplus_handle_t *hfsplus_handle) argument 142 err = hfsplus_jbd_dirty_metadata(hfsplus_handle->handle, bh); 217 struct buffer_head *bh; local 234 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); 235 lock_buffer(bh); 237 memset(bh 710 struct buffer_head *bh; local [all...] |
H A D | inode.c | 97 int hfsplus_commit_write_fn(hfsplus_handle_t *hfsplus_handle, struct buffer_head *bh) argument 99 if (!buffer_mapped(bh) || buffer_hfsplus_jbd_freed(bh)) 101 set_buffer_uptodate(bh); 103 return hfsplus_journal_dirty_metadata(__FUNCTION__, bh, hfsplus_handle); 118 struct buffer_head *bh)) 120 struct buffer_head *bh; local 126 for ( bh = head, block_start = 0; 127 ret == 0 && (bh != head || !block_start); 128 block_start = block_end, bh 112 hfsplus_walk_page_buffers(hfsplus_handle_t *hfsplus_handle, struct buffer_head *head, unsigned from, unsigned to, int *partial, int (*fn)(hfsplus_handle_t *hfsplus_handle, struct buffer_head *bh)) argument 144 hfsplus_do_journal_get_write_access(hfsplus_handle_t *hfsplus_handle, struct buffer_head *bh) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext2/ |
H A D | super.c | 642 struct buffer_head * bh; local 685 if (!(bh = sb_bread(sb, logic_sb_block))) { 693 es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); 774 brelse(bh); 783 bh = sb_bread(sb, logic_sb_block); 784 if(!bh) { 789 es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); 833 sbi->s_sbh = bh; 843 if (sb->s_blocksize != bh->b_size) { 957 brelse(bh); 1175 struct buffer_head *bh; local 1219 struct buffer_head *bh; local [all...] |
H A D | balloc.c | 40 struct buffer_head ** bh) 67 if (bh) 68 *bh = sbi->s_group_desc[group_desc]; 82 struct buffer_head * bh = NULL; local 87 bh = sb_bread(sb, le32_to_cpu(desc->bg_block_bitmap)); 88 if (!bh) 94 return bh; 143 struct ext2_group_desc *desc, struct buffer_head *bh, int count) 156 mark_buffer_dirty(bh); 161 struct ext2_group_desc *desc, struct buffer_head *bh, in 38 ext2_get_group_desc(struct super_block * sb, unsigned int block_group, struct buffer_head ** bh) argument 142 group_reserve_blocks(struct ext2_sb_info *sbi, int group_no, struct ext2_group_desc *desc, struct buffer_head *bh, int count) argument 160 group_release_blocks(struct super_block *sb, int group_no, struct ext2_group_desc *desc, struct buffer_head *bh, int count) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/msdos/ |
H A D | namei.c | 147 brelse(sinfo->bh); 224 brelse(sinfo.bh); 298 brelse(sinfo.bh); 308 brelse(sinfo.bh); 343 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ 378 brelse(sinfo.bh); 395 brelse(sinfo.bh); 430 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ 457 old_sinfo.bh = sinfo.bh [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/ |
H A D | file.c | 184 struct buffer_head *bh) 200 ret = ocfs2_mark_inode_dirty(handle, inode, bh); 596 struct buffer_head *bh = NULL; local 612 status = ocfs2_read_block(osb, OCFS2_I(inode)->ip_blkno, &bh, 619 fe = (struct ocfs2_dinode *) bh->b_data; 658 status = ocfs2_journal_access(handle, inode, bh, 671 bh, 682 status = ocfs2_journal_dirty(handle, bh); 743 if (bh) { 744 brelse(bh); 183 ocfs2_update_inode_atime(struct inode *inode, struct buffer_head *bh) argument 934 struct buffer_head *bh = NULL; local 1076 struct buffer_head *bh = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/isofs/ |
H A D | rock.c | 101 struct buffer_head *bh; local 109 bh = sb_bread(rs->inode->i_sb, rs->cont_extent); 110 if (bh) { 111 memcpy(rs->buffer, bh->b_data + rs->cont_offset, 113 put_bh(bh); 647 struct buffer_head *bh; local 663 bh = sb_bread(inode->i_sb, block); 664 if (!bh) 668 pnt = (unsigned char *)bh->b_data + offset; 730 brelse(bh); [all...] |