/linux-3.4.99/fs/gfs2/ |
D | log.c | 49 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() 146 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush() 169 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start() 188 static void gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in gfs2_ail1_empty_one() 213 static int gfs2_ail1_empty(struct gfs2_sbd *sdp) in gfs2_ail1_empty() 232 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait() 261 static void gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in gfs2_ail2_empty_one() 274 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty() 320 int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_reserve() [all …]
|
D | sys.c | 39 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() 82 static ssize_t uuid_show(struct gfs2_sbd *sdp, char *buf) in uuid_show() 92 static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) in freeze_show() 103 static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in freeze_store() 129 static ssize_t withdraw_show(struct gfs2_sbd *sdp, char *buf) in withdraw_show() 135 static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len) in withdraw_store() 149 static ssize_t statfs_sync_store(struct gfs2_sbd *sdp, const char *buf, in statfs_sync_store() [all …]
|
D | lops.c | 40 static void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_pin() 72 struct gfs2_sbd *sdp = gl->gl_sbd; in maybe_release_space() local 96 static void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_unpin() 156 struct gfs2_sbd *sdp = bh->b_private; in gfs2_log_write_endio() local 171 static struct buffer_head *gfs2_log_get_buf(struct gfs2_sbd *sdp) in gfs2_log_get_buf() 200 struct gfs2_sbd *sdp = bd->bd_gl->gl_sbd; in gfs2_fake_write_endio() local 218 static struct buffer_head *gfs2_log_fake_buf(struct gfs2_sbd *sdp, in gfs2_log_fake_buf() 240 static struct buffer_head *gfs2_get_log_desc(struct gfs2_sbd *sdp, u32 ld_type) in gfs2_get_log_desc() 255 static void buf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) in buf_lo_add() 281 static void buf_lo_before_commit(struct gfs2_sbd *sdp) in buf_lo_before_commit() [all …]
|
D | ops_fstype.c | 63 struct gfs2_sbd *sdp; in init_sbd() local 135 static int gfs2_check_sb(struct gfs2_sbd *sdp, int silent) in gfs2_check_sb() 168 static void gfs2_sb_in(struct gfs2_sbd *sdp, const void *buf) in gfs2_sb_in() 210 static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector, int silent) in gfs2_read_super() 253 static int gfs2_read_sb(struct gfs2_sbd *sdp, int silent) in gfs2_read_sb() 338 static int init_names(struct gfs2_sbd *sdp, int silent) in init_names() 372 static int init_locking(struct gfs2_sbd *sdp, struct gfs2_holder *mount_gh, in init_locking() 430 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_lookup_root() local 448 static int init_sb(struct gfs2_sbd *sdp, int silent) in init_sb() 521 static int map_journal_extents(struct gfs2_sbd *sdp) in map_journal_extents() [all …]
|
D | util.h | 32 #define gfs2_assert(sdp, assertion) \ argument 44 #define gfs2_assert_withdraw(sdp, assertion) \ argument 52 #define gfs2_assert_warn(sdp, assertion) \ argument 60 #define gfs2_consist(sdp) \ argument 82 static inline int gfs2_meta_check_i(struct gfs2_sbd *sdp, in gfs2_meta_check_i() 95 #define gfs2_meta_check(sdp, bh) \ argument 104 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, in gfs2_metatype_check_i() 122 #define gfs2_metatype_check(sdp, bh, type) \ argument 138 #define gfs2_io_error(sdp) \ argument 145 #define gfs2_io_error_bh(sdp, bh) \ argument [all …]
|
D | quota.c | 84 struct gfs2_sbd *sdp; in gfs2_shrink_qd_memory() local 133 static int qd_alloc(struct gfs2_sbd *sdp, int user, u32 id, in qd_alloc() 164 static int qd_get(struct gfs2_sbd *sdp, int user, u32 id, in qd_get() 219 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in qd_hold() local 236 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in slot_get() local 279 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in slot_hold() local 289 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in slot_put() local 302 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in bh_get() local 349 struct gfs2_sbd *sdp = qd->qd_gl->gl_sbd; in bh_put() local 361 static int qd_fish(struct gfs2_sbd *sdp, struct gfs2_quota_data **qdp) in qd_fish() [all …]
|
D | util.c | 30 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() 76 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i() 95 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i() 132 int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, in gfs2_consist_i() 153 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_consist_inode_i() local 175 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_consist_rgrpd_i() local 193 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_meta_check_ii() 214 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh, in gfs2_metatype_check_ii() 235 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file, in gfs2_io_error_i() [all …]
|
D | trans.c | 28 int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, in gfs2_trans_begin() 86 static void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release() 96 void gfs2_trans_end(struct gfs2_sbd *sdp) in gfs2_trans_end() 145 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_trans_add_bh() local 166 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_trans_add_revoke() 175 void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) in gfs2_trans_add_unrevoke()
|
D | super.c | 286 void gfs2_jindex_free(struct gfs2_sbd *sdp) in gfs2_jindex_free() 332 struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid) in gfs2_jdesc_find() 346 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jdesc_check() local 369 int gfs2_make_fs_rw(struct gfs2_sbd *sdp) in gfs2_make_fs_rw() 432 int gfs2_statfs_init(struct gfs2_sbd *sdp) in gfs2_statfs_init() 478 void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free, in gfs2_statfs_change() 513 void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh, in update_statfs() 538 struct gfs2_sbd *sdp = sb->s_fs_info; in gfs2_statfs_sync() local 602 static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp, in gfs2_lock_fs_check_clean() 667 int gfs2_freeze_fs(struct gfs2_sbd *sdp) in gfs2_freeze_fs() [all …]
|
D | lock_dlm.c | 279 struct gfs2_sbd *sdp = gl->gl_sbd; in gdlm_put_lock() local 484 static int sync_unlock(struct gfs2_sbd *sdp, struct dlm_lksb *lksb, char *name) in sync_unlock() 506 static int sync_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags, in sync_lock() 537 static int mounted_unlock(struct gfs2_sbd *sdp) in mounted_unlock() 543 static int mounted_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in mounted_lock() 550 static int control_unlock(struct gfs2_sbd *sdp) in control_unlock() 556 static int control_lock(struct gfs2_sbd *sdp, int mode, uint32_t flags) in control_lock() 565 struct gfs2_sbd *sdp = container_of(work, struct gfs2_sbd, sd_control_work.work); in gfs2_control_func() local 742 static int control_mount(struct gfs2_sbd *sdp) in control_mount() 933 static int control_first_done(struct gfs2_sbd *sdp) in control_first_done() [all …]
|
D | rgrp.c | 274 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrp_verify() local 330 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact) in gfs2_blk2rgrpd() 368 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) in gfs2_rgrpd_get_first() 390 struct gfs2_sbd *sdp = rgd->rd_sbd; in gfs2_rgrpd_get_next() local 418 void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) in gfs2_clear_rgrpd() 464 struct gfs2_sbd *sdp = rgd->rd_sbd; in compute_bitstructs() local 534 u64 gfs2_ri_total(struct gfs2_sbd *sdp) in gfs2_ri_total() 560 struct gfs2_sbd *sdp = rgd->rd_sbd; in rgd_insert() local 593 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in read_rindex_entry() local 657 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ri_update() local [all …]
|
D | log.h | 24 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()
|
D | lops.h | 31 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()
|
D | glops.c | 52 struct gfs2_sbd *sdp = gl->gl_sbd; in __gfs2_ail_flush() local 85 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_ail_empty_gl() local 110 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_ail_flush() local 265 struct gfs2_sbd *sdp = gl->gl_sbd; in inode_go_demote_ok() local 405 struct gfs2_sbd *sdp = gl->gl_sbd; in inode_go_lock() local 464 struct gfs2_sbd *sdp = gl->gl_sbd; in trans_go_sync() local 481 struct gfs2_sbd *sdp = gl->gl_sbd; in trans_go_xmote_bh() local 526 struct gfs2_sbd *sdp = gl->gl_sbd; in iopen_go_callback() local
|
D | meta_io.c | 130 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_getbuf() local 213 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_meta_read() local 252 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait() 310 struct gfs2_sbd *sdp = gfs2_mapping2sbd(mapping); in gfs2_remove_from_journal() local 354 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_wipe() local 387 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_meta_indirect_buffer() local 421 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_meta_ra() local
|
D | inode.h | 38 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_is_writeback() local 44 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_is_ordered() local 128 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks() 136 static inline int gfs2_localflocks(const struct gfs2_sbd *sdp) in gfs2_localflocks()
|
D | aops.c | 100 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_writepage_common() local 183 struct gfs2_sbd *sdp = GFS2_SB(inode); in __gfs2_jdata_writepage() local 207 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_jdata_writepage() local 264 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_write_jdata_pagevec() local 396 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_jdata_writepages() local 465 struct gfs2_sbd *sdp = GFS2_SB(page->mapping->host); in __gfs2_readpage() local 577 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_readpages() local 613 struct gfs2_sbd *sdp = GFS2_SB(mapping->host); in gfs2_write_begin() local 732 struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; in adjust_fs_space() local 784 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_stuffed_write_end() local [all …]
|
D | recovery.c | 55 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 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
|
D | glock.c | 50 struct gfs2_sbd *sdp; /* incore superblock */ member 82 static unsigned int gl_hash(const struct gfs2_sbd *sdp, in gl_hash() 117 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_glock_free() local 223 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_glock_put() local 248 const struct gfs2_sbd *sdp, in search_bucket() 533 struct gfs2_sbd *sdp = gl->gl_sbd; in do_xmote() local 652 struct gfs2_sbd *sdp = gl->gl_sbd; in delete_work_func() local 723 int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number, in gfs2_glock_get() 979 struct gfs2_sbd *sdp = gl->gl_sbd; in add_to_queue() local 1058 struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_glock_nq() local [all …]
|
D | bmap.c | 237 static void find_metapath(const struct gfs2_sbd *sdp, u64 block, in find_metapath() 454 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_bmap_alloc() local 605 struct gfs2_sbd *sdp = GFS2_SB(inode); in gfs2_block_map() local 718 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in do_strip() local 869 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in recursive_scan() local 994 struct gfs2_sbd *sdp = GFS2_SB(inode); in trunc_start() local 1036 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_dealloc() local 1074 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in trunc_end() local 1168 struct gfs2_sbd *sdp = GFS2_SB(inode); in do_grow() local 1279 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_write_alloc_required() local
|
D | inode.c | 107 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 205 struct inode *gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, in gfs2_lookup_by_inum() 390 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in alloc_dinode() local 451 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in init_dinode() local 519 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in make_dinode() local 553 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in link_dinode() local 661 struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); in gfs2_create_inode() local 811 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_link() local 1028 struct gfs2_sbd *sdp = GFS2_SB(dir); in gfs2_unlink() local [all …]
|
/linux-3.4.99/drivers/scsi/ |
D | sd.c | 138 struct scsi_device *sdp = sdkp->device; in sd_store_cache_type() local 204 struct scsi_device *sdp = sdkp->device; in sd_store_manage_start_stop() local 219 struct scsi_device *sdp = sdkp->device; in sd_store_allow_restart() local 255 struct scsi_device *sdp = sdkp->device; in sd_show_manage_start_stop() local 283 struct scsi_device *sdp = sdkp->device; in sd_show_protection_mode() local 341 struct scsi_device *sdp = sdkp->device; in sd_store_provisioning_mode() local 584 static int scsi_setup_discard_cmnd(struct scsi_device *sdp, struct request *rq) in scsi_setup_discard_cmnd() 663 static int scsi_setup_flush_cmnd(struct scsi_device *sdp, struct request *rq) in scsi_setup_flush_cmnd() 699 struct scsi_device *sdp = q->queuedata; in sd_prep_fn() local 1083 struct scsi_device *sdp = sdkp->device; in sd_getgeo() local [all …]
|
D | sg.c | 230 Sg_device *sdp; in sg_open() local 328 Sg_device *sdp; in sg_release() local 348 Sg_device *sdp; in sg_read() local 540 Sg_device *sdp; in sg_write() local 723 Sg_device *sdp = sfp->parentdp; in sg_common_write() local 780 Sg_device *sdp; in sg_ioctl() local 1109 Sg_device *sdp; in sg_compat_ioctl() local 1133 Sg_device *sdp; in sg_poll() local 1167 Sg_device *sdp; in sg_fasync() local 1267 Sg_device *sdp; in sg_rq_end_io() local [all …]
|
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | ii_pci20kc.c | 214 union pci20xxx_subdev_private *sdp; in pci20xxx_attach() local 303 union pci20xxx_subdev_private *sdp = s->private; in pci20006_init() local 329 union pci20xxx_subdev_private *sdp = s->private; in pci20006_insn_read() local 340 union pci20xxx_subdev_private *sdp = s->private; in pci20006_insn_write() local 404 union pci20xxx_subdev_private *sdp = s->private; in pci20341_init() local 442 union pci20xxx_subdev_private *sdp = s->private; in pci20341_insn_read() local
|
/linux-3.4.99/arch/sh/kernel/cpu/shmobile/ |
D | pm.c | 52 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
|