Symbol: gfs2_glock
fs/gfs2/bmap.c
294
static void gfs2_metapath_ra(struct gfs2_glock *gl, __be64 *start, __be64 *end)
fs/gfs2/bmap.c
609
struct gfs2_glock *gl, unsigned int i,
fs/gfs2/dir.c
1484
struct gfs2_glock *gl = ip->i_gl;
fs/gfs2/file.c
1472
struct gfs2_glock *gl = gfs2_glock_hold(fl_gh->gh_gl);
fs/gfs2/file.c
1490
struct gfs2_glock *gl;
fs/gfs2/glock.c
1031
static struct gfs2_glock *find_insert_glock(struct lm_lockname *name,
fs/gfs2/glock.c
1032
struct gfs2_glock *new)
fs/gfs2/glock.c
1036
struct gfs2_glock *gl;
fs/gfs2/glock.c
1082
struct gfs2_glock **glp)
fs/gfs2/glock.c
1087
struct gfs2_glock *gl, *tmp;
fs/gfs2/glock.c
1181
void __gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, u16 flags,
fs/gfs2/glock.c
120
static void wake_up_glock(struct gfs2_glock *gl)
fs/gfs2/glock.c
1227
static void gfs2_glock_update_hold_time(struct gfs2_glock *gl,
fs/gfs2/glock.c
130
struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu);
fs/gfs2/glock.c
1367
static void request_demote(struct gfs2_glock *gl, unsigned int state,
fs/gfs2/glock.c
1402
static bool gfs2_should_queue_trylock(struct gfs2_glock *gl,
fs/gfs2/glock.c
141
static void __gfs2_glock_free(struct gfs2_glock *gl)
fs/gfs2/glock.c
1439
struct gfs2_glock *gl = gh->gh_gl;
fs/gfs2/glock.c
149
void gfs2_glock_free(struct gfs2_glock *gl) {
fs/gfs2/glock.c
1493
struct gfs2_glock *gl = gh->gh_gl;
fs/gfs2/glock.c
1552
struct gfs2_glock *gl = gh->gh_gl;
fs/gfs2/glock.c
157
void gfs2_glock_free_later(struct gfs2_glock *gl) {
fs/gfs2/glock.c
1596
struct gfs2_glock *gl = gh->gh_gl;
fs/gfs2/glock.c
1643
struct gfs2_glock *gl = gh->gh_gl;
fs/gfs2/glock.c
1677
struct gfs2_glock *gl;
fs/gfs2/glock.c
172
struct gfs2_glock *gl;
fs/gfs2/glock.c
174
gl = list_first_entry(list, struct gfs2_glock, gl_lru);
fs/gfs2/glock.c
1793
void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state)
fs/gfs2/glock.c
1827
static int gfs2_should_freeze(const struct gfs2_glock *gl)
fs/gfs2/glock.c
1855
void gfs2_glock_complete(struct gfs2_glock *gl, int ret)
fs/gfs2/glock.c
186
struct gfs2_glock *gfs2_glock_hold(struct gfs2_glock *gl)
fs/gfs2/glock.c
1880
struct gfs2_glock *gla, *glb;
fs/gfs2/glock.c
1882
gla = list_entry(a, struct gfs2_glock, gl_lru);
fs/gfs2/glock.c
1883
glb = list_entry(b, struct gfs2_glock, gl_lru);
fs/gfs2/glock.c
1893
static bool can_free_glock(struct gfs2_glock *gl)
fs/gfs2/glock.c
1921
struct gfs2_glock *gl;
fs/gfs2/glock.c
1927
gl = list_first_entry(list, struct gfs2_glock, gl_lru);
fs/gfs2/glock.c
193
static void gfs2_glock_add_to_lru(struct gfs2_glock *gl)
fs/gfs2/glock.c
1962
struct gfs2_glock *gl, *next;
fs/gfs2/glock.c
2008
struct gfs2_glock *gl;
fs/gfs2/glock.c
2027
void gfs2_cancel_delete_work(struct gfs2_glock *gl)
fs/gfs2/glock.c
2035
static void flush_delete_work(struct gfs2_glock *gl)
fs/gfs2/glock.c
2059
static void thaw_glock(struct gfs2_glock *gl)
fs/gfs2/glock.c
206
static void gfs2_glock_remove_from_lru(struct gfs2_glock *gl)
fs/gfs2/glock.c
2079
static void clear_glock(struct gfs2_glock *gl)
fs/gfs2/glock.c
2104
static void dump_glock(struct seq_file *seq, struct gfs2_glock *gl, bool fsid)
fs/gfs2/glock.c
2111
static void dump_glock_func(struct gfs2_glock *gl)
fs/gfs2/glock.c
2116
static void withdraw_glock(struct gfs2_glock *gl)
fs/gfs2/glock.c
221
static void gfs2_glock_queue_work(struct gfs2_glock *gl, unsigned long delay) {
fs/gfs2/glock.c
2250
static const char *gflags2str(char *buf, const struct gfs2_glock *gl)
fs/gfs2/glock.c
2317
void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl, bool fsid)
fs/gfs2/glock.c
236
static void __gfs2_glock_put(struct gfs2_glock *gl)
fs/gfs2/glock.c
2360
struct gfs2_glock *gl = iter_ptr;
fs/gfs2/glock.c
2463
struct gfs2_glock *gl = gi->gl;
fs/gfs2/glock.c
254
static bool __gfs2_glock_put_or_lock(struct gfs2_glock *gl)
fs/gfs2/glock.c
274
void gfs2_glock_put(struct gfs2_glock *gl)
fs/gfs2/glock.c
2770
struct gfs2_glock *gl;
fs/gfs2/glock.c
289
void gfs2_glock_put_async(struct gfs2_glock *gl)
fs/gfs2/glock.c
312
static inline bool may_grant(struct gfs2_glock *gl,
fs/gfs2/glock.c
372
static void do_error(struct gfs2_glock *gl, const int ret)
fs/gfs2/glock.c
396
static inline struct gfs2_holder *find_first_holder(const struct gfs2_glock *gl)
fs/gfs2/glock.c
417
struct gfs2_glock *gl = gh->gh_gl;
fs/gfs2/glock.c
460
static void do_promote(struct gfs2_glock *gl)
fs/gfs2/glock.c
496
static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl)
fs/gfs2/glock.c
514
static inline struct gfs2_holder *find_last_waiter(const struct gfs2_glock *gl)
fs/gfs2/glock.c
530
static void state_change(struct gfs2_glock *gl, unsigned int new_state)
fs/gfs2/glock.c
540
static void gfs2_set_demote(int nr, struct gfs2_glock *gl)
fs/gfs2/glock.c
549
static void gfs2_demote_wake(struct gfs2_glock *gl)
fs/gfs2/glock.c
564
static void finish_xmote(struct gfs2_glock *gl, unsigned int ret)
fs/gfs2/glock.c
57
struct gfs2_glock *gl; /* current glock struct */
fs/gfs2/glock.c
61
typedef void (*glock_examiner) (struct gfs2_glock * gl);
fs/gfs2/glock.c
63
static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh,
fs/gfs2/glock.c
65
static void request_demote(struct gfs2_glock *gl, unsigned int state,
fs/gfs2/glock.c
656
static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh,
fs/gfs2/glock.c
755
static void run_queue(struct gfs2_glock *gl, const int nonblock)
fs/gfs2/glock.c
79
.key_offset = offsetof(struct gfs2_glock, gl_name),
fs/gfs2/glock.c
80
.head_offset = offsetof(struct gfs2_glock, gl_node),
fs/gfs2/glock.c
814
void glock_set_object(struct gfs2_glock *gl, void *object)
fs/gfs2/glock.c
831
void glock_clear_object(struct gfs2_glock *gl, void *object)
fs/gfs2/glock.c
843
void gfs2_inode_remember_delete(struct gfs2_glock *gl, u64 generation)
fs/gfs2/glock.c
853
bool gfs2_inode_already_deleted(struct gfs2_glock *gl, u64 generation)
fs/gfs2/glock.c
862
static void gfs2_glock_poke(struct gfs2_glock *gl)
fs/gfs2/glock.c
875
static struct gfs2_inode *gfs2_grab_existing_inode(struct gfs2_glock *gl)
fs/gfs2/glock.c
894
static void gfs2_try_to_evict(struct gfs2_glock *gl)
fs/gfs2/glock.c
927
bool gfs2_queue_try_to_evict(struct gfs2_glock *gl)
fs/gfs2/glock.c
936
bool gfs2_queue_verify_delete(struct gfs2_glock *gl, bool later)
fs/gfs2/glock.c
950
struct gfs2_glock *gl = container_of(dwork, struct gfs2_glock, gl_delete);
fs/gfs2/glock.c
986
struct gfs2_glock *gl = container_of(work, struct gfs2_glock, gl_work.work);
fs/gfs2/glock.h
141
void (*lm_put_lock) (struct gfs2_glock *gl);
fs/gfs2/glock.h
142
int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state,
fs/gfs2/glock.h
144
void (*lm_cancel) (struct gfs2_glock *gl);
fs/gfs2/glock.h
149
struct gfs2_glock glock;
fs/gfs2/glock.h
153
static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl)
fs/gfs2/glock.h
174
static inline struct address_space *gfs2_glock2aspace(struct gfs2_glock *gl)
fs/gfs2/glock.h
186
int create, struct gfs2_glock **glp);
fs/gfs2/glock.h
187
struct gfs2_glock *gfs2_glock_hold(struct gfs2_glock *gl);
fs/gfs2/glock.h
188
void gfs2_glock_put(struct gfs2_glock *gl);
fs/gfs2/glock.h
189
void gfs2_glock_put_async(struct gfs2_glock *gl);
fs/gfs2/glock.h
191
void __gfs2_holder_init(struct gfs2_glock *gl, unsigned int state,
fs/gfs2/glock.h
194
static inline void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state,
fs/gfs2/glock.h
218
void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl,
fs/gfs2/glock.h
245
static inline int gfs2_glock_nq_init(struct gfs2_glock *gl,
fs/gfs2/glock.h
260
void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state);
fs/gfs2/glock.h
261
void gfs2_glock_complete(struct gfs2_glock *gl, int ret);
fs/gfs2/glock.h
262
bool gfs2_queue_try_to_evict(struct gfs2_glock *gl);
fs/gfs2/glock.h
263
bool gfs2_queue_verify_delete(struct gfs2_glock *gl, bool later);
fs/gfs2/glock.h
264
void gfs2_cancel_delete_work(struct gfs2_glock *gl);
fs/gfs2/glock.h
269
void gfs2_glock_free(struct gfs2_glock *gl);
fs/gfs2/glock.h
270
void gfs2_glock_free_later(struct gfs2_glock *gl);
fs/gfs2/glock.h
280
void glock_set_object(struct gfs2_glock *gl, void *object);
fs/gfs2/glock.h
281
void glock_clear_object(struct gfs2_glock *gl, void *object);
fs/gfs2/glock.h
300
void gfs2_inode_remember_delete(struct gfs2_glock *gl, u64 generation);
fs/gfs2/glock.h
301
bool gfs2_inode_already_deleted(struct gfs2_glock *gl, u64 generation);
fs/gfs2/glock.h
303
static inline bool glock_needs_demote(struct gfs2_glock *gl)
fs/gfs2/glops.c
140
void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync)
fs/gfs2/glops.c
164
static int gfs2_rgrp_metasync(struct gfs2_glock *gl)
fs/gfs2/glops.c
192
static int rgrp_go_sync(struct gfs2_glock *gl)
fs/gfs2/glops.c
221
static void rgrp_go_inval(struct gfs2_glock *gl, int flags)
fs/gfs2/glops.c
239
static void gfs2_rgrp_go_dump(struct seq_file *seq, const struct gfs2_glock *gl,
fs/gfs2/glops.c
248
static struct gfs2_inode *gfs2_glock2inode(struct gfs2_glock *gl)
fs/gfs2/glops.c
260
struct gfs2_rgrpd *gfs2_glock2rgrp(struct gfs2_glock *gl)
fs/gfs2/glops.c
285
int gfs2_inode_metasync(struct gfs2_glock *gl)
fs/gfs2/glops.c
303
static int inode_go_sync(struct gfs2_glock *gl)
fs/gfs2/glops.c
33
static void gfs2_ail_error(struct gfs2_glock *gl, const struct buffer_head *bh)
fs/gfs2/glops.c
358
static void inode_go_inval(struct gfs2_glock *gl, int flags)
fs/gfs2/glops.c
498
static int inode_go_instantiate(struct gfs2_glock *gl)
fs/gfs2/glops.c
501
struct gfs2_glock *io_gl;
fs/gfs2/glops.c
517
struct gfs2_glock *gl = gh->gh_gl;
fs/gfs2/glops.c
543
static void inode_go_dump(struct seq_file *seq, const struct gfs2_glock *gl,
fs/gfs2/glops.c
568
static void freeze_go_callback(struct gfs2_glock *gl, bool remote)
fs/gfs2/glops.c
58
static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync,
fs/gfs2/glops.c
597
static int freeze_go_xmote_bh(struct gfs2_glock *gl)
fs/gfs2/glops.c
601
struct gfs2_glock *j_gl = ip->i_gl;
fs/gfs2/glops.c
626
static void iopen_go_callback(struct gfs2_glock *gl, bool remote)
fs/gfs2/glops.c
87
static int gfs2_ail_empty_gl(struct gfs2_glock *gl)
fs/gfs2/glops.h
25
int gfs2_inode_metasync(struct gfs2_glock *gl);
fs/gfs2/glops.h
26
void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
fs/gfs2/incore.h
103
struct gfs2_glock *rd_gl; /* Glock for this rgrp */
fs/gfs2/incore.h
142
struct gfs2_glock *bd_gl;
fs/gfs2/incore.h
218
int (*go_sync) (struct gfs2_glock *gl);
fs/gfs2/incore.h
219
int (*go_xmote_bh)(struct gfs2_glock *gl);
fs/gfs2/incore.h
220
void (*go_inval) (struct gfs2_glock *gl, int flags);
fs/gfs2/incore.h
221
int (*go_instantiate) (struct gfs2_glock *gl);
fs/gfs2/incore.h
223
void (*go_dump)(struct seq_file *seq, const struct gfs2_glock *gl,
fs/gfs2/incore.h
225
void (*go_callback)(struct gfs2_glock *gl, bool remote);
fs/gfs2/incore.h
258
struct gfs2_glock *gh_gl;
fs/gfs2/incore.h
31
struct gfs2_glock;
fs/gfs2/incore.h
372
static inline unsigned int glock_type(const struct gfs2_glock *gl)
fs/gfs2/incore.h
377
static inline u64 glock_number(const struct gfs2_glock *gl)
fs/gfs2/incore.h
38
typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret);
fs/gfs2/incore.h
395
struct gfs2_glock *i_gl;
fs/gfs2/incore.h
465
struct gfs2_glock *qd_gl;
fs/gfs2/incore.h
716
struct gfs2_glock *sd_rename_gl;
fs/gfs2/incore.h
717
struct gfs2_glock *sd_freeze_gl;
fs/gfs2/incore.h
861
static inline void gfs2_glstats_inc(struct gfs2_glock *gl, int which)
fs/gfs2/incore.h
866
static inline void gfs2_sbstats_inc(const struct gfs2_glock *gl, int which)
fs/gfs2/incore.h
874
struct gfs2_rgrpd *gfs2_glock2rgrp(struct gfs2_glock *gl);
fs/gfs2/inode.c
145
struct gfs2_glock *io_gl;
fs/gfs2/inode.c
1971
struct gfs2_glock *gl;
fs/gfs2/inode.c
2275
struct gfs2_glock *gl = ip->i_gl;
fs/gfs2/inode.c
459
struct gfs2_glock *gl = ip->i_gl;
fs/gfs2/inode.c
711
struct gfs2_glock *io_gl;
fs/gfs2/inode.c
987
struct gfs2_glock *gl;
fs/gfs2/lock_dlm.c
101
static inline void gfs2_update_request_times(struct gfs2_glock *gl)
fs/gfs2/lock_dlm.c
120
struct gfs2_glock *gl = arg;
fs/gfs2/lock_dlm.c
183
struct gfs2_glock *gl = arg;
fs/gfs2/lock_dlm.c
236
static u32 make_flags(struct gfs2_glock *gl, const unsigned int gfs_flags,
fs/gfs2/lock_dlm.c
277
static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state,
fs/gfs2/lock_dlm.c
325
static void gdlm_put_lock(struct gfs2_glock *gl)
fs/gfs2/lock_dlm.c
384
static void gdlm_cancel(struct gfs2_glock *gl)
fs/gfs2/lock_dlm.c
74
static inline void gfs2_update_reply_times(struct gfs2_glock *gl,
fs/gfs2/log.c
1028
void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags)
fs/gfs2/log.c
765
struct gfs2_glock *gl = bd->bd_gl;
fs/gfs2/log.c
778
void gfs2_glock_remove_revoke(struct gfs2_glock *gl)
fs/gfs2/log.c
98
struct gfs2_glock *gl = NULL;
fs/gfs2/log.h
75
void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl,
fs/gfs2/log.h
83
void gfs2_glock_remove_revoke(struct gfs2_glock *gl);
fs/gfs2/lops.c
1004
struct gfs2_glock *gl = ip->i_gl;
fs/gfs2/lops.c
122
struct gfs2_glock *gl = bd->bd_gl;
fs/gfs2/lops.c
73
struct gfs2_glock *gl = bd->bd_gl;
fs/gfs2/lops.c
780
struct gfs2_glock *gl = ip->i_gl;
fs/gfs2/lops.c
890
struct gfs2_glock *gl;
fs/gfs2/main.c
52
struct gfs2_glock *gl = foo;
fs/gfs2/main.c
97
sizeof(struct gfs2_glock),
fs/gfs2/meta_io.c
126
struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create)
fs/gfs2/meta_io.c
193
struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno)
fs/gfs2/meta_io.c
259
int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,
fs/gfs2/meta_io.c
487
struct gfs2_glock *gl = ip->i_gl;
fs/gfs2/meta_io.c
514
struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen)
fs/gfs2/meta_io.h
51
struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno);
fs/gfs2/meta_io.h
52
int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,
fs/gfs2/meta_io.h
55
struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
fs/gfs2/meta_io.h
73
struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
fs/gfs2/recovery.c
36
struct gfs2_glock *gl = ip->i_gl;
fs/gfs2/rgrp.c
1037
struct gfs2_glock *gl = ip->i_gl;
fs/gfs2/rgrp.c
1199
int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl)
fs/gfs2/rgrp.c
1846
struct gfs2_glock *gl;
fs/gfs2/rgrp.c
1925
const struct gfs2_glock *gl = rgd->rd_gl;
fs/gfs2/rgrp.c
2017
struct gfs2_glock *gl = rgd->rd_gl;
fs/gfs2/rgrp.c
720
struct gfs2_glock *gl;
fs/gfs2/rgrp.h
34
int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl);
fs/gfs2/super.c
1012
struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
fs/gfs2/super.c
1025
struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
fs/gfs2/super.c
1167
static void gfs2_glock_put_eventually(struct gfs2_glock *gl)
fs/gfs2/super.c
136
struct gfs2_glock *j_gl = ip->i_gl;
fs/gfs2/super.c
1405
struct gfs2_glock *io_gl = ip->i_iopen_gh.gh_gl;
fs/gfs2/super.c
1436
struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl;
fs/gfs2/sys.c
296
struct gfs2_glock *gl;
fs/gfs2/trace_gfs2.h
137
TP_PROTO(const struct gfs2_glock *gl),
fs/gfs2/trace_gfs2.h
169
TP_PROTO(const struct gfs2_glock *gl, bool remote),
fs/gfs2/trace_gfs2.h
263
TP_PROTO(const struct gfs2_glock *gl, s64 tdiff),
fs/gfs2/trace_gfs2.h
98
TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state),
fs/gfs2/trans.c
168
static struct gfs2_bufdata *gfs2_alloc_bufdata(struct gfs2_glock *gl,
fs/gfs2/trans.c
197
void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh)
fs/gfs2/trans.c
234
void gfs2_trans_add_databufs(struct gfs2_glock *gl, struct folio *folio,
fs/gfs2/trans.c
255
void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh)
fs/gfs2/trans.h
13
struct gfs2_glock;
fs/gfs2/trans.h
44
void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh);
fs/gfs2/trans.h
45
void gfs2_trans_add_databufs(struct gfs2_glock *gl, struct folio *folio,
fs/gfs2/trans.h
47
void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh);