/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/gfs2/ |
H A D | trans.h | 34 void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh, int meta);
|
H A D | trans.c | 125 * @bh: The buffer to add 130 void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh, int meta) argument 135 bd = bh->b_private; 139 gfs2_attach_bufdata(gl, bh, meta); 140 bd = bh->b_private;
|
H A D | glops.c | 43 struct buffer_head *bh; local 59 bh = bd->bd_bh; 60 blkno = bh->b_blocknr; 61 gfs2_assert_withdraw(sdp, !buffer_busy(bh)); 67 brelse(bh); 198 struct buffer_head *bh; local 203 error = gfs2_meta_read(gl, gl->gl_name.ln_number, 0, &bh); 205 brelse(bh);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/isofs/ |
H A D | inode.c | 534 struct buffer_head * bh = NULL, *pri_bh = NULL; local 580 if (!(bh = sb_bread(s, block))) 583 vdp = (struct iso_volume_descriptor *)bh->b_data; 584 hdp = (struct hs_volume_descriptor *)bh->b_data; 597 pri_bh = bh; 598 bh = NULL; 637 brelse(bh); 638 bh = NULL; 646 brelse(bh); 647 bh 912 isofs_get_blocks(struct inode *inode, sector_t iblock_s, struct buffer_head **bh, unsigned long nblocks) argument 1066 struct buffer_head * bh = NULL; local 1173 struct buffer_head * bh = NULL; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ext2/ |
H A D | ialloc.c | 49 struct buffer_head *bh = NULL; local 55 bh = sb_bread(sb, le32_to_cpu(desc->bg_inode_bitmap)); 56 if (!bh) 62 return bh; 68 struct buffer_head *bh; local 70 desc = ext2_get_group_desc(sb, group, &bh); 87 mark_buffer_dirty(bh); 168 struct buffer_head *bh; local 179 gdp = ext2_get_group_desc(inode->i_sb, block_group, &bh); 208 struct buffer_head *bh, *best_b local 275 struct buffer_head *bh; local 380 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/reiserfs/ |
H A D | bitmap.c | 140 struct buffer_head *bh; local 160 bh = reiserfs_read_bitmap_block(s, bmap_n); 161 if (bh == NULL) 167 brelse(bh); 173 ((unsigned long *)(bh->b_data), boundary, *beg); 177 brelse(bh); 186 || reiserfs_test_le_bit(end, bh->b_data)) { 200 reiserfs_prepare_for_journal(s, bh, 1); 205 (i, bh->b_data)) { 217 (i, bh 277 struct buffer_head *bh = reiserfs_read_bitmap_block(s, bm); local 711 struct buffer_head *bh; local 1258 reiserfs_cache_bitmap_metadata(struct super_block *sb, struct buffer_head *bh, struct reiserfs_bitmap_info *info) argument 1292 struct buffer_head *bh; local [all...] |
H A D | dir.c | 50 struct buffer_head *bh; local 87 bh = de.de_bh; 96 RFALSE(item_num > B_NR_ITEMS(bh) - 1, 98 item_num, B_NR_ITEMS(bh)); 109 B_I_DEH(bh, ih) + entry_num; 121 d_reclen = entry_length(bh, ih, entry_num); 122 d_name = B_I_DEH_ENTRY_FILE_NAME(bh, ih, deh); 190 if (item_num != B_NR_ITEMS(bh) - 1)
|
H A D | stree.c | 385 struct buffer_head *bh; local 387 bh = PATH_OFFSET_PBUFFER(p_s_search_path, n_path_offset--); 388 decrement_bcount(bh); 436 static int is_leaf(char *buf, int blocksize, struct buffer_head *bh) argument 455 reiserfs_warning(NULL, "is_leaf: nr_item seems wrong: %z", bh); 463 bh); 506 static int is_internal(char *buf, int blocksize, struct buffer_head *bh) argument 526 bh); 533 "is_internal: free space seems wrong: %z", bh); 540 // make sure that bh contain 542 is_tree_node(struct buffer_head *bh, int level) argument 559 search_by_key_reada(struct super_block *s, struct buffer_head **bh, unsigned long *b, int num) argument 1430 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ufs/ |
H A D | truncate.c | 388 struct buffer_head *bh; local 406 bh = page_buffers(lastpage); 408 bh = bh->b_this_page; 411 err = ufs_getfrag_block(inode, lastfrag, bh, 1); 416 if (buffer_new(bh)) { 417 clear_buffer_new(bh); 418 unmap_underlying_metadata(bh->b_bdev, 419 bh->b_blocknr); 424 set_buffer_uptodate(bh); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/jfs/ |
H A D | jfs_mount.c | 306 struct buffer_head *bh; local 313 if ((rc = readSuper(sb, &bh))) 315 j_sb = (struct jfs_superblock *)bh->b_data; 399 brelse(bh); 413 struct buffer_head *bh; local 430 if ((rc = readSuper(sb, &bh))) 433 j_sb = (struct jfs_superblock *)bh->b_data; 451 mark_buffer_dirty(bh); 452 sync_dirty_buffer(bh); 453 brelse(bh); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/efs/ |
H A D | super.c | 245 struct buffer_head *bh; local 261 bh = sb_bread(s, 0); 263 if (!bh) { 273 sb->fs_start = efs_validate_vh((struct volume_header *) bh->b_data); 274 brelse(bh); 280 bh = sb_bread(s, sb->fs_start + EFS_SUPER); 281 if (!bh) { 286 if (efs_validate_super(sb, (struct efs_super *) bh->b_data)) { 290 brelse(bh); 293 brelse(bh); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ocfs2/ |
H A D | super.c | 104 struct buffer_head *bh, 107 struct buffer_head *bh, 110 struct buffer_head **bh, 430 struct buffer_head **bh, 438 *bh = NULL; 454 status = ocfs2_get_sector(sb, bh, 0, *sector_size); 459 hdr = (struct ocfs1_vol_disk_hdr *) (*bh)->b_data; 471 brelse(*bh); 472 *bh = NULL; 488 tmpstat = ocfs2_get_sector(sb, bh, 429 ocfs2_sb_probe(struct super_block *sb, struct buffer_head **bh, int *sector_size) argument 538 struct buffer_head *bh = NULL; local 882 struct buffer_head *bh = NULL; local 986 ocfs2_get_sector(struct super_block *sb, struct buffer_head **bh, int block, int sect_size) argument 1239 ocfs2_initialize_super(struct super_block *sb, struct buffer_head *bh, int sector_size) argument 1499 ocfs2_verify_volume(struct ocfs2_dinode *di, struct buffer_head *bh, u32 blksz) argument [all...] |
H A D | file.h | 62 struct buffer_head *bh);
|
H A D | alloc.c | 62 struct buffer_head *bh; member in struct:ocfs2_path_item 73 #define path_root_bh(_path) ((_path)->p_node[0].bh) 75 #define path_leaf_bh(_path) ((_path)->p_node[(_path)->p_tree_depth].bh) 95 brelse(node->bh); 96 node->bh = NULL; 130 brelse(dest->p_node[i].bh); 132 dest->p_node[i].bh = src->p_node[i].bh; 135 src->p_node[i].bh = NULL; 151 * Right now, no root bh i 469 struct buffer_head *bh; local 758 struct buffer_head *bh = NULL; local 1026 struct buffer_head *bh = NULL; local 1128 find_path_ins(void *data, struct buffer_head *bh) argument 1147 find_leaf_ins(void *data, struct buffer_head *bh) argument 1172 struct buffer_head *bh = NULL; local 1824 struct buffer_head *bh; local 2188 struct buffer_head *bh = NULL; local 2308 struct buffer_head *bh = NULL; local 2726 struct buffer_head *bh = NULL; local 2948 struct buffer_head *bh = NULL; local 3046 struct buffer_head *bh; local 3360 ocfs2_writeback_zero_func(handle_t *handle, struct buffer_head *bh) argument 3367 ocfs2_ordered_zero_func(handle_t *handle, struct buffer_head *bh) argument [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/mm/ |
H A D | migrate.c | 439 struct buffer_head *bh, *head; local 452 bh = head; 454 get_bh(bh); 455 lock_buffer(bh); 456 bh = bh->b_this_page; 458 } while (bh != head); 466 bh = head; 468 set_bh_page(bh, newpage, bh_offset(bh)); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/block/ |
H A D | acsi.c | 865 struct buffer_head *bh; 869 bh = CURRENT->bh; 871 if (!bh) 875 memcpy( dst, src, bh->b_size ); 876 dst += bh->b_size; 877 if ((bh = bh->b_reqnext)) 878 src = bh->b_data; 887 struct buffer_head *bh; 863 struct buffer_head *bh; local 885 struct buffer_head *bh; local 947 struct buffer_head *bh; local [all...] |
H A D | rd.c | 103 struct buffer_head *bh = page_buffers(page); local 104 struct buffer_head *head = bh; 107 if (!buffer_uptodate(bh)) { 108 memset(bh->b_data, 0, bh->b_size); 120 set_buffer_uptodate(bh); 122 } while ((bh = bh->b_this_page) != head);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/udf/ |
H A D | misc.c | 209 struct buffer_head *bh = NULL; local 217 bh = udf_tread(sb, block + UDF_SB_SESSION(sb)); 218 if (!bh) 224 tag_p = (tag *)(bh->b_data); 238 checksum += (uint8_t)(bh->b_data[i]); 240 checksum += (uint8_t)(bh->b_data[i]); 257 le16_to_cpu(tag_p->descCRC) == udf_crc(bh->b_data + sizeof(tag), 260 return bh; 266 brelse(bh);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/befs/ |
H A D | datastream.c | 52 struct buffer_head *bh = NULL; local 67 bh = befs_bread_iaddr(sb, run); 68 if (!bh) { 77 return bh; 131 struct buffer_head *bh = NULL; local 135 bh = befs_read_datastream(sb, ds, bytes_read, NULL); 136 if (!bh) { 145 memcpy(buff + bytes_read, bh->b_data, plen); 146 brelse(bh);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/ |
H A D | zmbv.c | 66 int bw, bh, bx, by; member in struct:ZmbvContext 100 for(y = 0; y < c->height; y += c->bh) { 101 bh2 = ((c->height - y) > c->bh) ? c->bh : (c->height - y); 141 output += c->width * c->bh; 142 prev += c->width * c->bh; 171 for(y = 0; y < c->height; y += c->bh) { 172 bh2 = ((c->height - y) > c->bh) ? c->bh : (c->height - y); 214 output += c->width * c->bh; [all...] |
H A D | zmbvenc.c | 64 static inline int block_cmp(uint8_t *src, int stride, uint8_t *src2, int stride2, int bw, int bh) argument 70 for(j = 0; j < bh; j++){ 89 int dx, dy, tx, ty, tv, bv, bw, bh; local 93 bh = FFMIN(ZMBV_BLOCK, c->avctx->height - y); 94 bv = block_cmp(src, sstride, prev, pstride, bw, bh); 96 for(ty = FFMAX(y - c->range, 0); ty < FFMIN(y + c->range, c->avctx->height - bh); ty++){ 101 tv = block_cmp(src, sstride, prev + dx + dy*pstride, pstride, bw, bh); 125 int bw, bh; local 183 bh = (avctx->height + ZMBV_BLOCK - 1) / ZMBV_BLOCK; 185 memset(c->work_buf + work_size, 0, (bw * bh * [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/hpfs/ |
H A D | namei.c | 16 struct buffer_head *bh; local 29 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); 88 mark_buffer_dirty(bh); 89 brelse(bh); 114 brelse(bh); 126 struct buffer_head *bh; local 136 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); 182 mark_buffer_dirty(bh); 183 brelse(bh); 204 brelse(bh); 215 struct buffer_head *bh; local 293 struct buffer_head *bh; local 516 struct buffer_head *bh; local 559 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/md/ |
H A D | bitmap.c | 281 struct buffer_head *bh; local 286 bh = page_buffers(page); 288 while (bh && bh->b_blocknr) { 290 set_buffer_locked(bh); 291 set_buffer_mapped(bh); 292 submit_bh(WRITE, bh); 293 bh = bh->b_this_page; 304 static void end_bitmap_write(struct buffer_head *bh, in argument 328 struct buffer_head *bh = page_buffers(page); local 352 struct buffer_head *bh; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/hfs/ |
H A D | hfs_fs.h | 256 static inline void hfs_buffer_sync(struct buffer_head *bh) argument 258 while (buffer_locked(bh)) { 259 wait_on_buffer(bh); 261 if (buffer_dirty(bh)) { 262 ll_rw_block(WRITE, 1, &bh); 263 wait_on_buffer(bh);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ext3/ |
H A D | balloc.c | 45 * @bh: pointer to the buffer head to store the block 50 struct buffer_head ** bh) 78 if (bh) 79 *bh = sbi->s_group_desc[group_desc]; 97 struct buffer_head * bh = NULL; local 102 bh = sb_bread(sb, le32_to_cpu(desc->bg_block_bitmap)); 103 if (!bh) 109 return bh; 620 * @bh: bufferhead contains the bitmap of the given block group 637 static int ext3_test_allocatable(ext3_grpblk_t nr, struct buffer_head *bh) argument 48 ext3_get_group_desc(struct super_block * sb, unsigned int block_group, struct buffer_head ** bh) argument 665 bitmap_search_next_usable_block(ext3_grpblk_t start, struct buffer_head *bh, ext3_grpblk_t maxblocks) argument 700 find_next_usable_block(ext3_grpblk_t start, struct buffer_head *bh, ext3_grpblk_t maxblocks) argument 756 claim_block(spinlock_t *lock, ext3_grpblk_t block, struct buffer_head *bh) argument [all...] |