Searched refs:alloc_flag (Results 1 – 3 of 3) sorted by relevance
/linux/tools/perf/ |
H A D | builtin-kmem.c | 53 static int alloc_flag; variable 1232 if (alloc_flag) in print_slab_result() 1239 if (caller_flag || alloc_flag) in print_page_result() 1243 if (alloc_flag) in print_page_result() 1775 if (caller_flag > alloc_flag) in parse_sort_opt() 1780 if (caller_flag > alloc_flag) in parse_sort_opt() 1793 caller_flag = (alloc_flag + 1); in parse_caller_opt() 1801 alloc_flag = (caller_flag + 1); in parse_alloc_opt() 1831 if (caller_flag > alloc_flag) in parse_line_opt()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 170 uint64_t size, u32 alloc_flag, int8_t xcp_id) in amdgpu_amdkfd_reserve_mem_limit() argument 183 if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_GTT) { in amdgpu_amdkfd_reserve_mem_limit() 186 } else if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_VRAM) { in amdgpu_amdkfd_reserve_mem_limit() 204 } else if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in amdgpu_amdkfd_reserve_mem_limit() 206 } else if (!(alloc_flag & in amdgpu_amdkfd_reserve_mem_limit() 209 pr_err("%s: Invalid BO type %#x\n", __func__, alloc_flag); in amdgpu_amdkfd_reserve_mem_limit() 250 uint64_t size, u32 alloc_flag, int8_t xcp_id) in amdgpu_amdkfd_unreserve_mem_limit() argument 254 if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_GTT) { in amdgpu_amdkfd_unreserve_mem_limit() 257 } else if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_VRAM) { in amdgpu_amdkfd_unreserve_mem_limit() 274 } else if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in amdgpu_amdkfd_unreserve_mem_limit() [all …]
|
H A D | amdgpu_amdkfd.h | 354 uint64_t size, u32 alloc_flag, int8_t xcp_id); 356 uint64_t size, u32 alloc_flag, int8_t xcp_id);
|