Home
last modified time | relevance | path

Searched refs:ruip (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/fs/xfs/
Dxfs_rmap_item.c33 struct xfs_rui_log_item *ruip) in xfs_rui_item_free() argument
35 if (ruip->rui_format.rui_nextents > XFS_RUI_MAX_FAST_EXTENTS) in xfs_rui_item_free()
36 kmem_free(ruip); in xfs_rui_item_free()
38 kmem_zone_free(xfs_rui_zone, ruip); in xfs_rui_item_free()
50 struct xfs_rui_log_item *ruip) in xfs_rui_release() argument
52 ASSERT(atomic_read(&ruip->rui_refcount) > 0); in xfs_rui_release()
53 if (atomic_dec_and_test(&ruip->rui_refcount)) { in xfs_rui_release()
54 xfs_trans_ail_remove(&ruip->rui_item, SHUTDOWN_LOG_IO_ERROR); in xfs_rui_release()
55 xfs_rui_item_free(ruip); in xfs_rui_release()
65 struct xfs_rui_log_item *ruip = RUI_ITEM(lip); in xfs_rui_item_size() local
[all …]
Dxfs_trans_rmap.c66 struct xfs_rui_log_item *ruip) in xfs_trans_get_rud() argument
70 rudp = xfs_rud_init(tp->t_mountp, ruip); in xfs_trans_get_rud()
134 struct xfs_rui_log_item *ruip; in xfs_rmap_update_create_intent() local
139 ruip = xfs_rui_init(tp->t_mountp, count); in xfs_rmap_update_create_intent()
140 ASSERT(ruip != NULL); in xfs_rmap_update_create_intent()
145 xfs_trans_add_item(tp, &ruip->rui_item); in xfs_rmap_update_create_intent()
146 return ruip; in xfs_rmap_update_create_intent()
156 struct xfs_rui_log_item *ruip = intent; in xfs_rmap_update_log_item() local
164 set_bit(XFS_LI_DIRTY, &ruip->rui_item.li_flags); in xfs_rmap_update_log_item()
171 next_extent = atomic_inc_return(&ruip->rui_next_extent) - 1; in xfs_rmap_update_log_item()
[all …]
Dxfs_rmap_item.h87 int xfs_rui_recover(struct xfs_mount *mp, struct xfs_rui_log_item *ruip);
Dxfs_log_recover.c3518 struct xfs_rui_log_item *ruip; in xlog_recover_rui_pass2() local
3523 ruip = xfs_rui_init(mp, rui_formatp->rui_nextents); in xlog_recover_rui_pass2()
3524 error = xfs_rui_copy_format(&item->ri_buf[0], &ruip->rui_format); in xlog_recover_rui_pass2()
3526 xfs_rui_item_free(ruip); in xlog_recover_rui_pass2()
3529 atomic_set(&ruip->rui_next_extent, rui_formatp->rui_nextents); in xlog_recover_rui_pass2()
3538 xfs_trans_ail_update(log->l_ailp, &ruip->rui_item, lsn); in xlog_recover_rui_pass2()
3539 xfs_rui_release(ruip); in xlog_recover_rui_pass2()
3557 struct xfs_rui_log_item *ruip = NULL; in xlog_recover_rud_pass2() local
3575 ruip = (struct xfs_rui_log_item *)lip; in xlog_recover_rud_pass2()
3576 if (ruip->rui_format.rui_id == rui_id) { in xlog_recover_rud_pass2()
[all …]
Dxfs_trans.h252 struct xfs_rui_log_item *ruip);