/linux-6.6.21/fs/gfs2/ |
D | glock.h | 126 void (*lm_put_lock) (struct gfs2_glock *gl); 127 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state, 129 void (*lm_cancel) (struct gfs2_glock *gl); 134 struct gfs2_glock glock; 138 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me() 159 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl() 164 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd() 169 static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) in gfs2_glock_is_held_shrd() 174 static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl) in gfs2_glock2aspace() 186 int create, struct gfs2_glock **glp); [all …]
|
D | incore.h | 31 struct gfs2_glock; 38 typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret); 103 struct gfs2_glock *rd_gl; /* Glock for this rgrp */ 142 struct gfs2_glock *bd_gl; 218 int (*go_sync) (struct gfs2_glock *gl); 219 int (*go_xmote_bh)(struct gfs2_glock *gl); 220 void (*go_inval) (struct gfs2_glock *gl, int flags); 221 int (*go_demote_ok) (const struct gfs2_glock *gl); 222 int (*go_instantiate) (struct gfs2_glock *gl); 224 void (*go_dump)(struct seq_file *seq, const struct gfs2_glock *gl, [all …]
|
D | glock.c | 57 struct gfs2_glock *gl; /* current glock struct */ 61 typedef void (*glock_examiner) (struct gfs2_glock * gl); 63 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 65 static void handle_callback(struct gfs2_glock *gl, unsigned int state, 80 .key_offset = offsetof(struct gfs2_glock, gl_name), 81 .head_offset = offsetof(struct gfs2_glock, gl_node), 121 static void wake_up_glock(struct gfs2_glock *gl) in wake_up_glock() 131 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() 155 static bool glock_blocked_by_withdraw(struct gfs2_glock *gl) in glock_blocked_by_withdraw() 169 void gfs2_glock_free(struct gfs2_glock *gl) in gfs2_glock_free() [all …]
|
D | glops.c | 34 static void gfs2_ail_error(struct gfs2_glock *gl, const struct buffer_head *bh) in gfs2_ail_error() 59 static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync, in __gfs2_ail_flush() 88 static int gfs2_ail_empty_gl(struct gfs2_glock *gl) in gfs2_ail_empty_gl() 141 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush() 165 static int gfs2_rgrp_metasync(struct gfs2_glock *gl) in gfs2_rgrp_metasync() 193 static int rgrp_go_sync(struct gfs2_glock *gl) in rgrp_go_sync() 222 static void rgrp_go_inval(struct gfs2_glock *gl, int flags) in rgrp_go_inval() 239 static void gfs2_rgrp_go_dump(struct seq_file *seq, const struct gfs2_glock *gl, in gfs2_rgrp_go_dump() 248 static struct gfs2_inode *gfs2_glock2inode(struct gfs2_glock *gl) in gfs2_glock2inode() 260 struct gfs2_rgrpd *gfs2_glock2rgrp(struct gfs2_glock *gl) in gfs2_glock2rgrp() [all …]
|
D | meta_io.h | 53 extern struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno); 54 extern int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, 57 extern struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, 75 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
|
D | trans.h | 13 struct gfs2_glock; 44 extern void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh); 45 extern void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh);
|
D | glops.h | 25 extern int gfs2_inode_metasync(struct gfs2_glock *gl); 26 extern void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
|
D | log.h | 86 extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, 94 extern void gfs2_glock_remove_revoke(struct gfs2_glock *gl);
|
D | meta_io.c | 114 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf() 186 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new() 253 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read() 489 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_buffer() 516 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra()
|
D | main.c | 52 struct gfs2_glock *gl = foo; in gfs2_init_glock_once() 98 sizeof(struct gfs2_glock), in init_gfs2_fs()
|
D | lock_dlm.c | 75 static inline void gfs2_update_reply_times(struct gfs2_glock *gl) in gfs2_update_reply_times() 102 static inline void gfs2_update_request_times(struct gfs2_glock *gl) in gfs2_update_request_times() 121 struct gfs2_glock *gl = arg; in gdlm_ast() 172 struct gfs2_glock *gl = arg; in gdlm_bast() 209 static u32 make_flags(struct gfs2_glock *gl, const unsigned int gfs_flags, in make_flags() 252 static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, in gdlm_lock() 288 static void gdlm_put_lock(struct gfs2_glock *gl) in gdlm_put_lock() 330 static void gdlm_cancel(struct gfs2_glock *gl) in gdlm_cancel()
|
D | trans.c | 163 static struct gfs2_bufdata *gfs2_alloc_bufdata(struct gfs2_glock *gl, in gfs2_alloc_bufdata() 192 void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh) in gfs2_trans_add_data() 229 void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh) in gfs2_trans_add_meta()
|
D | trace_gfs2.h | 92 TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state), 131 TP_PROTO(const struct gfs2_glock *gl), 163 TP_PROTO(const struct gfs2_glock *gl, bool remote), 257 TP_PROTO(const struct gfs2_glock *gl, s64 tdiff),
|
D | lops.c | 73 struct gfs2_glock *gl = bd->bd_gl; in maybe_release_space() 122 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin() 791 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements() 901 struct gfs2_glock *gl; in gfs2_drain_revokes() 1015 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements()
|
D | rgrp.h | 34 extern int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl);
|
D | super.c | 132 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw() 1037 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() 1050 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() 1194 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages() 1267 static void gfs2_glock_put_eventually(struct gfs2_glock *gl) in gfs2_glock_put_eventually() 1542 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_evict_inode()
|
D | util.c | 120 struct gfs2_glock *live_gl = sdp->sd_live_gh.gh_gl; in signal_our_withdraw() 123 struct gfs2_glock *i_gl; in signal_our_withdraw()
|
D | log.c | 106 struct gfs2_glock *gl = NULL; in gfs2_ail1_start_one() 776 struct gfs2_glock *gl = bd->bd_gl; in gfs2_add_revoke() 789 void gfs2_glock_remove_revoke(struct gfs2_glock *gl) in gfs2_glock_remove_revoke() 1034 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush()
|
D | inode.c | 132 struct gfs2_glock *io_gl; in gfs2_inode_lookup() 629 struct gfs2_glock *io_gl; in gfs2_create_inode() 891 struct gfs2_glock *gl; in __gfs2_lookup() 1872 struct gfs2_glock *gl; in gfs2_permission() 2159 struct gfs2_glock *gl = ip->i_gl; in gfs2_update_time()
|
D | rgrp.c | 720 struct gfs2_glock *gl; in gfs2_clear_rgrpd() 1037 struct gfs2_glock *gl = ip->i_gl; in gfs2_rindex_update() 1199 int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl) in gfs2_rgrp_go_instantiate() 1846 struct gfs2_glock *gl; in try_rgrp_unlink() 1925 const struct gfs2_glock *gl = rgd->rd_gl; in gfs2_rgrp_congested() 2019 struct gfs2_glock *gl = rgd->rd_gl; in fast_to_acquire()
|
D | recovery.c | 36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
|
D | file.c | 1456 struct gfs2_glock *gl = gfs2_glock_hold(fl_gh->gh_gl); in __flock_holder_uninit() 1474 struct gfs2_glock *gl; in do_flock()
|
D | sys.c | 304 struct gfs2_glock *gl; in demote_rq_store()
|
D | bmap.c | 296 static void gfs2_metapath_ra(struct gfs2_glock *gl, __be64 *start, __be64 *end) in gfs2_metapath_ra() 606 struct gfs2_glock *gl, unsigned int i, in gfs2_indirect_init()
|
/linux-6.6.21/Documentation/filesystems/ |
D | gfs2-glocks.rst | 8 internals. Each glock (struct gfs2_glock in fs/gfs2/incore.h)
|