ENUM KFD_IOCTL_SVM_OP(9)
π enum kfd_ioctl_svm_op(9) β the Kernel API Manual, bestie edition
okay so this is a page from the Kernel API Manual (yes, the enum kfd_ioctl_svm_op(9) one) and honestly? it's short, it's sweet, and it's giving "small but mighty" energy. it's literally just an enum with two (2) members and both of them are about SVM ioctl operations. that's the whole vibe. let's get into it π
β¨ NAME β¨
enum kfd_ioctl_svm_op β SVM ioctl operations, periodt π
πΈ SYNOPSIS πΈ
here's the whole thing, verbatim, no cap:
enum kfd_ioctl_svm_op {
KFD_IOCTL_SVM_OP_SET_ATTR ,
KFD_IOCTL_SVM_OP_GET_ATTR
};
likeβ¦ two constants. two. it's a duo, a dynamic duo, main character energy each π¦
π CONSTANTS π
okay bestie these are the two members and you WILL memorize them, they're iconic:
KFD_IOCTL_SVM_OP_SET_ATTRβ modifies one or more attributes. that's the do the thing option, the "we're changing stuff" option π₯KFD_IOCTL_SVM_OP_GET_ATTRβ queries one or more attributes. that's the just looking, thanks option, the "no touchy, only peeking" option π
both of them work on one or more attributes, not just one. plural. multiple. she's flexible π
π SEE ALSO π
fr fr go read these too, they're all part of the same friend group:
- Kernel file
./include/uapi/linux/kfd_ioctl.hstructkfd_ioctl_criu_args(9) enum kfd_ioctl_svm_attr_type(9)struct kfd_ioctl_svm_attribute(9)struct kfd_ioctl_svm_args(9)struct kfd_ioctl_set_xnack_mode_args(9)struct kfd_ioctl_runtime_enable_args(9)struct kfd_ioctl_dbg_trap_enable_args(9)struct kfd_ioctl_dbg_trap_send_runtime_event_args(9)struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args(9)struct kfd_ioctl_dbg_trap_set_wave_launch_override_args(9)struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args(9)struct kfd_ioctl_dbg_trap_suspend_queues_args(9)struct kfd_ioctl_dbg_trap_resume_queues_args(9)struct kfd_ioctl_dbg_trap_set_node_address_watch_args(9)struct kfd_ioctl_dbg_trap_clear_node_address_watch_args(9)struct kfd_ioctl_dbg_trap_set_flags_args(9)struct kfd_ioctl_dbg_trap_query_debug_event_args(9)struct kfd_ioctl_dbg_trap_query_exception_info_args(9)struct kfd_ioctl_dbg_trap_queue_snapshot_args(9)struct kfd_ioctl_dbg_trap_device_snapshot_args(9)struct kfd_ioctl_dbg_trap_args(9)struct kfd_ioctl_pmc_settings(9)
like okay that's a LOT of kfd_ioctl_dbg_trap_* structs and that's completely fine, they're all valid, we don't gatekeep here β¨
and that's the whole page, bestie β go forth and ioctl responsibly π
this masterpiece of a manual page came from ./include/uapi/linux and is dated October 2026 β write it down, cite it in your essay, put it on your vision board, whatever π«Άππ
π¦ 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