Home
last modified time | relevance | path

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

12

/fs/gfs2/
Dlog.c48 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, in gfs2_struct2blk()
92 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp, in gfs2_ail1_start_one()
145 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush()
171 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start()
190 static void gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_ail1_empty_one()
215 static int gfs2_ail1_empty(struct gfs2_sbd *sdp) in gfs2_ail1_empty()
235 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait()
264 static void gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_ail2_empty_one()
277 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty()
310 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release()
[all …]
Dsys.c41 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); in gfs2_attr_show() local
49 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); in gfs2_attr_store() local
62 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
68 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
84 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
94 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
102 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
132 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
138 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
157 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[all …]
Dlops.c41 void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_pin()
73 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in maybe_release_space() local
98 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin()
132 static void gfs2_log_incr_head(struct gfs2_sbd *sdp) in gfs2_log_incr_head()
143 static u64 gfs2_log_bmap(struct gfs2_sbd *sdp) in gfs2_log_bmap()
172 static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, struct bio_vec *bvec, in gfs2_end_log_write_bh()
207 struct gfs2_sbd *sdp = bio->bi_private; in gfs2_end_log_write() local
239 void gfs2_log_flush_bio(struct gfs2_sbd *sdp, int rw) in gfs2_log_flush_bio()
261 static struct bio *gfs2_log_alloc_bio(struct gfs2_sbd *sdp, u64 blkno) in gfs2_log_alloc_bio()
292 static struct bio *gfs2_log_get_bio(struct gfs2_sbd *sdp, u64 blkno) in gfs2_log_get_bio()
[all …]
Dops_fstype.c67 struct gfs2_sbd *sdp; in init_sbd() local
152 static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent) in gfs2_check_sb()
189 static void gfs2_sb_in(struct gfs2_sbd *sdp, const void *buf) in gfs2_sb_in()
231 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector, int silent) in gfs2_read_super()
274 static int gfs2_read_sb(struct gfs2_sbd *sdp, int silent) in gfs2_read_sb()
362 static int init_names(struct gfs2_sbd *sdp, int silent) in init_names()
396 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
454 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_lookup_root() local
472 static int init_sb(struct gfs2_sbd *sdp, int silent) in init_sb()
528 static void gfs2_others_may_mount(struct gfs2_sbd *sdp) in gfs2_others_may_mount()
[all …]
Dquota.c88 static unsigned int gfs2_qd_hash(const struct gfs2_sbd *sdp, in gfs2_qd_hash()
118 struct gfs2_sbd *sdp; in gfs2_qd_dispose() local
214 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc()
244 const struct gfs2_sbd *sdp, in gfs2_qd_search_bucket()
265 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, in qd_get()
305 struct gfs2_sbd *sdp = qd->qd_gl->gl_name.ln_sbd; in qd_hold() local
323 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_get() local
347 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_hold() local
357 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_put() local
370 struct gfs2_sbd *sdp = qd->qd_gl->gl_name.ln_sbd; in bh_get() local
[all …]
Dutil.h33 #define gfs2_assert(sdp, assertion) \ argument
45 #define gfs2_assert_withdraw(sdp, assertion) \ argument
53 #define gfs2_assert_warn(sdp, assertion) \ argument
61 #define gfs2_consist(sdp) \ argument
83 static inline int gfs2_meta_check(struct gfs2_sbd *sdp, in gfs2_meta_check()
101 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, in gfs2_metatype_check_i()
119 #define gfs2_metatype_check(sdp, bh, type) \ argument
135 #define gfs2_io_error(sdp) \ argument
142 #define gfs2_io_error_bh(sdp, bh) \ argument
165 #define gfs2_tune_get(sdp, field) \ argument
Dutil.c33 void gfs2_assert_i(struct gfs2_sbd *sdp) in gfs2_assert_i()
38 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, const char *fmt, ...) in gfs2_lm_withdraw()
87 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i()
105 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i()
139 int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, in gfs2_consist_i()
158 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i() local
179 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_consist_rgrpd_i() local
196 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_meta_check_ii()
216 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_metatype_check_ii()
236 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
[all …]
Dsuper.c297 void gfs2_jindex_free(struct gfs2_sbd *sdp) in gfs2_jindex_free()
335 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
349 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jdesc_check() local
365 static int init_threads(struct gfs2_sbd *sdp) in init_threads()
399 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) in gfs2_make_fs_rw()
469 int gfs2_statfs_init(struct gfs2_sbd *sdp) in gfs2_statfs_init()
515 void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, in gfs2_statfs_change()
550 void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh, in update_statfs()
575 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_statfs_sync() local
642 static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp, in gfs2_lock_fs_check_clean()
[all …]
Dlock_dlm.c285 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gdlm_put_lock() local
500 static int sync_unlock(struct gfs2_sbd *sdp, struct dlm_lksb *lksb, char *name) in sync_unlock()
522 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock()
553 static int mounted_unlock(struct gfs2_sbd *sdp) in mounted_unlock()
559 static int mounted_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in mounted_lock()
566 static int control_unlock(struct gfs2_sbd *sdp) in control_unlock()
572 static int control_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in control_lock()
581 struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_control_work.work); in gfs2_control_func() local
757 static int control_mount(struct gfs2_sbd *sdp) in control_mount()
941 static int control_first_done(struct gfs2_sbd *sdp) in control_first_done()
[all …]
Dtrans.c31 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, in gfs2_trans_begin()
88 void gfs2_trans_end(struct gfs2_sbd *sdp) in gfs2_trans_end()
161 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_data() local
197 static void meta_lo_add(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in meta_lo_add()
229 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_meta() local
253 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_trans_add_revoke()
263 void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) in gfs2_trans_add_unrevoke()
Dglops.c57 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_ail_flush() local
85 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_empty_gl() local
114 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_flush() local
144 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_sync() local
184 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_inval() local
286 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_demote_ok() local
421 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_lock() local
482 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in freeze_go_sync() local
505 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in freeze_go_xmote_bh() local
550 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in iopen_go_callback() local
Dlog.h24 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) in gfs2_log_lock()
36 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) in gfs2_log_unlock()
42 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, in gfs2_log_pointers_init()
53 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_add_inode() local
Dmeta_io.c117 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_getbuf() local
203 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_read() local
245 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
267 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_remove_from_journal() local
307 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_wipe() local
339 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_indirect_buffer() local
365 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_ra() local
Drgrp.c446 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_verify() local
503 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact) in gfs2_blk2rgrpd()
541 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) in gfs2_rgrpd_get_first()
563 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrpd_get_next() local
582 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in check_and_update_goal() local
728 void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) in gfs2_clear_rgrpd()
777 struct gfs2_sbd *sdp = rgd->rd_sbd; in compute_bitstructs() local
852 u64 gfs2_ri_total(struct gfs2_sbd *sdp) in gfs2_ri_total()
876 struct gfs2_sbd *sdp = rgd->rd_sbd; in rgd_insert() local
908 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in read_rindex_entry() local
[all …]
Daops.c102 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_writepage_common() local
158 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_jdata_writepage() local
183 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage() local
240 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_pagevec() local
429 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages() local
498 struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host); in __gfs2_readpage() local
612 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_readpages() local
648 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_write_begin() local
762 struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; in adjust_fs_space() local
814 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_stuffed_write_end() local
[all …]
Dlops.h33 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit()
41 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) in databuf_limit()
49 static inline void lops_before_commit(struct gfs2_sbd *sdp, in lops_before_commit()
58 static inline void lops_after_commit(struct gfs2_sbd *sdp, in lops_after_commit()
Dinode.h35 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_is_writeback() local
41 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_is_ordered() local
126 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks()
134 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks()
Dglock.c54 struct gfs2_sbd *sdp; /* incore superblock */ member
97 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_free() local
174 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_put() local
459 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in do_xmote() local
581 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in delete_work_func() local
652 int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, in gfs2_glock_get()
900 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in add_to_queue() local
978 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_nq() local
1097 int gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number, in gfs2_glock_nq_num()
1434 static void glock_hash_walk(glock_examiner examiner, const struct gfs2_sbd *sdp) in glock_hash_walk()
[all …]
Dbmap.c238 static void find_metapath(const struct gfs2_sbd *sdp, u64 block, in find_metapath()
455 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_bmap_alloc() local
607 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_block_map() local
720 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in do_strip() local
874 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in recursive_scan() local
1011 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_journaled_truncate() local
1034 struct gfs2_sbd *sdp = GFS2_SB(inode); in trunc_start() local
1087 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_dealloc() local
1124 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_end() local
1219 struct gfs2_sbd *sdp = GFS2_SB(inode); in do_grow() local
[all …]
Dinode.c107 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_set_iop() local
155 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_inode_lookup() local
206 struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, in gfs2_lookup_by_inum()
381 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in alloc_dinode() local
439 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_init_xattr() local
523 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in link_dinode() local
594 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_create_inode() local
890 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_link() local
1093 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_unlink() local
1176 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_symlink() local
[all …]
Dxattr.c41 static int ea_calc_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize, in ea_calc_size()
59 static int ea_check_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize) in ea_check_size()
230 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_unstuffed() local
465 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_iter_unstuffed() local
624 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_alloc_blk() local
665 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_write() local
973 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_set_block() local
1181 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_xattr_set() local
1244 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_acl_chmod_unstuffed() local
1262 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_xattr_acl_chmod() local
[all …]
Drecovery.c316 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
432 static void gfs2_recovery_done(struct gfs2_sbd *sdp, unsigned int jid, in gfs2_recovery_done()
455 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_recover_func() local
Dfile.c216 struct gfs2_sbd *sdp = GFS2_SB(inode); in do_gfs2_set_flags() local
336 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_size_hint() local
388 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_page_mkwrite() local
785 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in calc_max_reserv() local
805 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_fallocate() local
991 struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host); in gfs2_lock() local
Dsuper.h19 static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp) in gfs2_jindex_size()
/fs/reiserfs/
Dreiserfs.h1740 #define sd_v1_mode(sdp) (le16_to_cpu((sdp)->sd_mode)) argument
1741 #define set_sd_v1_mode(sdp,v) ((sdp)->sd_mode = cpu_to_le16(v)) argument
1742 #define sd_v1_nlink(sdp) (le16_to_cpu((sdp)->sd_nlink)) argument
1743 #define set_sd_v1_nlink(sdp,v) ((sdp)->sd_nlink = cpu_to_le16(v)) argument
1744 #define sd_v1_uid(sdp) (le16_to_cpu((sdp)->sd_uid)) argument
1745 #define set_sd_v1_uid(sdp,v) ((sdp)->sd_uid = cpu_to_le16(v)) argument
1746 #define sd_v1_gid(sdp) (le16_to_cpu((sdp)->sd_gid)) argument
1747 #define set_sd_v1_gid(sdp,v) ((sdp)->sd_gid = cpu_to_le16(v)) argument
1748 #define sd_v1_size(sdp) (le32_to_cpu((sdp)->sd_size)) argument
1749 #define set_sd_v1_size(sdp,v) ((sdp)->sd_size = cpu_to_le32(v)) argument
[all …]

12