Home
last modified time | relevance | path

Searched refs:GFS2_SB (Results 1 – 20 of 20) sorted by relevance

/linux-3.4.99/fs/gfs2/
Dinode.h38 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_is_writeback()
44 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_is_ordered()
56 (GFS2_SB(inode)->sd_sb.sb_bsize_shift - GFS2_BASIC_BLOCK_SHIFT); in gfs2_set_inode_blocks()
62 (GFS2_SB(inode)->sd_sb.sb_bsize_shift - GFS2_BASIC_BLOCK_SHIFT); in gfs2_get_inode_blocks()
67 gfs2_assert(GFS2_SB(inode), (change >= 0 || inode->i_blocks > -change)); in gfs2_add_inode_blocks()
68 change *= (GFS2_SB(inode)->sd_sb.sb_bsize/GFS2_BASIC_BLOCK); in gfs2_add_inode_blocks()
Dxattr.c84 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_EA)) in ea_foreach_i()
130 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_IN)) { in ea_foreach()
136 end = eablk + GFS2_SB(&ip->i_inode)->sd_inptrs; in ea_foreach()
229 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_unstuffed()
465 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_get_unstuffed()
611 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_alloc_blk()
652 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_write()
732 error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), in ea_alloc_skeleton()
751 gfs2_trans_end(GFS2_SB(&ip->i_inode)); in ea_alloc_skeleton()
791 unsigned int jbsize = GFS2_SB(&ip->i_inode)->sd_jbsize; in ea_init()
[all …]
Daops.c100 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_writepage_common()
183 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_jdata_writepage()
207 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage()
264 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_pagevec()
396 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages()
465 struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host); in __gfs2_readpage()
577 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_readpages()
613 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_write_begin()
784 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_stuffed_write_end()
847 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_end()
[all …]
Dinode.c107 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_set_iop()
155 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_inode_lookup()
370 if (GFS2_SB(&dip->i_inode)->sd_args.ar_suiddir && in munge_mode_uid_gid()
390 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in alloc_dinode()
451 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in init_dinode()
519 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in make_dinode()
553 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in link_dinode()
661 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_create_inode()
811 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_link()
1028 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_unlink()
[all …]
Dacl.c114 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_acl_create()
203 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_xattr_system_get()
232 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_xattr_system_set()
Dbmap.c140 gfs2_trans_add_unrevoke(GFS2_SB(&ip->i_inode), block, 1); in gfs2_unstuff_dinode()
454 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_bmap_alloc()
605 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_block_map()
718 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in do_strip()
869 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in recursive_scan()
994 struct gfs2_sbd *sdp = GFS2_SB(inode); in trunc_start()
1036 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_dealloc()
1074 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_end()
1168 struct gfs2_sbd *sdp = GFS2_SB(inode); in do_grow()
1279 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_write_alloc_required()
Dfile.c219 struct gfs2_sbd *sdp = GFS2_SB(inode); in do_gfs2_set_flags()
364 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_page_mkwrite()
532 gfs2_assert_warn(GFS2_SB(inode), !file->private_data); in gfs2_open()
725 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in calc_max_reserv()
750 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_fallocate()
892 struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host); in gfs2_lock()
939 error = gfs2_glock_get(GFS2_SB(&ip->i_inode), ip->i_no_addr, in do_flock()
953 gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error); in do_flock()
Dlops.c359 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_before_scan()
373 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_scan_elements()
420 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_after_scan()
510 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in revoke_lo_before_scan()
523 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in revoke_lo_scan_elements()
571 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in revoke_lo_after_scan()
744 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in databuf_lo_scan_elements()
793 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in databuf_lo_after_scan()
Drgrp.c593 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in read_rindex_entry()
657 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ri_update()
903 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_fitrim()
988 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_qadata_get()
1114 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in get_local_rgrp()
1180 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_inplace_reserve()
1488 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_alloc_blocks()
1581 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in __gfs2_free_blocks()
1608 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_free_meta()
1618 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_unlink_di()
[all …]
Dbmap.h34 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_write_calc_reserv()
Dquota.h40 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_lock_check()
Ddir.c112 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_JD)) { in gfs2_dir_get_existing_buffer()
156 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dir_write_data()
272 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dir_read_data()
718 if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) { in get_leaf()
833 gfs2_trans_add_unrevoke(GFS2_SB(inode), bn, 1); in new_leaf()
858 struct gfs2_sbd *sdp = GFS2_SB(inode); in dir_make_exhash()
1071 if (!gfs2_assert_withdraw(GFS2_SB(&dip->i_inode), !error)) { in dir_split_leaf()
1297 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_dir_read_leaf()
1481 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_dir_read()
1837 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in leaf_dealloc()
Ddentry.c51 sdp = GFS2_SB(parent->d_inode); in gfs2_drevalidate()
Drecovery.c316 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in foreach_descriptor()
384 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in clean_journal()
455 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_recover_func()
Dmeta_io.c354 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_wipe()
387 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_indirect_buffer()
Dsuper.c346 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jdesc_check()
752 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_inode()
758 gfs2_log_flush(GFS2_SB(inode), ip->i_gl); in gfs2_write_inode()
786 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_dirty_inode()
1401 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dinode_dealloc()
Dquota.c496 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_hold()
544 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_unhold()
636 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_adjust_quota()
917 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_lock()
1040 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_check()
1096 if (gfs2_assert_warn(GFS2_SB(&ip->i_inode), change)) in gfs2_quota_change()
Dutil.c153 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i()
Dincore.h354 static inline struct gfs2_sbd *GFS2_SB(const struct inode *inode) in GFS2_SB() function
Dglops.c382 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), dibh, GFS2_METATYPE_DI)) { in gfs2_inode_refresh()