Lines Matching refs:ri

297 	struct xfs_rmap_intent		*ri,  in xfs_trans_log_finish_rmap_update()  argument
302 error = xfs_rmap_finish_one(tp, ri, pcur); in xfs_trans_log_finish_rmap_update()
338 struct xfs_rmap_intent *ri) in xfs_rmap_update_log_item() argument
354 map->me_owner = ri->ri_owner; in xfs_rmap_update_log_item()
355 map->me_startblock = ri->ri_bmap.br_startblock; in xfs_rmap_update_log_item()
356 map->me_startoff = ri->ri_bmap.br_startoff; in xfs_rmap_update_log_item()
357 map->me_len = ri->ri_bmap.br_blockcount; in xfs_rmap_update_log_item()
358 xfs_trans_set_rmap_flags(map, ri->ri_type, ri->ri_whichfork, in xfs_rmap_update_log_item()
359 ri->ri_bmap.br_state); in xfs_rmap_update_log_item()
371 struct xfs_rmap_intent *ri; in xfs_rmap_update_create_intent() local
378 list_for_each_entry(ri, items, ri_list) in xfs_rmap_update_create_intent()
379 xfs_rmap_update_log_item(tp, ruip, ri); in xfs_rmap_update_create_intent()
397 struct xfs_rmap_intent *ri) in xfs_rmap_update_get_group() argument
401 agno = XFS_FSB_TO_AGNO(mp, ri->ri_bmap.br_startblock); in xfs_rmap_update_get_group()
402 ri->ri_pag = xfs_perag_intent_get(mp, agno); in xfs_rmap_update_get_group()
408 struct xfs_rmap_intent *ri) in xfs_rmap_update_put_group() argument
410 xfs_perag_intent_put(ri->ri_pag); in xfs_rmap_update_put_group()
421 struct xfs_rmap_intent *ri; in xfs_rmap_update_finish_item() local
424 ri = container_of(item, struct xfs_rmap_intent, ri_list); in xfs_rmap_update_finish_item()
426 error = xfs_trans_log_finish_rmap_update(tp, RUD_ITEM(done), ri, in xfs_rmap_update_finish_item()
429 xfs_rmap_update_put_group(ri); in xfs_rmap_update_finish_item()
430 kmem_cache_free(xfs_rmap_intent_cache, ri); in xfs_rmap_update_finish_item()
447 struct xfs_rmap_intent *ri; in xfs_rmap_update_cancel_item() local
449 ri = container_of(item, struct xfs_rmap_intent, ri_list); in xfs_rmap_update_cancel_item()
451 xfs_rmap_update_put_group(ri); in xfs_rmap_update_cancel_item()
452 kmem_cache_free(xfs_rmap_intent_cache, ri); in xfs_rmap_update_cancel_item()