/Linux-v4.19/fs/gfs2/ |
D | glock.h | 139 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me() 141 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me() 189 u16 flags, struct gfs2_holder *gh); 191 struct gfs2_holder *gh); 192 extern void gfs2_holder_uninit(struct gfs2_holder *gh); 193 extern int gfs2_glock_nq(struct gfs2_holder *gh); 194 extern int gfs2_glock_poll(struct gfs2_holder *gh); 195 extern int gfs2_glock_wait(struct gfs2_holder *gh); 196 extern void gfs2_glock_dq(struct gfs2_holder *gh); 197 extern void gfs2_glock_dq_wait(struct gfs2_holder *gh); [all …]
|
D | incore.h | 32 struct gfs2_holder; 242 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh); 245 int (*go_lock) (struct gfs2_holder *gh); 246 void (*go_unlock) (struct gfs2_holder *gh); 279 struct gfs2_holder { struct 298 struct gfs2_holder qa_qd_ghs[2 * GFS2_MAXQUOTAS]; argument 315 struct gfs2_holder rs_rgd_gh; /* Filled in by get_local_rgrp */ 417 struct gfs2_holder i_iopen_gh; 418 struct gfs2_holder i_gh; /* for prepare/commit_write only */ 449 struct gfs2_holder f_fl_gh; [all …]
|
D | glock.c | 63 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 280 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant() 282 …const struct gfs2_holder *gh_head = list_entry(gl->gl_holders.next, const struct gfs2_holder, gh_l… in may_grant() 301 static void gfs2_holder_wake(struct gfs2_holder *gh) in gfs2_holder_wake() 315 struct gfs2_holder *gh, *tmp; in do_error() 345 struct gfs2_holder *gh, *tmp; in do_promote() 391 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter() 393 struct gfs2_holder *gh; in find_first_waiter() 452 struct gfs2_holder *gh; in finish_xmote() 535 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote() [all …]
|
D | rgrp.h | 27 struct gfs2_holder; 38 extern int gfs2_rgrp_go_lock(struct gfs2_holder *gh); 40 extern void gfs2_rgrp_go_unlock(struct gfs2_holder *gh); 66 struct gfs2_holder *rl_ghs;
|
D | file.c | 61 struct gfs2_holder i_gh; in gfs2_llseek() 109 struct gfs2_holder d_gh; in gfs2_readdir() 146 struct gfs2_holder gh; in gfs2_get_flags() 214 struct gfs2_holder gh; in do_gfs2_set_flags() 402 struct gfs2_holder gh; in gfs2_page_mkwrite() 525 struct gfs2_holder i_gh; in gfs2_mmap() 593 struct gfs2_holder i_gh; in gfs2_open() 698 struct gfs2_holder gh; in gfs2_file_direct_read() 724 struct gfs2_holder gh; in gfs2_file_direct_write() 792 struct gfs2_holder gh; in gfs2_file_write_iter() [all …]
|
D | acl.c | 65 struct gfs2_holder gh; in gfs2_get_acl() 114 struct gfs2_holder gh; in gfs2_set_acl()
|
D | inode.c | 130 struct gfs2_holder i_gh; in gfs2_inode_lookup() 285 struct gfs2_holder d_gh; in gfs2_lookupi() 587 struct gfs2_holder ghs[2]; in gfs2_create_inode() 843 struct gfs2_holder gh; in __gfs2_lookup() 903 struct gfs2_holder ghs[2]; in gfs2_link() 1106 struct gfs2_holder ghs[3]; in gfs2_unlink() 1354 struct gfs2_holder ghs[5], r_gh; in gfs2_rename() 1578 struct gfs2_holder ghs[5], r_gh; in gfs2_exchange() 1730 struct gfs2_holder i_gh; in gfs2_get_link() 1788 struct gfs2_holder i_gh; in gfs2_permission() [all …]
|
D | super.c | 413 struct gfs2_holder freeze_gh; in gfs2_make_fs_rw() 486 struct gfs2_holder gh; in gfs2_statfs_init() 589 struct gfs2_holder gh; in gfs2_statfs_sync() 638 struct gfs2_holder gh; 652 struct gfs2_holder *freeze_gh) in gfs2_lock_fs_check_clean() 798 struct gfs2_holder gh; in gfs2_dirty_inode() 849 struct gfs2_holder freeze_gh; in gfs2_make_fs_ro() 966 struct gfs2_holder freeze_gh; in gfs2_freeze_func() 1093 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow() 1100 gha = kmalloc_array(slots, sizeof(struct gfs2_holder), GFP_KERNEL); in gfs2_statfs_slow() [all …]
|
D | dentry.c | 42 struct gfs2_holder d_gh; in gfs2_drevalidate()
|
D | quota.c | 874 struct gfs2_holder *ghs, i_gh; in do_sync() 889 ghs = kmalloc_array(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync() 992 struct gfs2_holder *q_gh) in do_glock() 996 struct gfs2_holder i_gh; in do_glock() 1279 unsigned int max_qd = PAGE_SIZE/sizeof(struct gfs2_holder); in gfs2_quota_sync() 1324 struct gfs2_holder q_gh; in gfs2_quota_refresh() 1620 struct gfs2_holder q_gh; in gfs2_get_dqblk() 1659 struct gfs2_holder q_gh, i_gh; in gfs2_set_dqblk()
|
D | ops_fstype.c | 378 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking() 458 struct gfs2_holder sb_gh; in init_sb() 532 static int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) in gfs2_jindex_hold() 603 struct gfs2_holder j_gh; in check_journal_clean() 638 struct gfs2_holder ji_gh; in init_journal() 1038 struct gfs2_holder mount_gh; in fill_super()
|
D | aops.c | 544 struct gfs2_holder gh; in gfs2_readpage() 629 struct gfs2_holder gh; in gfs2_readpages() 750 struct gfs2_holder i_gh; in gfs2_bmap()
|
D | xattr.c | 233 struct gfs2_holder rg_gh; in ea_dealloc_unstuffed() 405 struct gfs2_holder i_gh; in gfs2_listxattr() 597 struct gfs2_holder gh; in gfs2_xattr_get() 1225 struct gfs2_holder gh; in gfs2_xattr_set() 1372 struct gfs2_holder gh; in ea_dealloc_block()
|
D | export.c | 98 struct gfs2_holder gh; in gfs2_get_name()
|
D | glops.c | 429 static int inode_go_lock(struct gfs2_holder *gh) in inode_go_lock() 515 static int freeze_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) in freeze_go_xmote_bh()
|
D | rgrp.c | 1029 struct gfs2_holder ri_gh; in gfs2_rindex_update() 1239 int gfs2_rgrp_go_lock(struct gfs2_holder *gh) in gfs2_rgrp_go_lock() 1275 void gfs2_rgrp_go_unlock(struct gfs2_holder *gh) in gfs2_rgrp_go_unlock() 1368 struct gfs2_holder gh; in gfs2_fitrim() 2527 struct gfs2_holder rgd_gh; in gfs2_check_blk_type() 2638 sizeof(struct gfs2_holder), in gfs2_rlist_alloc()
|
D | trace_gfs2.h | 201 TP_PROTO(const struct gfs2_holder *gh, int first), 231 TP_PROTO(const struct gfs2_holder *gh, int queue),
|
D | recovery.c | 412 struct gfs2_holder j_gh, ji_gh, thaw_gh; in gfs2_recover_func()
|
D | bmap.c | 1458 static int sweep_bh_for_rgrps(struct gfs2_inode *ip, struct gfs2_holder *rd_gh, in sweep_bh_for_rgrps() 1721 struct gfs2_holder rd_gh; in punch_hole()
|