Home
last modified time | relevance | path

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

12

/fs/gfs2/
Dlog.c48 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct) in gfs2_struct2blk()
100 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp, in gfs2_ail1_start_one()
160 static void dump_ail_list(struct gfs2_sbd *sdp) in dump_ail_list()
201 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush()
245 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start()
257 static void gfs2_log_update_flush_tail(struct gfs2_sbd *sdp) in gfs2_log_update_flush_tail()
270 static void gfs2_log_update_head(struct gfs2_sbd *sdp) in gfs2_log_update_head()
283 static void gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail_empty_tr()
305 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail1_empty_one()
358 static int gfs2_ail1_empty(struct gfs2_sbd *sdp, int max_revokes) in gfs2_ail1_empty()
[all …]
Dsys.c39 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); in gfs2_attr_show() local
47 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); in gfs2_attr_store() local
60 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
66 static ssize_t status_show(struct gfs2_sbd *sdp, char *buf) in status_show()
141 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
146 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
156 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
164 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
194 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
200 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
[all …]
Dutil.h30 #define gfs2_assert(sdp, assertion) \ argument
43 #define gfs2_assert_withdraw(sdp, assertion) \ argument
52 #define gfs2_assert_withdraw_delayed(sdp, assertion) \ argument
64 #define gfs2_assert_warn(sdp, assertion) \ argument
76 #define gfs2_consist(sdp) \ argument
98 static inline int gfs2_meta_check(struct gfs2_sbd *sdp, in gfs2_meta_check()
116 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, in gfs2_metatype_check_i()
134 #define gfs2_metatype_check(sdp, bh, type) \ argument
155 #define gfs2_io_error(sdp) \ argument
163 #define gfs2_io_error_bh_wd(sdp, bh) \ argument
[all …]
Dquota.c88 static unsigned int gfs2_qd_hash(const struct gfs2_sbd *sdp, in gfs2_qd_hash()
112 struct gfs2_sbd *sdp = qd->qd_sbd; in gfs2_qd_dealloc() local
121 struct gfs2_sbd *sdp = qd->qd_sbd; in gfs2_qd_dispose() local
219 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc()
249 const struct gfs2_sbd *sdp, in gfs2_qd_search_bucket()
270 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, in qd_get()
311 struct gfs2_sbd *sdp = qd->qd_sbd; in qd_hold() local
318 struct gfs2_sbd *sdp; in qd_put() local
340 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_get() local
363 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_hold() local
[all …]
Dsuper.c59 void gfs2_jindex_free(struct gfs2_sbd *sdp) in gfs2_jindex_free()
96 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
110 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jdesc_check() local
133 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) in gfs2_make_fs_rw()
185 int gfs2_statfs_init(struct gfs2_sbd *sdp) in gfs2_statfs_init()
224 void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, in gfs2_statfs_change()
253 void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh) in update_statfs()
276 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_statfs_sync() local
332 static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp) in gfs2_lock_fs_check_clean()
450 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_inode() local
[all …]
Dops_fstype.c65 void free_sbd(struct gfs2_sbd *sdp) in free_sbd()
74 struct gfs2_sbd *sdp; in init_sbd() local
158 static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent) in gfs2_check_sb()
199 static void gfs2_sb_in(struct gfs2_sbd *sdp, const void *buf) in gfs2_sb_in()
240 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector, int silent) in gfs2_read_super()
282 static int gfs2_read_sb(struct gfs2_sbd *sdp, int silent) in gfs2_read_sb()
363 static int init_names(struct gfs2_sbd *sdp, int silent) in init_names()
399 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
458 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_lookup_root() local
477 static int init_sb(struct gfs2_sbd *sdp, int silent) in init_sb()
[all …]
Dutil.c39 void gfs2_assert_i(struct gfs2_sbd *sdp) in gfs2_assert_i()
52 int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in check_journal_clean()
100 int gfs2_freeze_lock_shared(struct gfs2_sbd *sdp) in gfs2_freeze_lock_shared()
118 static void signal_our_withdraw(struct gfs2_sbd *sdp) in signal_our_withdraw()
305 void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...) in gfs2_lm()
321 int gfs2_withdraw(struct gfs2_sbd *sdp) in gfs2_withdraw()
370 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i()
400 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i()
430 void gfs2_consist_i(struct gfs2_sbd *sdp, const char *function, in gfs2_consist_i()
446 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i() local
[all …]
Dlops.c42 void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_pin()
74 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in maybe_release_space() local
102 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin()
136 void gfs2_log_incr_head(struct gfs2_sbd *sdp) in gfs2_log_incr_head()
169 static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, in gfs2_end_log_write_bh()
204 struct gfs2_sbd *sdp = bio->bi_private; in gfs2_end_log_write() local
245 struct gfs2_sbd *sdp = bio->bi_private; in gfs2_log_submit_bio() local
264 static struct bio *gfs2_log_alloc_bio(struct gfs2_sbd *sdp, u64 blkno, in gfs2_log_alloc_bio()
294 static struct bio *gfs2_log_get_bio(struct gfs2_sbd *sdp, u64 blkno, in gfs2_log_get_bio()
328 void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_log_write()
[all …]
Dtrans.c28 static void gfs2_print_trans(struct gfs2_sbd *sdp, const struct gfs2_trans *tr) in gfs2_print_trans()
40 int __gfs2_trans_begin(struct gfs2_trans *tr, struct gfs2_sbd *sdp, in __gfs2_trans_begin()
109 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, in gfs2_trans_begin()
124 void gfs2_trans_end(struct gfs2_sbd *sdp) in gfs2_trans_end()
195 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_data() local
232 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_meta() local
294 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_trans_add_revoke()
304 void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) in gfs2_trans_remove_revoke()
326 void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_trans_free()
Dlock_dlm.c200 static int make_mode(struct gfs2_sbd *sdp, const unsigned int lmstate) in make_mode()
298 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gdlm_put_lock() local
521 static int sync_unlock(struct gfs2_sbd *sdp, struct dlm_lksb *lksb, char *name) in sync_unlock()
543 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock()
574 static int mounted_unlock(struct gfs2_sbd *sdp) in mounted_unlock()
580 static int mounted_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in mounted_lock()
587 static int control_unlock(struct gfs2_sbd *sdp) in control_unlock()
593 static int control_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in control_lock()
604 static void remote_withdraw(struct gfs2_sbd *sdp) in remote_withdraw()
624 struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_control_work.work); in gfs2_control_func() local
[all …]
Dglops.c36 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_error() local
62 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_ail_flush() local
93 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_empty_gl() local
146 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_flush() local
170 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_rgrp_metasync() local
198 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_sync() local
227 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_inval() local
397 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_demote_ok() local
407 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_dinode_in() local
569 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in freeze_go_callback() local
[all …]
Dlog.h29 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) in gfs2_log_lock()
41 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) in gfs2_log_unlock()
47 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, in gfs2_log_pointers_init()
60 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
256 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_read() local
317 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
341 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_remove_from_journal() local
384 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe()
410 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_getjdatabuf() local
444 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_journal_wipe() local
491 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_buffer() local
521 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_ra() local
Drgrp.c109 struct gfs2_sbd *sdp = rbm->rgd->rd_sbd; in gfs2_setbit() local
467 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_verify() local
524 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact) in gfs2_blk2rgrpd()
562 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) in gfs2_rgrpd_get_first()
584 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrpd_get_next() local
603 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in check_and_update_goal() local
716 void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) in gfs2_clear_rgrpd()
757 struct gfs2_sbd *sdp = rgd->rd_sbd; in compute_bitstructs() local
841 u64 gfs2_ri_total(struct gfs2_sbd *sdp) in gfs2_ri_total()
865 struct gfs2_sbd *sdp = rgd->rd_sbd; in rgd_insert() local
[all …]
Drecovery.c118 int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, in __get_log_header()
168 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in get_log_header() local
199 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in foreach_descriptor() local
265 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in clean_journal() local
279 static void gfs2_recovery_done(struct gfs2_sbd *sdp, unsigned int jid, in gfs2_recovery_done()
311 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in update_statfs_inode() local
380 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in recover_local_statfs() local
405 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_recover_func() local
Dlops.h26 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit()
31 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) in databuf_limit()
36 static inline void lops_before_commit(struct gfs2_sbd *sdp, in lops_before_commit()
45 static inline void lops_after_commit(struct gfs2_sbd *sdp, in lops_after_commit()
Dglock.c55 struct gfs2_sbd *sdp; /* incore superblock */ member
157 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in glock_blocked_by_withdraw() local
178 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_free() local
186 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_free_later() local
195 static void gfs2_free_dead_glocks(struct gfs2_sbd *sdp) in gfs2_free_dead_glocks()
298 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_glock_put() local
398 struct gfs2_sbd *sdp = gh->gh_gl->gl_name.ln_sbd; in gfs2_holder_wake() local
575 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_set_demote() local
676 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in is_system_glock() local
698 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in do_xmote() local
[all …]
Dinode.h30 static inline bool gfs2_is_ordered(const struct gfs2_sbd *sdp) in gfs2_is_ordered()
35 static inline bool gfs2_is_writeback(const struct gfs2_sbd *sdp) in gfs2_is_writeback()
122 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks()
130 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks()
Daops.c156 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage() local
181 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_writepages() local
213 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_batch() local
393 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages() local
454 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_read_folio() local
544 struct gfs2_sbd *sdp = GFS2_SB(inode); in adjust_fs_space() local
613 static void gfs2_discard(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_discard()
641 struct gfs2_sbd *sdp = GFS2_SB(folio->mapping->host); in gfs2_invalidate_folio() local
683 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_release_folio() local
Dbmap.c235 static void find_metapath(const struct gfs2_sbd *sdp, u64 block, in find_metapath()
389 static sector_t metapath_to_block(struct gfs2_sbd *sdp, struct metapath *mp) in metapath_to_block()
470 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_walk_metadata() local
662 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_iomap_alloc() local
795 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_alloc_size() local
842 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_iomap_get() local
964 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_get_folio() local
985 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_put_folio() local
1011 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_begin_write() local
1138 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_end() local
[all …]
Dxattr.c36 static int ea_calc_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize, in ea_calc_size()
54 static int ea_check_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize) in ea_check_size()
70 static bool gfs2_eatype_valid(struct gfs2_sbd *sdp, u8 type) in gfs2_eatype_valid()
91 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_foreach_i() local
234 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_unstuffed() local
354 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_list_i() local
456 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_iter_unstuffed() local
636 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_alloc_blk() local
677 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_write() local
970 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_set_block() local
[all …]
Dinode.c53 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_set_iop() local
131 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_inode_lookup() local
243 struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, in gfs2_lookup_by_inum()
405 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in alloc_dinode() local
468 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_init_xattr() local
551 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in link_dinode() local
629 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_create_inode() local
948 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_link() local
1150 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_unlink() local
1404 struct gfs2_sbd *sdp = GFS2_SB(odir); in gfs2_rename() local
[all …]
Dfile.c222 struct gfs2_sbd *sdp = GFS2_SB(inode); in do_gfs2_set_flags() local
316 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_getlabel() local
369 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_size_hint() local
420 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_page_mkwrite() local
1015 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_file_buffered_write() local
1226 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in calc_max_reserv() local
1246 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_fallocate() local
1362 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_fallocate() local
1434 struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host); in gfs2_lock() local
Dacl.h12 #define GFS2_ACL_MAX_ENTRIES(sdp) ((300 << (sdp)->sd_sb.sb_bsize_shift) >> 12) argument
/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