Home
last modified time | relevance | path

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

/fs/gfs2/
Dglock.h31 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
33 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me()
81 struct gfs2_holder *gh);
83 struct gfs2_holder *gh);
84 void gfs2_holder_uninit(struct gfs2_holder *gh);
85 int gfs2_glock_nq(struct gfs2_holder *gh);
86 int gfs2_glock_poll(struct gfs2_holder *gh);
87 int gfs2_glock_wait(struct gfs2_holder *gh);
88 void gfs2_glock_dq(struct gfs2_holder *gh);
89 void gfs2_glock_dq_wait(struct gfs2_holder *gh);
[all …]
Dincore.h22 struct gfs2_holder;
126 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh);
129 int (*go_lock) (struct gfs2_holder *gh);
130 void (*go_unlock) (struct gfs2_holder *gh);
143 struct gfs2_holder { struct
208 struct gfs2_holder al_qd_ghs[2*MAXQUOTAS];
218 struct gfs2_holder al_ri_gh;
219 struct gfs2_holder al_rgd_gh;
241 struct gfs2_holder i_iopen_gh;
242 struct gfs2_holder i_gh; /* for prepare/commit_write only */
[all …]
Dglock.c61 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
287 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant()
289 …const struct gfs2_holder *gh_head = list_entry(gl->gl_holders.next, const struct gfs2_holder, gh_l… in may_grant()
308 static void gfs2_holder_wake(struct gfs2_holder *gh) in gfs2_holder_wake()
328 struct gfs2_holder *gh, *tmp; in do_promote()
372 struct gfs2_holder *gh, *tmp; in do_error()
393 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
395 struct gfs2_holder *gh; in find_first_waiter()
447 struct gfs2_holder *gh; in finish_xmote()
548 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
[all …]
Drgrp.h15 struct gfs2_holder;
24 int gfs2_rindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ri_gh);
61 struct gfs2_holder *rl_ghs;
Dops_inode.c55 struct gfs2_holder ghs[2]; in gfs2_create()
118 struct gfs2_holder gh; in gfs2_lookup()
152 struct gfs2_holder ghs[2]; in gfs2_link()
281 struct gfs2_holder ghs[3]; in gfs2_unlink()
283 struct gfs2_holder ri_gh; in gfs2_unlink()
353 struct gfs2_holder ghs[2]; in gfs2_symlink()
412 struct gfs2_holder ghs[2]; in gfs2_mkdir()
490 struct gfs2_holder ghs[3]; in gfs2_rmdir()
492 struct gfs2_holder ri_gh; in gfs2_rmdir()
567 struct gfs2_holder ghs[2]; in gfs2_mknod()
[all …]
Dsuper.c133 struct gfs2_holder t_gh; in gfs2_make_fs_rw()
199 struct gfs2_holder gh; in gfs2_statfs_init()
268 struct gfs2_holder gh; in gfs2_statfs_sync()
325 struct gfs2_holder gh;
339 struct gfs2_holder *t_gh) in gfs2_lock_fs_check_clean()
342 struct gfs2_holder ji_gh; in gfs2_lock_fs_check_clean()
Dops_file.c58 struct gfs2_holder i_gh; in gfs2_llseek()
87 struct gfs2_holder d_gh; in gfs2_readdir()
151 struct gfs2_holder gh; in gfs2_get_flags()
210 struct gfs2_holder gh; in do_gfs2_set_flags()
348 struct gfs2_holder gh; in gfs2_page_mkwrite()
432 struct gfs2_holder i_gh; in gfs2_mmap()
460 struct gfs2_holder i_gh; in gfs2_open()
654 struct gfs2_holder *fl_gh = &fp->f_fl_gh; in do_flock()
700 struct gfs2_holder *fl_gh = &fp->f_fl_gh; in do_unflock()
Dops_super.c55 struct gfs2_holder gh; in gfs2_write_inode()
100 struct gfs2_holder t_gh; in gfs2_make_fs_ro()
293 struct gfs2_holder ri_gh; in gfs2_statfs_slow()
295 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow()
302 gha = kcalloc(slots, sizeof(struct gfs2_holder), GFP_KERNEL); in gfs2_statfs_slow()
607 struct gfs2_holder gh; in gfs2_delete_inode()
Dglops.c220 static int inode_go_lock(struct gfs2_holder *gh) in inode_go_lock()
294 static int rgrp_go_lock(struct gfs2_holder *gh) in rgrp_go_lock()
307 static void rgrp_go_unlock(struct gfs2_holder *gh) in rgrp_go_unlock()
355 static int trans_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) in trans_go_xmote_bh()
Dops_export.c97 struct gfs2_holder gh; in gfs2_get_name()
150 struct gfs2_holder i_gh, ri_gh, rgd_gh; in gfs2_get_dentry()
Dops_dentry.c43 struct gfs2_holder d_gh; in gfs2_drevalidate()
Dops_fstype.c438 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
519 struct gfs2_holder sb_gh; in init_sb()
650 static int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) in gfs2_jindex_hold()
711 struct gfs2_holder ji_gh; in init_journal()
1110 struct gfs2_holder mount_gh; in fill_super()
Dinode.c223 struct gfs2_holder gh; in gfs2_inode_lookup()
485 struct gfs2_holder d_gh; in gfs2_lookupi()
585 struct gfs2_holder gh; in pick_formal_ino_2()
972 struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name, in gfs2_createi()
1156 struct gfs2_holder i_gh; in gfs2_readlinki()
Dinode.h88 struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name,
Dops_address.c509 struct gfs2_holder gh; in gfs2_readpage()
592 struct gfs2_holder gh; in gfs2_readpages()
898 struct gfs2_holder i_gh; in gfs2_bmap()
993 struct gfs2_holder gh; in gfs2_direct_IO()
Deattr.c224 struct gfs2_holder rg_gh; in ea_dealloc_unstuffed()
405 struct gfs2_holder i_gh; in gfs2_ea_list()
550 struct gfs2_holder i_gh; in gfs2_ea_get()
1079 struct gfs2_holder i_gh; in gfs2_ea_set()
1178 struct gfs2_holder i_gh; in gfs2_ea_remove()
Dquota.c684 struct gfs2_holder *ghs, i_gh; in do_sync()
695 ghs = kcalloc(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync()
784 struct gfs2_holder *q_gh) in do_glock()
788 struct gfs2_holder i_gh; in do_glock()
1077 struct gfs2_holder q_gh; in gfs2_quota_refresh()
Drecovery.c457 struct gfs2_holder j_gh, ji_gh, t_gh; in gfs2_recover_journal()
Drgrp.c666 int gfs2_rindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ri_gh) in gfs2_rindex_hold()
1633 rlist->rl_ghs = kcalloc(rlist->rl_rgrps, sizeof(struct gfs2_holder), in gfs2_rlist_alloc()