Searched refs:sdp (Results 1 - 25 of 63) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Dlog.h19 * @sdp: the filesystem
23 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) argument
25 spin_lock(&sdp->sd_log_lock);
30 * @sdp: the filesystem
34 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) argument
36 spin_unlock(&sdp->sd_log_lock);
39 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, argument
42 if (++value == sdp->sd_jdesc->jd_blocks) {
45 sdp->sd_log_head = sdp
[all...]
H A Dlog.c34 * @sdp: the filesystem
44 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, argument
51 first = (sdp->sd_sb.sb_bsize - sizeof(struct gfs2_log_descriptor)) / ssize;
54 second = (sdp->sd_sb.sb_bsize -
64 * @sdp: the filesystem
69 static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument
75 BUG_ON(!spin_is_locked(&sdp->sd_log_lock));
84 gfs2_assert(sdp, bd->bd_ail == ai);
88 gfs2_log_unlock(sdp);
89 gfs2_io_error_bh(sdp, b
119 gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai, int flags) argument
146 gfs2_ail1_start(struct gfs2_sbd *sdp, int flags) argument
188 gfs2_ail1_empty(struct gfs2_sbd *sdp, int flags) argument
217 gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument
234 ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) argument
274 gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) argument
309 gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) argument
320 log_bmap(struct gfs2_sbd *sdp, unsigned int lbn) argument
348 log_distance(struct gfs2_sbd *sdp, unsigned int newer, unsigned int older) argument
360 current_tail(struct gfs2_sbd *sdp) argument
379 log_incr_head(struct gfs2_sbd *sdp) argument
397 gfs2_log_get_buf(struct gfs2_sbd *sdp) argument
426 gfs2_log_fake_buf(struct gfs2_sbd *sdp, struct buffer_head *real) argument
450 log_pull_tail(struct gfs2_sbd *sdp, unsigned int new_tail, int pull) argument
471 log_write_header(struct gfs2_sbd *sdp, u32 flags, int pull) argument
515 log_flush_commit(struct gfs2_sbd *sdp) argument
548 gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl) argument
603 log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument
645 gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument
665 gfs2_log_shutdown(struct gfs2_sbd *sdp) argument
701 gfs2_meta_syncfs(struct gfs2_sbd *sdp) argument
[all...]
H A Ddaemon.c38 * @sdp: Pointer to GFS2 superblock
46 struct gfs2_sbd *sdp = data; local
50 gfs2_scand_internal(sdp);
51 t = gfs2_tune_get(sdp, gt_scand_secs) * HZ;
60 * @sdp: Pointer to GFS2 superblock
68 struct gfs2_sbd *sdp = data; local
71 while (atomic_read(&sdp->sd_reclaim_count))
72 gfs2_reclaim_glock(sdp);
74 wait_event_interruptible(sdp->sd_reclaim_wq,
75 (atomic_read(&sdp
90 struct gfs2_sbd *sdp = data; local
112 struct gfs2_sbd *sdp = data; local
158 struct gfs2_sbd *sdp = data; local
[all...]
H A Dsuper.h17 int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb_host *sb, int silent);
18 int gfs2_read_sb(struct gfs2_sbd *sdp, struct gfs2_glock *gl, int silent);
21 static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) argument
24 spin_lock(&sdp->sd_jindex_spin);
25 x = sdp->sd_journals;
26 spin_unlock(&sdp->sd_jindex_spin);
30 int gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh);
31 void gfs2_jindex_free(struct gfs2_sbd *sdp);
33 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
34 void gfs2_jdesc_make_dirty(struct gfs2_sbd *sdp, unsigne
[all...]
H A Dlm.c27 * @sdp: the filesystem
34 int gfs2_lm_mount(struct gfs2_sbd *sdp, int silent) argument
36 char *proto = sdp->sd_proto_name;
37 char *table = sdp->sd_table_name;
41 if (sdp->sd_args.ar_spectator)
44 fs_info(sdp, "Trying to join cluster \"%s\", \"%s\"\n", proto, table);
46 error = gfs2_mount_lockproto(proto, table, sdp->sd_args.ar_hostdata,
47 gfs2_glock_cb, sdp,
49 &sdp->sd_lockstruct, &sdp
82 gfs2_lm_others_may_mount(struct gfs2_sbd *sdp) argument
89 gfs2_lm_unmount(struct gfs2_sbd *sdp) argument
95 gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) argument
117 gfs2_lm_get_lock(struct gfs2_sbd *sdp, struct lm_lockname *name, void **lockp) argument
127 gfs2_lm_put_lock(struct gfs2_sbd *sdp, void *lock) argument
133 gfs2_lm_lock(struct gfs2_sbd *sdp, void *lock, unsigned int cur_state, unsigned int req_state, unsigned int flags) argument
144 gfs2_lm_unlock(struct gfs2_sbd *sdp, void *lock, unsigned int cur_state) argument
153 gfs2_lm_cancel(struct gfs2_sbd *sdp, void *lock) argument
159 gfs2_lm_hold_lvb(struct gfs2_sbd *sdp, void *lock, char **lvbp) argument
167 gfs2_lm_unhold_lvb(struct gfs2_sbd *sdp, void *lock, char *lvb) argument
173 gfs2_lm_plock_get(struct gfs2_sbd *sdp, struct lm_lockname *name, struct file *file, struct file_lock *fl) argument
183 gfs2_lm_plock(struct gfs2_sbd *sdp, struct lm_lockname *name, struct file *file, int cmd, struct file_lock *fl) argument
193 gfs2_lm_punlock(struct gfs2_sbd *sdp, struct lm_lockname *name, struct file *file, struct file_lock *fl) argument
203 gfs2_lm_recovery_done(struct gfs2_sbd *sdp, unsigned int jid, unsigned int message) argument
[all...]
H A Dutil.c29 void gfs2_assert_i(struct gfs2_sbd *sdp) argument
32 sdp->sd_fsname);
41 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, argument
45 me = gfs2_lm_withdraw(sdp,
48 sdp->sd_fsname, assertion,
49 sdp->sd_fsname, function, file, line);
60 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, argument
64 sdp->sd_last_warning +
65 gfs2_tune_get(sdp, gt_complain_secs) * HZ))
71 sdp
90 gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, char *file, unsigned int line) argument
111 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
133 struct gfs2_sbd *sdp = rgd->rd_sbd; local
151 gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *type, const char *function, char *file, unsigned int line) argument
172 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
193 gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, unsigned int line) argument
211 gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh, const char *function, char *file, unsigned int line) argument
225 gfs2_icbit_munge(struct gfs2_sbd *sdp, unsigned char **bitmap, unsigned int bit, int new_value) argument
[all...]
H A Dops_fstype.c46 struct gfs2_sbd *sdp; local
48 sdp = kzalloc(sizeof(struct gfs2_sbd), GFP_KERNEL);
49 if (!sdp)
52 sb->s_fs_info = sdp;
53 sdp->sd_vfs = sb;
55 gfs2_tune_init(&sdp->sd_tune);
57 INIT_LIST_HEAD(&sdp->sd_reclaim_list);
58 spin_lock_init(&sdp->sd_reclaim_lock);
59 init_waitqueue_head(&sdp->sd_reclaim_wq);
61 mutex_init(&sdp
103 struct gfs2_sbd *sdp = sb->s_fs_info; local
117 init_names(struct gfs2_sbd *sdp, int silent) argument
158 init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, int undo) argument
245 init_sb(struct gfs2_sbd *sdp, int silent, int undo) argument
314 init_journal(struct gfs2_sbd *sdp, int undo) argument
443 init_inodes(struct gfs2_sbd *sdp, int undo) argument
518 init_per_node(struct gfs2_sbd *sdp, int undo) argument
612 init_threads(struct gfs2_sbd *sdp, int undo) argument
663 struct gfs2_sbd *sdp; local
769 struct gfs2_sbd *sdp; local
783 struct gfs2_sbd *sdp = sb->s_fs_info; local
859 struct gfs2_sbd *sdp; local
908 struct gfs2_sbd *sdp = sb->s_fs_info; local
[all...]
H A Dmount.h15 int gfs2_mount_args(struct gfs2_sbd *sdp, char *data_arg, int remount);
H A Dlm.h17 int gfs2_lm_mount(struct gfs2_sbd *sdp, int silent);
18 void gfs2_lm_others_may_mount(struct gfs2_sbd *sdp);
19 void gfs2_lm_unmount(struct gfs2_sbd *sdp);
20 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...)
22 int gfs2_lm_get_lock(struct gfs2_sbd *sdp, struct lm_lockname *name,
24 void gfs2_lm_put_lock(struct gfs2_sbd *sdp, void *lock);
25 unsigned int gfs2_lm_lock(struct gfs2_sbd *sdp, void *lock,
28 unsigned int gfs2_lm_unlock(struct gfs2_sbd *sdp, void *lock,
30 void gfs2_lm_cancel(struct gfs2_sbd *sdp, void *lock);
31 int gfs2_lm_hold_lvb(struct gfs2_sbd *sdp, voi
[all...]
H A Drecovery.h15 static inline void gfs2_replay_incr_blk(struct gfs2_sbd *sdp, unsigned int *blk) argument
17 if (++*blk == sdp->sd_jdesc->jd_blocks)
24 int gfs2_revoke_add(struct gfs2_sbd *sdp, u64 blkno, unsigned int where);
25 int gfs2_revoke_check(struct gfs2_sbd *sdp, u64 blkno, unsigned int where);
26 void gfs2_revoke_clean(struct gfs2_sbd *sdp);
31 void gfs2_check_journals(struct gfs2_sbd *sdp);
H A Dsys.h20 int gfs2_sys_fs_add(struct gfs2_sbd *sdp);
21 void gfs2_sys_fs_del(struct gfs2_sbd *sdp);
H A Dops_super.c74 struct gfs2_sbd *sdp = sb->s_fs_info; local
77 if (!sdp)
85 mutex_lock(&sdp->sd_freeze_lock);
86 if (sdp->sd_freeze_count)
87 gfs2_glock_dq_uninit(&sdp->sd_freeze_gh);
88 mutex_unlock(&sdp->sd_freeze_lock);
90 kthread_stop(sdp->sd_quotad_process);
91 kthread_stop(sdp->sd_logd_process);
92 kthread_stop(sdp->sd_recoverd_process);
93 while (sdp
173 struct gfs2_sbd *sdp = sb->s_fs_info; local
221 struct gfs2_sbd *sdp = sb->s_fs_info; local
256 struct gfs2_sbd *sdp = sb->s_fs_info; local
344 struct gfs2_sbd *sdp = mnt->mnt_sb->s_fs_info; local
417 struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; local
[all...]
H A Dsuper.c85 * @sdp: the filesystem
94 int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb_host *sb, int silent) argument
146 if (!sdp->sd_args.ar_upgrade) {
232 * @sdp: The GFS2 superblock
238 int gfs2_read_sb(struct gfs2_sbd *sdp, struct gfs2_glock *gl, int silent) argument
247 page = gfs2_read_super(sdp->sd_vfs, GFS2_SB_ADDR >> sdp->sd_fsb2bb_shift);
250 fs_err(sdp, "can't read superblock\n");
254 gfs2_sb_in(&sdp->sd_sb, sb);
258 error = gfs2_check_sb(sdp,
343 gfs2_jindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ji_gh) argument
406 gfs2_jindex_free(struct gfs2_sbd *sdp) argument
443 gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) argument
454 gfs2_jdesc_make_dirty(struct gfs2_sbd *sdp, unsigned int jid) argument
465 gfs2_jdesc_find_dirty(struct gfs2_sbd *sdp) argument
490 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
517 gfs2_make_fs_rw(struct gfs2_sbd *sdp) argument
570 gfs2_make_fs_ro(struct gfs2_sbd *sdp) argument
596 gfs2_statfs_init(struct gfs2_sbd *sdp) argument
642 gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, s64 dinodes) argument
668 gfs2_statfs_sync(struct gfs2_sbd *sdp) argument
739 gfs2_statfs_i(struct gfs2_sbd *sdp, struct gfs2_statfs_change_host *sc) argument
782 gfs2_statfs_slow(struct gfs2_sbd *sdp, struct gfs2_statfs_change_host *sc) argument
865 gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp, struct gfs2_holder *t_gh) argument
937 gfs2_freeze_fs(struct gfs2_sbd *sdp) argument
964 gfs2_unfreeze_fs(struct gfs2_sbd *sdp) argument
[all...]
H A Dtrans.c28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, argument
48 tr->tr_reserved += gfs2_struct2blk(sdp, revokes,
52 gfs2_holder_init(sdp->sd_trans_gl, LM_ST_SHARED, 0, &tr->tr_t_gh);
58 if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) {
64 error = gfs2_log_reserve(sdp, tr->tr_reserved);
82 void gfs2_trans_end(struct gfs2_sbd *sdp) argument
90 gfs2_log_release(sdp, tr->tr_reserved);
97 if (gfs2_assert_withdraw(sdp, tr->tr_num_buf <= tr->tr_blocks)) {
98 fs_err(sdp, "tr_num_buf = %u, tr_blocks = %u ",
102 if (gfs2_assert_withdraw(sdp, t
132 struct gfs2_sbd *sdp = gl->gl_sbd; local
145 gfs2_trans_add_revoke(struct gfs2_sbd *sdp, u64 blkno) argument
154 gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno) argument
[all...]
H A Dlops.c29 static void glock_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument
37 if (gfs2_assert_withdraw(sdp, gfs2_glock_is_held_excl(gl)))
40 gfs2_log_lock(sdp);
42 gfs2_log_unlock(sdp);
47 sdp->sd_log_num_gl++;
48 list_add(&le->le_list, &sdp->sd_log_le_gl);
49 gfs2_log_unlock(sdp);
52 static void glock_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument
54 struct list_head *head = &sdp->sd_log_le_gl;
60 sdp
68 buf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument
99 buf_lo_incore_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) argument
114 buf_lo_before_commit(struct gfs2_sbd *sdp) argument
174 buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument
192 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
206 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
253 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
268 revoke_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument
282 revoke_lo_before_commit(struct gfs2_sbd *sdp) argument
338 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
351 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
397 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
412 rg_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument
432 rg_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument
464 databuf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument
518 databuf_lo_before_commit(struct gfs2_sbd *sdp) argument
691 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
741 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
757 databuf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument
[all...]
H A Dtrans.h28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks,
31 void gfs2_trans_end(struct gfs2_sbd *sdp);
35 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, u64 blkno);
36 void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno);
H A Dutil.h28 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...]
H A Dquota.c79 static int qd_alloc(struct gfs2_sbd *sdp, int user, u32 id, argument
95 error = gfs2_glock_get(sdp, 2 * (u64)id + !user,
114 static int qd_get(struct gfs2_sbd *sdp, int user, u32 id, int create, argument
124 spin_lock(&sdp->sd_quota_spin);
125 list_for_each_entry(qd, &sdp->sd_quota_list, qd_list) {
139 list_add(&qd->qd_list, &sdp->sd_quota_list);
140 atomic_inc(&sdp->sd_quota_count);
144 spin_unlock(&sdp->sd_quota_spin);
155 error = qd_alloc(sdp, user, id, &new_qd);
163 struct gfs2_sbd *sdp local
173 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
183 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
226 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
236 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
249 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
296 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
308 qd_fish(struct gfs2_sbd *sdp, struct gfs2_quota_data **qdp) argument
363 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
408 qdsb_get(struct gfs2_sbd *sdp, int user, u32 id, int create, struct gfs2_quota_data **qdp) argument
443 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
491 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
526 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
638 struct gfs2_sbd *sdp = (*qda)->qd_gl->gl_sbd; local
742 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
809 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
842 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
913 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; local
925 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
991 gfs2_quota_sync(struct gfs2_sbd *sdp) argument
1034 gfs2_quota_refresh(struct gfs2_sbd *sdp, int user, u32 id) argument
1053 gfs2_quota_init(struct gfs2_sbd *sdp) argument
1151 gfs2_quota_scan(struct gfs2_sbd *sdp) argument
1182 gfs2_quota_cleanup(struct gfs2_sbd *sdp) argument
[all...]
H A Dquota.h28 int gfs2_quota_sync(struct gfs2_sbd *sdp);
29 int gfs2_quota_refresh(struct gfs2_sbd *sdp, int user, u32 id);
31 int gfs2_quota_init(struct gfs2_sbd *sdp);
32 void gfs2_quota_scan(struct gfs2_sbd *sdp);
33 void gfs2_quota_cleanup(struct gfs2_sbd *sdp);
H A Dsys.c33 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) argument
35 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_vfs->s_id);
38 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) argument
40 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_fsname);
43 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) argument
47 mutex_lock(&sdp->sd_freeze_lock);
48 count = sdp->sd_freeze_count;
49 mutex_unlock(&sdp->sd_freeze_lock);
54 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument
65 gfs2_unfreeze_fs(sdp);
80 withdraw_show(struct gfs2_sbd *sdp, char *buf) argument
86 withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument
100 statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument
113 shrink_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument
125 quota_sync_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument
138 quota_refresh_user_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument
152 quota_refresh_group_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument
201 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); local
209 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); local
290 noatime_show(struct gfs2_sbd *sdp, char *buf) argument
350 quota_scale_show(struct gfs2_sbd *sdp, char *buf) argument
357 quota_scale_store(struct gfs2_sbd *sdp, const char *buf, size_t len) argument
376 tune_set(struct gfs2_sbd *sdp, unsigned int *field, int check_zero, const char *buf, size_t len) argument
497 gfs2_sys_fs_add(struct gfs2_sbd *sdp) argument
543 gfs2_sys_fs_del(struct gfs2_sbd *sdp) argument
[all...]
H A Drgrp.c198 * @sdp: the filesystem
205 struct gfs2_sbd *sdp = rgd->rd_sbd; local
225 fs_err(sdp, "free data mismatch: %u != %u\n",
235 fs_err(sdp, "used data mismatch: %u != %u\n",
242 fs_err(sdp, "used metadata mismatch: %u != %u\n",
249 fs_err(sdp, "unlinked inodes > inodes: %u\n",
265 * @sdp: The GFS2 superblock
271 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk) argument
275 spin_lock(&sdp->sd_rindex_spin);
277 list_for_each_entry(rgd, &sdp
297 gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) argument
317 clear_rgrpdi(struct gfs2_sbd *sdp) argument
350 gfs2_clear_rgrpd(struct gfs2_sbd *sdp) argument
368 struct gfs2_sbd *sdp = rgd->rd_sbd; local
442 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
522 gfs2_rindex_hold(struct gfs2_sbd *sdp, struct gfs2_holder *ri_gh) argument
558 struct gfs2_sbd *sdp = rgd->rd_sbd; local
623 struct gfs2_sbd *sdp = rgd->rd_sbd; local
639 struct gfs2_sbd *sdp = rgd->rd_sbd; local
662 struct gfs2_sbd *sdp = rgd->rd_sbd; local
707 struct gfs2_sbd *sdp = rgd->rd_sbd; local
731 recent_rgrp_first(struct gfs2_sbd *sdp, u64 rglast) argument
768 struct gfs2_sbd *sdp = cur_rgd->rd_sbd; local
808 struct gfs2_sbd *sdp = new_rgd->rd_sbd; local
835 forward_rgrp_get(struct gfs2_sbd *sdp) argument
867 forward_rgrp_set(struct gfs2_sbd *sdp, struct gfs2_rgrpd *rgd) argument
886 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
978 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
1010 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
1143 rgblk_free(struct gfs2_sbd *sdp, u64 bstart, u32 blen, unsigned char new_state) argument
1198 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
1242 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
1287 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); local
1329 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
1357 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
1379 struct gfs2_sbd *sdp = GFS2_SB(inode); local
1393 struct gfs2_sbd *sdp = rgd->rd_sbd; local
1422 gfs2_rlist_add(struct gfs2_sbd *sdp, struct gfs2_rgrp_list *rlist, u64 block) argument
[all...]
H A Dglops.c39 struct gfs2_sbd *sdp = gl->gl_sbd; local
51 error = gfs2_trans_begin(sdp, 0, blocks);
52 if (gfs2_assert_withdraw(sdp, !error))
55 gfs2_log_lock(sdp);
61 gfs2_assert_withdraw(sdp, !buffer_busy(bh));
68 gfs2_log_unlock(sdp);
70 gfs2_trans_add_revoke(sdp, blkno);
72 gfs2_log_lock(sdp);
74 gfs2_assert_withdraw(sdp, !atomic_read(&gl->gl_ail_count));
75 gfs2_log_unlock(sdp);
258 struct gfs2_sbd *sdp = gl->gl_sbd; local
368 struct gfs2_sbd *sdp = gl->gl_sbd; local
385 struct gfs2_sbd *sdp = gl->gl_sbd; local
420 struct gfs2_sbd *sdp = gl->gl_sbd; local
[all...]
H A Dlops.h31 static inline void lops_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) argument
34 le->le_ops->lo_add(sdp, le);
37 static inline void lops_incore_commit(struct gfs2_sbd *sdp, argument
43 gfs2_log_ops[x]->lo_incore_commit(sdp, tr);
46 static inline void lops_before_commit(struct gfs2_sbd *sdp) argument
51 gfs2_log_ops[x]->lo_before_commit(sdp);
54 static inline void lops_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) argument
59 gfs2_log_ops[x]->lo_after_commit(sdp, ai);
H A Dmeta_io.c57 * @sdp: the filesystem the aspace is in
68 struct inode *gfs2_aspace_get(struct gfs2_sbd *sdp) argument
72 aspace = new_inode(sdp->sd_vfs);
97 struct gfs2_sbd *sdp = gl->gl_sbd; local
101 gfs2_assert_withdraw(sdp, !atomic_read(&gl->gl_ail_count));
107 gfs2_assert_withdraw(sdp, !mapping->nrpages);
140 struct gfs2_sbd *sdp = gl->gl_sbd; local
147 shift = PAGE_CACHE_SHIFT - sdp->sd_sb.sb_bsize_shift;
165 create_empty_buffers(page, sdp->sd_sb.sb_bsize, 0);
173 map_bh(bh, sdp
245 gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) argument
307 gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) argument
343 gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, struct gfs2_ail *ai) argument
380 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
468 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); local
535 struct gfs2_sbd *sdp = gl->gl_sbd; local
[all...]
H A Drecovery.c54 int gfs2_revoke_add(struct gfs2_sbd *sdp, u64 blkno, unsigned int where) argument
56 struct list_head *head = &sdp->sd_revoke_list;
83 int gfs2_revoke_check(struct gfs2_sbd *sdp, u64 blkno, unsigned int where) argument
89 list_for_each_entry(rr, &sdp->sd_revoke_list, rr_list) {
99 wrap = (rr->rr_where < sdp->sd_replay_tail);
100 a = (sdp->sd_replay_tail < where);
107 void gfs2_revoke_clean(struct gfs2_sbd *sdp) argument
109 struct list_head *head = &sdp->sd_revoke_list;
301 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
315 if (gfs2_meta_check(sdp, b
369 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
427 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); local
558 gfs2_check_journals(struct gfs2_sbd *sdp) argument
[all...]

Completed in 121 milliseconds

123