Lines Matching refs:alloc_flags
1832 bo_bucket->alloc_flags = (uint32_t)kgd_mem->alloc_flags; in criu_checkpoint_bos()
1835 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in criu_checkpoint_bos()
1843 if (bo_bucket->alloc_flags in criu_checkpoint_bos()
1846 bo_bucket->alloc_flags & in criu_checkpoint_bos()
1855 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) in criu_checkpoint_bos()
1858 else if (bo_bucket->alloc_flags & in criu_checkpoint_bos()
1876 bo_bucket->alloc_flags, in criu_checkpoint_bos()
1900 if (bo_buckets[bo_index].alloc_flags in criu_checkpoint_bos()
2195 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) { in criu_restore_memory_of_gpu()
2202 } else if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP) { in criu_restore_memory_of_gpu()
2213 } else if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in criu_restore_memory_of_gpu()
2219 &offset, bo_bucket->alloc_flags, criu_resume); in criu_restore_memory_of_gpu()
2239 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) in criu_restore_memory_of_gpu()
2241 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP) { in criu_restore_memory_of_gpu()
2243 } else if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_GTT) { in criu_restore_memory_of_gpu()
2245 } else if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_VRAM) { in criu_restore_memory_of_gpu()
2263 bo_bucket->size, bo_bucket->addr, bo_bucket->gpu_id, bo_bucket->alloc_flags, in criu_restore_bo()
2304 if (bo_bucket->alloc_flags in criu_restore_bo()
2378 if (bo_buckets[i].alloc_flags in criu_restore_bos()