/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/gfs2/ |
H A D | log.h | 19 * @sdp: the filesystem 23 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) 24 __acquires(&sdp->sd_log_lock) 26 spin_lock(&sdp->sd_log_lock); 31 * @sdp: the filesystem 35 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) 36 __releases(&sdp->sd_log_lock) 38 spin_unlock(&sdp->sd_log_lock); 41 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, argument 44 if (++value == sdp [all...] |
H A D | ops_fstype.c | 70 struct gfs2_sbd *sdp; local 72 sdp = kzalloc(sizeof(struct gfs2_sbd), GFP_KERNEL); 73 if (!sdp) 76 sb->s_fs_info = sdp; 77 sdp->sd_vfs = sb; 78 set_bit(SDF_NOJOURNALID, &sdp->sd_flags); 79 gfs2_tune_init(&sdp->sd_tune); 81 init_waitqueue_head(&sdp->sd_glock_wait); 82 atomic_set(&sdp->sd_glock_disposal, 0); 83 spin_lock_init(&sdp 136 gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb_host *sb, int silent) argument 255 gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector) argument 298 gfs2_read_sb(struct gfs2_sbd *sdp, int silent) argument 387 init_names(struct gfs2_sbd *sdp, int silent) argument 426 init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, int undo) argument 484 struct gfs2_sbd *sdp = sb->s_fs_info; local 504 init_sb(struct gfs2_sbd *sdp, int silent) argument 577 map_journal_extents(struct gfs2_sbd *sdp) argument 621 gfs2_others_may_mount(struct gfs2_sbd *sdp) argument 638 gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) argument 697 init_journal(struct gfs2_sbd *sdp, int undo) argument 824 init_inodes(struct gfs2_sbd *sdp, int undo) argument 877 init_per_node(struct gfs2_sbd *sdp, int undo) argument 949 init_threads(struct gfs2_sbd *sdp, int undo) argument 990 struct gfs2_sbd *sdp = gl->gl_sbd; local 1011 gfs2_lm_mount(struct gfs2_sbd *sdp, int silent) argument 1098 gfs2_lm_unmount(struct gfs2_sbd *sdp) argument 1114 wait_on_journal(struct gfs2_sbd *sdp) argument 1124 gfs2_online_uevent(struct gfs2_sbd *sdp) argument 1146 struct gfs2_sbd *sdp; local 1321 struct gfs2_sbd *sdp; local 1409 struct gfs2_sbd *sdp; local 1438 struct gfs2_sbd *sdp = sb->s_fs_info; local [all...] |
H A D | log.c | 37 * @sdp: the filesystem 47 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, argument 54 first = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / ssize; 57 second = (sdp->sd_sb.sb_bsize - 85 * @sdp: the filesystem 90 static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) 91 __releases(&sdp->sd_log_lock) 92 __acquires(&sdp->sd_log_lock) 105 gfs2_assert(sdp, bd->bd_ail == ai); 109 gfs2_io_error_bh(sdp, b 120 gfs2_log_unlock(sdp); variable 129 gfs2_log_lock(sdp); variable 144 gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai, int flags) argument 171 gfs2_ail1_start(struct gfs2_sbd *sdp) argument 201 gfs2_ail1_empty(struct gfs2_sbd *sdp, int flags) argument 230 gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument 243 ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) argument 289 gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) argument 331 log_bmap(struct gfs2_sbd *sdp, unsigned int lbn) argument 355 log_distance(struct gfs2_sbd *sdp, unsigned int newer, unsigned int older) argument 392 calc_reserved(struct gfs2_sbd *sdp) argument 419 current_tail(struct gfs2_sbd *sdp) argument 438 gfs2_log_incr_head(struct gfs2_sbd *sdp) argument 458 struct gfs2_sbd *sdp = bh->b_private; local 473 gfs2_log_get_buf(struct gfs2_sbd *sdp) argument 502 struct gfs2_sbd *sdp = bd->bd_gl->gl_sbd; local 520 gfs2_log_fake_buf(struct gfs2_sbd *sdp, struct buffer_head *real) argument 542 log_pull_tail(struct gfs2_sbd *sdp, unsigned int new_tail) argument 563 log_write_header(struct gfs2_sbd *sdp, u32 flags, int pull) argument 624 log_flush_commit(struct gfs2_sbd *sdp) argument 641 gfs2_ordered_write(struct gfs2_sbd *sdp) argument 670 gfs2_ordered_wait(struct gfs2_sbd *sdp) argument 699 gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl) argument 766 log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument 791 buf_lo_incore_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument 821 gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument 840 gfs2_log_shutdown(struct gfs2_sbd *sdp) argument 874 gfs2_meta_syncfs(struct gfs2_sbd *sdp) argument 885 gfs2_jrnl_flush_reqd(struct gfs2_sbd *sdp) argument 890 gfs2_ail_flush_reqd(struct gfs2_sbd *sdp) argument 906 struct gfs2_sbd *sdp = data; local [all...] |
H A D | sys.h | 16 int gfs2_sys_fs_add(struct gfs2_sbd *sdp); 17 void gfs2_sys_fs_del(struct gfs2_sbd *sdp);
|
H A D | util.c | 29 void gfs2_assert_i(struct gfs2_sbd *sdp) argument 32 sdp->sd_fsname); 35 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) argument 37 struct lm_lockstruct *ls = &sdp->sd_lockstruct; 41 if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW && 42 test_and_set_bit(SDF_SHUTDOWN, &sdp->sd_flags)) 49 if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW) { 50 fs_err(sdp, "about to withdraw this file system\n"); 51 BUG_ON(sdp->sd_args.ar_debug); 53 kobject_uevent(&sdp 75 gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, const char *function, char *file, unsigned int line) argument 94 gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, const char *function, char *file, unsigned int line) argument 131 gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, char *file, unsigned int line) argument 152 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local 174 struct gfs2_sbd *sdp = rgd->rd_sbd; local 192 gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *type, const char *function, char *file, unsigned int line) argument 213 gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, u16 type, u16 t, const char *function, char *file, unsigned int line) argument 234 gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, unsigned int line) argument 252 gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *function, char *file, unsigned int line) argument 266 gfs2_icbit_munge(struct gfs2_sbd *sdp, unsigned char **bitmap, unsigned int bit, int new_value) argument [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) argument 22 spin_lock(&sdp->sd_jindex_spin); 23 x = sdp->sd_journals; 24 spin_unlock(&sdp->sd_jindex_spin); 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); [all...] |
H A D | trans.c | 28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, argument 37 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) 51 tr->tr_reserved += gfs2_struct2blk(sdp, revokes, 55 gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED, 0, &tr->tr_t_gh); 61 error = gfs2_log_reserve(sdp, tr->tr_reserved); 81 * @sdp: The GFS2 superblock 86 static void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) argument 89 atomic_add(blks, &sdp->sd_log_blks_free); 90 trace_gfs2_log_blocks(sdp, blks); 91 gfs2_assert_withdraw(sdp, atomic_rea 96 gfs2_trans_end(struct gfs2_sbd *sdp) argument 145 struct gfs2_sbd *sdp = gl->gl_sbd; local 158 gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) argument 167 gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) argument [all...] |
H A D | recovery.h | 17 static inline void gfs2_replay_incr_blk(struct gfs2_sbd *sdp, unsigned int *blk) argument 19 if (++*blk == sdp->sd_jdesc->jd_blocks) 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 | sys.c | 39 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); local 41 return a->show ? a->show(sdp, buf) : 0; 47 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); local 49 return a->store ? a->store(sdp, buf, len) : len; 60 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) argument 63 MAJOR(sdp->sd_vfs->s_dev), MINOR(sdp->sd_vfs->s_dev)); 66 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) argument 68 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_fsname); 82 static ssize_t uuid_show(struct gfs2_sbd *sdp, cha argument 91 freeze_show(struct gfs2_sbd *sdp, char *buf) argument 102 freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 128 withdraw_show(struct gfs2_sbd *sdp, char *buf) argument 134 withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 148 statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 161 quota_sync_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 174 quota_refresh_user_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 189 quota_refresh_group_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 204 demote_rq_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 285 proto_name_show(struct gfs2_sbd *sdp, char *buf) argument 291 block_show(struct gfs2_sbd *sdp, char *buf) argument 303 block_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 323 lkfirst_show(struct gfs2_sbd *sdp, char *buf) argument 329 lkfirst_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 353 first_done_show(struct gfs2_sbd *sdp, char *buf) argument 359 recover_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 388 recover_done_show(struct gfs2_sbd *sdp, char *buf) argument 394 recover_status_show(struct gfs2_sbd *sdp, char *buf) argument 400 jid_show(struct gfs2_sbd *sdp, char *buf) argument 405 jid_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 462 quota_scale_show(struct gfs2_sbd *sdp, char *buf) argument 469 quota_scale_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 488 tune_set(struct gfs2_sbd *sdp, unsigned int *field, int check_zero, const char *buf, size_t len) argument 558 gfs2_sys_fs_add(struct gfs2_sbd *sdp) argument 603 gfs2_sys_fs_del(struct gfs2_sbd *sdp) argument 614 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); local [all...] |
H A D | trans.h | 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 | lops.c | 34 * @sdp: The superblock 39 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) argument 43 gfs2_assert_withdraw(sdp, test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)); 47 gfs2_assert_withdraw(sdp, 0); 49 gfs2_io_error_bh(sdp, bh); 57 atomic_inc(&sdp->sd_log_pinned); 63 * @sdp: the filesystem the buffer belongs to 69 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, argument 74 gfs2_assert_withdraw(sdp, buffer_uptodat 119 gfs2_get_log_desc(struct gfs2_sbd *sdp, u32 ld_type) argument 134 buf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument 165 buf_lo_before_commit(struct gfs2_sbd *sdp) argument 225 buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument 243 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 257 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 304 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 319 revoke_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument 330 revoke_lo_before_commit(struct gfs2_sbd *sdp) argument 378 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 391 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 439 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 454 rg_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument 474 rg_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument 506 databuf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument 555 gfs2_write_blocks(struct gfs2_sbd *sdp, struct buffer_head *bh, struct list_head *list, struct list_head *done, unsigned int n) argument 613 databuf_lo_before_commit(struct gfs2_sbd *sdp) argument 653 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 703 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 719 databuf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument [all...] |
H A D | util.h | 28 void gfs2_assert_i(struct gfs2_sbd *sdp); 30 #define gfs2_assert(sdp, assertion) \ 33 gfs2_assert_i(sdp); \ 39 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, 42 #define gfs2_assert_withdraw(sdp, assertion) \ 43 ((likely(assertion)) ? 0 : gfs2_assert_withdraw_i((sdp), #assertion, \ 47 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, 50 #define gfs2_assert_warn(sdp, assertion) \ 51 ((likely(assertion)) ? 0 : gfs2_assert_warn_i((sdp), #assertion, \ 55 int gfs2_consist_i(struct gfs2_sbd *sdp, in 80 gfs2_meta_check_i(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *function, char *file, unsigned int line) argument 102 gfs2_metatype_check_i(struct gfs2_sbd *sdp, struct buffer_head *bh, u16 type, const char *function, char *file, unsigned int line) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/gfs2/ |
H A D | log.h | 19 * @sdp: the filesystem 23 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) 24 __acquires(&sdp->sd_log_lock) 26 spin_lock(&sdp->sd_log_lock); 31 * @sdp: the filesystem 35 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) 36 __releases(&sdp->sd_log_lock) 38 spin_unlock(&sdp->sd_log_lock); 41 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, argument 44 if (++value == sdp [all...] |
H A D | ops_fstype.c | 70 struct gfs2_sbd *sdp; local 72 sdp = kzalloc(sizeof(struct gfs2_sbd), GFP_KERNEL); 73 if (!sdp) 76 sb->s_fs_info = sdp; 77 sdp->sd_vfs = sb; 78 set_bit(SDF_NOJOURNALID, &sdp->sd_flags); 79 gfs2_tune_init(&sdp->sd_tune); 81 init_waitqueue_head(&sdp->sd_glock_wait); 82 atomic_set(&sdp->sd_glock_disposal, 0); 83 spin_lock_init(&sdp 136 gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb_host *sb, int silent) argument 255 gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector) argument 298 gfs2_read_sb(struct gfs2_sbd *sdp, int silent) argument 387 init_names(struct gfs2_sbd *sdp, int silent) argument 426 init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, int undo) argument 484 struct gfs2_sbd *sdp = sb->s_fs_info; local 504 init_sb(struct gfs2_sbd *sdp, int silent) argument 577 map_journal_extents(struct gfs2_sbd *sdp) argument 621 gfs2_others_may_mount(struct gfs2_sbd *sdp) argument 638 gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) argument 697 init_journal(struct gfs2_sbd *sdp, int undo) argument 824 init_inodes(struct gfs2_sbd *sdp, int undo) argument 877 init_per_node(struct gfs2_sbd *sdp, int undo) argument 949 init_threads(struct gfs2_sbd *sdp, int undo) argument 990 struct gfs2_sbd *sdp = gl->gl_sbd; local 1011 gfs2_lm_mount(struct gfs2_sbd *sdp, int silent) argument 1098 gfs2_lm_unmount(struct gfs2_sbd *sdp) argument 1114 wait_on_journal(struct gfs2_sbd *sdp) argument 1124 gfs2_online_uevent(struct gfs2_sbd *sdp) argument 1146 struct gfs2_sbd *sdp; local 1321 struct gfs2_sbd *sdp; local 1409 struct gfs2_sbd *sdp; local 1438 struct gfs2_sbd *sdp = sb->s_fs_info; local [all...] |
H A D | log.c | 37 * @sdp: the filesystem 47 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, argument 54 first = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / ssize; 57 second = (sdp->sd_sb.sb_bsize - 85 * @sdp: the filesystem 90 static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) 91 __releases(&sdp->sd_log_lock) 92 __acquires(&sdp->sd_log_lock) 105 gfs2_assert(sdp, bd->bd_ail == ai); 109 gfs2_io_error_bh(sdp, b 120 gfs2_log_unlock(sdp); variable 129 gfs2_log_lock(sdp); variable 144 gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai, int flags) argument 171 gfs2_ail1_start(struct gfs2_sbd *sdp) argument 201 gfs2_ail1_empty(struct gfs2_sbd *sdp, int flags) argument 230 gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument 243 ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) argument 289 gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) argument 331 log_bmap(struct gfs2_sbd *sdp, unsigned int lbn) argument 355 log_distance(struct gfs2_sbd *sdp, unsigned int newer, unsigned int older) argument 392 calc_reserved(struct gfs2_sbd *sdp) argument 419 current_tail(struct gfs2_sbd *sdp) argument 438 gfs2_log_incr_head(struct gfs2_sbd *sdp) argument 458 struct gfs2_sbd *sdp = bh->b_private; local 473 gfs2_log_get_buf(struct gfs2_sbd *sdp) argument 502 struct gfs2_sbd *sdp = bd->bd_gl->gl_sbd; local 520 gfs2_log_fake_buf(struct gfs2_sbd *sdp, struct buffer_head *real) argument 542 log_pull_tail(struct gfs2_sbd *sdp, unsigned int new_tail) argument 563 log_write_header(struct gfs2_sbd *sdp, u32 flags, int pull) argument 624 log_flush_commit(struct gfs2_sbd *sdp) argument 641 gfs2_ordered_write(struct gfs2_sbd *sdp) argument 670 gfs2_ordered_wait(struct gfs2_sbd *sdp) argument 699 gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl) argument 766 log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument 791 buf_lo_incore_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument 821 gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument 840 gfs2_log_shutdown(struct gfs2_sbd *sdp) argument 874 gfs2_meta_syncfs(struct gfs2_sbd *sdp) argument 885 gfs2_jrnl_flush_reqd(struct gfs2_sbd *sdp) argument 890 gfs2_ail_flush_reqd(struct gfs2_sbd *sdp) argument 906 struct gfs2_sbd *sdp = data; local [all...] |
H A D | sys.h | 16 int gfs2_sys_fs_add(struct gfs2_sbd *sdp); 17 void gfs2_sys_fs_del(struct gfs2_sbd *sdp);
|
H A D | util.c | 29 void gfs2_assert_i(struct gfs2_sbd *sdp) argument 32 sdp->sd_fsname); 35 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) argument 37 struct lm_lockstruct *ls = &sdp->sd_lockstruct; 41 if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW && 42 test_and_set_bit(SDF_SHUTDOWN, &sdp->sd_flags)) 49 if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW) { 50 fs_err(sdp, "about to withdraw this file system\n"); 51 BUG_ON(sdp->sd_args.ar_debug); 53 kobject_uevent(&sdp 75 gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, const char *function, char *file, unsigned int line) argument 94 gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, const char *function, char *file, unsigned int line) argument 131 gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, char *file, unsigned int line) argument 152 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local 174 struct gfs2_sbd *sdp = rgd->rd_sbd; local 192 gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *type, const char *function, char *file, unsigned int line) argument 213 gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, u16 type, u16 t, const char *function, char *file, unsigned int line) argument 234 gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, unsigned int line) argument 252 gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *function, char *file, unsigned int line) argument 266 gfs2_icbit_munge(struct gfs2_sbd *sdp, unsigned char **bitmap, unsigned int bit, int new_value) argument [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) argument 22 spin_lock(&sdp->sd_jindex_spin); 23 x = sdp->sd_journals; 24 spin_unlock(&sdp->sd_jindex_spin); 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); [all...] |
H A D | trans.c | 28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, argument 37 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) 51 tr->tr_reserved += gfs2_struct2blk(sdp, revokes, 55 gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED, 0, &tr->tr_t_gh); 61 error = gfs2_log_reserve(sdp, tr->tr_reserved); 81 * @sdp: The GFS2 superblock 86 static void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) argument 89 atomic_add(blks, &sdp->sd_log_blks_free); 90 trace_gfs2_log_blocks(sdp, blks); 91 gfs2_assert_withdraw(sdp, atomic_rea 96 gfs2_trans_end(struct gfs2_sbd *sdp) argument 145 struct gfs2_sbd *sdp = gl->gl_sbd; local 158 gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) argument 167 gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) argument [all...] |
H A D | recovery.h | 17 static inline void gfs2_replay_incr_blk(struct gfs2_sbd *sdp, unsigned int *blk) argument 19 if (++*blk == sdp->sd_jdesc->jd_blocks) 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 | sys.c | 39 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); local 41 return a->show ? a->show(sdp, buf) : 0; 47 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); local 49 return a->store ? a->store(sdp, buf, len) : len; 60 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) argument 63 MAJOR(sdp->sd_vfs->s_dev), MINOR(sdp->sd_vfs->s_dev)); 66 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) argument 68 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_fsname); 82 static ssize_t uuid_show(struct gfs2_sbd *sdp, cha argument 91 freeze_show(struct gfs2_sbd *sdp, char *buf) argument 102 freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 128 withdraw_show(struct gfs2_sbd *sdp, char *buf) argument 134 withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 148 statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 161 quota_sync_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 174 quota_refresh_user_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 189 quota_refresh_group_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 204 demote_rq_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 285 proto_name_show(struct gfs2_sbd *sdp, char *buf) argument 291 block_show(struct gfs2_sbd *sdp, char *buf) argument 303 block_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 323 lkfirst_show(struct gfs2_sbd *sdp, char *buf) argument 329 lkfirst_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 353 first_done_show(struct gfs2_sbd *sdp, char *buf) argument 359 recover_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 388 recover_done_show(struct gfs2_sbd *sdp, char *buf) argument 394 recover_status_show(struct gfs2_sbd *sdp, char *buf) argument 400 jid_show(struct gfs2_sbd *sdp, char *buf) argument 405 jid_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 462 quota_scale_show(struct gfs2_sbd *sdp, char *buf) argument 469 quota_scale_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument 488 tune_set(struct gfs2_sbd *sdp, unsigned int *field, int check_zero, const char *buf, size_t len) argument 558 gfs2_sys_fs_add(struct gfs2_sbd *sdp) argument 603 gfs2_sys_fs_del(struct gfs2_sbd *sdp) argument 614 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); local [all...] |
H A D | trans.h | 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 | lops.c | 34 * @sdp: The superblock 39 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) argument 43 gfs2_assert_withdraw(sdp, test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)); 47 gfs2_assert_withdraw(sdp, 0); 49 gfs2_io_error_bh(sdp, bh); 57 atomic_inc(&sdp->sd_log_pinned); 63 * @sdp: the filesystem the buffer belongs to 69 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, argument 74 gfs2_assert_withdraw(sdp, buffer_uptodat 119 gfs2_get_log_desc(struct gfs2_sbd *sdp, u32 ld_type) argument 134 buf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument 165 buf_lo_before_commit(struct gfs2_sbd *sdp) argument 225 buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument 243 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 257 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 304 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 319 revoke_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument 330 revoke_lo_before_commit(struct gfs2_sbd *sdp) argument 378 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 391 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 439 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 454 rg_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument 474 rg_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument 506 databuf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument 555 gfs2_write_blocks(struct gfs2_sbd *sdp, struct buffer_head *bh, struct list_head *list, struct list_head *done, unsigned int n) argument 613 databuf_lo_before_commit(struct gfs2_sbd *sdp) argument 653 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 703 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local 719 databuf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/sh/kernel/cpu/shmobile/ |
H A D | pm.c | 51 struct sh_sleep_data *sdp = onchip_mem; local 55 standby_onchip_mem = (void *)(sdp + 1); 85 struct sh_sleep_data *sdp; local 89 sdp = onchip_mem; 90 sdp->addr.stbcr = 0xa4150020; /* STBCR */ 91 sdp->addr.bar = 0xa4150040; /* BAR */ 92 sdp->addr.pteh = 0xff000000; /* PTEH */ 93 sdp->addr.ptel = 0xff000004; /* PTEL */ 94 sdp->addr.ttb = 0xff000008; /* TTB */ 95 sdp [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/sh/kernel/cpu/shmobile/ |
H A D | pm.c | 51 struct sh_sleep_data *sdp = onchip_mem; local 55 standby_onchip_mem = (void *)(sdp + 1); 85 struct sh_sleep_data *sdp; local 89 sdp = onchip_mem; 90 sdp->addr.stbcr = 0xa4150020; /* STBCR */ 91 sdp->addr.bar = 0xa4150040; /* BAR */ 92 sdp->addr.pteh = 0xff000000; /* PTEH */ 93 sdp->addr.ptel = 0xff000004; /* PTEL */ 94 sdp->addr.ttb = 0xff000008; /* TTB */ 95 sdp [all...] |