| /Linux-v5.4/fs/gfs2/ |
| D | glock.h | 128 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 …]
|
| D | glock.c | 54 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 …]
|
| D | incore.h | 30 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 …]
|
| D | glops.c | 32 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() 112 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush() 143 static void rgrp_go_sync(struct gfs2_glock *gl) in rgrp_go_sync() 184 static void rgrp_go_inval(struct gfs2_glock *gl, int flags) in rgrp_go_inval() 201 static struct gfs2_inode *gfs2_glock2inode(struct gfs2_glock *gl) in gfs2_glock2inode() 213 struct gfs2_rgrpd *gfs2_glock2rgrp(struct gfs2_glock *gl) in gfs2_glock2rgrp() 239 static void inode_go_sync(struct gfs2_glock *gl) in inode_go_sync() 290 static void inode_go_inval(struct gfs2_glock *gl, int flags) in inode_go_inval() [all …]
|
| D | meta_io.h | 44 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);
|
| D | trans.h | 13 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);
|
| D | main.c | 52 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()
|
| D | meta_io.c | 110 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()
|
| D | trans.c | 123 static struct gfs2_bufdata *gfs2_alloc_bufdata(struct gfs2_glock *gl, in gfs2_alloc_bufdata() 150 void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh) in gfs2_trans_add_data() 187 void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh) in gfs2_trans_add_meta()
|
| D | glops.h | 25 extern void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
|
| D | lock_dlm.c | 70 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() 317 static void gdlm_cancel(struct gfs2_glock *gl) in gdlm_cancel()
|
| D | lops.c | 72 struct gfs2_glock *gl = bd->bd_gl; in maybe_release_space() 118 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin() 734 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements() 801 static void gfs2_meta_sync(struct gfs2_glock *gl) in gfs2_meta_sync() 879 struct gfs2_glock *gl; in revoke_lo_after_commit() 990 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements()
|
| D | log.h | 72 extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl,
|
| D | trace_gfs2.h | 93 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),
|
| D | super.c | 159 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw() 999 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() 1012 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() 1143 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages() 1211 static void gfs2_glock_put_eventually(struct gfs2_glock *gl) in gfs2_glock_put_eventually() 1380 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_evict_inode()
|
| D | rgrp.h | 72 extern void gfs2_rgrp_dump(struct seq_file *seq, struct gfs2_glock *gl,
|
| D | rgrp.c | 724 struct gfs2_glock *gl; in gfs2_clear_rgrpd() 1037 struct gfs2_glock *gl = ip->i_gl; in gfs2_rindex_update() 1185 struct gfs2_glock *gl = rgd->rd_gl; in gfs2_rgrp_bh_get() 1838 struct gfs2_glock *gl; in try_rgrp_unlink() 1919 const struct gfs2_glock *gl = rgd->rd_gl; in gfs2_rgrp_congested() 2012 struct gfs2_glock *gl = rgd->rd_gl; in fast_to_acquire() 2255 void gfs2_rgrp_dump(struct seq_file *seq, struct gfs2_glock *gl, in gfs2_rgrp_dump()
|
| D | log.c | 97 struct gfs2_glock *gl = NULL; in gfs2_ail1_start_one() 599 struct gfs2_glock *gl = bd->bd_gl; in gfs2_add_revoke() 784 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush()
|
| D | recovery.c | 36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
|
| D | inode.c | 126 struct gfs2_glock *io_gl = NULL; in gfs2_inode_lookup() 588 struct gfs2_glock *io_gl = NULL; in gfs2_create_inode() 841 struct gfs2_glock *gl; in __gfs2_lookup()
|
| D | sys.c | 228 struct gfs2_glock *gl; in demote_rq_store()
|
| D | bmap.c | 299 static void gfs2_metapath_ra(struct gfs2_glock *gl, __be64 *start, __be64 *end) in gfs2_metapath_ra() 608 struct gfs2_glock *gl, unsigned int i, in gfs2_indirect_init()
|
| D | file.c | 1201 struct gfs2_glock *gl; in do_flock()
|
| D | dir.c | 1484 struct gfs2_glock *gl = ip->i_gl; in gfs2_dir_readahead()
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | gfs2-glocks.txt | 5 internals. Each glock (struct gfs2_glock in fs/gfs2/incore.h)
|