reserve_bo_and_cond_vms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

reserve_bo_and_cond_vms(9) πŸŽ€

okay bestie, this one is from the Kernel API Manual and it's lowkey a whole reservation moment: reserve a BO and some VMs conditionally. the way it's giving kernel internals but make it cute? obsessed. πŸ’…


✨ NAME ✨

reserve_bo_and_cond_vms β€” reserve a BO and some VMs conditionally. πŸ¦‹

🌸 SYNOPSIS 🌸

int reserve_bo_and_cond_vms (struct kgd_mem *mem , struct amdgpu_vm *vm , enum bo_vm_match map_type , struct bo_vm_reservation_context *ctx );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mem β€” the KFD BO structure. πŸ’–
  • vm β€” the VM to reserve. If it's NULL, then all VMs associated with the BO is used. Otherwise, a single VM associated with the BO. 🫢
  • map_type β€” the mapping status that will be used to filter the VMs. ✨
  • ctx β€” the struct that will be used in unreserve_bo_and_vms. πŸŽ€

πŸ’œ DESCRIPTION πŸ’œ

Returns 0 for success, negative for failure. that's it, that's the description β€” short and iconic, fr fr. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ β€” source/version: ./drivers/gpu/drm/amd/amdgpu / Kernel API Manual; page: reserve_bo_and_cond_vms(9); date: October 2026. 🫢

πŸ“¦ where this page comes from