Lines Matching refs:i_gl

131 	error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &bh);  in ea_foreach()
155 error = gfs2_meta_read(ip->i_gl, bn, DIO_WAIT, 0, &eabh); in ea_foreach()
278 gfs2_trans_add_meta(ip->i_gl, bh); in ea_dealloc_unstuffed()
425 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_listxattr()
471 error = gfs2_meta_read(ip->i_gl, be64_to_cpu(*dataptrs), 0, 0, in gfs2_iter_unstuffed()
504 gfs2_trans_add_meta(ip->i_gl, bh[x]); in gfs2_iter_unstuffed()
613 if (!gfs2_glock_is_locked_by_me(ip->i_gl)) { in gfs2_xattr_get()
614 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_xattr_get()
646 *bhp = gfs2_meta_new(ip->i_gl, block); in ea_alloc_blk()
647 gfs2_trans_add_meta(ip->i_gl, *bhp); in ea_alloc_blk()
708 bh = gfs2_meta_new(ip->i_gl, block); in ea_write()
709 gfs2_trans_add_meta(ip->i_gl, bh); in ea_write()
844 gfs2_trans_add_meta(ip->i_gl, el->el_bh); in ea_set_remove_stuffed()
881 gfs2_trans_add_meta(ip->i_gl, bh); in ea_set_simple_noalloc()
905 gfs2_trans_add_meta(ip->i_gl, es->es_bh); in ea_set_simple_alloc()
979 error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, in ea_set_block()
1001 gfs2_trans_add_meta(ip->i_gl, indbh); in ea_set_block()
1009 indbh = gfs2_meta_new(ip->i_gl, blk); in ea_set_block()
1010 gfs2_trans_add_meta(ip->i_gl, indbh); in ea_set_block()
1095 gfs2_trans_add_meta(ip->i_gl, el->el_bh); in ea_remove_stuffed()
1243 if (!gfs2_glock_is_locked_by_me(ip->i_gl)) { in gfs2_xattr_set()
1244 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_xattr_set()
1248 if (WARN_ON_ONCE(ip->i_gl->gl_state != LM_ST_EXCLUSIVE)) { in gfs2_xattr_set()
1282 error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &indbh); in ea_dealloc_indirect()
1332 gfs2_trans_add_meta(ip->i_gl, indbh); in ea_dealloc_indirect()
1366 gfs2_trans_add_meta(ip->i_gl, dibh); in ea_dealloc_indirect()
1418 gfs2_trans_add_meta(ip->i_gl, dibh); in ea_dealloc_block()