/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/ |
H A D | bmap.c | 38 typedef int (*block_call_t) (struct gfs2_inode *ip, struct buffer_head *dibh, 51 * @dibh: the dinode buffer 58 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, argument 76 if (dsize > (dibh->b_size - sizeof(struct gfs2_dinode))) 77 dsize = dibh->b_size - sizeof(struct gfs2_dinode); 79 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); 123 struct buffer_head *bh, *dibh; local 131 error = gfs2_meta_inode_buffer(ip, &dibh); 149 dibh, sizeof(struct gfs2_dinode)); 152 error = gfs2_unstuffer_page(ip, dibh, bloc 435 struct buffer_head *dibh = mp->mp_bh[0]; local 687 recursive_scan(struct gfs2_inode *ip, struct buffer_head *dibh, struct metapath *mp, unsigned int height, u64 block, int first, block_call_t bc, void *data) argument 753 do_strip(struct gfs2_inode *ip, struct buffer_head *dibh, struct buffer_head *bh, __be64 *top, __be64 *bottom, unsigned int height, void *data) argument 901 struct buffer_head *dibh; local 1029 struct buffer_head *dibh; local 1113 struct buffer_head *dibh; local 1175 struct buffer_head *dibh; local [all...] |
H A D | inode.c | 410 struct buffer_head *dibh; local 413 error = gfs2_meta_inode_buffer(ip, &dibh); 417 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), dibh, GFS2_METATYPE_DI)) { 418 brelse(dibh); 422 error = gfs2_dinode_in(ip, dibh->b_data); 423 brelse(dibh); 497 struct buffer_head *dibh; local 512 error = gfs2_meta_inode_buffer(ip, &dibh); 523 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 524 gfs2_dinode_out(ip, dibh 719 struct buffer_head *dibh; local 812 struct buffer_head *dibh; local 995 struct buffer_head *dibh; local [all...] |
H A D | xattr.c | 232 struct buffer_head *dibh; local 305 error = gfs2_meta_inode_buffer(ip, &dibh); 308 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 309 gfs2_dinode_out(ip, dibh->b_data); 310 brelse(dibh); 719 struct buffer_head *dibh; local 746 error = gfs2_meta_inode_buffer(ip, &dibh); 749 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 750 gfs2_dinode_out(ip, dibh->b_data); 751 brelse(dibh); 865 struct buffer_head *dibh; local 1085 struct buffer_head *dibh; local 1302 struct buffer_head *dibh; local 1352 struct buffer_head *indbh, *dibh; local 1467 struct buffer_head *dibh; local [all...] |
H A D | dir.c | 121 struct buffer_head *dibh; local 124 error = gfs2_meta_inode_buffer(ip, &dibh); 128 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 129 memcpy(dibh->b_data + offset + sizeof(struct gfs2_dinode), buf, size); 133 gfs2_dinode_out(ip, dibh->b_data); 135 brelse(dibh); 155 struct buffer_head *dibh; local 224 error = gfs2_meta_inode_buffer(ip, &dibh); 232 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 233 gfs2_dinode_out(ip, dibh 246 struct buffer_head *dibh; local 816 struct buffer_head *bh, *dibh; local 908 struct buffer_head *nbh, *obh, *dibh; local 1055 struct buffer_head *dibh; local 1425 struct buffer_head *dibh; local 1858 struct buffer_head *bh, *dibh; local [all...] |
H A D | ops_inode.c | 390 struct buffer_head *dibh; local 412 error = gfs2_meta_inode_buffer(ip, &dibh); 415 gfs2_dinode_out(ip, dibh->b_data); 416 memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, 418 brelse(dibh); 450 struct buffer_head *dibh; local 468 error = gfs2_meta_inode_buffer(ip, &dibh); 471 struct gfs2_dinode *di = (struct gfs2_dinode *)dibh->b_data; 476 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 484 gfs2_qstr2dirent(&str, dibh 937 struct buffer_head *dibh; local 992 struct buffer_head *dibh; local 1099 struct buffer_head *dibh; local [all...] |
H A D | aops.c | 417 struct buffer_head *dibh; local 433 error = gfs2_meta_inode_buffer(ip, &dibh); 438 if (dsize > (dibh->b_size - sizeof(struct gfs2_dinode))) 439 dsize = (dibh->b_size - sizeof(struct gfs2_dinode)); 440 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); 444 brelse(dibh); 764 * @dibh: The buffer_head containing the on-disk inode 775 static int gfs2_stuffed_write_end(struct inode *inode, struct buffer_head *dibh, argument 784 unsigned char *buf = dibh->b_data + sizeof(struct gfs2_dinode); 785 struct gfs2_dinode *di = (struct gfs2_dinode *)dibh 849 struct buffer_head *dibh; local [all...] |
H A D | quota.c | 638 struct buffer_head *bh, *dibh; local 733 err = gfs2_meta_inode_buffer(ip, &dibh); 743 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 744 gfs2_dinode_out(ip, dibh->b_data); 745 brelse(dibh);
|
H A D | rgrp.c | 1497 struct buffer_head *dibh; local 1518 error = gfs2_meta_inode_buffer(ip, &dibh); 1520 struct gfs2_dinode *di = (struct gfs2_dinode *)dibh->b_data; 1521 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 1523 brelse(dibh);
|