Home
last modified time | relevance | path

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

/linux/fs/gfs2/
A Dglock.h134 void (*lm_put_lock) (struct gfs2_glock *gl);
137 void (*lm_cancel) (struct gfs2_glock *gl);
189 int create, struct gfs2_glock **glp);
190 extern void gfs2_glock_hold(struct gfs2_glock *gl);
191 extern void gfs2_glock_put(struct gfs2_glock *gl);
192 extern void gfs2_glock_queue_put(struct gfs2_glock *gl);
246 static inline int gfs2_glock_nq_init(struct gfs2_glock *gl, in gfs2_glock_nq_init()
270 extern void gfs2_glock_add_to_lru(struct gfs2_glock *gl);
271 extern void gfs2_glock_free(struct gfs2_glock *gl);
340 struct gfs2_glock *gl = gh->gh_gl; in gfs2_holder_allow_demote()
[all …]
A Dglock.c127 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc()
1015 struct gfs2_glock *gl = container_of(dwork, struct gfs2_glock, gl_delete); in delete_work_func()
1062 struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work); in glock_work_func()
1111 struct gfs2_glock *gl; in find_insert_glock()
1155 struct gfs2_glock **glp) in gfs2_glock_get()
1161 struct gfs2_glock *gl, *tmp; in gfs2_glock_get()
1737 struct gfs2_glock *gl; in gfs2_glock_nq_num()
1969 struct gfs2_glock *gla, *glb; in glock_cmp()
2000 struct gfs2_glock *gl; in gfs2_dispose_glock_lru()
2040 struct gfs2_glock *gl; in gfs2_scan_glock_lru()
[all …]
A Dincore.h31 struct gfs2_glock;
142 struct gfs2_glock *bd_gl;
218 int (*go_sync) (struct gfs2_glock *gl);
226 void (*go_free)(struct gfs2_glock *gl);
262 struct gfs2_glock *gh_gl;
336 struct gfs2_glock { struct
390 struct gfs2_glock *i_gl; argument
461 struct gfs2_glock *qd_gl;
719 struct gfs2_glock *sd_rename_gl;
720 struct gfs2_glock *sd_freeze_gl;
[all …]
A Dglops.c88 static int gfs2_ail_empty_gl(struct gfs2_glock *gl) in gfs2_ail_empty_gl()
138 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync) in gfs2_ail_flush()
162 static int gfs2_rgrp_metasync(struct gfs2_glock *gl) in gfs2_rgrp_metasync()
190 static int rgrp_go_sync(struct gfs2_glock *gl) in rgrp_go_sync()
280 int gfs2_inode_metasync(struct gfs2_glock *gl) in gfs2_inode_metasync()
298 static int inode_go_sync(struct gfs2_glock *gl) in inode_go_sync()
491 struct gfs2_glock *gl = gh->gh_gl; in inode_go_instantiate()
557 static int freeze_go_sync(struct gfs2_glock *gl) in freeze_go_sync()
600 static int freeze_go_xmote_bh(struct gfs2_glock *gl) in freeze_go_xmote_bh()
604 struct gfs2_glock *j_gl = ip->i_gl; in freeze_go_xmote_bh()
[all …]
A 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);
A Dtrans.h13 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);
A Dmain.c53 struct gfs2_glock *gl = foo; in gfs2_init_glock_once()
65 struct gfs2_glock *gl = foo; in gfs2_init_gl_aspace_once()
100 sizeof(struct gfs2_glock), in init_gfs2_fs()
107 sizeof(struct gfs2_glock) + in init_gfs2_fs()
A Dglops.h25 extern int gfs2_inode_metasync(struct gfs2_glock *gl);
26 extern void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
A Dmeta_io.c112 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf()
184 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new()
254 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read()
484 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_buffer()
511 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra()
A Dlog.h86 extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl,
94 extern void gfs2_glock_remove_revoke(struct gfs2_glock *gl);
A Dlock_dlm.c75 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()
257 static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, in gdlm_lock()
286 static void gdlm_put_lock(struct gfs2_glock *gl) in gdlm_put_lock()
325 static void gdlm_cancel(struct gfs2_glock *gl) in gdlm_cancel()
A Dtrans.c163 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()
A Dtrace_gfs2.h92 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),
A Dlops.c73 struct gfs2_glock *gl = bd->bd_gl; in maybe_release_space()
122 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin()
796 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements()
906 struct gfs2_glock *gl; in gfs2_drain_revokes()
1020 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements()
A Dsuper.c132 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw()
932 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode()
945 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode()
1076 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages()
1145 static void gfs2_glock_put_eventually(struct gfs2_glock *gl) in gfs2_glock_put_eventually()
1406 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_evict_inode()
A Dutil.c122 struct gfs2_glock *live_gl = sdp->sd_live_gh.gh_gl; in signal_our_withdraw()
125 struct gfs2_glock *i_gl; in signal_our_withdraw()
A Dlog.c97 struct gfs2_glock *gl = NULL; in gfs2_ail1_start_one()
768 struct gfs2_glock *gl = bd->bd_gl; in gfs2_add_revoke()
781 void gfs2_glock_remove_revoke(struct gfs2_glock *gl) in gfs2_glock_remove_revoke()
1027 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush()
A Drgrp.c719 struct gfs2_glock *gl; in gfs2_clear_rgrpd()
1035 struct gfs2_glock *gl = ip->i_gl; in gfs2_rindex_update()
1199 struct gfs2_glock *gl = gh->gh_gl; in gfs2_rgrp_go_instantiate()
1845 struct gfs2_glock *gl; in try_rgrp_unlink()
1924 const struct gfs2_glock *gl = rgd->rd_gl; in gfs2_rgrp_congested()
2018 struct gfs2_glock *gl = rgd->rd_gl; in fast_to_acquire()
A Dinode.c132 struct gfs2_glock *io_gl; in gfs2_inode_lookup()
593 struct gfs2_glock *io_gl; in gfs2_create_inode()
855 struct gfs2_glock *gl; in __gfs2_lookup()
2119 struct gfs2_glock *gl = ip->i_gl; in gfs2_update_time()
A Drecovery.c36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
A Dsys.c294 struct gfs2_glock *gl; in demote_rq_store()
A Dbmap.c299 static void gfs2_metapath_ra(struct gfs2_glock *gl, __be64 *start, __be64 *end) in gfs2_metapath_ra()
610 struct gfs2_glock *gl, unsigned int i, in gfs2_indirect_init()
A Dfile.c1465 struct gfs2_glock *gl; in do_flock()
A Ddir.c1483 struct gfs2_glock *gl = ip->i_gl; in gfs2_dir_readahead()
/linux/Documentation/filesystems/
A Dgfs2-glocks.rst8 internals. Each glock (struct gfs2_glock in fs/gfs2/incore.h)

Completed in 53 milliseconds