Home
last modified time | relevance | path

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

123

/Linux-v4.19/fs/gfs2/
Dlog.c49 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, in gfs2_struct2blk()
93 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp, in gfs2_ail1_start_one()
149 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush()
178 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start()
197 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.c42 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); in gfs2_attr_show() local
50 struct gfs2_sbd *sdp = container_of(kobj, struct gfs2_sbd, sd_kobj); in gfs2_attr_store() local
63 static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) in id_show()
69 static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) in fsname_show()
74 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show()
84 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show()
92 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store()
122 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show()
128 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store()
147 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store()
[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
99 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin()
133 static void gfs2_log_incr_head(struct gfs2_sbd *sdp) in gfs2_log_incr_head()
142 u64 gfs2_log_bmap(struct gfs2_sbd *sdp) in gfs2_log_bmap()
171 static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, struct bio_vec *bvec, in gfs2_end_log_write_bh()
206 struct gfs2_sbd *sdp = bio->bi_private; in gfs2_end_log_write() local
240 void gfs2_log_flush_bio(struct gfs2_sbd *sdp, int op, int op_flags) in gfs2_log_flush_bio()
263 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()
[all …]
Dops_fstype.c68 struct gfs2_sbd *sdp; in init_sbd() local
153 static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent) in gfs2_check_sb()
186 static void gfs2_sb_in(struct gfs2_sbd *sdp, const void *buf) in gfs2_sb_in()
228 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector, int silent) in gfs2_read_super()
272 static int gfs2_read_sb(struct gfs2_sbd *sdp, int silent) in gfs2_read_sb()
344 static int init_names(struct gfs2_sbd *sdp, int silent) in init_names()
378 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking()
436 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_lookup_root() local
455 static int init_sb(struct gfs2_sbd *sdp, int silent) in init_sb()
511 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
143 #define gfs2_io_error_bh_wd(sdp, bh) \ argument
146 #define gfs2_io_error_bh(sdp, bh) \ argument
[all …]
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()
90 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i()
108 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i()
142 int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, in gfs2_consist_i()
161 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i() local
182 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_consist_rgrpd_i() local
199 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_meta_check_ii()
219 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_metatype_check_ii()
239 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i()
[all …]
Dsuper.c307 void gfs2_jindex_free(struct gfs2_sbd *sdp) in gfs2_jindex_free()
345 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find()
359 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jdesc_check() local
375 static int init_threads(struct gfs2_sbd *sdp) in init_threads()
409 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) in gfs2_make_fs_rw()
479 int gfs2_statfs_init(struct gfs2_sbd *sdp) in gfs2_statfs_init()
525 void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, in gfs2_statfs_change()
560 void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh, in update_statfs()
584 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_statfs_sync() local
651 static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp, in gfs2_lock_fs_check_clean()
[all …]
Dlock_dlm.c283 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gdlm_put_lock() local
497 static int sync_unlock(struct gfs2_sbd *sdp, struct dlm_lksb *lksb, char *name) in sync_unlock()
519 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock()
550 static int mounted_unlock(struct gfs2_sbd *sdp) in mounted_unlock()
556 static int mounted_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in mounted_lock()
563 static int control_unlock(struct gfs2_sbd *sdp) in control_unlock()
569 static int control_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in control_lock()
578 struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_control_work.work); in gfs2_control_func() local
754 static int control_mount(struct gfs2_sbd *sdp) in control_mount()
952 static int control_first_done(struct gfs2_sbd *sdp) in control_first_done()
[all …]
Dlog.h25 static inline void gfs2_log_lock(struct gfs2_sbd *sdp) in gfs2_log_lock()
37 static inline void gfs2_log_unlock(struct gfs2_sbd *sdp) in gfs2_log_unlock()
43 static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, in gfs2_log_pointers_init()
54 struct gfs2_sbd *sdp; in gfs2_ordered_add_inode() local
Dglops.c58 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_ail_flush() local
86 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_empty_gl() local
116 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_flush() local
147 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_sync() local
188 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in rgrp_go_inval() local
330 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_demote_ok() local
432 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in inode_go_lock() local
493 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in freeze_go_sync() local
517 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in freeze_go_xmote_bh() local
562 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in iopen_go_callback() local
Dtrans.c31 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, in gfs2_trans_begin()
89 void gfs2_trans_end(struct gfs2_sbd *sdp) in gfs2_trans_end()
158 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_data() local
195 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_meta() local
247 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_trans_add_revoke()
257 void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) in gfs2_trans_add_unrevoke()
Drgrp.c455 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_verify() local
512 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact) in gfs2_blk2rgrpd()
550 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) in gfs2_rgrpd_get_first()
572 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrpd_get_next() local
591 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in check_and_update_goal() local
714 void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) in gfs2_clear_rgrpd()
759 struct gfs2_sbd *sdp = rgd->rd_sbd; in compute_bitstructs() local
834 u64 gfs2_ri_total(struct gfs2_sbd *sdp) in gfs2_ri_total()
858 struct gfs2_sbd *sdp = rgd->rd_sbd; in rgd_insert() local
890 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in read_rindex_entry() local
[all …]
Dmeta_io.c116 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_getbuf() local
253 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_read() local
313 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
335 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_remove_from_journal() local
376 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_wipe() local
408 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_indirect_buffer() local
439 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_ra() local
Daops.c100 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_writepage_common() local
182 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_jdata_writepage() local
208 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage() local
235 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_writepages() local
268 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_pagevec() local
441 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages() local
510 struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host); in __gfs2_readpage() local
628 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_readpages() local
652 struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; in adjust_fs_space() local
766 static void gfs2_discard(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_discard()
[all …]
Dlops.h36 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit()
44 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) in databuf_limit()
52 static inline void lops_before_commit(struct gfs2_sbd *sdp, in lops_before_commit()
61 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
127 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks()
135 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks()
Dbmap.c240 static void find_metapath(const struct gfs2_sbd *sdp, u64 block, in find_metapath()
449 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_walk_metadata() local
630 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_alloc() local
763 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_alloc_size() local
810 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_get() local
935 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_lock() local
962 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_unlock() local
987 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_begin_write() local
1111 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_iomap_end() local
1338 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_journaled_truncate() local
[all …]
Dglock.c55 struct gfs2_sbd *sdp; /* incore superblock */ member
141 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_free() local
237 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_glock_put() local
540 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in do_xmote() local
670 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in delete_work_func() local
783 int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, in gfs2_glock_get()
1013 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in add_to_queue() local
1091 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_glock_nq() local
1209 int gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number, in gfs2_glock_nq_num()
1545 static void glock_hash_walk(glock_examiner examiner, const struct gfs2_sbd *sdp) in glock_hash_walk()
[all …]
Dinode.c82 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_set_iop() local
141 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_inode_lookup() local
218 struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, in gfs2_lookup_by_inum()
377 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in alloc_dinode() local
435 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_init_xattr() local
519 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in link_dinode() local
590 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_create_inode() local
900 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_link() local
1103 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_unlink() local
1353 struct gfs2_sbd *sdp = GFS2_SB(odir); in gfs2_rename() local
[all …]
Dxattr.c42 static int ea_calc_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize, in ea_calc_size()
60 static int ea_check_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize) in ea_check_size()
231 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_unstuffed() local
445 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_iter_unstuffed() local
625 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_alloc_blk() local
666 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_write() local
962 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_set_block() local
1164 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_xattr_set() local
1251 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_indirect() local
1369 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in ea_dealloc_block() local
/Linux-v4.19/drivers/scsi/
Dsd.c160 struct scsi_device *sdp = sdkp->device; in cache_type_store() local
222 struct scsi_device *sdp = sdkp->device; in manage_start_stop_show() local
232 struct scsi_device *sdp = sdkp->device; in manage_start_stop_store() local
261 struct scsi_device *sdp = sdkp->device; in allow_restart_store() local
334 struct scsi_device *sdp = sdkp->device; in protection_mode_show() local
395 struct scsi_device *sdp = sdkp->device; in provisioning_mode_store() local
496 struct scsi_device *sdp = sdkp->device; in max_write_same_blocks_store() local
754 struct scsi_device *sdp = cmd->device; in sd_setup_unmap_cmnd() local
788 struct scsi_device *sdp = cmd->device; in sd_setup_write_same16_cmnd() local
818 struct scsi_device *sdp = cmd->device; in sd_setup_write_same10_cmnd() local
[all …]
Dsg.c209 #define sg_printk(prefix, sdp, fmt, a...) \ argument
251 open_wait(Sg_device *sdp, int flags) in open_wait()
293 Sg_device *sdp; in sg_open() local
389 Sg_device *sdp; in sg_release() local
416 Sg_device *sdp; in sg_read() local
613 Sg_device *sdp; in sg_write() local
796 Sg_device *sdp = sfp->parentdp; in sg_common_write() local
907 Sg_device *sdp; in sg_ioctl() local
1151 Sg_device *sdp; in sg_compat_ioctl() local
1175 Sg_device *sdp; in sg_poll() local
[all …]
/Linux-v4.19/kernel/rcu/
Dsrcutree.c97 struct srcu_data *sdp; in init_srcu_struct_nodes() local
446 struct srcu_data *sdp = this_cpu_ptr(sp->sda); in srcu_gp_start() local
500 static void srcu_schedule_cbs_sdp(struct srcu_data *sdp, unsigned long delay) in srcu_schedule_cbs_sdp()
542 struct srcu_data *sdp; in srcu_gp_end() local
651 static void srcu_funnel_gp_start(struct srcu_struct *sp, struct srcu_data *sdp, in srcu_funnel_gp_start()
779 struct srcu_data *sdp; in srcu_might_be_idle() local
857 struct srcu_data *sdp; in __call_srcu() local
1021 struct srcu_data *sdp; in srcu_barrier_cb() local
1037 struct srcu_data *sdp; in srcu_barrier() local
1174 struct srcu_data *sdp; in srcu_invoke_callbacks() local
[all …]
/Linux-v4.19/arch/sh/kernel/cpu/shmobile/
Dpm.c52 struct sh_sleep_data *sdp = onchip_mem; in sh_mobile_call_standby() local
86 struct sh_sleep_data *sdp; in sh_mobile_register_self_refresh() local

123