/openbmc/linux/fs/gfs2/ |
H A D | glock.h | 126 void (*lm_put_lock) (struct gfs2_glock *gl); 129 void (*lm_cancel) (struct gfs2_glock *gl); 134 struct gfs2_glock glock; 186 int create, struct gfs2_glock **glp); 187 struct gfs2_glock *gfs2_glock_hold(struct gfs2_glock *gl); 188 void gfs2_glock_put(struct gfs2_glock *gl); 189 void gfs2_glock_queue_put(struct gfs2_glock *gl); 261 bool gfs2_queue_try_to_evict(struct gfs2_glock *gl); 267 void gfs2_glock_add_to_lru(struct gfs2_glock *gl); 268 void gfs2_glock_free(struct gfs2_glock *gl); [all …]
|
H A D | glock.c | 131 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() 200 struct gfs2_glock *gl; in gfs2_free_dead_glocks() 214 struct gfs2_glock *gfs2_glock_hold(struct gfs2_glock *gl) in gfs2_glock_hold() 1036 struct gfs2_glock *gl = container_of(dwork, struct gfs2_glock, gl_delete); in delete_work_func() 1089 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work); in glock_work_func() 1139 struct gfs2_glock *gl; in find_insert_glock() 1183 struct gfs2_glock **glp) in gfs2_glock_get() 1765 struct gfs2_glock *gl; in gfs2_glock_nq_num() 1997 struct gfs2_glock *gl; in gfs2_dispose_glock_lru() 2098 struct gfs2_glock *gl; in glock_hash_walk() [all …]
|
H A D | incore.h | 31 struct gfs2_glock; 142 struct gfs2_glock *bd_gl; 218 int (*go_sync) (struct gfs2_glock *gl); 227 void (*go_free)(struct gfs2_glock *gl); 262 struct gfs2_glock *gh_gl; 337 struct gfs2_glock { struct 391 struct gfs2_glock *i_gl; argument 461 struct gfs2_glock *qd_gl; 717 struct gfs2_glock *sd_rename_gl; 718 struct gfs2_glock *sd_freeze_gl; [all …]
|
H A D | glops.c | 91 static int gfs2_ail_empty_gl(struct gfs2_glock *gl) in gfs2_ail_empty_gl() 144 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush() 168 static int gfs2_rgrp_metasync(struct gfs2_glock *gl) in gfs2_rgrp_metasync() 196 static int rgrp_go_sync(struct gfs2_glock *gl) in rgrp_go_sync() 288 int gfs2_inode_metasync(struct gfs2_glock *gl) in gfs2_inode_metasync() 306 static int inode_go_sync(struct gfs2_glock *gl) in inode_go_sync() 504 static int inode_go_instantiate(struct gfs2_glock *gl) in inode_go_instantiate() 516 struct gfs2_glock *gl = gh->gh_gl; in inode_go_held() 596 static int freeze_go_xmote_bh(struct gfs2_glock *gl) in freeze_go_xmote_bh() 600 struct gfs2_glock *j_gl = ip->i_gl; in freeze_go_xmote_bh() [all …]
|
H A D | meta_io.h | 53 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno); 54 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, 57 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);
|
H A D | trans.h | 13 struct gfs2_glock; 44 void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh); 45 void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh);
|
H A D | glops.h | 25 int gfs2_inode_metasync(struct gfs2_glock *gl); 26 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
|
H A D | log.h | 86 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, 94 void gfs2_glock_remove_revoke(struct gfs2_glock *gl);
|
H A 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() 492 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_buffer() 519 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra()
|
H A D | main.c | 52 struct gfs2_glock *gl = foo; in gfs2_init_glock_once() 98 sizeof(struct gfs2_glock), in init_gfs2_fs()
|
H A 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() 177 struct gfs2_glock *gl = arg; in gdlm_bast() 217 static u32 make_flags(struct gfs2_glock *gl, const unsigned int gfs_flags, in make_flags() 260 static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, in gdlm_lock() 296 static void gdlm_put_lock(struct gfs2_glock *gl) in gdlm_put_lock() 342 static void gdlm_cancel(struct gfs2_glock *gl) in gdlm_cancel()
|
H A 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()
|
H A D | rgrp.h | 34 int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl);
|
H A 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),
|
H A 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()
|
H A D | super.c | 136 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw() 1040 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() 1053 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() 1197 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages() 1270 static void gfs2_glock_put_eventually(struct gfs2_glock *gl) in gfs2_glock_put_eventually() 1545 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_evict_inode()
|
H A 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()
|
H A 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()
|
H A D | inode.c | 132 struct gfs2_glock *io_gl; in gfs2_inode_lookup() 630 struct gfs2_glock *io_gl; in gfs2_create_inode() 892 struct gfs2_glock *gl; in __gfs2_lookup() 1873 struct gfs2_glock *gl; in gfs2_permission() 2160 struct gfs2_glock *gl = ip->i_gl; in gfs2_update_time()
|
H A 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()
|
H A D | recovery.c | 36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
|
H A 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()
|
H A D | sys.c | 304 struct gfs2_glock *gl; in demote_rq_store()
|
H A 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()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | gfs2-glocks.rst | 8 internals. Each glock (struct gfs2_glock in fs/gfs2/incore.h)
|