Home
last modified time | relevance | path

Searched defs:sdp (Results 1 – 25 of 36) sorted by relevance

12

/fs/gfs2/
Dlog.c47 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, in gfs2_struct2blk()
90 static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in gfs2_ail1_start_one()
144 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai, int flags) in gfs2_ail1_empty_one()
171 static void gfs2_ail1_start(struct gfs2_sbd *sdp, int flags) in gfs2_ail1_start()
214 static int gfs2_ail1_empty(struct gfs2_sbd *sdp, int flags) in gfs2_ail1_empty()
243 static void gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in gfs2_ail2_empty_one()
256 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty()
296 int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_reserve()
332 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release()
343 static u64 log_bmap(struct gfs2_sbd *sdp, unsigned int lbn) in log_bmap()
[all …]
Dlops.c37 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_pin()
65 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin()
113 static struct buffer_head *gfs2_get_log_desc(struct gfs2_sbd *sdp, u32 ld_type) in gfs2_get_log_desc()
128 static void buf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) in buf_lo_add()
155 static void buf_lo_before_commit(struct gfs2_sbd *sdp) in buf_lo_before_commit()
215 static void buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in buf_lo_after_commit()
233 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_before_scan() local
247 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_scan_elements() local
294 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_after_scan() local
309 static void revoke_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) in revoke_lo_add()
[all …]
Dops_fstype.c79 struct gfs2_sbd *sdp; in init_sbd() local
144 static int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb_host *sb, int silent) in gfs2_check_sb()
262 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector) in gfs2_read_super()
310 static int gfs2_read_sb(struct gfs2_sbd *sdp, struct gfs2_glock *gl, int silent) in gfs2_read_sb()
399 static int init_names(struct gfs2_sbd *sdp, int silent) in init_names()
438 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
496 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_lookup_root() local
516 static int init_sb(struct gfs2_sbd *sdp, int silent) in init_sb()
589 static int map_journal_extents(struct gfs2_sbd *sdp) in map_journal_extents()
633 static void gfs2_lm_others_may_mount(struct gfs2_sbd *sdp) in gfs2_lm_others_may_mount()
[all …]
Dutil.h30 #define gfs2_assert(sdp, assertion) \ argument
42 #define gfs2_assert_withdraw(sdp, assertion) \ argument
50 #define gfs2_assert_warn(sdp, assertion) \ argument
58 #define gfs2_consist(sdp) \ argument
80 static inline int gfs2_meta_check_i(struct gfs2_sbd *sdp, in gfs2_meta_check_i()
93 #define gfs2_meta_check(sdp, bh) \ argument
102 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, in gfs2_metatype_check_i()
120 #define gfs2_metatype_check(sdp, bh, type) \ argument
136 #define gfs2_io_error(sdp) \ argument
143 #define gfs2_io_error_bh(sdp, bh) \ argument
[all …]
Dsys.c29 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
35 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
40 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
51 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
77 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
83 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
97 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
110 static ssize_t quota_sync_store(struct gfs2_sbd *sdp, const char *buf, in quota_sync_store()
123 static ssize_t quota_refresh_user_store(struct gfs2_sbd *sdp, const char *buf, in quota_refresh_user_store()
137 static ssize_t quota_refresh_group_store(struct gfs2_sbd *sdp, const char *buf, in quota_refresh_group_store()
[all …]
Dutil.c30 void gfs2_assert_i(struct gfs2_sbd *sdp) in gfs2_assert_i()
36 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) in gfs2_lm_withdraw()
64 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i()
83 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i()
113 int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, in gfs2_consist_i()
134 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i() local
156 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_consist_rgrpd_i() local
174 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_meta_check_ii()
195 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_metatype_check_ii()
216 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
[all …]
Dquota.c93 static int qd_alloc(struct gfs2_sbd *sdp, int user, u32 id, in qd_alloc()
128 static int qd_get(struct gfs2_sbd *sdp, int user, u32 id, int create, in qd_get()
177 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in qd_hold() local
187 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in qd_put() local
197 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in slot_get() local
240 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in slot_hold() local
250 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in slot_put() local
263 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in bh_get() local
310 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in bh_put() local
322 static int qd_fish(struct gfs2_sbd *sdp, struct gfs2_quota_data **qdp) in qd_fish()
[all …]
Drgrp.c254 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_verify() local
318 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk) in gfs2_blk2rgrpd()
344 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) in gfs2_rgrpd_get_first()
364 static void clear_rgrpdi(struct gfs2_sbd *sdp) in clear_rgrpdi()
392 void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) in gfs2_clear_rgrpd()
419 struct gfs2_sbd *sdp = rgd->rd_sbd; in compute_bitstructs() local
488 u64 gfs2_ri_total(struct gfs2_sbd *sdp) in gfs2_ri_total()
535 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in read_rindex_entry() local
588 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ri_update() local
626 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ri_update_special() local
[all …]
Dsuper.c42 void gfs2_jindex_free(struct gfs2_sbd *sdp) in gfs2_jindex_free()
88 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
102 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jdesc_check() local
129 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) in gfs2_make_fs_rw()
192 int gfs2_statfs_init(struct gfs2_sbd *sdp) in gfs2_statfs_init()
238 void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, in gfs2_statfs_change()
262 int gfs2_statfs_sync(struct gfs2_sbd *sdp) in gfs2_statfs_sync()
338 static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp, in gfs2_lock_fs_check_clean()
405 int gfs2_freeze_fs(struct gfs2_sbd *sdp) in gfs2_freeze_fs()
432 void gfs2_unfreeze_fs(struct gfs2_sbd *sdp) in gfs2_unfreeze_fs()
Dops_super.c54 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_inode() local
98 static int gfs2_make_fs_ro(struct gfs2_sbd *sdp) in gfs2_make_fs_ro()
132 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_put_super() local
221 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_freeze() local
291 static int gfs2_statfs_slow(struct gfs2_sbd *sdp, struct gfs2_statfs_change_host *sc) in gfs2_statfs_slow()
367 static int gfs2_statfs_i(struct gfs2_sbd *sdp, struct gfs2_statfs_change_host *sc) in gfs2_statfs_i()
402 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_statfs() local
437 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_remount_fs() local
531 struct gfs2_sbd *sdp = mnt->mnt_sb->s_fs_info; in gfs2_show_options() local
605 struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; in gfs2_delete_inode() local
Dtrans.c28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, in gfs2_trans_begin()
82 void gfs2_trans_end(struct gfs2_sbd *sdp) in gfs2_trans_end()
127 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_trans_add_bh() local
140 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_trans_add_revoke()
149 void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) in gfs2_trans_add_unrevoke()
Drecovery.c55 int gfs2_revoke_add(struct gfs2_sbd *sdp, u64 blkno, unsigned int where) in gfs2_revoke_add()
84 int gfs2_revoke_check(struct gfs2_sbd *sdp, u64 blkno, unsigned int where) in gfs2_revoke_check()
108 void gfs2_revoke_clean(struct gfs2_sbd *sdp) in gfs2_revoke_clean()
316 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in foreach_descriptor() local
384 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in clean_journal() local
430 static void gfs2_lm_recovery_done(struct gfs2_sbd *sdp, unsigned int jid, in gfs2_lm_recovery_done()
455 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_recover_journal() local
588 static struct gfs2_jdesc *gfs2_jdesc_find_dirty(struct gfs2_sbd *sdp) in gfs2_jdesc_find_dirty()
616 static void gfs2_check_journals(struct gfs2_sbd *sdp) in gfs2_check_journals()
638 struct gfs2_sbd *sdp = data; in gfs2_recoverd() local
Dlops.h31 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit()
39 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) in databuf_limit()
54 static inline void lops_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) in lops_add()
60 static inline void lops_before_commit(struct gfs2_sbd *sdp) in lops_before_commit()
68 static inline void lops_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in lops_after_commit()
Dmeta_io.c69 struct inode *gfs2_aspace_get(struct gfs2_sbd *sdp) in gfs2_aspace_get()
100 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_meta_inval() local
143 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_getbuf() local
249 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
306 struct gfs2_sbd *sdp = GFS2_SB(bh->b_page->mapping->host); in gfs2_remove_from_journal() local
345 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_wipe() local
378 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_indirect_buffer() local
412 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_meta_ra() local
Dlog.h23 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) in gfs2_log_lock()
35 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) in gfs2_log_unlock()
41 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, in gfs2_log_pointers_init()
Dglock.c51 struct gfs2_sbd *sdp; /* incore superblock */ member
132 static unsigned int gl_hash(const struct gfs2_sbd *sdp, in gl_hash()
155 struct gfs2_sbd *sdp = gl->gl_sbd; in glock_free() local
238 const struct gfs2_sbd *sdp, in search_bucket()
266 static struct gfs2_glock *gfs2_glock_find(const struct gfs2_sbd *sdp, in gfs2_glock_find()
525 static unsigned int gfs2_lm_lock(struct gfs2_sbd *sdp, void *lock, in gfs2_lm_lock()
553 struct gfs2_sbd *sdp = gl->gl_sbd; in do_xmote() local
684 static int gfs2_lm_get_lock(struct gfs2_sbd *sdp, struct lm_lockname *name, in gfs2_lm_get_lock()
709 int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, in gfs2_glock_get()
924 struct gfs2_sbd *sdp = gl->gl_sbd; in add_to_queue() local
[all …]
Dops_address.c102 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_writepage_common() local
188 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_jdata_writepage() local
212 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage() local
269 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_pagevec() local
413 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages() local
479 struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host); in __gfs2_readpage() local
591 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_readpages() local
627 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_write_begin() local
728 struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; in adjust_fs_space() local
766 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_stuffed_write_end() local
[all …]
Dglops.c40 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_ail_empty_gl() local
206 struct gfs2_sbd *sdp = gl->gl_sbd; in inode_go_demote_ok() local
223 struct gfs2_sbd *sdp = gl->gl_sbd; in inode_go_lock() local
340 struct gfs2_sbd *sdp = gl->gl_sbd; in trans_go_sync() local
357 struct gfs2_sbd *sdp = gl->gl_sbd; in trans_go_xmote_bh() local
Dops_file.c208 struct gfs2_sbd *sdp = GFS2_SB(inode); in do_gfs2_set_flags() local
343 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_page_mkwrite() local
508 struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; in gfs2_close() local
574 struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host); in gfs2_setlease() local
586 static int gfs2_lm_plock_get(struct gfs2_sbd *sdp, struct lm_lockname *name, in gfs2_lm_plock_get()
596 static int gfs2_lm_plock(struct gfs2_sbd *sdp, struct lm_lockname *name, in gfs2_lm_plock()
606 static int gfs2_lm_punlock(struct gfs2_sbd *sdp, struct lm_lockname *name, in gfs2_lm_punlock()
628 struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host); in gfs2_lock() local
Dops_inode.c54 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_create() local
149 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_link() local
279 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_unlink() local
352 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_symlink() local
411 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_mkdir() local
488 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_rmdir() local
566 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_mknod() local
657 struct gfs2_sbd *sdp = GFS2_SB(odir); in gfs2_rename() local
990 struct gfs2_sbd *sdp = GFS2_SB(inode); in setattr_size() local
1013 struct gfs2_sbd *sdp = GFS2_SB(inode); in setattr_chown() local
Dinode.c135 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_set_iop() local
190 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_inode_lookup() local
344 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dinode_dealloc() local
540 static int pick_formal_ino_1(struct gfs2_sbd *sdp, u64 *formal_ino) in pick_formal_ino_1()
581 static int pick_formal_ino_2(struct gfs2_sbd *sdp, u64 *formal_ino) in pick_formal_ino_2()
644 static int pick_formal_ino(struct gfs2_sbd *sdp, u64 *inum) in pick_formal_ino()
721 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in alloc_dinode() local
763 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in init_dinode() local
821 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in make_dinode() local
855 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in link_dinode() local
[all …]
Dbmap.c239 static void find_metapath(const struct gfs2_sbd *sdp, u64 block, in find_metapath()
432 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_bmap_alloc() local
569 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_block_map() local
685 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in recursive_scan() local
751 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in do_strip() local
892 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in do_grow() local
1021 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_start() local
1065 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_dealloc() local
1103 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_end() local
1165 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in do_touch() local
[all …]
Deattr.c42 static int ea_calc_size(struct gfs2_sbd *sdp, struct gfs2_ea_request *er, in ea_calc_size()
54 static int ea_check_size(struct gfs2_sbd *sdp, struct gfs2_ea_request *er) in ea_check_size()
222 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_unstuffed() local
443 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_get_unstuffed() local
582 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_alloc_blk() local
620 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_write() local
932 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_set_block() local
1201 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_acl_chmod_unstuffed() local
1299 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_indirect() local
1413 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_block() local
Dinode.h28 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_is_writeback() local
34 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_is_ordered() local
Drecovery.h15 static inline void gfs2_replay_incr_blk(struct gfs2_sbd *sdp, unsigned int *blk) in gfs2_replay_incr_blk()

12