Home
last modified time | relevance | path

Searched refs:bd (Results 1 – 11 of 11) sorted by relevance

/fs/gfs2/
A Dtrans.c169 bd->bd_bh = bh; in gfs2_alloc_bufdata()
170 bd->bd_gl = gl; in gfs2_alloc_bufdata()
174 bh->b_private = bd; in gfs2_alloc_bufdata()
175 return bd; in gfs2_alloc_bufdata()
204 bd = bh->b_private; in gfs2_trans_add_data()
205 if (bd == NULL) { in gfs2_trans_add_data()
211 bd = bh->b_private; in gfs2_trans_add_data()
266 bd = bh->b_private; in gfs2_trans_add_meta()
267 if (bd == NULL) { in gfs2_trans_add_meta()
332 if ((bd->bd_blkno >= blkno) && (bd->bd_blkno < (blkno + len))) { in gfs2_trans_remove_revoke()
[all …]
A Dlog.c77 bd->bd_tr = NULL; in gfs2_remove_from_ail()
81 brelse(bd->bd_bh); in gfs2_remove_from_ail()
105 bh = bd->bd_bh; in gfs2_ail1_start_one()
127 if (gl == bd->bd_gl) in gfs2_ail1_start_one()
129 gl = bd->bd_gl; in gfs2_ail1_start_one()
160 struct gfs2_bufdata *bd; in dump_ail_list() local
166 bh = bd->bd_bh; in dump_ail_list()
283 struct gfs2_bufdata *bd; in gfs2_ail_empty_tr() local
311 bh = bd->bd_bh; in gfs2_ail1_empty_one()
385 bh = bd->bd_bh; in gfs2_ail1_wait()
[all …]
A Dlops.c44 struct gfs2_bufdata *bd; in gfs2_pin() local
53 bd = bh->b_private; in gfs2_pin()
58 if (bd->bd_tr) in gfs2_pin()
59 list_move(&bd->bd_ail_st_list, &bd->bd_tr->tr_ail2_list); in gfs2_pin()
63 trace_gfs2_pin(bd, 1); in gfs2_pin()
114 if (buffer_is_rgrp(bd)) in gfs2_unpin()
115 maybe_release_space(bd); in gfs2_unpin()
118 if (bd->bd_tr) { in gfs2_unpin()
126 bd->bd_tr = tr; in gfs2_unpin()
131 trace_gfs2_pin(bd, 0); in gfs2_unpin()
[all …]
A Daops.c586 struct gfs2_bufdata *bd; in gfs2_discard() local
591 bd = bh->b_private; in gfs2_discard()
592 if (bd) { in gfs2_discard()
594 list_del_init(&bd->bd_list); in gfs2_discard()
656 struct gfs2_bufdata *bd; in gfs2_release_folio() local
678 bd = bh->b_private; in gfs2_release_folio()
679 if (bd && bd->bd_tr) in gfs2_release_folio()
688 bd = bh->b_private; in gfs2_release_folio()
689 if (bd) { in gfs2_release_folio()
691 bd->bd_bh = NULL; in gfs2_release_folio()
[all …]
A Dmeta_io.c348 struct gfs2_bufdata *bd = bh->b_private; in gfs2_remove_from_journal() local
353 trace_gfs2_pin(bd, 0); in gfs2_remove_from_journal()
355 list_del_init(&bd->bd_list); in gfs2_remove_from_journal()
364 if (bd) { in gfs2_remove_from_journal()
365 if (bd->bd_tr) { in gfs2_remove_from_journal()
366 gfs2_trans_add_revoke(sdp, bd); in gfs2_remove_from_journal()
369 kmem_cache_free(gfs2_bufdata_cachep, bd); in gfs2_remove_from_journal()
371 !list_empty(&bd->bd_ail_gl_list)) { in gfs2_remove_from_journal()
372 gfs2_remove_from_ail(bd); in gfs2_remove_from_journal()
393 struct gfs2_bufdata *bd, *bs; in gfs2_ail1_wipe() local
[all …]
A Dlog.h64 void gfs2_remove_from_ail(struct gfs2_bufdata *bd);
82 void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd);
A Dtrace_gfs2.h329 TP_PROTO(const struct gfs2_bufdata *bd, int pin),
331 TP_ARGS(bd, pin),
342 __entry->dev = bd->bd_gl->gl_name.ln_sbd->sd_vfs->s_dev;
344 __entry->len = bd->bd_bh->b_size;
345 __entry->block = bd->bd_bh->b_blocknr;
346 __entry->ino = bd->bd_gl->gl_name.ln_number;
A Dglops.c65 struct gfs2_bufdata *bd, *tmp; in __gfs2_ail_flush() local
71 list_for_each_entry_safe_reverse(bd, tmp, head, bd_ail_gl_list) { in __gfs2_ail_flush()
74 bh = bd->bd_bh; in __gfs2_ail_flush()
80 gfs2_trans_add_revoke(sdp, bd); in __gfs2_ail_flush()
A Dtrans.h48 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd);
/fs/bcachefs/
A Ddebug.c335 struct btree_debug *bd = inode->i_private; in bch2_dump_open() local
345 i->c = container_of(bd, struct bch_fs, btree_debug[bd->id]); in bch2_dump_open()
346 i->id = bd->id; in bch2_dump_open()
924 debugfs_create_file("keys", 0400, d, bd, &btree_debug_ops); in bch2_fs_debug_btree_init()
928 debugfs_create_file("bfloat-failed", 0400, d, bd, in bch2_fs_debug_btree_init()
934 struct btree_debug *bd; in bch2_fs_debug_init() local
976 for (bd = c->btree_debug; in bch2_fs_debug_init()
977 bd < c->btree_debug + ARRAY_SIZE(c->btree_debug); in bch2_fs_debug_init()
978 bd++) { in bch2_fs_debug_init()
979 bd->id = bd - c->btree_debug; in bch2_fs_debug_init()
[all …]
/fs/nfsd/
A Dnfs4state.c1082 if (bd->entries == 0) in delegation_blocked()
1087 bd->entries -= bd->old_entries; in delegation_blocked()
1088 bd->old_entries = bd->entries; in delegation_blocked()
1089 bd->new = 1-bd->new; in delegation_blocked()
1090 memset(bd->set[bd->new], 0, in delegation_blocked()
1091 sizeof(bd->set[0])); in delegation_blocked()
1118 __set_bit(hash&255, bd->set[bd->new]); in block_delegations()
1119 __set_bit((hash>>8)&255, bd->set[bd->new]); in block_delegations()
1120 __set_bit((hash>>16)&255, bd->set[bd->new]); in block_delegations()
1121 if (bd->entries == 0) in block_delegations()
[all …]

Completed in 43 milliseconds