vmw_bo_pin_in_placement(9)
π NAME π
Okay bestie, welcome to vmw_bo_pin_in_placement(9) from the Kernel API Manual β this is the page where we validate a buffer to placement. That's the whole name, no cap: vmw_bo_pin_in_placement β Validate a buffer to placement. β¨
β¨ SYNOPSIS β¨
Here's the signature, copied exactly so your brain doesn't have to squint:
int vmw_bo_pin_in_placement (struct vmw_private *dev_priv , struct
vmw_bo *buf , struct ttm_placement *placement , bool interruptible );
π ARGUMENTS π
dev_privβ Driver private. The driver's own private data, bestie.bufβ DMA buffer to move. This is the one getting moved.placementβ The placement to pin it. Where it's getting pinned, basically.interruptibleβ Use interruptible wait. Yes, that's the whole note.
π₯ RETURN π₯
Zero on success. A Negative error code on failure. In particular, -ERESTARTSYS if interrupted by a signal. So if a signal interrupts it, that's the specific code you get. π
The -ERESTARTSYS case is the one to watch for when the interruptible wait gets interrupted, iykyk.
π SEE ALSO π
The whole squad, plus the kernel file, all here:
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_bo_free(9)vmw_bo_pin_in_vram_or_gmr(9)vmw_bo_pin_in_vram(9)vmw_bo_pin_in_start_of_vram(9)vmw_bo_unpin(9)vmw_bo_get_guest_ptr(9)vmw_bo_pin_reserved(9)vmw_bo_map_and_cache(9)vmw_bo_unmap(9)vmw_bo_init(9)vmw_user_bo_synccpu_grab(9)vmw_user_bo_synccpu_release(9)vmw_user_bo_synccpu_ioctl(9)vmw_bo_unref_ioctl(9)vmw_user_bo_lookup(9)vmw_bo_fence_single(9)vmw_bo_swap_notify(9)vmw_bo_move_notify(9)
Bye bestie! This page comes from ./drivers/gpu/drm/vmwgfx, dated October 2026, and it's vmw_bo_pin_in_placement(9) signing off. Slay responsibly. π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms