| /OK3568_Linux_fs/kernel/fs/gfs2/ |
| H A D | glock.h | 136 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me() 138 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me() 186 u16 flags, struct gfs2_holder *gh); 188 struct gfs2_holder *gh); 189 extern void gfs2_holder_uninit(struct gfs2_holder *gh); 190 extern int gfs2_glock_nq(struct gfs2_holder *gh); 191 extern int gfs2_glock_poll(struct gfs2_holder *gh); 192 extern int gfs2_glock_wait(struct gfs2_holder *gh); 193 extern int gfs2_glock_async_wait(unsigned int num_gh, struct gfs2_holder *ghs); 194 extern void gfs2_glock_dq(struct gfs2_holder *gh); [all …]
|
| H A D | incore.h | 29 struct gfs2_holder; 242 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh); 245 int (*go_lock) (struct gfs2_holder *gh); 282 struct gfs2_holder { struct 301 struct gfs2_holder qa_qd_ghs[2 * GFS2_MAXQUOTAS]; argument 412 struct gfs2_holder i_iopen_gh; 413 struct gfs2_holder i_gh; /* for prepare/commit_write only */ 415 struct gfs2_holder i_rgd_gh; 446 struct gfs2_holder f_fl_gh; 740 struct gfs2_holder sd_live_gh; [all …]
|
| H A D | glock.c | 60 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target); 313 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant() 315 …const struct gfs2_holder *gh_head = list_first_entry(&gl->gl_holders, const struct gfs2_holder, gh… in may_grant() 334 static void gfs2_holder_wake(struct gfs2_holder *gh) in gfs2_holder_wake() 353 struct gfs2_holder *gh, *tmp; in do_error() 383 struct gfs2_holder *gh, *tmp; in do_promote() 429 static inline struct gfs2_holder *find_first_waiter(const struct gfs2_glock *gl) in find_first_waiter() 431 struct gfs2_holder *gh; in find_first_waiter() 496 struct gfs2_holder *gh; in finish_xmote() 590 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target) in do_xmote() [all …]
|
| H A D | rgrp.h | 23 struct gfs2_holder; 34 extern int gfs2_rgrp_go_lock(struct gfs2_holder *gh); 62 struct gfs2_holder *rl_ghs;
|
| H A D | file.c | 59 struct gfs2_holder i_gh; in gfs2_llseek() 107 struct gfs2_holder d_gh; in gfs2_readdir() 160 struct gfs2_holder gh; in gfs2_get_flags() 223 struct gfs2_holder gh; in do_gfs2_set_flags() 454 struct gfs2_holder gh; in gfs2_page_mkwrite() 565 struct gfs2_holder gh; in gfs2_fault() 606 struct gfs2_holder i_gh; in gfs2_mmap() 684 struct gfs2_holder i_gh; in gfs2_open() 786 struct gfs2_holder *gh) in gfs2_file_direct_read() 811 struct gfs2_holder *gh) in gfs2_file_direct_write() [all …]
|
| H A D | inode.c | 132 struct gfs2_holder i_gh; in gfs2_inode_lookup() 302 struct gfs2_holder d_gh; in gfs2_lookupi() 604 struct gfs2_holder ghs[2]; in gfs2_create_inode() 867 struct gfs2_holder gh; in __gfs2_lookup() 927 struct gfs2_holder ghs[2]; in gfs2_link() 1131 struct gfs2_holder ghs[3]; in gfs2_unlink() 1379 struct gfs2_holder ghs[4], r_gh, rd_gh; in gfs2_rename() 1623 struct gfs2_holder ghs[4], r_gh; in gfs2_exchange() 1781 struct gfs2_holder i_gh; in gfs2_get_link() 1839 struct gfs2_holder i_gh; in gfs2_permission() [all …]
|
| H A D | super.c | 191 struct gfs2_holder gh; in gfs2_statfs_init() 294 struct gfs2_holder gh; in gfs2_statfs_sync() 343 struct gfs2_holder gh; 504 struct gfs2_holder gh; in gfs2_dirty_inode() 690 struct gfs2_holder freeze_gh; in gfs2_freeze_func() 815 struct gfs2_holder *gha, *gh; in gfs2_statfs_slow() 822 gha = kmalloc_array(slots, sizeof(struct gfs2_holder), GFP_KERNEL); in gfs2_statfs_slow() 1129 struct gfs2_holder gh; in gfs2_dinode_dealloc() 1194 struct gfs2_holder *gh = &ip->i_iopen_gh; in gfs2_upgrade_iopen_glock() 1249 struct gfs2_holder *gh) in evict_should_delete() [all …]
|
| H A D | util.c | 54 struct gfs2_holder j_gh; in check_journal_clean() 100 int gfs2_freeze_lock(struct gfs2_sbd *sdp, struct gfs2_holder *freeze_gh, in gfs2_freeze_lock() 113 void gfs2_freeze_unlock(struct gfs2_holder *freeze_gh) in gfs2_freeze_unlock() 153 struct gfs2_holder freeze_gh; in signal_our_withdraw()
|
| H A D | acl.c | 63 struct gfs2_holder gh; in gfs2_get_acl() 112 struct gfs2_holder gh; in gfs2_set_acl()
|
| H A D | util.h | 153 struct gfs2_holder *freeze_gh, int caller_flags); 154 extern void gfs2_freeze_unlock(struct gfs2_holder *freeze_gh);
|
| H A D | dentry.c | 39 struct gfs2_holder d_gh; in gfs2_drevalidate()
|
| H A D | quota.c | 886 struct gfs2_holder *ghs, i_gh; in do_sync() 901 ghs = kmalloc_array(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync() 1008 struct gfs2_holder *q_gh) in do_glock() 1012 struct gfs2_holder i_gh; in do_glock() 1293 unsigned int max_qd = PAGE_SIZE / sizeof(struct gfs2_holder); in gfs2_quota_sync() 1338 struct gfs2_holder q_gh; in gfs2_quota_refresh() 1637 struct gfs2_holder q_gh; in gfs2_get_dqblk() 1676 struct gfs2_holder q_gh, i_gh; in gfs2_set_dqblk()
|
| H A D | ops_fstype.c | 399 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking() 479 struct gfs2_holder sb_gh; in init_sb() 553 static int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) in gfs2_jindex_hold() 711 struct gfs2_holder ji_gh; in init_journal() 1121 struct gfs2_holder mount_gh; in gfs2_fill_super() 1122 struct gfs2_holder freeze_gh; in gfs2_fill_super() 1560 struct gfs2_holder freeze_gh; in gfs2_reconfigure()
|
| H A D | xattr.c | 230 struct gfs2_holder rg_gh; in ea_dealloc_unstuffed() 402 struct gfs2_holder i_gh; in gfs2_listxattr() 595 struct gfs2_holder gh; in gfs2_xattr_get() 1223 struct gfs2_holder gh; in gfs2_xattr_set() 1376 struct gfs2_holder gh; in ea_dealloc_block()
|
| H A D | export.c | 95 struct gfs2_holder gh; in gfs2_get_name()
|
| H A D | glops.c | 497 static int inode_go_lock(struct gfs2_holder *gh) in inode_go_lock() 614 static int freeze_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) in freeze_go_xmote_bh()
|
| H A D | trace_gfs2.h | 200 TP_PROTO(const struct gfs2_holder *gh, int first), 230 TP_PROTO(const struct gfs2_holder *gh, int queue),
|
| H A D | rgrp.c | 1021 struct gfs2_holder ri_gh; in gfs2_rindex_update() 1255 int gfs2_rgrp_go_lock(struct gfs2_holder *gh) in gfs2_rgrp_go_lock() 1367 struct gfs2_holder gh; in gfs2_fitrim() 2525 struct gfs2_holder rgd_gh; in gfs2_check_blk_type() 2636 sizeof(struct gfs2_holder), in gfs2_rlist_alloc()
|
| H A D | recovery.c | 408 struct gfs2_holder j_gh, ji_gh, thaw_gh; in gfs2_recover_func()
|
| H A D | aops.c | 642 struct gfs2_holder i_gh; in gfs2_bmap()
|
| H A D | bmap.c | 1498 static int sweep_bh_for_rgrps(struct gfs2_inode *ip, struct gfs2_holder *rd_gh, in sweep_bh_for_rgrps() 1762 struct gfs2_holder rd_gh; in punch_hole()
|