Home
last modified time | relevance | path

Searched refs:gfs2_glock (Results 1 – 24 of 24) sorted by relevance

/fs/gfs2/
Dglock.h128 void (*lm_put_lock) (struct gfs2_glock *gl);
129 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state,
131 void (*lm_cancel) (struct gfs2_glock *gl);
136 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
157 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl()
162 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd()
167 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd()
172 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace()
181 int create, struct gfs2_glock **glp);
182 extern void gfs2_glock_hold(struct gfs2_glock *gl);
[all …]
Dglock.c54 struct gfs2_glock *gl; /* current glock struct */
58 typedef void (*glock_examiner) (struct gfs2_glock * gl);
60 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
75 .key_offset = offsetof(struct gfs2_glock, gl_name),
76 .head_offset = offsetof(struct gfs2_glock, gl_node),
116 static void wake_up_glock(struct gfs2_glock *gl) in wake_up_glock()
126 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc()
136 void gfs2_glock_free(struct gfs2_glock *gl) in gfs2_glock_free()
155 void gfs2_glock_hold(struct gfs2_glock *gl) in gfs2_glock_hold()
168 static int demote_ok(const struct gfs2_glock *gl) in demote_ok()
[all …]
Dincore.h30 struct gfs2_glock;
37 typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret);
98 struct gfs2_glock *rd_gl; /* Glock for this rgrp */
161 struct gfs2_glock *bd_gl;
237 void (*go_sync) (struct gfs2_glock *gl);
238 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh);
239 void (*go_inval) (struct gfs2_glock *gl, int flags);
240 int (*go_demote_ok) (const struct gfs2_glock *gl);
243 void (*go_dump)(struct seq_file *seq, struct gfs2_glock *gl,
245 void (*go_callback)(struct gfs2_glock *gl, bool remote);
[all …]
Dglops.c32 static void gfs2_ail_error(struct gfs2_glock *gl, const struct buffer_head *bh) in gfs2_ail_error()
53 static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync, in __gfs2_ail_flush()
82 static void gfs2_ail_empty_gl(struct gfs2_glock *gl) in gfs2_ail_empty_gl()
139 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush()
170 static void rgrp_go_sync(struct gfs2_glock *gl) in rgrp_go_sync()
211 static void rgrp_go_inval(struct gfs2_glock *gl, int flags) in rgrp_go_inval()
228 static struct gfs2_inode *gfs2_glock2inode(struct gfs2_glock *gl) in gfs2_glock2inode()
240 struct gfs2_rgrpd *gfs2_glock2rgrp(struct gfs2_glock *gl) in gfs2_glock2rgrp()
266 static void inode_go_sync(struct gfs2_glock *gl) in inode_go_sync()
317 static void inode_go_inval(struct gfs2_glock *gl, int flags) in inode_go_inval()
[all …]
Dmeta_io.h44 return (((struct gfs2_glock *)mapping) - 1)->gl_name.ln_sbd; in gfs2_mapping2sbd()
51 extern struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno);
52 extern int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,
55 extern struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
73 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
Dtrans.h13 struct gfs2_glock;
41 extern void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh);
42 extern void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh);
Dmain.c52 struct gfs2_glock *gl = foo; in gfs2_init_glock_once()
64 struct gfs2_glock *gl = foo; in gfs2_init_gl_aspace_once()
99 sizeof(struct gfs2_glock), in init_gfs2_fs()
106 sizeof(struct gfs2_glock) + in init_gfs2_fs()
Dmeta_io.c110 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf()
178 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new()
247 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read()
406 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_indirect_buffer()
434 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra()
Dlog.h72 extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl,
81 extern void gfs2_glock_remove_revoke(struct gfs2_glock *gl);
Dlock_dlm.c70 static inline void gfs2_update_reply_times(struct gfs2_glock *gl) in gfs2_update_reply_times()
97 static inline void gfs2_update_request_times(struct gfs2_glock *gl) in gfs2_update_request_times()
116 struct gfs2_glock *gl = arg; in gdlm_ast()
165 struct gfs2_glock *gl = arg; in gdlm_bast()
202 static u32 make_flags(struct gfs2_glock *gl, const unsigned int gfs_flags, in make_flags()
250 static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, in gdlm_lock()
279 static void gdlm_put_lock(struct gfs2_glock *gl) in gdlm_put_lock()
318 static void gdlm_cancel(struct gfs2_glock *gl) in gdlm_cancel()
Dtrans.c125 static struct gfs2_bufdata *gfs2_alloc_bufdata(struct gfs2_glock *gl, in gfs2_alloc_bufdata()
152 void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh) in gfs2_trans_add_data()
189 void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh) in gfs2_trans_add_meta()
Dlops.c72 struct gfs2_glock *gl = bd->bd_gl; in maybe_release_space()
118 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin()
754 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements()
821 static void gfs2_meta_sync(struct gfs2_glock *gl) in gfs2_meta_sync()
899 struct gfs2_glock *gl; in revoke_lo_after_commit()
1007 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements()
Dglops.h25 extern void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
Dsuper.c159 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw()
1003 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode()
1016 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode()
1151 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages()
1219 static void gfs2_glock_put_eventually(struct gfs2_glock *gl) in gfs2_glock_put_eventually()
1396 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_evict_inode()
Dtrace_gfs2.h93 TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state),
132 TP_PROTO(const struct gfs2_glock *gl),
164 TP_PROTO(const struct gfs2_glock *gl, bool remote),
261 TP_PROTO(const struct gfs2_glock *gl, s64 tdiff),
Dlog.c97 struct gfs2_glock *gl = NULL; in gfs2_ail1_start_one()
599 struct gfs2_glock *gl = bd->bd_gl; in gfs2_add_revoke()
612 void gfs2_glock_remove_revoke(struct gfs2_glock *gl) in gfs2_glock_remove_revoke()
792 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush()
Drgrp.h72 extern void gfs2_rgrp_dump(struct seq_file *seq, struct gfs2_glock *gl,
Drgrp.c724 struct gfs2_glock *gl; in gfs2_clear_rgrpd()
1042 struct gfs2_glock *gl = ip->i_gl; in gfs2_rindex_update()
1190 struct gfs2_glock *gl = rgd->rd_gl; in gfs2_rgrp_bh_get()
1847 struct gfs2_glock *gl; in try_rgrp_unlink()
1928 const struct gfs2_glock *gl = rgd->rd_gl; in gfs2_rgrp_congested()
2021 struct gfs2_glock *gl = rgd->rd_gl; in fast_to_acquire()
2264 void gfs2_rgrp_dump(struct seq_file *seq, struct gfs2_glock *gl, in gfs2_rgrp_dump()
Drecovery.c36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
Dinode.c126 struct gfs2_glock *io_gl = NULL; in gfs2_inode_lookup()
588 struct gfs2_glock *io_gl = NULL; in gfs2_create_inode()
842 struct gfs2_glock *gl; in __gfs2_lookup()
Dsys.c228 struct gfs2_glock *gl; in demote_rq_store()
Dbmap.c296 static void gfs2_metapath_ra(struct gfs2_glock *gl, __be64 *start, __be64 *end) in gfs2_metapath_ra()
607 struct gfs2_glock *gl, unsigned int i, in gfs2_indirect_init()
Dfile.c1221 struct gfs2_glock *gl; in do_flock()
Ddir.c1484 struct gfs2_glock *gl = ip->i_gl; in gfs2_dir_readahead()