Searched refs:rcache (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | iova.c | 429 * alloc_iova_fast - allocates an iova from rcache 433 * @flush_rcache: - set to flush rcache on regular allocation failure 434 * This function tries to satisfy an iova allocation from the rcache, 436 * fails too and the flush_rcache flag is set then the rcache will be flushed. 466 /* Try replenishing IOVAs by flushing rcache. */ in alloc_iova_fast() 479 * free_iova_fast - free iova pfn range into rcache 483 * This functions frees an iova range by trying to put it into the rcache, 733 struct iova_rcache *rcache; in iova_domain_init_rcaches() local 735 rcache = &iovad->rcaches[i]; in iova_domain_init_rcaches() 736 spin_lock_init(&rcache in iova_domain_init_rcaches() 775 __iova_rcache_insert(struct iova_domain *iovad, struct iova_rcache *rcache, unsigned long iova_pfn) __iova_rcache_insert() argument 839 __iova_rcache_get(struct iova_rcache *rcache, unsigned long limit_pfn) __iova_rcache_get() argument 895 struct iova_rcache *rcache; free_iova_rcaches() local 924 struct iova_rcache *rcache; free_cpu_cached_iovas() local 943 struct iova_rcache *rcache; free_global_cached_iovas() local [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | iova.c | 402 * alloc_iova_fast - allocates an iova from rcache 406 * @flush_rcache: - set to flush rcache on regular allocation failure 407 * This function tries to satisfy an iova allocation from the rcache, 409 * fails too and the flush_rcache flag is set then the rcache will be flushed. 430 /* Try replenishing IOVAs by flushing rcache. */ in alloc_iova_fast() 442 * free_iova_fast - free iova pfn range into rcache 446 * This functions frees an iova range by trying to put it into the rcache, 865 struct iova_rcache *rcache; in init_iova_rcaches() local 870 rcache = &iovad->rcaches[i]; in init_iova_rcaches() 871 spin_lock_init(&rcache in init_iova_rcaches() 891 __iova_rcache_insert(struct iova_domain *iovad, struct iova_rcache *rcache, unsigned long iova_pfn) __iova_rcache_insert() argument 955 __iova_rcache_get(struct iova_rcache *rcache, unsigned long limit_pfn) __iova_rcache_get() argument 1011 struct iova_rcache *rcache; free_iova_rcaches() local 1035 struct iova_rcache *rcache; free_cpu_cached_iovas() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_execbuf.c | 273 * @rcache: Pointer to the entry to update. 278 static void vmw_execbuf_rcache_update(struct vmw_res_cache_entry *rcache, in vmw_execbuf_rcache_update() argument 282 rcache->res = res; in vmw_execbuf_rcache_update() 283 rcache->private = private; in vmw_execbuf_rcache_update() 284 rcache->valid = 1; in vmw_execbuf_rcache_update() 285 rcache->valid_handle = 0; in vmw_execbuf_rcache_update() 306 struct vmw_res_cache_entry *rcache; in vmw_execbuf_res_noref_val_add() local 311 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_noref_val_add() 312 if (likely(rcache->valid && rcache in vmw_execbuf_res_noref_val_add() 355 struct vmw_res_cache_entry *rcache; vmw_execbuf_res_noctx_val_add() local 654 struct vmw_res_cache_entry *rcache = &sw_context->res_cache[res_type]; vmw_cmd_res_check() local 862 struct vmw_res_cache_entry *rcache = vmw_execbuf_info_from_res() local 2756 struct vmw_res_cache_entry *rcache; vmw_cmd_dx_genmips() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_execbuf.c | 278 * @rcache: Pointer to the entry to update. 283 static void vmw_execbuf_rcache_update(struct vmw_res_cache_entry *rcache, in vmw_execbuf_rcache_update() argument 287 rcache->res = res; in vmw_execbuf_rcache_update() 288 rcache->private = private; in vmw_execbuf_rcache_update() 289 rcache->valid = 1; in vmw_execbuf_rcache_update() 290 rcache->valid_handle = 0; in vmw_execbuf_rcache_update() 317 struct vmw_res_cache_entry *rcache; in vmw_execbuf_res_val_add() local 322 rcache = &sw_context->res_cache[res_type]; in vmw_execbuf_res_val_add() 323 if (likely(rcache->valid && rcache in vmw_execbuf_res_val_add() 639 struct vmw_res_cache_entry *rcache = &sw_context->res_cache[res_type]; vmw_cmd_res_check() local 853 struct vmw_res_cache_entry *rcache = vmw_execbuf_info_from_res() local 2798 struct vmw_res_cache_entry *rcache; vmw_cmd_dx_genmips() local [all...] |
Completed in 8 milliseconds