Home
last modified time | relevance | path

Searched refs:gfs2_holder (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.15/fs/gfs2/
Dglock.h142 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me()
144 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me()
192 u16 flags, struct gfs2_holder *gh);
194 struct gfs2_holder *gh);
195 extern void gfs2_holder_uninit(struct gfs2_holder *gh);
196 extern int gfs2_glock_nq(struct gfs2_holder *gh);
197 extern int gfs2_glock_poll(struct gfs2_holder *gh);
198 extern int gfs2_glock_wait(struct gfs2_holder *gh);
199 extern int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs);
200 extern void gfs2_glock_dq(struct gfs2_holder *gh);
[all …]
Dincore.h30 struct gfs2_holder;
223 int (*go_lock) (struct gfs2_holder *gh);
259 struct gfs2_holder { struct
278 struct gfs2_holder qa_qd_ghs[2 * GFS2_MAXQUOTAS]; argument
390 struct gfs2_holder i_iopen_gh;
391 struct gfs2_holder i_gh; /* for prepare/commit_write only */
393 struct gfs2_holder i_rgd_gh;
424 struct gfs2_holder f_fl_gh;
718 struct gfs2_holder sd_live_gh;
765 struct gfs2_holder sd_journal_gh;
[all …]
Dglock.c60 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
311 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant()
313 …const struct gfs2_holder *gh_head = list_first_entry(&gl->gl_holders, const struct gfs2_holder, gh… in may_grant()
346 static void gfs2_holder_wake(struct gfs2_holder *gh) in gfs2_holder_wake()
366 struct gfs2_holder *gh, *tmp; in do_error()
396 struct gfs2_holder *gh, *tmp; in do_promote()
442 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter()
444 struct gfs2_holder *gh; in find_first_waiter()
508 struct gfs2_holder *gh; in finish_xmote()
602 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote()
[all …]
Drgrp.h23 struct gfs2_holder;
34 extern int gfs2_rgrp_go_lock(struct gfs2_holder *gh);
62 struct gfs2_holder *rl_ghs;
Dfile.c60 struct gfs2_holder i_gh; in gfs2_llseek()
108 struct gfs2_holder d_gh; in gfs2_readdir()
161 struct gfs2_holder gh; in gfs2_fileattr_get()
225 struct gfs2_holder gh; in do_gfs2_set_flags()
431 struct gfs2_holder gh; in gfs2_page_mkwrite()
560 struct gfs2_holder gh; in gfs2_fault()
601 struct gfs2_holder i_gh; in gfs2_mmap()
679 struct gfs2_holder i_gh; in gfs2_open()
780 struct gfs2_holder *gh) in gfs2_file_direct_read()
803 struct gfs2_holder *gh) in gfs2_file_direct_write()
[all …]
Dacl.c63 struct gfs2_holder gh; in gfs2_get_acl()
116 struct gfs2_holder gh; in gfs2_set_acl()
Dinode.c136 struct gfs2_holder i_gh; in gfs2_inode_lookup()
305 struct gfs2_holder d_gh; in gfs2_lookupi()
608 struct gfs2_holder ghs[2]; in gfs2_create_inode()
869 struct gfs2_holder gh; in __gfs2_lookup()
929 struct gfs2_holder ghs[2]; in gfs2_link()
1134 struct gfs2_holder ghs[3]; in gfs2_unlink()
1386 struct gfs2_holder ghs[4], r_gh, rd_gh; in gfs2_rename()
1633 struct gfs2_holder ghs[4], r_gh; in gfs2_exchange()
1793 struct gfs2_holder i_gh; in gfs2_get_link()
1852 struct gfs2_holder i_gh; in gfs2_permission()
[all …]
Dsuper.c183 struct gfs2_holder gh; in gfs2_statfs_init()
272 struct gfs2_holder gh; in gfs2_statfs_sync()
313 struct gfs2_holder gh;
472 struct gfs2_holder gh; in gfs2_dirty_inode()
652 struct gfs2_holder freeze_gh; in gfs2_freeze_func()
777 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow()
784 gha = kmalloc_array(slots, sizeof(struct gfs2_holder), GFP_KERNEL); in gfs2_statfs_slow()
1091 struct gfs2_holder gh; in gfs2_dinode_dealloc()
1157 struct gfs2_holder *gh = &ip->i_iopen_gh; in gfs2_upgrade_iopen_glock()
1213 struct gfs2_holder *gh) in evict_should_delete()
[all …]
Dutil.c55 struct gfs2_holder j_gh; in check_journal_clean()
101 int gfs2_freeze_lock(struct gfs2_sbd *sdp, struct gfs2_holder *freeze_gh, in gfs2_freeze_lock()
114 void gfs2_freeze_unlock(struct gfs2_holder *freeze_gh) in gfs2_freeze_unlock()
155 struct gfs2_holder freeze_gh; in signal_our_withdraw()
Dutil.h153 struct gfs2_holder *freeze_gh, int caller_flags);
154 extern void gfs2_freeze_unlock(struct gfs2_holder *freeze_gh);
Ddentry.c39 struct gfs2_holder d_gh; in gfs2_drevalidate()
Dquota.c878 struct gfs2_holder *ghs, i_gh; in do_sync()
893 ghs = kmalloc_array(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync()
1000 struct gfs2_holder *q_gh) in do_glock()
1004 struct gfs2_holder i_gh; in do_glock()
1285 unsigned int max_qd = PAGE_SIZE / sizeof(struct gfs2_holder); in gfs2_quota_sync()
1330 struct gfs2_holder q_gh; in gfs2_quota_refresh()
1629 struct gfs2_holder q_gh; in gfs2_get_dqblk()
1668 struct gfs2_holder q_gh, i_gh; in gfs2_set_dqblk()
Dops_fstype.c398 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
478 struct gfs2_holder sb_gh; in init_sb()
565 static int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) in gfs2_jindex_hold()
733 struct gfs2_holder ji_gh; in init_journal()
1142 struct gfs2_holder mount_gh; in gfs2_fill_super()
1143 struct gfs2_holder freeze_gh; in gfs2_fill_super()
1585 struct gfs2_holder freeze_gh; in gfs2_reconfigure()
Dxattr.c236 struct gfs2_holder rg_gh; in ea_dealloc_unstuffed()
416 struct gfs2_holder i_gh; in gfs2_listxattr()
608 struct gfs2_holder gh; in gfs2_xattr_get()
1234 struct gfs2_holder gh; in gfs2_xattr_set()
1387 struct gfs2_holder gh; in ea_dealloc_block()
Dexport.c95 struct gfs2_holder gh; in gfs2_get_name()
Dtrace_gfs2.h200 TP_PROTO(const struct gfs2_holder *gh, int first),
230 TP_PROTO(const struct gfs2_holder *gh, int queue),
Drgrp.c1036 struct gfs2_holder ri_gh; in gfs2_rindex_update()
1291 int gfs2_rgrp_go_lock(struct gfs2_holder *gh) in gfs2_rgrp_go_lock()
1403 struct gfs2_holder gh; in gfs2_fitrim()
2621 struct gfs2_holder rgd_gh; in gfs2_check_blk_type()
2739 sizeof(struct gfs2_holder), in gfs2_rlist_alloc()
Drecovery.c409 struct gfs2_holder j_gh, ji_gh, thaw_gh; in gfs2_recover_func()
Daops.c634 struct gfs2_holder i_gh; in gfs2_bmap()
Dglops.c491 static int inode_go_lock(struct gfs2_holder *gh) in inode_go_lock()
Dbmap.c1500 static int sweep_bh_for_rgrps(struct gfs2_inode *ip, struct gfs2_holder *rd_gh, in sweep_bh_for_rgrps()
1767 struct gfs2_holder rd_gh; in punch_hole()