Home
last modified time | relevance | path

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

/fs/gfs2/
Dxattr.c83 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_EA)) in ea_foreach_i()
129 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_IN)) { in ea_foreach()
135 end = eablk + GFS2_SB(&ip->i_inode)->sd_inptrs; in ea_foreach()
228 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_unstuffed()
323 error = gfs2_rindex_update(GFS2_SB(&ip->i_inode)); in ea_remove_unstuffed()
442 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_iter_unstuffed()
623 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_alloc_blk()
664 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_write()
731 error = gfs2_rindex_update(GFS2_SB(&ip->i_inode)); in ea_alloc_skeleton()
743 error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), in ea_alloc_skeleton()
[all …]
Dinode.h48 (GFS2_SB(inode)->sd_sb.sb_bsize_shift - GFS2_BASIC_BLOCK_SHIFT); in gfs2_set_inode_blocks()
54 (GFS2_SB(inode)->sd_sb.sb_bsize_shift - GFS2_BASIC_BLOCK_SHIFT); in gfs2_get_inode_blocks()
60 gfs2_assert(GFS2_SB(inode), (change >= 0 || inode->i_blocks >= -change)); in gfs2_add_inode_blocks()
Daops.c93 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_writepage()
180 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage()
239 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_pagevec()
412 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages()
469 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_readpage()
575 struct gfs2_sbd *sdp = GFS2_SB(inode); in adjust_fs_space()
683 struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host); in gfs2_invalidatepage()
Drecovery.c170 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in get_log_header()
200 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in foreach_descriptor()
266 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in clean_journal()
312 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in update_statfs_inode()
381 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in recover_local_statfs()
406 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_recover_func()
Dbmap.c139 gfs2_trans_remove_revoke(GFS2_SB(&ip->i_inode), block, 1); in gfs2_unstuff_dinode()
471 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_walk_metadata()
595 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size()
664 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_alloc()
797 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_alloc_size()
844 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_get()
990 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_lock()
1017 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_unlock()
1031 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_page_prepare()
1044 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_page_done()
[all …]
Dfile.c221 struct gfs2_sbd *sdp = GFS2_SB(inode); in do_gfs2_set_flags()
334 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_getlabel()
398 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_size_hint()
450 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_page_mkwrite()
652 gfs2_assert_warn(GFS2_SB(inode), !file->private_data); in gfs2_open_common()
1014 fs_err(GFS2_SB(inode), "Failed to zero data buffers\n"); in fallocate_chunk()
1039 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in calc_max_reserv()
1059 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_fallocate()
1175 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_fallocate()
1247 struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host); in gfs2_lock()
[all …]
Ddir.c111 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_JD)) { in gfs2_dir_get_existing_buffer()
155 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dir_write_data()
270 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dir_read_data()
565 ret = gfs2_dirent_offset(GFS2_SB(inode), buf); in gfs2_dirent_scan()
573 if (gfs2_check_dirent(GFS2_SB(inode), dent, offset, size, len, 1)) in gfs2_dirent_scan()
585 if (gfs2_check_dirent(GFS2_SB(inode), dent, offset, size, in gfs2_dirent_scan()
762 if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) { in get_leaf()
880 gfs2_trans_remove_revoke(GFS2_SB(inode), bn, 1); in new_leaf()
909 struct gfs2_sbd *sdp = GFS2_SB(inode); in dir_make_exhash()
1043 fs_warn(GFS2_SB(inode), "i_depth %u lf_depth %u index %u\n", in dir_split_leaf()
[all …]
Dinode.c80 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_set_iop()
143 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_inode_lookup()
373 if (GFS2_SB(&dip->i_inode)->sd_args.ar_suiddir && in munge_mode_uid_gid()
394 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in alloc_dinode()
452 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_init_xattr()
536 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in link_dinode()
607 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_create_inode()
924 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_link()
1128 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_unlink()
1378 struct gfs2_sbd *sdp = GFS2_SB(odir); in gfs2_rename()
[all …]
Dlops.c422 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jhead_pg_srch()
507 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_find_jhead()
760 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_scan_elements()
825 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_after_scan()
909 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in revoke_lo_scan_elements()
957 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in revoke_lo_after_scan()
1040 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in databuf_lo_after_scan()
Dmeta_io.c402 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_getjdatabuf()
436 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_journal_wipe()
477 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_indirect_buffer()
Dquota.c545 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_qa_get()
585 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_hold()
643 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_unhold()
717 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_buf_to_page()
841 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_adjust_quota()
1068 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_lock()
1139 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_unlock()
1220 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_check()
1279 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_change()
Drgrp.c577 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in check_and_update_goal()
881 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in read_rindex_entry()
980 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ri_update()
1364 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_fitrim()
1951 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_orlov_skip()
2009 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_inplace_reserve()
2350 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_alloc_blocks()
2442 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in __gfs2_free_blocks()
2468 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_free_meta()
2478 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_unlink_di()
[all …]
Dsuper.c113 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jdesc_check()
463 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_inode()
470 gfs2_log_flush(GFS2_SB(inode), ip->i_gl, in gfs2_write_inode()
506 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_dirty_inode()
1135 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dinode_dealloc()
1201 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_upgrade_iopen_glock()
Dbmap.h33 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_write_calc_reserv()
Dquota.h43 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_quota_lock_check()
Ddentry.c48 sdp = GFS2_SB(d_inode(parent)); in gfs2_drevalidate()
Dlog.h51 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_add_inode()
Dacl.c117 if (acl && acl->a_count > GFS2_ACL_MAX_ENTRIES(GFS2_SB(inode))) in gfs2_set_acl()
Dincore.h439 static inline struct gfs2_sbd *GFS2_SB(const struct inode *inode) in GFS2_SB() function
895 return GFS2_SB(&ip->i_inode)->sd_sb.sb_bsize - sizeof(struct gfs2_dinode); in gfs2_max_stuffed_size()
Dutil.c445 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i()
Dglops.c408 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dinode_in()
Dlog.c669 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_del_inode()