Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/gfs2/
Dlog.c46 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, in gfs2_struct2blk()
90 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp, in gfs2_ail1_start_one()
148 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush()
177 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start()
196 static void gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail1_empty_one()
224 static int gfs2_ail1_empty(struct gfs2_sbd *sdp) in gfs2_ail1_empty()
248 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait()
277 static void gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_ail2_empty_one()
290 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty()
323 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release()
[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 fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
71 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
81 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
89 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
119 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
125 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
144 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[all …]
Dquota.c85 static unsigned int gfs2_qd_hash(const struct gfs2_sbd *sdp, in gfs2_qd_hash()
115 struct gfs2_sbd *sdp; in gfs2_qd_dispose() local
211 static struct gfs2_quota_data *qd_alloc(unsigned hash, struct gfs2_sbd *sdp, struct kqid qid) in qd_alloc()
241 const struct gfs2_sbd *sdp, in gfs2_qd_search_bucket()
262 static int qd_get(struct gfs2_sbd *sdp, struct kqid qid, in qd_get()
302 struct gfs2_sbd *sdp = qd->qd_gl->gl_name.ln_sbd; in qd_hold() local
320 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_get() local
344 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_hold() local
354 struct gfs2_sbd *sdp = qd->qd_sbd; in slot_put() local
367 struct gfs2_sbd *sdp = qd->qd_gl->gl_name.ln_sbd; in bh_get() local
[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()
141 u64 gfs2_log_bmap(struct gfs2_sbd *sdp) in gfs2_log_bmap()
170 static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, in gfs2_end_log_write_bh()
205 struct gfs2_sbd *sdp = bio->bi_private; in gfs2_end_log_write() local
242 struct gfs2_sbd *sdp = bio->bi_private; in gfs2_log_submit_bio() local
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 …]
Dsuper.c53 void gfs2_jindex_free(struct gfs2_sbd *sdp) in gfs2_jindex_free()
91 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
105 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jdesc_check() local
121 static int init_threads(struct gfs2_sbd *sdp) in init_threads()
156 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) in gfs2_make_fs_rw()
230 int gfs2_statfs_init(struct gfs2_sbd *sdp) in gfs2_statfs_init()
276 void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, in gfs2_statfs_change()
311 void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh, in update_statfs()
335 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_statfs_sync() local
402 static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp, in gfs2_lock_fs_check_clean()
[all …]
Dops_fstype.c65 void free_sbd(struct gfs2_sbd *sdp) in free_sbd()
74 struct gfs2_sbd *sdp; in init_sbd() local
161 static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent) in gfs2_check_sb()
194 static void gfs2_sb_in(struct gfs2_sbd *sdp, const void *buf) in gfs2_sb_in()
236 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector, int silent) in gfs2_read_super()
280 static int gfs2_read_sb(struct gfs2_sbd *sdp, int silent) in gfs2_read_sb()
352 static int init_names(struct gfs2_sbd *sdp, int silent) in init_names()
386 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
444 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_lookup_root() local
463 static int init_sb(struct gfs2_sbd *sdp, int silent) in init_sb()
[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(struct gfs2_sbd *sdp, in gfs2_meta_check()
98 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, in gfs2_metatype_check_i()
116 #define gfs2_metatype_check(sdp, bh, type) \ argument
132 #define gfs2_io_error(sdp) \ argument
140 #define gfs2_io_error_bh_wd(sdp, bh) \ argument
143 #define gfs2_io_error_bh(sdp, bh) \ argument
[all …]
Dutil.c31 void gfs2_assert_i(struct gfs2_sbd *sdp) in gfs2_assert_i()
36 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, const char *fmt, ...) in gfs2_lm_withdraw()
88 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i()
106 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i()
140 int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, in gfs2_consist_i()
159 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i() local
180 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_consist_rgrpd_i() local
201 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_meta_check_ii()
221 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_metatype_check_ii()
241 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
[all …]
Dlock_dlm.c185 static int make_mode(struct gfs2_sbd *sdp, const unsigned int lmstate) in make_mode()
281 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gdlm_put_lock() local
495 static int sync_unlock(struct gfs2_sbd *sdp, struct dlm_lksb *lksb, char *name) in sync_unlock()
517 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock()
548 static int mounted_unlock(struct gfs2_sbd *sdp) in mounted_unlock()
554 static int mounted_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in mounted_lock()
561 static int control_unlock(struct gfs2_sbd *sdp) in control_unlock()
567 static int control_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in control_lock()
576 struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_control_work.work); in gfs2_control_func() local
752 static int control_mount(struct gfs2_sbd *sdp) in control_mount()
[all …]
Dtrans.c28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, in gfs2_trans_begin()
74 static void gfs2_print_trans(struct gfs2_sbd *sdp, const struct gfs2_trans *tr) in gfs2_print_trans()
86 void gfs2_trans_end(struct gfs2_sbd *sdp) in gfs2_trans_end()
153 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_data() local
190 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_meta() local
243 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_trans_add_revoke()
253 void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) in gfs2_trans_remove_revoke()
Dlog.h22 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) in gfs2_log_lock()
34 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) in gfs2_log_unlock()
40 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, in gfs2_log_pointers_init()
51 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_add_inode() local
Dglops.c56 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_ail_flush() local
84 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
145 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_sync() local
186 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_inval() local
328 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_demote_ok() local
430 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_lock() local
502 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in freeze_go_sync() local
527 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in freeze_go_xmote_bh() local
572 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in iopen_go_callback() local
Drgrp.c101 struct gfs2_sbd *sdp = rbm->rgd->rd_sbd; in gfs2_setbit() local
451 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_verify() local
508 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact) in gfs2_blk2rgrpd()
546 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) in gfs2_rgrpd_get_first()
568 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrpd_get_next() local
587 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in check_and_update_goal() local
720 void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) in gfs2_clear_rgrpd()
748 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rindex_print() local
768 struct gfs2_sbd *sdp = rgd->rd_sbd; in compute_bitstructs() local
843 u64 gfs2_ri_total(struct gfs2_sbd *sdp) in gfs2_ri_total()
[all …]
Daops.c93 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_writepage() local
159 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_jdata_writepage() local
185 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage() local
212 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_writepages() local
245 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_pagevec() local
418 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages() local
486 struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host); in __gfs2_readpage() local
604 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_readpages() local
628 struct gfs2_sbd *sdp = GFS2_SB(inode); in adjust_fs_space() local
707 static void gfs2_discard(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_discard()
[all …]
Dmeta_io.c113 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_getbuf() local
250 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_read() local
310 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
332 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_remove_from_journal() local
373 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_wipe() local
405 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_indirect_buffer() local
436 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_ra() local
Dlops.h30 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit()
38 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) in databuf_limit()
46 static inline void lops_before_commit(struct gfs2_sbd *sdp, in lops_before_commit()
55 static inline void lops_after_commit(struct gfs2_sbd *sdp, in lops_after_commit()
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()
Drecovery.c120 int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, in __get_log_header()
166 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in get_log_header() local
196 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in foreach_descriptor() local
262 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in clean_journal() local
274 static void gfs2_recovery_done(struct gfs2_sbd *sdp, unsigned int jid, in gfs2_recovery_done()
297 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_recover_func() local
Dbmap.c238 static void find_metapath(const struct gfs2_sbd *sdp, u64 block, in find_metapath()
393 static sector_t metapath_to_block(struct gfs2_sbd *sdp, struct metapath *mp) in metapath_to_block()
665 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_alloc() local
798 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_alloc_size() local
845 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_get() local
991 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_lock() local
1018 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_unlock() local
1032 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_page_prepare() local
1045 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_page_done() local
1067 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_begin_write() local
[all …]
Dglock.c52 struct gfs2_sbd *sdp; /* incore superblock */ member
138 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_free() local
239 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_glock_put() local
309 struct gfs2_sbd *sdp = gh->gh_gl->gl_name.ln_sbd; in gfs2_holder_wake() local
548 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in do_xmote() local
678 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in delete_work_func() local
791 int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, in gfs2_glock_get()
989 struct gfs2_sbd *sdp = ghs[0].gh_gl->gl_name.ln_sbd; in gfs2_glock_async_wait() local
1113 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in add_to_queue() local
1191 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_nq() local
[all …]
Dinode.c79 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_set_iop() local
138 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_inode_lookup() local
215 struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, in gfs2_lookup_by_inum()
374 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in alloc_dinode() local
432 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_init_xattr() local
516 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in link_dinode() local
587 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_create_inode() local
897 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_link() local
1100 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_unlink() local
1350 struct gfs2_sbd *sdp = GFS2_SB(odir); in gfs2_rename() local
[all …]
Dxattr.c39 static int ea_calc_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize, in ea_calc_size()
57 static int ea_check_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize) in ea_check_size()
228 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_unstuffed() local
442 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_iter_unstuffed() local
622 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_alloc_blk() local
663 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_write() local
959 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_set_block() local
1161 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_xattr_set() local
1248 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_indirect() local
1368 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_block() local
/Linux-v5.4/kernel/rcu/
Dsrcutree.c89 struct srcu_data *sdp; in init_srcu_struct_nodes() local
380 struct srcu_data *sdp = per_cpu_ptr(ssp->sda, cpu); in cleanup_srcu_struct() local
440 struct srcu_data *sdp = this_cpu_ptr(ssp->sda); in srcu_gp_start() local
460 struct srcu_data *sdp = container_of(t, struct srcu_data, delay_work); in srcu_delay_timer() local
465 static void srcu_queue_delayed_work_on(struct srcu_data *sdp, in srcu_queue_delayed_work_on()
480 static void srcu_schedule_cbs_sdp(struct srcu_data *sdp, unsigned long delay) in srcu_schedule_cbs_sdp()
522 struct srcu_data *sdp; in srcu_gp_end() local
631 static void srcu_funnel_gp_start(struct srcu_struct *ssp, struct srcu_data *sdp, in srcu_funnel_gp_start()
763 struct srcu_data *sdp; in srcu_might_be_idle() local
842 struct srcu_data *sdp; in __call_srcu() local
[all …]
/Linux-v5.4/drivers/scsi/
Dsd.c163 struct scsi_device *sdp = sdkp->device; in cache_type_store() local
231 struct scsi_device *sdp = sdkp->device; in manage_start_stop_show() local
241 struct scsi_device *sdp = sdkp->device; in manage_start_stop_store() local
270 struct scsi_device *sdp = sdkp->device; in allow_restart_store() local
343 struct scsi_device *sdp = sdkp->device; in protection_mode_show() local
404 struct scsi_device *sdp = sdkp->device; in provisioning_mode_store() local
505 struct scsi_device *sdp = sdkp->device; in max_write_same_blocks_store() local
826 struct scsi_device *sdp = cmd->device; in sd_setup_unmap_cmnd() local
861 struct scsi_device *sdp = cmd->device; in sd_setup_write_same16_cmnd() local
892 struct scsi_device *sdp = cmd->device; in sd_setup_write_same10_cmnd() local
[all …]
Dsg.c204 #define sg_printk(prefix, sdp, fmt, a...) \ argument
246 open_wait(Sg_device *sdp, int flags) in open_wait()
288 Sg_device *sdp; in sg_open() local
384 Sg_device *sdp; in sg_release() local
411 Sg_device *sdp; in sg_read() local
608 Sg_device *sdp; in sg_write() local
791 Sg_device *sdp = sfp->parentdp; in sg_common_write() local
902 Sg_device *sdp; in sg_ioctl() local
1146 Sg_device *sdp; in sg_compat_ioctl() local
1170 Sg_device *sdp; in sg_poll() local
[all …]

12