Searched refs:alloc_flag (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/perf/ |
H A D | builtin-kmem.c | 53 static int alloc_flag; variable 1241 if (alloc_flag) in print_slab_result() 1248 if (caller_flag || alloc_flag) in print_page_result() 1252 if (alloc_flag) in print_page_result() 1784 if (caller_flag > alloc_flag) in parse_sort_opt() 1789 if (caller_flag > alloc_flag) in parse_sort_opt() 1802 caller_flag = (alloc_flag + 1); in parse_caller_opt() 1810 alloc_flag = (caller_flag + 1); in parse_alloc_opt() 1840 if (caller_flag > alloc_flag) in parse_line_opt()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 164 uint64_t size, u32 alloc_flag, int8_t xcp_id) in amdgpu_amdkfd_reserve_mem_limit() argument 175 if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_GTT) { in amdgpu_amdkfd_reserve_mem_limit() 178 } else if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_VRAM) { in amdgpu_amdkfd_reserve_mem_limit() 196 } else if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in amdgpu_amdkfd_reserve_mem_limit() 198 } else if (!(alloc_flag & in amdgpu_amdkfd_reserve_mem_limit() 201 pr_err("%s: Invalid BO type %#x\n", __func__, alloc_flag); in amdgpu_amdkfd_reserve_mem_limit() 241 uint64_t size, u32 alloc_flag, int8_t xcp_id) in amdgpu_amdkfd_unreserve_mem_limit() argument 245 if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_GTT) { in amdgpu_amdkfd_unreserve_mem_limit() 248 } else if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_VRAM) { in amdgpu_amdkfd_unreserve_mem_limit() 265 } else if (alloc_flag & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in amdgpu_amdkfd_unreserve_mem_limit() [all …]
|
H A D | amdgpu_amdkfd.h | 336 uint64_t size, u32 alloc_flag, int8_t xcp_id); 338 uint64_t size, u32 alloc_flag, int8_t xcp_id);
|