/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/ |
H A D | sys.h | 14 struct gfs2_sbd; 16 int gfs2_sys_fs_add(struct gfs2_sbd *sdp); 17 void gfs2_sys_fs_del(struct gfs2_sbd *sdp);
|
H A D | log.h | 23 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) 35 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) 41 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, 50 extern unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, 53 extern int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks); 54 extern void gfs2_log_incr_head(struct gfs2_sbd *sdp); 56 extern struct buffer_head *gfs2_log_get_buf(struct gfs2_sbd *sdp); 57 extern struct buffer_head *gfs2_log_fake_buf(struct gfs2_sbd *sdp, 59 extern void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl); 60 extern void gfs2_log_commit(struct gfs2_sbd *sd [all...] |
H A D | super.h | 17 extern void gfs2_lm_unmount(struct gfs2_sbd *sdp); 19 static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) 28 extern void gfs2_jindex_free(struct gfs2_sbd *sdp); 32 extern struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid); 35 extern int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename, 38 extern int gfs2_make_fs_rw(struct gfs2_sbd *sdp); 39 extern void gfs2_online_uevent(struct gfs2_sbd *sdp); 40 extern int gfs2_statfs_init(struct gfs2_sbd *sdp); 41 extern void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, 45 extern void update_statfs(struct gfs2_sbd *sd [all...] |
H A D | trans.h | 14 struct gfs2_sbd; 28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, 31 void gfs2_trans_end(struct gfs2_sbd *sdp); 34 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd); 35 void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len);
|
H A D | recovery.h | 17 static inline void gfs2_replay_incr_blk(struct gfs2_sbd *sdp, unsigned int *blk) 26 extern int gfs2_revoke_add(struct gfs2_sbd *sdp, u64 blkno, unsigned int where); 27 extern int gfs2_revoke_check(struct gfs2_sbd *sdp, u64 blkno, unsigned int where); 28 extern void gfs2_revoke_clean(struct gfs2_sbd *sdp);
|
H A D | rgrp.h | 16 struct gfs2_sbd; 21 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk); 22 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp); 25 extern void gfs2_clear_rgrpd(struct gfs2_sbd *sdp); 26 extern int gfs2_rindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ri_gh); 56 extern int gfs2_check_blk_type(struct gfs2_sbd *sdp, u64 no_addr, 66 extern void gfs2_rlist_add(struct gfs2_sbd *sdp, struct gfs2_rgrp_list *rlist, 70 extern u64 gfs2_ri_total(struct gfs2_sbd *sdp);
|
H A D | quota.h | 14 struct gfs2_sbd; 29 extern int gfs2_quota_refresh(struct gfs2_sbd *sdp, int user, u32 id); 31 extern int gfs2_quota_init(struct gfs2_sbd *sdp); 32 extern void gfs2_quota_cleanup(struct gfs2_sbd *sdp); 35 extern void gfs2_wake_up_statfs(struct gfs2_sbd *sdp); 39 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
|
H A D | glock.h | 123 int (*lm_mount) (struct gfs2_sbd *sdp, const char *fsname); 124 void (*lm_unmount) (struct gfs2_sbd *sdp); 125 void (*lm_withdraw) (struct gfs2_sbd *sdp); 190 int gfs2_glock_get(struct gfs2_sbd *sdp, 208 int gfs2_glock_nq_num(struct gfs2_sbd *sdp, 249 void gfs2_reclaim_glock(struct gfs2_sbd *sdp); 250 void gfs2_gl_hash_clear(struct gfs2_sbd *sdp); 252 void gfs2_glock_thaw(struct gfs2_sbd *sdp); 257 int gfs2_create_debugfs_file(struct gfs2_sbd *sdp); 258 void gfs2_delete_debugfs_file(struct gfs2_sbd *sd [all...] |
H A D | sys.c | 32 ssize_t (*show)(struct gfs2_sbd *, char *); 33 ssize_t (*store)(struct gfs2_sbd *, const char *, size_t); 39 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); 47 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); 60 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) 66 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) 82 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) 91 static ssize_t freeze_show(struct gfs2_sbd *sd [all...] |
H A D | util.c | 29 void gfs2_assert_i(struct gfs2_sbd *sdp) 35 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) 75 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, 94 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, 131 int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, 152 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 174 struct gfs2_sbd *sdp = rgd->rd_sbd; 192 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, 213 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, 234 int gfs2_io_error_i(struct gfs2_sbd *sd [all...] |
H A D | util.h | 28 void gfs2_assert_i(struct gfs2_sbd *sdp); 39 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, 47 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, 55 int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, 76 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, 80 static inline int gfs2_meta_check_i(struct gfs2_sbd *sdp, 97 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, 102 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, 133 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, 140 int gfs2_io_error_bh_i(struct gfs2_sbd *sd [all...] |
H A D | lops.h | 31 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) 39 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) 54 static inline void lops_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) 60 static inline void lops_before_commit(struct gfs2_sbd *sdp) 68 static inline void lops_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai)
|
H A D | trans.c | 28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, 86 static void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) 96 void gfs2_trans_end(struct gfs2_sbd *sdp) 145 struct gfs2_sbd *sdp = gl->gl_sbd; 158 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) 167 void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len)
|
H A D | log.c | 47 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, 90 static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) 144 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai, int flags) 171 static void gfs2_ail1_start(struct gfs2_sbd *sdp) 201 static int gfs2_ail1_empty(struct gfs2_sbd *sdp, int flags) 230 static void gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) 243 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) 289 int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) 331 static u64 log_bmap(struct gfs2_sbd *sdp, unsigned int lbn) 355 static inline unsigned int log_distance(struct gfs2_sbd *sd [all...] |
H A D | bmap.h | 34 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
|
H A D | inode.h | 36 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 42 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 117 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) 125 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp)
|
H A D | lops.c | 39 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) 69 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, 119 static struct buffer_head *gfs2_get_log_desc(struct gfs2_sbd *sdp, u32 ld_type) 134 static void buf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) 165 static void buf_lo_before_commit(struct gfs2_sbd *sdp) 225 static void buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) 243 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); 257 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); 304 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); 319 static void revoke_lo_add(struct gfs2_sbd *sd [all...] |
H A D | meta_io.c | 130 struct gfs2_sbd *sdp = gl->gl_sbd; 213 struct gfs2_sbd *sdp = gl->gl_sbd; 252 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) 310 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); 351 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 384 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 418 struct gfs2_sbd *sdp = gl->gl_sbd;
|
H A D | ops_fstype.c | 68 static struct gfs2_sbd *init_sbd(struct super_block *sb) 70 struct gfs2_sbd *sdp; 72 sdp = kzalloc(sizeof(struct gfs2_sbd), GFP_KERNEL); 136 static int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb_host *sb, int silent) 255 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector) 298 static int gfs2_read_sb(struct gfs2_sbd *sdp, int silent) 387 static int init_names(struct gfs2_sbd *sdp, int silent) 426 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, 484 struct gfs2_sbd *sdp = sb->s_fs_info; 504 static int init_sb(struct gfs2_sbd *sd [all...] |
H A D | quota.c | 83 struct gfs2_sbd *sdp; 131 static int qd_alloc(struct gfs2_sbd *sdp, int user, u32 id, 162 static int qd_get(struct gfs2_sbd *sdp, int user, u32 id, 217 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; 234 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; 277 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; 287 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; 300 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; 347 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; 359 static int qd_fish(struct gfs2_sbd *sd [all...] |
H A D | rgrp.c | 262 struct gfs2_sbd *sdp = rgd->rd_sbd; 318 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk) 344 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) 364 static void clear_rgrpdi(struct gfs2_sbd *sdp) 392 void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) 419 struct gfs2_sbd *sdp = rgd->rd_sbd; 489 u64 gfs2_ri_total(struct gfs2_sbd *sdp) 536 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 588 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 622 struct gfs2_sbd *sd [all...] |
H A D | incore.h | 30 struct gfs2_sbd; 49 void (*lo_add) (struct gfs2_sbd *sdp, struct gfs2_log_element *le); 50 void (*lo_before_commit) (struct gfs2_sbd *sdp); 51 void (*lo_after_commit) (struct gfs2_sbd *sdp, struct gfs2_ail *ai); 93 struct gfs2_sbd *rd_sbd; 227 struct gfs2_sbd *gl_sbd; 294 static inline struct gfs2_sbd *GFS2_SB(const struct inode *inode) 512 struct gfs2_sbd { struct
|
H A D | meta_io.h | 42 static inline struct gfs2_sbd *gfs2_mapping2sbd(struct address_space *mapping) 56 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh);
|
H A D | super.c | 284 void gfs2_jindex_free(struct gfs2_sbd *sdp) 330 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) 344 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); 368 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) 431 int gfs2_statfs_init(struct gfs2_sbd *sdp) 477 void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, 512 void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh, 537 struct gfs2_sbd *sdp = sb->s_fs_info; 601 static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp, 666 int gfs2_freeze_fs(struct gfs2_sbd *sd [all...] |
H A D | lock_dlm.c | 25 struct gfs2_sbd *sdp = gl->gl_sbd; 176 struct gfs2_sbd *sdp = gl->gl_sbd; 203 static int gdlm_mount(struct gfs2_sbd *sdp, const char *fsname) 223 static void gdlm_unmount(struct gfs2_sbd *sdp)
|