Home
last modified time | relevance | path

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

/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()
188 struct gfs2_holder *gh);
190 struct gfs2_holder *gh);
191 void gfs2_holder_uninit(struct gfs2_holder *gh);
192 int gfs2_glock_nq(struct gfs2_holder *gh);
193 int gfs2_glock_poll(struct gfs2_holder *gh);
194 int gfs2_glock_wait(struct gfs2_holder *gh);
195 void gfs2_glock_dq(struct gfs2_holder *gh);
196 void gfs2_glock_dq_wait(struct gfs2_holder *gh);
[all …]
Dincore.h30 struct gfs2_holder;
197 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh);
200 int (*go_lock) (struct gfs2_holder *gh);
201 void (*go_unlock) (struct gfs2_holder *gh);
232 struct gfs2_holder { struct
305 struct gfs2_holder qa_qd_ghs[2*MAXQUOTAS];
311 struct gfs2_holder rs_rgd_gh; /* Filled in by gfs2_inplace_reserve() */
330 struct gfs2_holder i_iopen_gh;
331 struct gfs2_holder i_gh; /* for prepare/commit_write only */
361 struct gfs2_holder f_fl_gh;
[all …]
Dglock.c59 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
274 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant()
276 …const struct gfs2_holder *gh_head = list_entry(gl->gl_holders.next, const struct gfs2_holder, gh_l… in may_grant()
295 static void gfs2_holder_wake(struct gfs2_holder *gh) in gfs2_holder_wake()
309 struct gfs2_holder *gh, *tmp; in do_error()
339 struct gfs2_holder *gh, *tmp; in do_promote()
385 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
387 struct gfs2_holder *gh; in find_first_waiter()
445 struct gfs2_holder *gh; in finish_xmote()
528 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
[all …]
Drgrp.h18 struct gfs2_holder;
29 extern int gfs2_rgrp_go_lock(struct gfs2_holder *gh);
30 extern void gfs2_rgrp_go_unlock(struct gfs2_holder *gh);
57 struct gfs2_holder *rl_ghs;
Dfile.c58 struct gfs2_holder i_gh; in gfs2_llseek()
96 struct gfs2_holder d_gh; in gfs2_readdir()
160 struct gfs2_holder gh; in gfs2_get_flags()
221 struct gfs2_holder gh; in do_gfs2_set_flags()
368 struct gfs2_holder gh; in gfs2_page_mkwrite()
492 struct gfs2_holder i_gh; in gfs2_mmap()
522 struct gfs2_holder i_gh; in gfs2_open()
660 struct gfs2_holder gh; in gfs2_file_aio_write()
918 struct gfs2_holder *fl_gh = &fp->f_fl_gh; in do_flock()
964 struct gfs2_holder *fl_gh = &fp->f_fl_gh; in do_unflock()
Dinode.c209 struct gfs2_holder i_gh; in gfs2_lookup_by_inum()
287 struct gfs2_holder d_gh; in gfs2_lookupi()
658 struct gfs2_holder ghs[2]; in gfs2_create_inode()
783 struct gfs2_holder gh; in gfs2_lookup()
814 struct gfs2_holder ghs[2]; in gfs2_link()
1032 struct gfs2_holder ghs[3]; in gfs2_unlink()
1219 struct gfs2_holder ghs[5], r_gh = { .gh_gl = NULL, }; in gfs2_rename()
1458 struct gfs2_holder i_gh; in gfs2_follow_link()
1520 struct gfs2_holder i_gh; in gfs2_permission()
1644 struct gfs2_holder i_gh; in gfs2_setattr()
[all …]
Dsuper.c373 struct gfs2_holder t_gh; in gfs2_make_fs_rw()
439 struct gfs2_holder gh; in gfs2_statfs_init()
543 struct gfs2_holder gh; in gfs2_statfs_sync()
589 struct gfs2_holder gh;
603 struct gfs2_holder *t_gh) in gfs2_lock_fs_check_clean()
788 struct gfs2_holder gh; in gfs2_dirty_inode()
837 struct gfs2_holder t_gh; in gfs2_make_fs_ro()
1041 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow()
1048 gha = kcalloc(slots, sizeof(struct gfs2_holder), GFP_KERNEL); in gfs2_statfs_slow()
1404 struct gfs2_holder gh; in gfs2_dinode_dealloc()
[all …]
Dglops.c266 struct gfs2_holder *gh; in inode_go_demote_ok()
272 gh = list_entry(gl->gl_holders.next, struct gfs2_holder, gh_list); in inode_go_demote_ok()
402 static int inode_go_lock(struct gfs2_holder *gh) in inode_go_lock()
479 static int trans_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) in trans_go_xmote_bh()
Dquota.c760 struct gfs2_holder *ghs, i_gh; in do_sync()
770 ghs = kcalloc(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync()
871 struct gfs2_holder *q_gh) in do_glock()
875 struct gfs2_holder i_gh; in do_glock()
1163 struct gfs2_holder q_gh; in gfs2_quota_refresh()
1473 struct gfs2_holder q_gh; in gfs2_get_dqblk()
1518 struct gfs2_holder q_gh, i_gh; in gfs2_set_dqblk()
Ddentry.c42 struct gfs2_holder d_gh; in gfs2_drevalidate()
Drgrp.c695 struct gfs2_holder ri_gh; in gfs2_rindex_update()
752 int gfs2_rgrp_go_lock(struct gfs2_holder *gh) in gfs2_rgrp_go_lock()
808 void gfs2_rgrp_go_unlock(struct gfs2_holder *gh) in gfs2_rgrp_go_unlock()
908 struct gfs2_holder gh; in gfs2_fitrim()
1674 struct gfs2_holder rgd_gh; in gfs2_check_blk_type()
1765 rlist->rl_ghs = kcalloc(rlist->rl_rgrps, sizeof(struct gfs2_holder), in gfs2_rlist_alloc()
Daops.c495 struct gfs2_holder gh; in gfs2_readpage()
578 struct gfs2_holder gh; in gfs2_readpages()
921 struct gfs2_holder i_gh; in gfs2_bmap()
1016 struct gfs2_holder gh; in gfs2_direct_IO()
Dops_fstype.c372 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
451 struct gfs2_holder sb_gh; in init_sb()
586 static int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) in gfs2_jindex_hold()
648 struct gfs2_holder ji_gh; in init_journal()
1078 struct gfs2_holder mount_gh; in fill_super()
Dtrace_gfs2.h184 TP_PROTO(const struct gfs2_holder *gh, int first),
214 TP_PROTO(const struct gfs2_holder *gh, int queue),
Dexport.c99 struct gfs2_holder gh; in gfs2_get_name()
Dxattr.c231 struct gfs2_holder rg_gh; in ea_dealloc_unstuffed()
426 struct gfs2_holder i_gh; in gfs2_listxattr()
1447 struct gfs2_holder gh; in ea_dealloc_block()
Drecovery.c457 struct gfs2_holder j_gh, ji_gh, t_gh; in gfs2_recover_func()