Lines Matching refs:cache_entry
284 struct sdma_mmu_node *cache_entry, in add_mapping_to_sdma_packet() argument
301 page_index = PFN_DOWN(start - cache_entry->rb.addr); in add_mapping_to_sdma_packet()
303 if (page_index >= cache_entry->npages) { in add_mapping_to_sdma_packet()
306 page_index, cache_entry->npages); in add_mapping_to_sdma_packet()
322 ctx = cache_entry; in add_mapping_to_sdma_packet()
326 cache_entry->pages[page_index], in add_mapping_to_sdma_packet()
353 struct sdma_mmu_node *cache_entry; in add_system_iovec_to_sdma_packet() local
359 ret = get_system_cache_entry(req, &cache_entry, start, in add_system_iovec_to_sdma_packet()
366 from_this_cache_entry = cache_entry->rb.len - (start - cache_entry->rb.addr); in add_system_iovec_to_sdma_packet()
370 ret = add_mapping_to_sdma_packet(req, tx, cache_entry, start, in add_system_iovec_to_sdma_packet()
378 kref_put(&cache_entry->rb.refcount, hfi1_mmu_rb_release); in add_system_iovec_to_sdma_packet()