Home
last modified time | relevance | path

Searched refs:gfs2_holder (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/fs/gfs2/
Dglock.h138 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
140 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me()
186 unsigned flags, struct gfs2_holder *gh);
188 struct gfs2_holder *gh);
189 extern void gfs2_holder_uninit(struct gfs2_holder *gh);
190 extern int gfs2_glock_nq(struct gfs2_holder *gh);
191 extern int gfs2_glock_poll(struct gfs2_holder *gh);
192 extern int gfs2_glock_wait(struct gfs2_holder *gh);
193 extern void gfs2_glock_dq(struct gfs2_holder *gh);
194 extern void gfs2_glock_dq_wait(struct gfs2_holder *gh);
[all …]
Dincore.h32 struct gfs2_holder;
220 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh);
223 int (*go_lock) (struct gfs2_holder *gh);
224 void (*go_unlock) (struct gfs2_holder *gh);
257 struct gfs2_holder { struct
286 struct gfs2_holder rs_rgd_gh; /* Filled in by get_local_rgrp */ argument
294 struct gfs2_holder rs_qa_qd_ghs[2 * GFS2_MAXQUOTAS];
392 struct gfs2_holder i_iopen_gh;
393 struct gfs2_holder i_gh; /* for prepare/commit_write only */
423 struct gfs2_holder f_fl_gh;
[all …]
Dglock.c62 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
188 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant()
190 …const struct gfs2_holder *gh_head = list_entry(gl->gl_holders.next, const struct gfs2_holder, gh_l… in may_grant()
209 static void gfs2_holder_wake(struct gfs2_holder *gh) in gfs2_holder_wake()
223 struct gfs2_holder *gh, *tmp; in do_error()
253 struct gfs2_holder *gh, *tmp; in do_promote()
299 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
301 struct gfs2_holder *gh; in find_first_waiter()
360 struct gfs2_holder *gh; in finish_xmote()
443 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
[all …]
Drgrp.h27 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;
Dfile.c59 struct gfs2_holder i_gh; in gfs2_llseek()
96 struct gfs2_holder d_gh; in gfs2_readdir()
156 struct gfs2_holder gh; in gfs2_get_flags()
218 struct gfs2_holder gh; in do_gfs2_set_flags()
391 struct gfs2_holder gh; in gfs2_page_mkwrite()
520 struct gfs2_holder i_gh; in gfs2_mmap()
588 struct gfs2_holder i_gh; in gfs2_open()
713 struct gfs2_holder gh; in gfs2_file_write_iter()
917 struct gfs2_holder gh; in gfs2_fallocate()
1017 struct gfs2_holder *fl_gh = &fp->f_fl_gh; in do_flock()
[all …]
Dsuper.c403 struct gfs2_holder freeze_gh; in gfs2_make_fs_rw()
476 struct gfs2_holder gh; in gfs2_statfs_init()
580 struct gfs2_holder gh; in gfs2_statfs_sync()
629 struct gfs2_holder gh;
643 struct gfs2_holder *freeze_gh) in gfs2_lock_fs_check_clean()
780 struct gfs2_holder gh; in gfs2_dirty_inode()
830 struct gfs2_holder freeze_gh; in gfs2_make_fs_ro()
948 struct gfs2_holder freeze_gh; in gfs2_freeze_func()
1075 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow()
1082 gha = kcalloc(slots, sizeof(struct gfs2_holder), GFP_KERNEL); in gfs2_statfs_slow()
[all …]
Dinode.c210 struct gfs2_holder i_gh; in gfs2_lookup_by_inum()
288 struct gfs2_holder d_gh; in gfs2_lookupi()
591 struct gfs2_holder ghs[2]; in gfs2_create_inode()
833 struct gfs2_holder gh; in __gfs2_lookup()
893 struct gfs2_holder ghs[2]; in gfs2_link()
1096 struct gfs2_holder ghs[3]; in gfs2_unlink()
1356 struct gfs2_holder ghs[5], r_gh = { .gh_gl = NULL, }; in gfs2_rename()
1579 struct gfs2_holder ghs[5], r_gh = { .gh_gl = NULL, }; in gfs2_exchange()
1727 struct gfs2_holder i_gh; in gfs2_follow_link()
1782 struct gfs2_holder i_gh; in gfs2_permission()
[all …]
Dglops.c287 struct gfs2_holder *gh; in inode_go_demote_ok()
293 gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list); in inode_go_demote_ok()
418 static int inode_go_lock(struct gfs2_holder *gh) in inode_go_lock()
503 static int freeze_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) in freeze_go_xmote_bh()
Ddentry.c42 struct gfs2_holder d_gh; in gfs2_drevalidate()
Dquota.c838 struct gfs2_holder *ghs, i_gh; in do_sync()
853 ghs = kcalloc(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync()
955 struct gfs2_holder *q_gh) in do_glock()
959 struct gfs2_holder i_gh; in do_glock()
1240 unsigned int max_qd = PAGE_SIZE/sizeof(struct gfs2_holder); in gfs2_quota_sync()
1285 struct gfs2_holder q_gh; in gfs2_quota_refresh()
1578 struct gfs2_holder q_gh; in gfs2_get_dqblk()
1617 struct gfs2_holder q_gh, i_gh; in gfs2_set_dqblk()
Dops_fstype.c392 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
471 struct gfs2_holder sb_gh; in init_sb()
545 static int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) in gfs2_jindex_hold()
616 struct gfs2_holder j_gh; in check_journal_clean()
651 struct gfs2_holder ji_gh; in init_journal()
1051 struct gfs2_holder mount_gh; in fill_super()
Daops.c528 struct gfs2_holder gh; in gfs2_readpage()
613 struct gfs2_holder gh; in gfs2_readpages()
952 struct gfs2_holder i_gh; in gfs2_bmap()
1052 struct gfs2_holder gh; in gfs2_direct_IO()
Dexport.c98 struct gfs2_holder gh; in gfs2_get_name()
Dtrace_gfs2.h199 TP_PROTO(const struct gfs2_holder *gh, int first),
229 TP_PROTO(const struct gfs2_holder *gh, int queue),
Drgrp.c1034 struct gfs2_holder ri_gh; in gfs2_rindex_update()
1237 int gfs2_rgrp_go_lock(struct gfs2_holder *gh) in gfs2_rgrp_go_lock()
1273 void gfs2_rgrp_go_unlock(struct gfs2_holder *gh) in gfs2_rgrp_go_unlock()
1366 struct gfs2_holder gh; in gfs2_fitrim()
2529 struct gfs2_holder rgd_gh; in gfs2_check_blk_type()
2619 rlist->rl_ghs = kcalloc(rlist->rl_rgrps, sizeof(struct gfs2_holder), in gfs2_rlist_alloc()
Dxattr.c232 struct gfs2_holder rg_gh; in ea_dealloc_unstuffed()
425 struct gfs2_holder i_gh; in gfs2_listxattr()
1413 struct gfs2_holder gh; in ea_dealloc_block()
Drecovery.c457 struct gfs2_holder j_gh, ji_gh, thaw_gh; in gfs2_recover_func()