Searched refs:bd (Results 1 – 11 of 11) sorted by relevance
/fs/gfs2/ |
D | lops.c | 39 struct gfs2_bufdata *bd; in gfs2_pin() local 48 bd = bh->b_private; in gfs2_pin() 52 if (bd->bd_ail) in gfs2_pin() 53 list_move(&bd->bd_ail_st_list, &bd->bd_ail->ai_ail2_list); in gfs2_pin() 68 struct gfs2_bufdata *bd = bh->b_private; in gfs2_unpin() local 80 if (bd->bd_ail) { in gfs2_unpin() 81 list_del(&bd->bd_ail_st_list); in gfs2_unpin() 84 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin() 85 list_add(&bd->bd_ail_gl_list, &gl->gl_ail_list); in gfs2_unpin() 88 bd->bd_ail = ai; in gfs2_unpin() [all …]
|
D | trans.c | 128 struct gfs2_bufdata *bd; in gfs2_trans_add_bh() local 130 bd = bh->b_private; in gfs2_trans_add_bh() 131 if (bd) in gfs2_trans_add_bh() 132 gfs2_assert(sdp, bd->bd_gl == gl); in gfs2_trans_add_bh() 135 bd = bh->b_private; in gfs2_trans_add_bh() 137 lops_add(sdp, &bd->bd_le); in gfs2_trans_add_bh() 140 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_trans_add_revoke() argument 142 BUG_ON(!list_empty(&bd->bd_le.le_list)); in gfs2_trans_add_revoke() 143 BUG_ON(!list_empty(&bd->bd_ail_st_list)); in gfs2_trans_add_revoke() 144 BUG_ON(!list_empty(&bd->bd_ail_gl_list)); in gfs2_trans_add_revoke() [all …]
|
D | log.c | 74 void gfs2_remove_from_ail(struct gfs2_bufdata *bd) in gfs2_remove_from_ail() argument 76 bd->bd_ail = NULL; in gfs2_remove_from_ail() 77 list_del_init(&bd->bd_ail_st_list); in gfs2_remove_from_ail() 78 list_del_init(&bd->bd_ail_gl_list); in gfs2_remove_from_ail() 79 atomic_dec(&bd->bd_gl->gl_ail_count); in gfs2_remove_from_ail() 80 brelse(bd->bd_bh); in gfs2_remove_from_ail() 94 struct gfs2_bufdata *bd, *s; in gfs2_ail1_start_one() local 101 list_for_each_entry_safe_reverse(bd, s, &ai->ai_ail1_list, in gfs2_ail1_start_one() 103 bh = bd->bd_bh; in gfs2_ail1_start_one() 105 gfs2_assert(sdp, bd->bd_ail == ai); in gfs2_ail1_start_one() [all …]
|
D | meta_io.c | 278 struct gfs2_bufdata *bd; in gfs2_attach_bufdata() local 289 bd = kmem_cache_zalloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL); in gfs2_attach_bufdata() 290 bd->bd_bh = bh; in gfs2_attach_bufdata() 291 bd->bd_gl = gl; in gfs2_attach_bufdata() 293 INIT_LIST_HEAD(&bd->bd_list_tr); in gfs2_attach_bufdata() 295 lops_init_le(&bd->bd_le, &gfs2_buf_lops); in gfs2_attach_bufdata() 297 lops_init_le(&bd->bd_le, &gfs2_databuf_lops); in gfs2_attach_bufdata() 298 bh->b_private = bd; in gfs2_attach_bufdata() 307 struct gfs2_bufdata *bd = bh->b_private; in gfs2_remove_from_journal() local 309 list_del_init(&bd->bd_le.le_list); in gfs2_remove_from_journal() [all …]
|
D | ops_address.c | 916 struct gfs2_bufdata *bd; in gfs2_discard() local 921 bd = bh->b_private; in gfs2_discard() 922 if (bd) { in gfs2_discard() 923 if (!list_empty(&bd->bd_le.le_list) && !buffer_pinned(bh)) in gfs2_discard() 924 list_del_init(&bd->bd_le.le_list); in gfs2_discard() 1037 struct gfs2_bufdata *bd; in gfs2_releasepage() local 1047 bd = bh->b_private; in gfs2_releasepage() 1048 if (bd && bd->bd_ail) in gfs2_releasepage() 1059 bd = bh->b_private; in gfs2_releasepage() 1060 if (bd) { in gfs2_releasepage() [all …]
|
D | glops.c | 43 struct gfs2_bufdata *bd; in gfs2_ail_empty_gl() local 57 bd = list_entry(head->next, struct gfs2_bufdata, in gfs2_ail_empty_gl() 59 bh = bd->bd_bh; in gfs2_ail_empty_gl() 60 gfs2_remove_from_ail(bd); in gfs2_ail_empty_gl() 61 bd->bd_bh = NULL; in gfs2_ail_empty_gl() 63 bd->bd_blkno = bh->b_blocknr; in gfs2_ail_empty_gl() 65 gfs2_trans_add_revoke(sdp, bd); in gfs2_ail_empty_gl()
|
D | trans.h | 34 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd);
|
D | log.h | 69 void gfs2_remove_from_ail(struct gfs2_bufdata *bd);
|
/fs/xfs/ |
D | xfs_dir2_trace.h | 51 struct xfs_dabuf *bd, int sd, int c); 64 #define xfs_dir2_trace_args_bibii(where, args, bs, ss, bd, sd, c) argument
|
D | xfs_dir2_trace.c | 132 xfs_dabuf_t *bd, in xfs_dir2_trace_args_bibii() argument 137 xfs_buf_t *bpbd = bd ? bd->bps[0] : NULL; in xfs_dir2_trace_args_bibii()
|
/fs/ |
D | buffer.c | 58 struct block_device *bd; in sync_buffer() local 63 bd = bh->b_bdev; in sync_buffer() 64 if (bd) in sync_buffer() 65 blk_run_address_space(bd->bd_inode->i_mapping); in sync_buffer()
|