STRUCT KFD_IOCTL_SVM_ATTRIBUTE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct kfd_ioctl_svm_attribute(9)

okay so like β€” hi bestie πŸ’– welcome to the Kernel API Manual, this one's about struct kfd_ioctl_svm_attribute, and no cap it's way cuter than the name makes it sound. It's literally just attributes hanging out as pairs of type and value 🌸


✨ NAME ✨

struct kfd_ioctl_svm_attribute β€” attributes as pairs of type and value πŸŽ€


🌈 SYNOPSIS 🌈

struct kfd_ioctl_svm_attribute {
    __u32 type;
    __u32 value;
 };

like… two __u32s. that's the whole vibe. iconique, minimal, ate πŸ’…


🫢 MEMBERS 🫢

  • type β€” the attribute type, bestie. it's the type one. peep enum kfd_ioctl_svm_attr_type for the full menu ✨
  • value β€” the attribute value, periodt. what it means is a whole other conversation (see below πŸ‘€)

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜• β€” the meaning of value depends on the attribute type. it's giving "it's not one thing, it's a vibe per type" 😭 so don't go assuming, check the type first, iykyk πŸ¦‹


πŸ”₯ SEE ALSO πŸ”₯

kernel file ./include/uapi/linux/kfd_ioctl.h, struct kfd_ioctl_criu_args(9), enum kfd_ioctl_svm_op(9), enum kfd_ioctl_svm_attr_type(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)

bestie that's a lot of structs. go read them, i'll wait πŸ“

and that's the whole page, you slayed it πŸ‘‘ this lil gem lives in ./include/uapi/linux and it's dated October 2026, so like… future vibes fr fr πŸ’€βœ¨ mwah, go forth and pair your types with your values πŸ§šπŸ’–

πŸ“¦ where this page comes from