✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/include/linux//kfd_ioctl.h
/*
 * Copyright 2014 Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 */

#ifndef KFD_IOCTL_H_INCLUDED
#define KFD_IOCTL_H_INCLUDED

#include <drm/drm.h>
#include <linux/ioctl.h>

/*
 * - 1.1 - initial version
 * - 1.3 - Add SMI events support
 * - 1.4 - Indicate new SRAM EDC bit in device properties
 * - 1.5 - Add SVM API
 * - 1.6 - Query clear flags in SVM get_attr API
 * - 1.7 - Checkpoint Restore (CRIU) API
 * - 1.8 - CRIU - Support for SDMA transfers with GTT BOs
 * - 1.9 - Add available memory ioctl
 * - 1.10 - Add SMI profiler event log
 * - 1.11 - Add unified memory for ctx save/restore area
 * - 1.12 - Add DMA buf export ioctl
 * - 1.13 - Add debugger API
 * - 1.14 - Update kfd_event_data
 * - 1.15 - Enable managing mappings in compute VMs with GEM_VA ioctl
 * - 1.16 - Add contiguous VRAM allocation flag
 * - 1.17 - Add SDMA queue creation with target SDMA engine ID
 * - 1.18 - Rename pad in set_memory_policy_args to misc_process_flag
 */
#define KFD_IOCTL_MAJOR_VERSION 1
#define KFD_IOCTL_MINOR_VERSION 18

struct kfd_ioctl_get_version_args {
	__u32 major_version;	/* from KFD */
	__u32 minor_version;	/* from KFD */
};

/* For kfd_ioctl_create_queue_args.queue_type. */
#define KFD_IOC_QUEUE_TYPE_COMPUTE		0x0
#define KFD_IOC_QUEUE_TYPE_SDMA			0x1
#define KFD_IOC_QUEUE_TYPE_COMPUTE_AQL		0x2
#define KFD_IOC_QUEUE_TYPE_SDMA_XGMI		0x3
#define KFD_IOC_QUEUE_TYPE_SDMA_BY_ENG_ID	0x4

#define KFD_MAX_QUEUE_PERCENTAGE	100
#define KFD_MAX_QUEUE_PRIORITY		15

#define KFD_MIN_QUEUE_RING_SIZE		1024

struct kfd_ioctl_create_queue_args {
	__u64 ring_base_address;	/* to KFD */
	__u64 write_pointer_address;	/* to KFD */
	__u64 read_pointer_address;	/* to KFD */
	__u64 doorbell_offset;	/* from KFD */

	__u32 ring_size;		/* to KFD */
	__u32 gpu_id;		/* to KFD */
	__u32 queue_type;		/* to KFD */
	__u32 queue_percentage;	/* to KFD */
	__u32 queue_priority;	/* to KFD */
	__u32 queue_id;		/* from KFD */

	__u64 eop_buffer_address;	/* to KFD */
	__u64 eop_buffer_size;	/* to KFD */
	__u64 ctx_save_restore_address; /* to KFD */
	__u32 ctx_save_restore_size;	/* to KFD */
	__u32 ctl_stack_size;		/* to KFD */
	__u32 sdma_engine_id;		/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_destroy_queue_args {
	__u32 queue_id;		/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_update_queue_args {
	__u64 ring_base_address;	/* to KFD */

	__u32 queue_id;		/* to KFD */
	__u32 ring_size;		/* to KFD */
	__u32 queue_percentage;	/* to KFD */
	__u32 queue_priority;	/* to KFD */
};

struct kfd_ioctl_set_cu_mask_args {
	__u32 queue_id;		/* to KFD */
	__u32 num_cu_mask;		/* to KFD */
	__u64 cu_mask_ptr;		/* to KFD */
};

struct kfd_ioctl_get_queue_wave_state_args {
	__u64 ctl_stack_address;	/* to KFD */
	__u32 ctl_stack_used_size;	/* from KFD */
	__u32 save_area_used_size;	/* from KFD */
	__u32 queue_id;			/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_get_available_memory_args {
	__u64 available;	/* from KFD */
	__u32 gpu_id;		/* to KFD */
	__u32 pad;
};

struct kfd_dbg_device_info_entry {
	__u64 exception_status;
	__u64 lds_base;
	__u64 lds_limit;
	__u64 scratch_base;
	__u64 scratch_limit;
	__u64 gpuvm_base;
	__u64 gpuvm_limit;
	__u32 gpu_id;
	__u32 location_id;
	__u32 vendor_id;
	__u32 device_id;
	__u32 revision_id;
	__u32 subsystem_vendor_id;
	__u32 subsystem_device_id;
	__u32 fw_version;
	__u32 gfx_target_version;
	__u32 simd_count;
	__u32 max_waves_per_simd;
	__u32 array_count;
	__u32 simd_arrays_per_engine;
	__u32 num_xcc;
	__u32 capability;
	__u32 debug_prop;
};

/* For kfd_ioctl_set_memory_policy_args.default_policy and alternate_policy */
#define KFD_IOC_CACHE_POLICY_COHERENT 0
#define KFD_IOC_CACHE_POLICY_NONCOHERENT 1

/* Misc. per process flags */
#define KFD_PROC_FLAG_MFMA_HIGH_PRECISION (1 << 0)

struct kfd_ioctl_set_memory_policy_args {
	__u64 alternate_aperture_base;	/* to KFD */
	__u64 alternate_aperture_size;	/* to KFD */

	__u32 gpu_id;			/* to KFD */
	__u32 default_policy;		/* to KFD */
	__u32 alternate_policy;		/* to KFD */
	__u32 misc_process_flag;        /* to KFD */
};

/*
 * All counters are monotonic. They are used for profiling of compute jobs.
 * The profiling is done by userspace.
 *
 * In case of GPU reset, the counter should not be affected.
 */

struct kfd_ioctl_get_clock_counters_args {
	__u64 gpu_clock_counter;	/* from KFD */
	__u64 cpu_clock_counter;	/* from KFD */
	__u64 system_clock_counter;	/* from KFD */
	__u64 system_clock_freq;	/* from KFD */

	__u32 gpu_id;		/* to KFD */
	__u32 pad;
};

struct kfd_process_device_apertures {
	__u64 lds_base;		/* from KFD */
	__u64 lds_limit;		/* from KFD */
	__u64 scratch_base;		/* from KFD */
	__u64 scratch_limit;		/* from KFD */
	__u64 gpuvm_base;		/* from KFD */
	__u64 gpuvm_limit;		/* from KFD */
	__u32 gpu_id;		/* from KFD */
	__u32 pad;
};

/*
 * AMDKFD_IOC_GET_PROCESS_APERTURES is deprecated. Use
 * AMDKFD_IOC_GET_PROCESS_APERTURES_NEW instead, which supports an
 * unlimited number of GPUs.
 */
#define NUM_OF_SUPPORTED_GPUS 7
struct kfd_ioctl_get_process_apertures_args {
	struct kfd_process_device_apertures
			process_apertures[NUM_OF_SUPPORTED_GPUS];/* from KFD */

	/* from KFD, should be in the range [1 - NUM_OF_SUPPORTED_GPUS] */
	__u32 num_of_nodes;
	__u32 pad;
};

struct kfd_ioctl_get_process_apertures_new_args {
	/* User allocated. Pointer to struct kfd_process_device_apertures
	 * filled in by Kernel
	 */
	__u64 kfd_process_device_apertures_ptr;
	/* to KFD - indicates amount of memory present in
	 *  kfd_process_device_apertures_ptr
	 * from KFD - Number of entries filled by KFD.
	 */
	__u32 num_of_nodes;
	__u32 pad;
};

#define MAX_ALLOWED_NUM_POINTS    100
#define MAX_ALLOWED_AW_BUFF_SIZE 4096
#define MAX_ALLOWED_WAC_BUFF_SIZE  128

struct kfd_ioctl_dbg_register_args {
	__u32 gpu_id;		/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_dbg_unregister_args {
	__u32 gpu_id;		/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_dbg_address_watch_args {
	__u64 content_ptr;		/* a pointer to the actual content */
	__u32 gpu_id;		/* to KFD */
	__u32 buf_size_in_bytes;	/*including gpu_id and buf_size */
};

struct kfd_ioctl_dbg_wave_control_args {
	__u64 content_ptr;		/* a pointer to the actual content */
	__u32 gpu_id;		/* to KFD */
	__u32 buf_size_in_bytes;	/*including gpu_id and buf_size */
};

#define KFD_INVALID_FD     0xffffffff

/* Matching HSA_EVENTTYPE */
#define KFD_IOC_EVENT_SIGNAL			0
#define KFD_IOC_EVENT_NODECHANGE		1
#define KFD_IOC_EVENT_DEVICESTATECHANGE		2
#define KFD_IOC_EVENT_HW_EXCEPTION		3
#define KFD_IOC_EVENT_SYSTEM_EVENT		4
#define KFD_IOC_EVENT_DEBUG_EVENT		5
#define KFD_IOC_EVENT_PROFILE_EVENT		6
#define KFD_IOC_EVENT_QUEUE_EVENT		7
#define KFD_IOC_EVENT_MEMORY			8

#define KFD_IOC_WAIT_RESULT_COMPLETE		0
#define KFD_IOC_WAIT_RESULT_TIMEOUT		1
#define KFD_IOC_WAIT_RESULT_FAIL		2

#define KFD_SIGNAL_EVENT_LIMIT			4096

/* For kfd_event_data.hw_exception_data.reset_type. */
#define KFD_HW_EXCEPTION_WHOLE_GPU_RESET	0
#define KFD_HW_EXCEPTION_PER_ENGINE_RESET	1

/* For kfd_event_data.hw_exception_data.reset_cause. */
#define KFD_HW_EXCEPTION_GPU_HANG	0
#define KFD_HW_EXCEPTION_ECC		1

/* For kfd_hsa_memory_exception_data.ErrorType */
#define KFD_MEM_ERR_NO_RAS		0
#define KFD_MEM_ERR_SRAM_ECC		1
#define KFD_MEM_ERR_POISON_CONSUMED	2
#define KFD_MEM_ERR_GPU_HANG		3

struct kfd_ioctl_create_event_args {
	__u64 event_page_offset;	/* from KFD */
	__u32 event_trigger_data;	/* from KFD - signal events only */
	__u32 event_type;		/* to KFD */
	__u32 auto_reset;		/* to KFD */
	__u32 node_id;		/* to KFD - only valid for certain
							event types */
	__u32 event_id;		/* from KFD */
	__u32 event_slot_index;	/* from KFD */
};

struct kfd_ioctl_destroy_event_args {
	__u32 event_id;		/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_set_event_args {
	__u32 event_id;		/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_reset_event_args {
	__u32 event_id;		/* to KFD */
	__u32 pad;
};

struct kfd_memory_exception_failure {
	__u32 NotPresent;	/* Page not present or supervisor privilege */
	__u32 ReadOnly;	/* Write access to a read-only page */
	__u32 NoExecute;	/* Execute access to a page marked NX */
	__u32 imprecise;	/* Can't determine the	exact fault address */
};

/* memory exception data */
struct kfd_hsa_memory_exception_data {
	struct kfd_memory_exception_failure failure;
	__u64 va;
	__u32 gpu_id;
	__u32 ErrorType; /* 0 = no RAS error,
			  * 1 = ECC_SRAM,
			  * 2 = Link_SYNFLOOD (poison),
			  * 3 = GPU hang (not attributable to a specific cause),
			  * other values reserved
			  */
};

/* hw exception data */
struct kfd_hsa_hw_exception_data {
	__u32 reset_type;
	__u32 reset_cause;
	__u32 memory_lost;
	__u32 gpu_id;
};

/* hsa signal event data */
struct kfd_hsa_signal_event_data {
	__u64 last_event_age;	/* to and from KFD */
};

/* Event data */
struct kfd_event_data {
	union {
		/* From KFD */
		struct kfd_hsa_memory_exception_data memory_exception_data;
		struct kfd_hsa_hw_exception_data hw_exception_data;
		/* To and From KFD */
		struct kfd_hsa_signal_event_data signal_event_data;
	};
	__u64 kfd_event_data_ext;	/* pointer to an extension structure
					   for future exception types */
	__u32 event_id;		/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_wait_events_args {
	__u64 events_ptr;		/* pointed to struct
					   kfd_event_data array, to KFD */
	__u32 num_events;		/* to KFD */
	__u32 wait_for_all;		/* to KFD */
	__u32 timeout;		/* to KFD */
	__u32 wait_result;		/* from KFD */
};

struct kfd_ioctl_set_scratch_backing_va_args {
	__u64 va_addr;	/* to KFD */
	__u32 gpu_id;	/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_get_tile_config_args {
	/* to KFD: pointer to tile array */
	__u64 tile_config_ptr;
	/* to KFD: pointer to macro tile array */
	__u64 macro_tile_config_ptr;
	/* to KFD: array size allocated by user mode
	 * from KFD: array size filled by kernel
	 */
	__u32 num_tile_configs;
	/* to KFD: array size allocated by user mode
	 * from KFD: array size filled by kernel
	 */
	__u32 num_macro_tile_configs;

	__u32 gpu_id;		/* to KFD */
	__u32 gb_addr_config;	/* from KFD */
	__u32 num_banks;		/* from KFD */
	__u32 num_ranks;		/* from KFD */
	/* struct size can be extended later if needed
	 * without breaking ABI compatibility
	 */
};

struct kfd_ioctl_set_trap_handler_args {
	__u64 tba_addr;		/* to KFD */
	__u64 tma_addr;		/* to KFD */
	__u32 gpu_id;		/* to KFD */
	__u32 pad;
};

struct kfd_ioctl_acquire_vm_args {
	__u32 drm_fd;	/* to KFD */
	__u32 gpu_id;	/* to KFD */
};

/* Allocation flags: memory types */
#define KFD_IOC_ALLOC_MEM_FLAGS_VRAM		(1 << 0)
#define KFD_IOC_ALLOC_MEM_FLAGS_GTT		(1 << 1)
#define KFD_IOC_ALLOC_MEM_FLAGS_USERPTR		(1 << 2)
#define KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL	(1 << 3)
#define KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP	(1 << 4)
/* Allocation flags: attributes/access options */
#define KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE	(1 << 31)
#define KFD_IOC_ALLOC_MEM_FLAGS_EXECUTABLE	(1 << 30)
#define KFD_IOC_ALLOC_MEM_FLAGS_PUBLIC		(1 << 29)
#define KFD_IOC_ALLOC_MEM_FLAGS_NO_SUBSTITUTE	(1 << 28)
#define KFD_IOC_ALLOC_MEM_FLAGS_AQL_QUEUE_MEM	(1 << 27)
#define KFD_IOC_ALLOC_MEM_FLAGS_COHERENT	(1 << 26)
#define KFD_IOC_ALLOC_MEM_FLAGS_UNCACHED	(1 << 25)
#define KFD_IOC_ALLOC_MEM_FLAGS_EXT_COHERENT	(1 << 24)
#define KFD_IOC_ALLOC_MEM_FLAGS_CONTIGUOUS	(1 << 23)

/* Allocate memory for later SVM (shared virtual memory) mapping.
 *
 * @va_addr:     virtual address of the memory to be allocated
 *               all later mappings on all GPUs will use this address
 * @size:        size in bytes
 * @handle:      buffer handle returned to user mode, used to refer to
 *               this allocation for mapping, unmapping and freeing
 * @mmap_offset: for CPU-mapping the allocation by mmapping a render node
 *               for userptrs this is overloaded to specify the CPU address
 * @gpu_id:      device identifier
 * @flags:       memory type and attributes. See KFD_IOC_ALLOC_MEM_FLAGS above
 */
struct kfd_ioctl_alloc_memory_of_gpu_args {
	__u64 va_addr;		/* to KFD */
	__u64 size;		/* to KFD */
	__u64 handle;		/* from KFD */
	__u64 mmap_offset;	/* to KFD (userptr), from KFD (mmap offset) */
	__u32 gpu_id;		/* to KFD */
	__u32 flags;
};

/* Free memory allocated with kfd_ioctl_alloc_memory_of_gpu
 *
 * @handle: memory handle returned by alloc
 */
struct kfd_ioctl_free_memory_of_gpu_args {
	__u64 handle;		/* to KFD */
};

/* Map memory to one or more GPUs
 *
 * @handle:                memory handle returned by alloc
 * @device_ids_array_ptr:  array of gpu_ids (__u32 per device)
 * @n_devices:             number of devices in the array
 * @n_success:             number of devices mapped successfully
 *
 * @n_success returns information to the caller how many devices from
 * the start of the array have mapped the buffer successfully. It can
 * be passed into a subsequent retry call to skip those devices. For
 * the first call the caller should initialize it to 0.
 *
 * If the ioctl completes with return code 0 (success), n_success ==
 * n_devices.
 */
struct kfd_ioctl_map_memory_to_gpu_args {
	__u64 handle;			/* to KFD */
	__u64 device_ids_array_ptr;	/* to KFD */
	__u32 n_devices;		/* to KFD */
	__u32 n_success;		/* to/from KFD */
};

/* Unmap memory from one or more GPUs
 *
 * same arguments as for mapping
 */
struct kfd_ioctl_unmap_memory_from_gpu_args {
	__u64 handle;			/* to KFD */
	__u64 device_ids_array_ptr;	/* to KFD */
	__u32 n_devices;		/* to KFD */
	__u32 n_success;		/* to/from KFD */
};

/* Allocate GWS for specific queue
 *
 * @queue_id:    queue's id that GWS is allocated for
 * @num_gws:     how many GWS to allocate
 * @first_gws:   index of the first GWS allocated.
 *               only support contiguous GWS allocation
 */
struct kfd_ioctl_alloc_queue_gws_args {
	__u32 queue_id;		/* to KFD */
	__u32 num_gws;		/* to KFD */
	__u32 first_gws;	/* from KFD */
	__u32 pad;
};

struct kfd_ioctl_get_dmabuf_info_args {
	__u64 size;		/* from KFD */
	__u64 metadata_ptr;	/* to KFD */
	__u32 metadata_size;	/* to KFD (space allocated by user)
				 * from KFD (actual metadata size)
				 */
	__u32 gpu_id;	/* from KFD */
	__u32 flags;		/* from KFD (KFD_IOC_ALLOC_MEM_FLAGS) */
	__u32 dmabuf_fd;	/* to KFD */
};

struct kfd_ioctl_import_dmabuf_args {
	__u64 va_addr;	/* to KFD */
	__u64 handle;	/* from KFD */
	__u32 gpu_id;	/* to KFD */
	__u32 dmabuf_fd;	/* to KFD */
};

struct kfd_ioctl_export_dmabuf_args {
	__u64 handle;		/* to KFD */
	__u32 flags;		/* to KFD */
	__u32 dmabuf_fd;	/* from KFD */
};

/*
 * KFD SMI(System Management Interface) events
 */
enum kfd_smi_event {
	KFD_SMI_EVENT_NONE = 0, /* not used */
	KFD_SMI_EVENT_VMFAULT = 1, /* event start counting at 1 */
	KFD_SMI_EVENT_THERMAL_THROTTLE = 2,
	KFD_SMI_EVENT_GPU_PRE_RESET = 3,
	KFD_SMI_EVENT_GPU_POST_RESET = 4,
	KFD_SMI_EVENT_MIGRATE_START = 5,
	KFD_SMI_EVENT_MIGRATE_END = 6,
	KFD_SMI_EVENT_PAGE_FAULT_START = 7,
	KFD_SMI_EVENT_PAGE_FAULT_END = 8,
	KFD_SMI_EVENT_QUEUE_EVICTION = 9,
	KFD_SMI_EVENT_QUEUE_RESTORE = 10,
	KFD_SMI_EVENT_UNMAP_FROM_GPU = 11,
	KFD_SMI_EVENT_PROCESS_START = 12,
	KFD_SMI_EVENT_PROCESS_END = 13,

	/*
	 * max event number, as a flag bit to get events from all processes,
	 * this requires super user permission, otherwise will not be able to
	 * receive event from any process. Without this flag to receive events
	 * from same process.
	 */
	KFD_SMI_EVENT_ALL_PROCESS = 64
};

/* The reason of the page migration event */
enum KFD_MIGRATE_TRIGGERS {
	KFD_MIGRATE_TRIGGER_PREFETCH,		/* Prefetch to GPU VRAM or system memory */
	KFD_MIGRATE_TRIGGER_PAGEFAULT_GPU,	/* GPU page fault recover */
	KFD_MIGRATE_TRIGGER_PAGEFAULT_CPU,	/* CPU page fault recover */
	KFD_MIGRATE_TRIGGER_TTM_EVICTION	/* TTM eviction */
};

/* The reason of user queue evition event */
enum KFD_QUEUE_EVICTION_TRIGGERS {
	KFD_QUEUE_EVICTION_TRIGGER_SVM,		/* SVM buffer migration */
	KFD_QUEUE_EVICTION_TRIGGER_USERPTR,	/* userptr movement */
	KFD_QUEUE_EVICTION_TRIGGER_TTM,		/* TTM move buffer */
	KFD_QUEUE_EVICTION_TRIGGER_SUSPEND,	/* GPU suspend */
	KFD_QUEUE_EVICTION_CRIU_CHECKPOINT,	/* CRIU checkpoint */
	KFD_QUEUE_EVICTION_CRIU_RESTORE		/* CRIU restore */
};

/* The reason of unmap buffer from GPU event */
enum KFD_SVM_UNMAP_TRIGGERS {
	KFD_SVM_UNMAP_TRIGGER_MMU_NOTIFY,	/* MMU notifier CPU buffer movement */
	KFD_SVM_UNMAP_TRIGGER_MMU_NOTIFY_MIGRATE,/* MMU notifier page migration */
	KFD_SVM_UNMAP_TRIGGER_UNMAP_FROM_CPU	/* Unmap to free the buffer */
};

#define KFD_SMI_EVENT_MASK_FROM_INDEX(i) (1ULL << ((i) - 1))
#define KFD_SMI_EVENT_MSG_SIZE	96

struct kfd_ioctl_smi_events_args {
	__u32 gpuid;	/* to KFD */
	__u32 anon_fd;	/* from KFD */
};

/*
 * SVM event tracing via SMI system management interface
 *
 * Open event file descriptor
 *    use ioctl AMDKFD_IOC_SMI_EVENTS, pass in gpuid and return a anonymous file
 *    descriptor to receive SMI events.
 *    If calling with sudo permission, then file descriptor can be used to receive
 *    SVM events from all processes, otherwise, to only receive SVM events of same
 *    process.
 *
 * To enable the SVM event
 *    Write event file descriptor with KFD_SMI_EVENT_MASK_FROM_INDEX(event) bitmap
 *    mask to start record the event to the kfifo, use bitmap mask combination
 *    for multiple events. New event mask will overwrite the previous event mask.
 *    KFD_SMI_EVENT_MASK_FROM_INDEX(KFD_SMI_EVENT_ALL_PROCESS) bit requires sudo
 *    permisson to receive SVM events from all process.
 *
 * To receive the event
 *    Application can poll file descriptor to wait for the events, then read event
 *    from the file into a buffer. Each event is one line string message, starting
 *    with the event id, then the event specific information.
 *
 * To decode event information
 *    The following event format string macro can be used with sscanf to decode
 *    the specific event information.
 *    event triggers: the reason to generate the event, defined as enum for unmap,
 *    eviction and migrate events.
 *    node, from, to, prefetch_loc, preferred_loc: GPU ID, or 0 for system memory.
 *    addr: user mode address, in pages
 *    size: in pages
 *    pid: the process ID to generate the event
 *    ns: timestamp in nanosecond-resolution, starts at system boot time but
 *        stops during suspend
 *    migrate_update: GPU page fault is recovered by 'M' for migrate, 'U' for update
 *    rw: 'W' for write page fault, 'R' for read page fault
 *    rescheduled: 'R' if the queue restore failed and rescheduled to try again
 *    error_code: migrate failure error code, 0 if no error
 */
#define KFD_EVENT_FMT_UPDATE_GPU_RESET(reset_seq_num, reset_cause)\
		"%x %s\n", (reset_seq_num), (reset_cause)

#define KFD_EVENT_FMT_THERMAL_THROTTLING(bitmask, counter)\
		"%llx:%llx\n", (bitmask), (counter)

#define KFD_EVENT_FMT_VMFAULT(pid, task_name)\
		"%x:%s\n", (pid), (task_name)

#define KFD_EVENT_FMT_PAGEFAULT_START(ns, pid, addr, node, rw)\
		"%lld -%d @%lx(%x) %c\n", (ns), (pid), (addr), (node), (rw)

#define KFD_EVENT_FMT_PAGEFAULT_END(ns, pid, addr, node, migrate_update)\
		"%lld -%d @%lx(%x) %c\n", (ns), (pid), (addr), (node), (migrate_update)

#define KFD_EVENT_FMT_MIGRATE_START(ns, pid, start, size, from, to, prefetch_loc,\
		preferred_loc, migrate_trigger)\
		"%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", (ns), (pid), (start), (size),\
		(from), (to), (prefetch_loc), (preferred_loc), (migrate_trigger)

#define KFD_EVENT_FMT_MIGRATE_END(ns, pid, start, size, from, to, migrate_trigger, error_code) \
		"%lld -%d @%lx(%lx) %x->%x %d %d\n", (ns), (pid), (start), (size),\
		(from), (to), (migrate_trigger), (error_code)

#define KFD_EVENT_FMT_QUEUE_EVICTION(ns, pid, node, evict_trigger)\
		"%lld -%d %x %d\n", (ns), (pid), (node), (evict_trigger)

#define KFD_EVENT_FMT_QUEUE_RESTORE(ns, pid, node, rescheduled)\
		"%lld -%d %x %c\n", (ns), (pid), (node), (rescheduled)

#define KFD_EVENT_FMT_UNMAP_FROM_GPU(ns, pid, addr, size, node, unmap_trigger)\
		"%lld -%d @%lx(%lx) %x %d\n", (ns), (pid), (addr), (size),\
		(node), (unmap_trigger)

#define KFD_EVENT_FMT_PROCESS(pid, task_name)\
		"%x %s\n", (pid), (task_name)

/**************************************************************************************************
 * CRIU IOCTLs (Checkpoint Restore In Userspace)
 *
 * When checkpointing a process, the userspace application will perform:
 * 1. PROCESS_INFO op to determine current process information. This pauses execution and evicts
 *    all the queues.
 * 2. CHECKPOINT op to checkpoint process contents (BOs, queues, events, svm-ranges)
 * 3. UNPAUSE op to un-evict all the queues
 *
 * When restoring a process, the CRIU userspace application will perform:
 *
 * 1. RESTORE op to restore process contents
 * 2. RESUME op to start the process
 *
 * Note: Queues are forced into an evicted state after a successful PROCESS_INFO. User
 * application needs to perform an UNPAUSE operation after calling PROCESS_INFO.
 */

enum kfd_criu_op {
	KFD_CRIU_OP_PROCESS_INFO,
	KFD_CRIU_OP_CHECKPOINT,
	KFD_CRIU_OP_UNPAUSE,
	KFD_CRIU_OP_RESTORE,
	KFD_CRIU_OP_RESUME,
};

/**
 * kfd_ioctl_criu_args - Arguments perform CRIU operation
 * @devices:		[in/out] User pointer to memory location for devices information.
 * 			This is an array of type kfd_criu_device_bucket.
 * @bos:		[in/out] User pointer to memory location for BOs information
 * 			This is an array of type kfd_criu_bo_bucket.
 * @priv_data:		[in/out] User pointer to memory location for private data
 * @priv_data_size:	[in/out] Size of priv_data in bytes
 * @num_devices:	[in/out] Number of GPUs used by process. Size of @devices array.
 * @num_bos		[in/out] Number of BOs used by process. Size of @bos array.
 * @num_objects:	[in/out] Number of objects used by process. Objects are opaque to
 *				 user application.
 * @pid:		[in/out] PID of the process being checkpointed
 * @op			[in] Type of operation (kfd_criu_op)
 *
 * Return: 0 on success, -errno on failure
 */
struct kfd_ioctl_criu_args {
	__u64 devices;		/* Used during ops: CHECKPOINT, RESTORE */
	__u64 bos;		/* Used during ops: CHECKPOINT, RESTORE */
	__u64 priv_data;	/* Used during ops: CHECKPOINT, RESTORE */
	__u64 priv_data_size;	/* Used during ops: PROCESS_INFO, RESTORE */
	__u32 num_devices;	/* Used during ops: PROCESS_INFO, RESTORE */
	__u32 num_bos;		/* Used during ops: PROCESS_INFO, RESTORE */
	__u32 num_objects;	/* Used during ops: PROCESS_INFO, RESTORE */
	__u32 pid;		/* Used during ops: PROCESS_INFO, RESUME */
	__u32 op;
};

struct kfd_criu_device_bucket {
	__u32 user_gpu_id;
	__u32 actual_gpu_id;
	__u32 drm_fd;
	__u32 pad;
};

struct kfd_criu_bo_bucket {
	__u64 addr;
	__u64 size;
	__u64 offset;
	__u64 restored_offset;    /* During restore, updated offset for BO */
	__u32 gpu_id;             /* This is the user_gpu_id */
	__u32 alloc_flags;
	__u32 dmabuf_fd;
	__u32 pad;
};

/* CRIU IOCTLs - END */
/**************************************************************************************************/

/* Register offset inside the remapped mmio page
 */
enum kfd_mmio_remap {
	KFD_MMIO_REMAP_HDP_MEM_FLUSH_CNTL = 0,
	KFD_MMIO_REMAP_HDP_REG_FLUSH_CNTL = 4,
};

/* Guarantee host access to memory */
#define KFD_IOCTL_SVM_FLAG_HOST_ACCESS 0x00000001
/* Fine grained coherency between all devices with access */
#define KFD_IOCTL_SVM_FLAG_COHERENT    0x00000002
/* Use any GPU in same hive as preferred device */
#define KFD_IOCTL_SVM_FLAG_HIVE_LOCAL  0x00000004
/* GPUs only read, allows replication */
#define KFD_IOCTL_SVM_FLAG_GPU_RO      0x00000008
/* Allow execution on GPU */
#define KFD_IOCTL_SVM_FLAG_GPU_EXEC    0x00000010
/* GPUs mostly read, may allow similar optimizations as RO, but writes fault */
#define KFD_IOCTL_SVM_FLAG_GPU_READ_MOSTLY     0x00000020
/* Keep GPU memory mapping always valid as if XNACK is disable */
#define KFD_IOCTL_SVM_FLAG_GPU_ALWAYS_MAPPED   0x00000040
/* Fine grained coherency between all devices using device-scope atomics */
#define KFD_IOCTL_SVM_FLAG_EXT_COHERENT        0x00000080

/**
 * kfd_ioctl_svm_op - SVM ioctl operations
 *
 * @KFD_IOCTL_SVM_OP_SET_ATTR: Modify one or more attributes
 * @KFD_IOCTL_SVM_OP_GET_ATTR: Query one or more attributes
 */
enum kfd_ioctl_svm_op {
	KFD_IOCTL_SVM_OP_SET_ATTR,
	KFD_IOCTL_SVM_OP_GET_ATTR
};

/** kfd_ioctl_svm_location - Enum for preferred and prefetch locations
 *
 * GPU IDs are used to specify GPUs as preferred and prefetch locations.
 * Below definitions are used for system memory or for leaving the preferred
 * location unspecified.
 */
enum kfd_ioctl_svm_location {
	KFD_IOCTL_SVM_LOCATION_SYSMEM = 0,
	KFD_IOCTL_SVM_LOCATION_UNDEFINED = 0xffffffff
};

/**
 * kfd_ioctl_svm_attr_type - SVM attribute types
 *
 * @KFD_IOCTL_SVM_ATTR_PREFERRED_LOC: gpuid of the preferred location, 0 for
 *                                    system memory
 * @KFD_IOCTL_SVM_ATTR_PREFETCH_LOC: gpuid of the prefetch location, 0 for
 *                                   system memory. Setting this triggers an
 *                                   immediate prefetch (migration).
 * @KFD_IOCTL_SVM_ATTR_ACCESS:
 * @KFD_IOCTL_SVM_ATTR_ACCESS_IN_PLACE:
 * @KFD_IOCTL_SVM_ATTR_NO_ACCESS: specify memory access for the gpuid given
 *                                by the attribute value
 * @KFD_IOCTL_SVM_ATTR_SET_FLAGS: bitmask of flags to set (see
 *                                KFD_IOCTL_SVM_FLAG_...)
 * @KFD_IOCTL_SVM_ATTR_CLR_FLAGS: bitmask of flags to clear
 * @KFD_IOCTL_SVM_ATTR_GRANULARITY: migration granularity
 *                                  (log2 num pages)
 */
enum kfd_ioctl_svm_attr_type {
	KFD_IOCTL_SVM_ATTR_PREFERRED_LOC,
	KFD_IOCTL_SVM_ATTR_PREFETCH_LOC,
	KFD_IOCTL_SVM_ATTR_ACCESS,
	KFD_IOCTL_SVM_ATTR_ACCESS_IN_PLACE,
	KFD_IOCTL_SVM_ATTR_NO_ACCESS,
	KFD_IOCTL_SVM_ATTR_SET_FLAGS,
	KFD_IOCTL_SVM_ATTR_CLR_FLAGS,
	KFD_IOCTL_SVM_ATTR_GRANULARITY
};

/**
 * kfd_ioctl_svm_attribute - Attributes as pairs of type and value
 *
 * The meaning of the @value depends on the attribute type.
 *
 * @type: attribute type (see enum @kfd_ioctl_svm_attr_type)
 * @value: attribute value
 */
struct kfd_ioctl_svm_attribute {
	__u32 type;
	__u32 value;
};

/**
 * kfd_ioctl_svm_args - Arguments for SVM ioctl
 *
 * @op specifies the operation to perform (see enum
 * @kfd_ioctl_svm_op).  @start_addr and @size are common for all
 * operations.
 *
 * A variable number of attributes can be given in @attrs.
 * @nattr specifies the number of attributes. New attributes can be
 * added in the future without breaking the ABI. If unknown attributes
 * are given, the function returns -EINVAL.
 *
 * @KFD_IOCTL_SVM_OP_SET_ATTR sets attributes for a virtual address
 * range. It may overlap existing virtual address ranges. If it does,
 * the existing ranges will be split such that the attribute changes
 * only apply to the specified address range.
 *
 * @KFD_IOCTL_SVM_OP_GET_ATTR returns the intersection of attributes
 * over all memory in the given range and returns the result as the
 * attribute value. If different pages have different preferred or
 * prefetch locations, 0xffffffff will be returned for
 * @KFD_IOCTL_SVM_ATTR_PREFERRED_LOC or
 * @KFD_IOCTL_SVM_ATTR_PREFETCH_LOC resepctively. For
 * @KFD_IOCTL_SVM_ATTR_SET_FLAGS, flags of all pages will be
 * aggregated by bitwise AND. That means, a flag will be set in the
 * output, if that flag is set for all pages in the range. For
 * @KFD_IOCTL_SVM_ATTR_CLR_FLAGS, flags of all pages will be
 * aggregated by bitwise NOR. That means, a flag will be set in the
 * output, if that flag is clear for all pages in the range.
 * The minimum migration granularity throughout the range will be
 * returned for @KFD_IOCTL_SVM_ATTR_GRANULARITY.
 *
 * Querying of accessibility attributes works by initializing the
 * attribute type to @KFD_IOCTL_SVM_ATTR_ACCESS and the value to the
 * GPUID being queried. Multiple attributes can be given to allow
 * querying multiple GPUIDs. The ioctl function overwrites the
 * attribute type to indicate the access for the specified GPU.
 */
struct kfd_ioctl_svm_args {
	__u64 start_addr;
	__u64 size;
	__u32 op;
	__u32 nattr;
	/* Variable length array of attributes */
	struct kfd_ioctl_svm_attribute attrs[];
};

/**
 * kfd_ioctl_set_xnack_mode_args - Arguments for set_xnack_mode
 *
 * @xnack_enabled:       [in/out] Whether to enable XNACK mode for this process
 *
 * @xnack_enabled indicates whether recoverable page faults should be
 * enabled for the current process. 0 means disabled, positive means
 * enabled, negative means leave unchanged. If enabled, virtual address
 * translations on GFXv9 and later AMD GPUs can return XNACK and retry
 * the access until a valid PTE is available. This is used to implement
 * device page faults.
 *
 * On output, @xnack_enabled returns the (new) current mode (0 or
 * positive). Therefore, a negative input value can be used to query
 * the current mode without changing it.
 *
 * The XNACK mode fundamentally changes the way SVM managed memory works
 * in the driver, with subtle effects on application performance and
 * functionality.
 *
 * Enabling XNACK mode requires shader programs to be compiled
 * differently. Furthermore, not all GPUs support changing the mode
 * per-process. Therefore changing the mode is only allowed while no
 * user mode queues exist in the process. This ensure that no shader
 * code is running that may be compiled for the wrong mode. And GPUs
 * that cannot change to the requested mode will prevent the XNACK
 * mode from occurring. All GPUs used by the process must be in the
 * same XNACK mode.
 *
 * GFXv8 or older GPUs do not support 48 bit virtual addresses or SVM.
 * Therefore those GPUs are not considered for the XNACK mode switch.
 *
 * Return: 0 on success, -errno on failure
 */
struct kfd_ioctl_set_xnack_mode_args {
	__s32 xnack_enabled;
};

/* Wave launch override modes */
enum kfd_dbg_trap_override_mode {
	KFD_DBG_TRAP_OVERRIDE_OR = 0,
	KFD_DBG_TRAP_OVERRIDE_REPLACE = 1
};

/* Wave launch overrides */
enum kfd_dbg_trap_mask {
	KFD_DBG_TRAP_MASK_FP_INVALID = 1,
	KFD_DBG_TRAP_MASK_FP_INPUT_DENORMAL = 2,
	KFD_DBG_TRAP_MASK_FP_DIVIDE_BY_ZERO = 4,
	KFD_DBG_TRAP_MASK_FP_OVERFLOW = 8,
	KFD_DBG_TRAP_MASK_FP_UNDERFLOW = 16,
	KFD_DBG_TRAP_MASK_FP_INEXACT = 32,
	KFD_DBG_TRAP_MASK_INT_DIVIDE_BY_ZERO = 64,
	KFD_DBG_TRAP_MASK_DBG_ADDRESS_WATCH = 128,
	KFD_DBG_TRAP_MASK_DBG_MEMORY_VIOLATION = 256,
	KFD_DBG_TRAP_MASK_TRAP_ON_WAVE_START = (1 << 30),
	KFD_DBG_TRAP_MASK_TRAP_ON_WAVE_END = (1 << 31)
};

/* Wave launch modes */
enum kfd_dbg_trap_wave_launch_mode {
	KFD_DBG_TRAP_WAVE_LAUNCH_MODE_NORMAL = 0,
	KFD_DBG_TRAP_WAVE_LAUNCH_MODE_HALT = 1,
	KFD_DBG_TRAP_WAVE_LAUNCH_MODE_DEBUG = 3
};

/* Address watch modes */
enum kfd_dbg_trap_address_watch_mode {
	KFD_DBG_TRAP_ADDRESS_WATCH_MODE_READ = 0,
	KFD_DBG_TRAP_ADDRESS_WATCH_MODE_NONREAD = 1,
	KFD_DBG_TRAP_ADDRESS_WATCH_MODE_ATOMIC = 2,
	KFD_DBG_TRAP_ADDRESS_WATCH_MODE_ALL = 3
};

/* Additional wave settings */
enum kfd_dbg_trap_flags {
	KFD_DBG_TRAP_FLAG_SINGLE_MEM_OP = 1,
	KFD_DBG_TRAP_FLAG_SINGLE_ALU_OP = 2,
};

/* Trap exceptions */
enum kfd_dbg_trap_exception_code {
	EC_NONE = 0,
	/* per queue */
	EC_QUEUE_WAVE_ABORT = 1,
	EC_QUEUE_WAVE_TRAP = 2,
	EC_QUEUE_WAVE_MATH_ERROR = 3,
	EC_QUEUE_WAVE_ILLEGAL_INSTRUCTION = 4,
	EC_QUEUE_WAVE_MEMORY_VIOLATION = 5,
	EC_QUEUE_WAVE_APERTURE_VIOLATION = 6,
	EC_QUEUE_PACKET_DISPATCH_DIM_INVALID = 16,
	EC_QUEUE_PACKET_DISPATCH_GROUP_SEGMENT_SIZE_INVALID = 17,
	EC_QUEUE_PACKET_DISPATCH_CODE_INVALID = 18,
	EC_QUEUE_PACKET_RESERVED = 19,
	EC_QUEUE_PACKET_UNSUPPORTED = 20,
	EC_QUEUE_PACKET_DISPATCH_WORK_GROUP_SIZE_INVALID = 21,
	EC_QUEUE_PACKET_DISPATCH_REGISTER_INVALID = 22,
	EC_QUEUE_PACKET_VENDOR_UNSUPPORTED = 23,
	EC_QUEUE_PREEMPTION_ERROR = 30,
	EC_QUEUE_NEW = 31,
	/* per device */
	EC_DEVICE_QUEUE_DELETE = 32,
	EC_DEVICE_MEMORY_VIOLATION = 33,
	EC_DEVICE_RAS_ERROR = 34,
	EC_DEVICE_FATAL_HALT = 35,
	EC_DEVICE_NEW = 36,
	/* per process */
	EC_PROCESS_RUNTIME = 48,
	EC_PROCESS_DEVICE_REMOVE = 49,
	EC_MAX
};

/* Mask generated by ecode in kfd_dbg_trap_exception_code */
#define KFD_EC_MASK(ecode)	(1ULL << (ecode - 1))

/* Masks for exception code type checks below */
#define KFD_EC_MASK_QUEUE	(KFD_EC_MASK(EC_QUEUE_WAVE_ABORT) |	\
				 KFD_EC_MASK(EC_QUEUE_WAVE_TRAP) |	\
				 KFD_EC_MASK(EC_QUEUE_WAVE_MATH_ERROR) |	\
				 KFD_EC_MASK(EC_QUEUE_WAVE_ILLEGAL_INSTRUCTION) |	\
				 KFD_EC_MASK(EC_QUEUE_WAVE_MEMORY_VIOLATION) |	\
				 KFD_EC_MASK(EC_QUEUE_WAVE_APERTURE_VIOLATION) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_DIM_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_GROUP_SEGMENT_SIZE_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_CODE_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_RESERVED) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_UNSUPPORTED) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_WORK_GROUP_SIZE_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_REGISTER_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_VENDOR_UNSUPPORTED)	|	\
				 KFD_EC_MASK(EC_QUEUE_PREEMPTION_ERROR)	|	\
				 KFD_EC_MASK(EC_QUEUE_NEW))
#define KFD_EC_MASK_DEVICE	(KFD_EC_MASK(EC_DEVICE_QUEUE_DELETE) |		\
				 KFD_EC_MASK(EC_DEVICE_RAS_ERROR) |		\
				 KFD_EC_MASK(EC_DEVICE_FATAL_HALT) |		\
				 KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION) |	\
				 KFD_EC_MASK(EC_DEVICE_NEW))
#define KFD_EC_MASK_PROCESS	(KFD_EC_MASK(EC_PROCESS_RUNTIME) |	\
				 KFD_EC_MASK(EC_PROCESS_DEVICE_REMOVE))
#define KFD_EC_MASK_PACKET	(KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_DIM_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_GROUP_SEGMENT_SIZE_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_CODE_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_RESERVED) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_UNSUPPORTED) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_WORK_GROUP_SIZE_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_REGISTER_INVALID) |	\
				 KFD_EC_MASK(EC_QUEUE_PACKET_VENDOR_UNSUPPORTED))

/* Checks for exception code types for KFD search */
#define KFD_DBG_EC_IS_VALID(ecode) (ecode > EC_NONE && ecode < EC_MAX)
#define KFD_DBG_EC_TYPE_IS_QUEUE(ecode)					\
			(KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_QUEUE))
#define KFD_DBG_EC_TYPE_IS_DEVICE(ecode)				\
			(KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_DEVICE))
#define KFD_DBG_EC_TYPE_IS_PROCESS(ecode)				\
			(KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_PROCESS))
#define KFD_DBG_EC_TYPE_IS_PACKET(ecode)				\
			(KFD_DBG_EC_IS_VALID(ecode) && !!(KFD_EC_MASK(ecode) & KFD_EC_MASK_PACKET))


/* Runtime enable states */
enum kfd_dbg_runtime_state {
	DEBUG_RUNTIME_STATE_DISABLED = 0,
	DEBUG_RUNTIME_STATE_ENABLED = 1,
	DEBUG_RUNTIME_STATE_ENABLED_BUSY = 2,
	DEBUG_RUNTIME_STATE_ENABLED_ERROR = 3
};

/* Runtime enable status */
struct kfd_runtime_info {
	__u64 r_debug;
	__u32 runtime_state;
	__u32 ttmp_setup;
};

/* Enable modes for runtime enable */
#define KFD_RUNTIME_ENABLE_MODE_ENABLE_MASK	1
#define KFD_RUNTIME_ENABLE_MODE_TTMP_SAVE_MASK	2

/**
 * kfd_ioctl_runtime_enable_args - Arguments for runtime enable
 *
 * Coordinates debug exception signalling and debug device enablement with runtime.
 *
 * @r_debug - pointer to user struct for sharing information between ROCr and the debuggger
 * @mode_mask - mask to set mode
 *	KFD_RUNTIME_ENABLE_MODE_ENABLE_MASK - enable runtime for debugging, otherwise disable
 *	KFD_RUNTIME_ENABLE_MODE_TTMP_SAVE_MASK - enable trap temporary setup (ignore on disable)
 * @capabilities_mask - mask to notify runtime on what KFD supports
 *
 * Return - 0 on SUCCESS.
 *	  - EBUSY if runtime enable call already pending.
 *	  - EEXIST if user queues already active prior to call.
 *	    If process is debug enabled, runtime enable will enable debug devices and
 *	    wait for debugger process to send runtime exception EC_PROCESS_RUNTIME
 *	    to unblock - see kfd_ioctl_dbg_trap_args.
 *
 */
struct kfd_ioctl_runtime_enable_args {
	__u64 r_debug;
	__u32 mode_mask;
	__u32 capabilities_mask;
};

/* Queue information */
struct kfd_queue_snapshot_entry {
	__u64 exception_status;
	__u64 ring_base_address;
	__u64 write_pointer_address;
	__u64 read_pointer_address;
	__u64 ctx_save_restore_address;
	__u32 queue_id;
	__u32 gpu_id;
	__u32 ring_size;
	__u32 queue_type;
	__u32 ctx_save_restore_area_size;
	__u32 reserved;
};

/* Queue status return for suspend/resume */
#define KFD_DBG_QUEUE_ERROR_BIT		30
#define KFD_DBG_QUEUE_INVALID_BIT	31
#define KFD_DBG_QUEUE_ERROR_MASK	(1 << KFD_DBG_QUEUE_ERROR_BIT)
#define KFD_DBG_QUEUE_INVALID_MASK	(1 << KFD_DBG_QUEUE_INVALID_BIT)

/* Context save area header information */
struct kfd_context_save_area_header {
	struct {
		__u32 control_stack_offset;
		__u32 control_stack_size;
		__u32 wave_state_offset;
		__u32 wave_state_size;
	} wave_state;
	__u32 debug_offset;
	__u32 debug_size;
	__u64 err_payload_addr;
	__u32 err_event_id;
	__u32 reserved1;
};

/*
 * Debug operations
 *
 * For specifics on usage and return values, see documentation per operation
 * below.  Otherwise, generic error returns apply:
 *	- ESRCH if the process to debug does not exist.
 *
 *	- EINVAL (with KFD_IOC_DBG_TRAP_ENABLE exempt) if operation
 *		 KFD_IOC_DBG_TRAP_ENABLE has not succeeded prior.
 *		 Also returns this error if GPU hardware scheduling is not supported.
 *
 *	- EPERM (with KFD_IOC_DBG_TRAP_DISABLE exempt) if target process is not
 *		 PTRACE_ATTACHED.  KFD_IOC_DBG_TRAP_DISABLE is exempt to allow
 *		 clean up of debug mode as long as process is debug enabled.
 *
 *	- EACCES if any DBG_HW_OP (debug hardware operation) is requested when
 *		 AMDKFD_IOC_RUNTIME_ENABLE has not succeeded prior.
 *
 *	- ENODEV if any GPU does not support debugging on a DBG_HW_OP call.
 *
 *	- Other errors may be returned when a DBG_HW_OP occurs while the GPU
 *	  is in a fatal state.
 *
 */
enum kfd_dbg_trap_operations {
	KFD_IOC_DBG_TRAP_ENABLE = 0,
	KFD_IOC_DBG_TRAP_DISABLE = 1,
	KFD_IOC_DBG_TRAP_SEND_RUNTIME_EVENT = 2,
	KFD_IOC_DBG_TRAP_SET_EXCEPTIONS_ENABLED = 3,
	KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_OVERRIDE = 4,  /* DBG_HW_OP */
	KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_MODE = 5,      /* DBG_HW_OP */
	KFD_IOC_DBG_TRAP_SUSPEND_QUEUES = 6,		/* DBG_HW_OP */
	KFD_IOC_DBG_TRAP_RESUME_QUEUES = 7,		/* DBG_HW_OP */
	KFD_IOC_DBG_TRAP_SET_NODE_ADDRESS_WATCH = 8,	/* DBG_HW_OP */
	KFD_IOC_DBG_TRAP_CLEAR_NODE_ADDRESS_WATCH = 9,	/* DBG_HW_OP */
	KFD_IOC_DBG_TRAP_SET_FLAGS = 10,
	KFD_IOC_DBG_TRAP_QUERY_DEBUG_EVENT = 11,
	KFD_IOC_DBG_TRAP_QUERY_EXCEPTION_INFO = 12,
	KFD_IOC_DBG_TRAP_GET_QUEUE_SNAPSHOT = 13,
	KFD_IOC_DBG_TRAP_GET_DEVICE_SNAPSHOT = 14
};

/**
 * kfd_ioctl_dbg_trap_enable_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_ENABLE.
 *
 *     Enables debug session for target process. Call @op KFD_IOC_DBG_TRAP_DISABLE in
 *     kfd_ioctl_dbg_trap_args to disable debug session.
 *
 *     @exception_mask (IN)	- exceptions to raise to the debugger
 *     @rinfo_ptr      (IN)	- pointer to runtime info buffer (see kfd_runtime_info)
 *     @rinfo_size     (IN/OUT)	- size of runtime info buffer in bytes
 *     @dbg_fd	       (IN)	- fd the KFD will nofify the debugger with of raised
 *				  exceptions set in exception_mask.
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *		Copies KFD saved kfd_runtime_info to @rinfo_ptr on enable.
 *		Size of kfd_runtime saved by the KFD returned to @rinfo_size.
 *            - EBADF if KFD cannot get a reference to dbg_fd.
 *            - EFAULT if KFD cannot copy runtime info to rinfo_ptr.
 *            - EINVAL if target process is already debug enabled.
 *
 */
struct kfd_ioctl_dbg_trap_enable_args {
	__u64 exception_mask;
	__u64 rinfo_ptr;
	__u32 rinfo_size;
	__u32 dbg_fd;
};

/**
 * kfd_ioctl_dbg_trap_send_runtime_event_args
 *
 *
 *     Arguments for KFD_IOC_DBG_TRAP_SEND_RUNTIME_EVENT.
 *     Raises exceptions to runtime.
 *
 *     @exception_mask (IN) - exceptions to raise to runtime
 *     @gpu_id	       (IN) - target device id
 *     @queue_id       (IN) - target queue id
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *	      - ENODEV if gpu_id not found.
 *		If exception_mask contains EC_PROCESS_RUNTIME, unblocks pending
 *		AMDKFD_IOC_RUNTIME_ENABLE call - see kfd_ioctl_runtime_enable_args.
 *		All other exceptions are raised to runtime through err_payload_addr.
 *		See kfd_context_save_area_header.
 */
struct kfd_ioctl_dbg_trap_send_runtime_event_args {
	__u64 exception_mask;
	__u32 gpu_id;
	__u32 queue_id;
};

/**
 * kfd_ioctl_dbg_trap_set_exceptions_enabled_args
 *
 *     Arguments for KFD_IOC_SET_EXCEPTIONS_ENABLED
 *     Set new exceptions to be raised to the debugger.
 *
 *     @exception_mask (IN) - new exceptions to raise the debugger
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 */
struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args {
	__u64 exception_mask;
};

/**
 * kfd_ioctl_dbg_trap_set_wave_launch_override_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_OVERRIDE
 *     Enable HW exceptions to raise trap.
 *
 *     @override_mode	     (IN)     - see kfd_dbg_trap_override_mode
 *     @enable_mask	     (IN/OUT) - reference kfd_dbg_trap_mask.
 *					IN is the override modes requested to be enabled.
 *					OUT is referenced in Return below.
 *     @support_request_mask (IN/OUT) - reference kfd_dbg_trap_mask.
 *					IN is the override modes requested for support check.
 *					OUT is referenced in Return below.
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *		Previous enablement is returned in @enable_mask.
 *		Actual override support is returned in @support_request_mask.
 *	      - EINVAL if override mode is not supported.
 *	      - EACCES if trap support requested is not actually supported.
 *		i.e. enable_mask (IN) is not a subset of support_request_mask (OUT).
 *		Otherwise it is considered a generic error (see kfd_dbg_trap_operations).
 */
struct kfd_ioctl_dbg_trap_set_wave_launch_override_args {
	__u32 override_mode;
	__u32 enable_mask;
	__u32 support_request_mask;
	__u32 pad;
};

/**
 * kfd_ioctl_dbg_trap_set_wave_launch_mode_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_MODE
 *     Set wave launch mode.
 *
 *     @mode (IN) - see kfd_dbg_trap_wave_launch_mode
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 */
struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args {
	__u32 launch_mode;
	__u32 pad;
};

/**
 * kfd_ioctl_dbg_trap_suspend_queues_ags
 *
 *     Arguments for KFD_IOC_DBG_TRAP_SUSPEND_QUEUES
 *     Suspend queues.
 *
 *     @exception_mask	(IN) - raised exceptions to clear
 *     @queue_array_ptr (IN) - pointer to array of queue ids (u32 per queue id)
 *			       to suspend
 *     @num_queues	(IN) - number of queues to suspend in @queue_array_ptr
 *     @grace_period	(IN) - wave time allowance before preemption
 *			       per 1K GPU clock cycle unit
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Destruction of a suspended queue is blocked until the queue is
 *     resumed.  This allows the debugger to access queue information and
 *     the its context save area without running into a race condition on
 *     queue destruction.
 *     Automatically copies per queue context save area header information
 *     into the save area base
 *     (see kfd_queue_snapshot_entry and kfd_context_save_area_header).
 *
 *     Return - Number of queues suspended on SUCCESS.
 *	.	KFD_DBG_QUEUE_ERROR_MASK and KFD_DBG_QUEUE_INVALID_MASK masked
 *		for each queue id in @queue_array_ptr array reports unsuccessful
 *		suspend reason.
 *		KFD_DBG_QUEUE_ERROR_MASK = HW failure.
 *		KFD_DBG_QUEUE_INVALID_MASK = queue does not exist, is new or
 *		is being destroyed.
 */
struct kfd_ioctl_dbg_trap_suspend_queues_args {
	__u64 exception_mask;
	__u64 queue_array_ptr;
	__u32 num_queues;
	__u32 grace_period;
};

/**
 * kfd_ioctl_dbg_trap_resume_queues_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_RESUME_QUEUES
 *     Resume queues.
 *
 *     @queue_array_ptr (IN) - pointer to array of queue ids (u32 per queue id)
 *			       to resume
 *     @num_queues	(IN) - number of queues to resume in @queue_array_ptr
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - Number of queues resumed on SUCCESS.
 *		KFD_DBG_QUEUE_ERROR_MASK and KFD_DBG_QUEUE_INVALID_MASK mask
 *		for each queue id in @queue_array_ptr array reports unsuccessful
 *		resume reason.
 *		KFD_DBG_QUEUE_ERROR_MASK = HW failure.
 *		KFD_DBG_QUEUE_INVALID_MASK = queue does not exist.
 */
struct kfd_ioctl_dbg_trap_resume_queues_args {
	__u64 queue_array_ptr;
	__u32 num_queues;
	__u32 pad;
};

/**
 * kfd_ioctl_dbg_trap_set_node_address_watch_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_SET_NODE_ADDRESS_WATCH
 *     Sets address watch for device.
 *
 *     @address	(IN)  - watch address to set
 *     @mode    (IN)  - see kfd_dbg_trap_address_watch_mode
 *     @mask    (IN)  - watch address mask
 *     @gpu_id  (IN)  - target gpu to set watch point
 *     @id      (OUT) - watch id allocated
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *		Allocated watch ID returned to @id.
 *	      - ENODEV if gpu_id not found.
 *	      - ENOMEM if watch IDs can be allocated
 */
struct kfd_ioctl_dbg_trap_set_node_address_watch_args {
	__u64 address;
	__u32 mode;
	__u32 mask;
	__u32 gpu_id;
	__u32 id;
};

/**
 * kfd_ioctl_dbg_trap_clear_node_address_watch_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_CLEAR_NODE_ADDRESS_WATCH
 *     Clear address watch for device.
 *
 *     @gpu_id  (IN)  - target device to clear watch point
 *     @id      (IN) - allocated watch id to clear
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *	      - ENODEV if gpu_id not found.
 *	      - EINVAL if watch ID has not been allocated.
 */
struct kfd_ioctl_dbg_trap_clear_node_address_watch_args {
	__u32 gpu_id;
	__u32 id;
};

/**
 * kfd_ioctl_dbg_trap_set_flags_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_SET_FLAGS
 *     Sets flags for wave behaviour.
 *
 *     @flags (IN/OUT) - IN = flags to enable, OUT = flags previously enabled
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *	      - EACCESS if any debug device does not allow flag options.
 */
struct kfd_ioctl_dbg_trap_set_flags_args {
	__u32 flags;
	__u32 pad;
};

/**
 * kfd_ioctl_dbg_trap_query_debug_event_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_QUERY_DEBUG_EVENT
 *
 *     Find one or more raised exceptions. This function can return multiple
 *     exceptions from a single queue or a single device with one call. To find
 *     all raised exceptions, this function must be called repeatedly until it
 *     returns -EAGAIN. Returned exceptions can optionally be cleared by
 *     setting the corresponding bit in the @exception_mask input parameter.
 *     However, clearing an exception prevents retrieving further information
 *     about it with KFD_IOC_DBG_TRAP_QUERY_EXCEPTION_INFO.
 *
 *     @exception_mask (IN/OUT) - exception to clear (IN) and raised (OUT)
 *     @gpu_id	       (OUT)    - gpu id of exceptions raised
 *     @queue_id       (OUT)    - queue id of exceptions raised
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on raised exception found
 *              Raised exceptions found are returned in @exception mask
 *              with reported source id returned in @gpu_id or @queue_id.
 *            - EAGAIN if no raised exception has been found
 */
struct kfd_ioctl_dbg_trap_query_debug_event_args {
	__u64 exception_mask;
	__u32 gpu_id;
	__u32 queue_id;
};

/**
 * kfd_ioctl_dbg_trap_query_exception_info_args
 *
 *     Arguments KFD_IOC_DBG_TRAP_QUERY_EXCEPTION_INFO
 *     Get additional info on raised exception.
 *
 *     @info_ptr	(IN)	 - pointer to exception info buffer to copy to
 *     @info_size	(IN/OUT) - exception info buffer size (bytes)
 *     @source_id	(IN)     - target gpu or queue id
 *     @exception_code	(IN)     - target exception
 *     @clear_exception	(IN)     - clear raised @exception_code exception
 *				   (0 = false, 1 = true)
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *              If @exception_code is EC_DEVICE_MEMORY_VIOLATION, copy @info_size(OUT)
 *		bytes of memory exception data to @info_ptr.
 *              If @exception_code is EC_PROCESS_RUNTIME, copy saved
 *              kfd_runtime_info to @info_ptr.
 *              Actual required @info_ptr size (bytes) is returned in @info_size.
 */
struct kfd_ioctl_dbg_trap_query_exception_info_args {
	__u64 info_ptr;
	__u32 info_size;
	__u32 source_id;
	__u32 exception_code;
	__u32 clear_exception;
};

/**
 * kfd_ioctl_dbg_trap_get_queue_snapshot_args
 *
 *     Arguments KFD_IOC_DBG_TRAP_GET_QUEUE_SNAPSHOT
 *     Get queue information.
 *
 *     @exception_mask	 (IN)	  - exceptions raised to clear
 *     @snapshot_buf_ptr (IN)	  - queue snapshot entry buffer (see kfd_queue_snapshot_entry)
 *     @num_queues	 (IN/OUT) - number of queue snapshot entries
 *         The debugger specifies the size of the array allocated in @num_queues.
 *         KFD returns the number of queues that actually existed. If this is
 *         larger than the size specified by the debugger, KFD will not overflow
 *         the array allocated by the debugger.
 *
 *     @entry_size	 (IN/OUT) - size per entry in bytes
 *         The debugger specifies sizeof(struct kfd_queue_snapshot_entry) in
 *         @entry_size. KFD returns the number of bytes actually populated per
 *         entry. The debugger should use the KFD_IOCTL_MINOR_VERSION to determine,
 *         which fields in struct kfd_queue_snapshot_entry are valid. This allows
 *         growing the ABI in a backwards compatible manner.
 *         Note that entry_size(IN) should still be used to stride the snapshot buffer in the
 *         event that it's larger than actual kfd_queue_snapshot_entry.
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *              Copies @num_queues(IN) queue snapshot entries of size @entry_size(IN)
 *              into @snapshot_buf_ptr if @num_queues(IN) > 0.
 *              Otherwise return @num_queues(OUT) queue snapshot entries that exist.
 */
struct kfd_ioctl_dbg_trap_queue_snapshot_args {
	__u64 exception_mask;
	__u64 snapshot_buf_ptr;
	__u32 num_queues;
	__u32 entry_size;
};

/**
 * kfd_ioctl_dbg_trap_get_device_snapshot_args
 *
 *     Arguments for KFD_IOC_DBG_TRAP_GET_DEVICE_SNAPSHOT
 *     Get device information.
 *
 *     @exception_mask	 (IN)	  - exceptions raised to clear
 *     @snapshot_buf_ptr (IN)	  - pointer to snapshot buffer (see kfd_dbg_device_info_entry)
 *     @num_devices	 (IN/OUT) - number of debug devices to snapshot
 *         The debugger specifies the size of the array allocated in @num_devices.
 *         KFD returns the number of devices that actually existed. If this is
 *         larger than the size specified by the debugger, KFD will not overflow
 *         the array allocated by the debugger.
 *
 *     @entry_size	 (IN/OUT) - size per entry in bytes
 *         The debugger specifies sizeof(struct kfd_dbg_device_info_entry) in
 *         @entry_size. KFD returns the number of bytes actually populated. The
 *         debugger should use KFD_IOCTL_MINOR_VERSION to determine, which fields
 *         in struct kfd_dbg_device_info_entry are valid. This allows growing the
 *         ABI in a backwards compatible manner.
 *         Note that entry_size(IN) should still be used to stride the snapshot buffer in the
 *         event that it's larger than actual kfd_dbg_device_info_entry.
 *
 *     Generic errors apply (see kfd_dbg_trap_operations).
 *     Return - 0 on SUCCESS.
 *              Copies @num_devices(IN) device snapshot entries of size @entry_size(IN)
 *              into @snapshot_buf_ptr if @num_devices(IN) > 0.
 *              Otherwise return @num_devices(OUT) queue snapshot entries that exist.
 */
struct kfd_ioctl_dbg_trap_device_snapshot_args {
	__u64 exception_mask;
	__u64 snapshot_buf_ptr;
	__u32 num_devices;
	__u32 entry_size;
};

/**
 * kfd_ioctl_dbg_trap_args
 *
 * Arguments to debug target process.
 *
 *     @pid - target process to debug
 *     @op  - debug operation (see kfd_dbg_trap_operations)
 *
 *     @op determines which union struct args to use.
 *     Refer to kern docs for each kfd_ioctl_dbg_trap_*_args struct.
 */
struct kfd_ioctl_dbg_trap_args {
	__u32 pid;
	__u32 op;

	union {
		struct kfd_ioctl_dbg_trap_enable_args enable;
		struct kfd_ioctl_dbg_trap_send_runtime_event_args send_runtime_event;
		struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args set_exceptions_enabled;
		struct kfd_ioctl_dbg_trap_set_wave_launch_override_args launch_override;
		struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args launch_mode;
		struct kfd_ioctl_dbg_trap_suspend_queues_args suspend_queues;
		struct kfd_ioctl_dbg_trap_resume_queues_args resume_queues;
		struct kfd_ioctl_dbg_trap_set_node_address_watch_args set_node_address_watch;
		struct kfd_ioctl_dbg_trap_clear_node_address_watch_args clear_node_address_watch;
		struct kfd_ioctl_dbg_trap_set_flags_args set_flags;
		struct kfd_ioctl_dbg_trap_query_debug_event_args query_debug_event;
		struct kfd_ioctl_dbg_trap_query_exception_info_args query_exception_info;
		struct kfd_ioctl_dbg_trap_queue_snapshot_args queue_snapshot;
		struct kfd_ioctl_dbg_trap_device_snapshot_args device_snapshot;
	};
};

#define AMDKFD_IOCTL_BASE 'K'
#define AMDKFD_IO(nr)			_IO(AMDKFD_IOCTL_BASE, nr)
#define AMDKFD_IOR(nr, type)		_IOR(AMDKFD_IOCTL_BASE, nr, type)
#define AMDKFD_IOW(nr, type)		_IOW(AMDKFD_IOCTL_BASE, nr, type)
#define AMDKFD_IOWR(nr, type)		_IOWR(AMDKFD_IOCTL_BASE, nr, type)

#define AMDKFD_IOC_GET_VERSION			\
		AMDKFD_IOR(0x01, struct kfd_ioctl_get_version_args)

#define AMDKFD_IOC_CREATE_QUEUE			\
		AMDKFD_IOWR(0x02, struct kfd_ioctl_create_queue_args)

#define AMDKFD_IOC_DESTROY_QUEUE		\
		AMDKFD_IOWR(0x03, struct kfd_ioctl_destroy_queue_args)

#define AMDKFD_IOC_SET_MEMORY_POLICY		\
		AMDKFD_IOW(0x04, struct kfd_ioctl_set_memory_policy_args)

#define AMDKFD_IOC_GET_CLOCK_COUNTERS		\
		AMDKFD_IOWR(0x05, struct kfd_ioctl_get_clock_counters_args)

#define AMDKFD_IOC_GET_PROCESS_APERTURES	\
		AMDKFD_IOR(0x06, struct kfd_ioctl_get_process_apertures_args)

#define AMDKFD_IOC_UPDATE_QUEUE			\
		AMDKFD_IOW(0x07, struct kfd_ioctl_update_queue_args)

#define AMDKFD_IOC_CREATE_EVENT			\
		AMDKFD_IOWR(0x08, struct kfd_ioctl_create_event_args)

#define AMDKFD_IOC_DESTROY_EVENT		\
		AMDKFD_IOW(0x09, struct kfd_ioctl_destroy_event_args)

#define AMDKFD_IOC_SET_EVENT			\
		AMDKFD_IOW(0x0A, struct kfd_ioctl_set_event_args)

#define AMDKFD_IOC_RESET_EVENT			\
		AMDKFD_IOW(0x0B, struct kfd_ioctl_reset_event_args)

#define AMDKFD_IOC_WAIT_EVENTS			\
		AMDKFD_IOWR(0x0C, struct kfd_ioctl_wait_events_args)

#define AMDKFD_IOC_DBG_REGISTER_DEPRECATED	\
		AMDKFD_IOW(0x0D, struct kfd_ioctl_dbg_register_args)

#define AMDKFD_IOC_DBG_UNREGISTER_DEPRECATED	\
		AMDKFD_IOW(0x0E, struct kfd_ioctl_dbg_unregister_args)

#define AMDKFD_IOC_DBG_ADDRESS_WATCH_DEPRECATED	\
		AMDKFD_IOW(0x0F, struct kfd_ioctl_dbg_address_watch_args)

#define AMDKFD_IOC_DBG_WAVE_CONTROL_DEPRECATED	\
		AMDKFD_IOW(0x10, struct kfd_ioctl_dbg_wave_control_args)

#define AMDKFD_IOC_SET_SCRATCH_BACKING_VA	\
		AMDKFD_IOWR(0x11, struct kfd_ioctl_set_scratch_backing_va_args)

#define AMDKFD_IOC_GET_TILE_CONFIG                                      \
		AMDKFD_IOWR(0x12, struct kfd_ioctl_get_tile_config_args)

#define AMDKFD_IOC_SET_TRAP_HANDLER		\
		AMDKFD_IOW(0x13, struct kfd_ioctl_set_trap_handler_args)

#define AMDKFD_IOC_GET_PROCESS_APERTURES_NEW	\
		AMDKFD_IOWR(0x14,		\
			struct kfd_ioctl_get_process_apertures_new_args)

#define AMDKFD_IOC_ACQUIRE_VM			\
		AMDKFD_IOW(0x15, struct kfd_ioctl_acquire_vm_args)

#define AMDKFD_IOC_ALLOC_MEMORY_OF_GPU		\
		AMDKFD_IOWR(0x16, struct kfd_ioctl_alloc_memory_of_gpu_args)

#define AMDKFD_IOC_FREE_MEMORY_OF_GPU		\
		AMDKFD_IOW(0x17, struct kfd_ioctl_free_memory_of_gpu_args)

#define AMDKFD_IOC_MAP_MEMORY_TO_GPU		\
		AMDKFD_IOWR(0x18, struct kfd_ioctl_map_memory_to_gpu_args)

#define AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU	\
		AMDKFD_IOWR(0x19, struct kfd_ioctl_unmap_memory_from_gpu_args)

#define AMDKFD_IOC_SET_CU_MASK		\
		AMDKFD_IOW(0x1A, struct kfd_ioctl_set_cu_mask_args)

#define AMDKFD_IOC_GET_QUEUE_WAVE_STATE		\
		AMDKFD_IOWR(0x1B, struct kfd_ioctl_get_queue_wave_state_args)

#define AMDKFD_IOC_GET_DMABUF_INFO		\
		AMDKFD_IOWR(0x1C, struct kfd_ioctl_get_dmabuf_info_args)

#define AMDKFD_IOC_IMPORT_DMABUF		\
		AMDKFD_IOWR(0x1D, struct kfd_ioctl_import_dmabuf_args)

#define AMDKFD_IOC_ALLOC_QUEUE_GWS		\
		AMDKFD_IOWR(0x1E, struct kfd_ioctl_alloc_queue_gws_args)

#define AMDKFD_IOC_SMI_EVENTS			\
		AMDKFD_IOWR(0x1F, struct kfd_ioctl_smi_events_args)

#define AMDKFD_IOC_SVM	AMDKFD_IOWR(0x20, struct kfd_ioctl_svm_args)

#define AMDKFD_IOC_SET_XNACK_MODE		\
		AMDKFD_IOWR(0x21, struct kfd_ioctl_set_xnack_mode_args)

#define AMDKFD_IOC_CRIU_OP			\
		AMDKFD_IOWR(0x22, struct kfd_ioctl_criu_args)

#define AMDKFD_IOC_AVAILABLE_MEMORY		\
		AMDKFD_IOWR(0x23, struct kfd_ioctl_get_available_memory_args)

#define AMDKFD_IOC_EXPORT_DMABUF		\
		AMDKFD_IOWR(0x24, struct kfd_ioctl_export_dmabuf_args)

#define AMDKFD_IOC_RUNTIME_ENABLE		\
		AMDKFD_IOWR(0x25, struct kfd_ioctl_runtime_enable_args)

#define AMDKFD_IOC_DBG_TRAP			\
		AMDKFD_IOWR(0x26, struct kfd_ioctl_dbg_trap_args)

#define AMDKFD_COMMAND_START		0x01
#define AMDKFD_COMMAND_END		0x27

#endif

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
12 Sep 2026 4.57 AM
root / root
0755
android
--
12 Sep 2026 4.57 AM
root / root
0755
byteorder
--
12 Sep 2026 4.57 AM
root / root
0755
caif
--
12 Sep 2026 4.57 AM
root / root
0755
can
--
12 Sep 2026 4.57 AM
root / root
0755
cifs
--
12 Sep 2026 4.57 AM
root / root
0755
dvb
--
12 Sep 2026 4.57 AM
root / root
0755
genwqe
--
12 Sep 2026 4.57 AM
root / root
0755
hdlc
--
12 Sep 2026 4.57 AM
root / root
0755
hsi
--
12 Sep 2026 4.57 AM
root / root
0755
iio
--
12 Sep 2026 4.57 AM
root / root
0755
isdn
--
12 Sep 2026 4.57 AM
root / root
0755
misc
--
12 Sep 2026 4.57 AM
root / root
0755
mmc
--
12 Sep 2026 4.57 AM
root / root
0755
netfilter
--
12 Sep 2026 4.57 AM
root / root
0755
netfilter_arp
--
12 Sep 2026 4.57 AM
root / root
0755
netfilter_bridge
--
12 Sep 2026 4.57 AM
root / root
0755
netfilter_ipv4
--
12 Sep 2026 4.57 AM
root / root
0755
netfilter_ipv6
--
12 Sep 2026 4.57 AM
root / root
0755
nfsd
--
12 Sep 2026 4.57 AM
root / root
0755
raid
--
12 Sep 2026 4.57 AM
root / root
0755
sched
--
12 Sep 2026 4.57 AM
root / root
0755
spi
--
12 Sep 2026 4.57 AM
root / root
0755
sunrpc
--
12 Sep 2026 4.57 AM
root / root
0755
surface_aggregator
--
12 Sep 2026 4.57 AM
root / root
0755
tc_act
--
12 Sep 2026 4.57 AM
root / root
0755
tc_ematch
--
12 Sep 2026 4.57 AM
root / root
0755
usb
--
12 Sep 2026 4.57 AM
root / root
0755
a.out.h
6.73 KB
11 Sep 2026 1.33 PM
root / root
0644
acct.h
3.821 KB
11 Sep 2026 1.33 PM
root / root
0644
acrn.h
16.295 KB
11 Sep 2026 1.33 PM
root / root
0644
adb.h
1.113 KB
11 Sep 2026 1.33 PM
root / root
0644
adfs_fs.h
0.97 KB
11 Sep 2026 1.33 PM
root / root
0644
affs_hardblocks.h
1.541 KB
11 Sep 2026 1.33 PM
root / root
0644
agpgart.h
3.848 KB
11 Sep 2026 1.33 PM
root / root
0644
aio_abi.h
3.318 KB
11 Sep 2026 1.33 PM
root / root
0644
am437x-vpfe.h
3.595 KB
11 Sep 2026 1.33 PM
root / root
0644
apm_bios.h
3.597 KB
11 Sep 2026 1.33 PM
root / root
0644
arcfb.h
0.208 KB
11 Sep 2026 1.33 PM
root / root
0644
arm_sdei.h
2.687 KB
11 Sep 2026 1.33 PM
root / root
0644
aspeed-lpc-ctrl.h
1.738 KB
11 Sep 2026 1.33 PM
root / root
0644
aspeed-p2a-ctrl.h
1.861 KB
11 Sep 2026 1.33 PM
root / root
0644
atalk.h
0.999 KB
11 Sep 2026 1.33 PM
root / root
0644
atm.h
7.703 KB
11 Sep 2026 1.33 PM
root / root
0644
atm_eni.h
0.633 KB
11 Sep 2026 1.33 PM
root / root
0644
atm_he.h
0.396 KB
11 Sep 2026 1.33 PM
root / root
0644
atm_idt77105.h
0.933 KB
11 Sep 2026 1.33 PM
root / root
0644
atm_nicstar.h
1.248 KB
11 Sep 2026 1.33 PM
root / root
0644
atm_tcp.h
1.584 KB
11 Sep 2026 1.33 PM
root / root
0644
atm_zatm.h
1.504 KB
11 Sep 2026 1.33 PM
root / root
0644
atmapi.h
0.93 KB
11 Sep 2026 1.33 PM
root / root
0644
atmarp.h
1.266 KB
11 Sep 2026 1.33 PM
root / root
0644
atmbr2684.h
3.194 KB
11 Sep 2026 1.33 PM
root / root
0644
atmclip.h
0.563 KB
11 Sep 2026 1.33 PM
root / root
0644
atmdev.h
7.497 KB
11 Sep 2026 1.33 PM
root / root
0644
atmioc.h
1.608 KB
11 Sep 2026 1.33 PM
root / root
0644
atmlec.h
2.325 KB
11 Sep 2026 1.33 PM
root / root
0644
atmmpc.h
4.127 KB
11 Sep 2026 1.33 PM
root / root
0644
atmppp.h
0.624 KB
11 Sep 2026 1.33 PM
root / root
0644
atmsap.h
4.854 KB
11 Sep 2026 1.33 PM
root / root
0644
atmsvc.h
1.81 KB
11 Sep 2026 1.33 PM
root / root
0644
audit.h
21.064 KB
11 Sep 2026 1.33 PM
root / root
0644
auto_dev-ioctl.h
4.869 KB
11 Sep 2026 1.33 PM
root / root
0644
auto_fs.h
6.277 KB
11 Sep 2026 1.33 PM
root / root
0644
auto_fs4.h
0.44 KB
11 Sep 2026 1.33 PM
root / root
0644
auxvec.h
1.56 KB
11 Sep 2026 1.33 PM
root / root
0644
ax25.h
2.758 KB
11 Sep 2026 1.33 PM
root / root
0644
batadv_packet.h
19.868 KB
11 Sep 2026 1.33 PM
root / root
0644
batman_adv.h
16.491 KB
11 Sep 2026 1.33 PM
root / root
0644
baycom.h
0.862 KB
11 Sep 2026 1.33 PM
root / root
0644
bcm933xx_hcs.h
0.409 KB
11 Sep 2026 1.33 PM
root / root
0644
bfs_fs.h
1.86 KB
11 Sep 2026 1.33 PM
root / root
0644
binfmts.h
0.758 KB
11 Sep 2026 1.33 PM
root / root
0644
bits.h
0.437 KB
11 Sep 2026 1.33 PM
root / root
0644
blkdev.h
0.351 KB
11 Sep 2026 1.33 PM
root / root
0644
blkpg.h
0.883 KB
11 Sep 2026 1.33 PM
root / root
0644
blktrace_api.h
4.591 KB
11 Sep 2026 1.33 PM
root / root
0644
blkzoned.h
6.341 KB
11 Sep 2026 1.33 PM
root / root
0644
bpf.h
272.142 KB
11 Sep 2026 1.33 PM
root / root
0644
bpf_common.h
1.335 KB
11 Sep 2026 1.33 PM
root / root
0644
bpf_perf_event.h
0.517 KB
11 Sep 2026 1.33 PM
root / root
0644
bpfilter.h
0.454 KB
11 Sep 2026 1.33 PM
root / root
0644
bpqether.h
0.958 KB
11 Sep 2026 1.33 PM
root / root
0644
bsg.h
2.436 KB
11 Sep 2026 1.33 PM
root / root
0644
bt-bmc.h
0.559 KB
11 Sep 2026 1.33 PM
root / root
0644
btf.h
5.46 KB
11 Sep 2026 1.33 PM
root / root
0644
btrfs.h
29.854 KB
11 Sep 2026 1.33 PM
root / root
0644
btrfs_tree.h
25.224 KB
11 Sep 2026 1.33 PM
root / root
0644
cachefiles.h
1.611 KB
11 Sep 2026 1.33 PM
root / root
0644
can.h
11.227 KB
11 Sep 2026 1.33 PM
root / root
0644
capability.h
13.175 KB
11 Sep 2026 1.33 PM
root / root
0644
capi.h
3.051 KB
11 Sep 2026 1.33 PM
root / root
0644
cciss_defs.h
3.204 KB
11 Sep 2026 1.33 PM
root / root
0644
cciss_ioctl.h
2.696 KB
11 Sep 2026 1.33 PM
root / root
0644
ccs.h
0.749 KB
11 Sep 2026 1.33 PM
root / root
0644
cdrom.h
28.868 KB
11 Sep 2026 1.33 PM
root / root
0644
cec-funcs.h
53.144 KB
11 Sep 2026 1.33 PM
root / root
0644
cec.h
40.466 KB
11 Sep 2026 1.33 PM
root / root
0644
cfm_bridge.h
1.422 KB
11 Sep 2026 1.33 PM
root / root
0644
cgroupstats.h
2.167 KB
11 Sep 2026 1.33 PM
root / root
0644
chio.h
5.158 KB
11 Sep 2026 1.33 PM
root / root
0644
close_range.h
0.368 KB
11 Sep 2026 1.33 PM
root / root
0644
cm4000_cs.h
1.764 KB
11 Sep 2026 1.33 PM
root / root
0644
cn_proc.h
4.052 KB
11 Sep 2026 1.33 PM
root / root
0644
coda.h
17.789 KB
11 Sep 2026 1.33 PM
root / root
0644
coff.h
12.255 KB
11 Sep 2026 1.33 PM
root / root
0644
connector.h
2.2 KB
11 Sep 2026 1.33 PM
root / root
0644
const.h
0.964 KB
11 Sep 2026 1.33 PM
root / root
0644
coresight-stm.h
0.729 KB
11 Sep 2026 1.33 PM
root / root
0644
cramfs_fs.h
3.472 KB
11 Sep 2026 1.33 PM
root / root
0644
cryptouser.h
5.196 KB
11 Sep 2026 1.33 PM
root / root
0644
cuda.h
0.884 KB
11 Sep 2026 1.33 PM
root / root
0644
cxl_mem.h
7.729 KB
11 Sep 2026 1.33 PM
root / root
0644
cycx_cfm.h
2.92 KB
11 Sep 2026 1.33 PM
root / root
0644
dcbnl.h
24.699 KB
11 Sep 2026 1.33 PM
root / root
0644
dccp.h
6.285 KB
11 Sep 2026 1.33 PM
root / root
0644
devlink.h
23.265 KB
11 Sep 2026 1.33 PM
root / root
0644
dlm.h
2.493 KB
11 Sep 2026 1.33 PM
root / root
0644
dlm_device.h
2.483 KB
11 Sep 2026 1.33 PM
root / root
0644
dlm_netlink.h
1.132 KB
11 Sep 2026 1.33 PM
root / root
0644
dlm_plock.h
0.873 KB
11 Sep 2026 1.33 PM
root / root
0644
dlmconstants.h
4.961 KB
11 Sep 2026 1.33 PM
root / root
0644
dm-ioctl.h
11.478 KB
11 Sep 2026 1.33 PM
root / root
0644
dm-log-userspace.h
14.835 KB
11 Sep 2026 1.33 PM
root / root
0644
dma-buf.h
5.124 KB
11 Sep 2026 1.33 PM
root / root
0644
dma-heap.h
1.361 KB
11 Sep 2026 1.33 PM
root / root
0644
dn.h
4.533 KB
11 Sep 2026 1.33 PM
root / root
0644
dns_resolver.h
3.856 KB
11 Sep 2026 1.33 PM
root / root
0644
dpll.h
9.442 KB
11 Sep 2026 1.33 PM
root / root
0644
dqblk_xfs.h
9.168 KB
11 Sep 2026 1.33 PM
root / root
0644
edd.h
5.473 KB
11 Sep 2026 1.33 PM
root / root
0644
efs_fs_sb.h
2.175 KB
11 Sep 2026 1.33 PM
root / root
0644
elf-em.h
2.565 KB
11 Sep 2026 1.33 PM
root / root
0644
elf-fdpic.h
1.098 KB
11 Sep 2026 1.33 PM
root / root
0644
elf.h
14.969 KB
11 Sep 2026 1.33 PM
root / root
0644
errno.h
0.022 KB
11 Sep 2026 1.33 PM
root / root
0644
errqueue.h
1.937 KB
11 Sep 2026 1.33 PM
root / root
0644
erspan.h
1.034 KB
11 Sep 2026 1.33 PM
root / root
0644
ethtool.h
101.652 KB
11 Sep 2026 1.33 PM
root / root
0644
ethtool_netlink.h
6.166 KB
11 Sep 2026 1.33 PM
root / root
0644
ethtool_netlink_generated.h
19.166 KB
11 Sep 2026 1.33 PM
root / root
0644
eventfd.h
0.258 KB
11 Sep 2026 1.33 PM
root / root
0644
eventpoll.h
2.845 KB
11 Sep 2026 1.33 PM
root / root
0644
f2fs.h
3.224 KB
11 Sep 2026 1.33 PM
root / root
0644
fadvise.h
0.822 KB
11 Sep 2026 1.33 PM
root / root
0644
falloc.h
3.558 KB
11 Sep 2026 1.33 PM
root / root
0644
fanotify.h
7.701 KB
11 Sep 2026 1.33 PM
root / root
0644
fb.h
16.091 KB
11 Sep 2026 1.33 PM
root / root
0644
fcntl.h
4.218 KB
11 Sep 2026 1.33 PM
root / root
0644
fd.h
11.833 KB
11 Sep 2026 1.33 PM
root / root
0644
fdreg.h
5.238 KB
11 Sep 2026 1.33 PM
root / root
0644
fib_rules.h
1.988 KB
11 Sep 2026 1.33 PM
root / root
0644
fiemap.h
2.71 KB
11 Sep 2026 1.33 PM
root / root
0644
filter.h
2.164 KB
11 Sep 2026 1.33 PM
root / root
0644
firewire-cdev.h
43.203 KB
11 Sep 2026 1.33 PM
root / root
0644
firewire-constants.h
3.155 KB
11 Sep 2026 1.33 PM
root / root
0644
fou.h
0.8 KB
11 Sep 2026 1.33 PM
root / root
0644
fpga-dfl.h
8.523 KB
11 Sep 2026 1.33 PM
root / root
0644
fs.h
13.229 KB
11 Sep 2026 1.33 PM
root / root
0644
fscrypt.h
6.411 KB
11 Sep 2026 1.33 PM
root / root
0644
fsi.h
2.202 KB
11 Sep 2026 1.33 PM
root / root
0644
fsl_hypervisor.h
7.13 KB
11 Sep 2026 1.33 PM
root / root
0644
fsl_mc.h
0.717 KB
11 Sep 2026 1.33 PM
root / root
0644
fsmap.h
4.29 KB
11 Sep 2026 1.33 PM
root / root
0644
fsverity.h
3.11 KB
11 Sep 2026 1.33 PM
root / root
0644
fuse.h
25.359 KB
11 Sep 2026 1.33 PM
root / root
0644
futex.h
6.228 KB
11 Sep 2026 1.33 PM
root / root
0644
gameport.h
0.876 KB
11 Sep 2026 1.33 PM
root / root
0644
gen_stats.h
1.49 KB
11 Sep 2026 1.33 PM
root / root
0644
genetlink.h
2.186 KB
11 Sep 2026 1.33 PM
root / root
0644
gfs2_ondisk.h
14.427 KB
11 Sep 2026 1.33 PM
root / root
0644
gpio.h
19.455 KB
11 Sep 2026 1.33 PM
root / root
0644
gsmmux.h
4.403 KB
11 Sep 2026 1.33 PM
root / root
0644
gtp.h
0.717 KB
11 Sep 2026 1.33 PM
root / root
0644
handshake.h
1.607 KB
11 Sep 2026 1.33 PM
root / root
0644
hash_info.h
0.948 KB
11 Sep 2026 1.33 PM
root / root
0644
hdlc.h
0.622 KB
11 Sep 2026 1.33 PM
root / root
0644
hdlcdrv.h
2.84 KB
11 Sep 2026 1.33 PM
root / root
0644
hdreg.h
22.171 KB
11 Sep 2026 1.33 PM
root / root
0644
hid.h
2.037 KB
11 Sep 2026 1.33 PM
root / root
0644
hiddev.h
6.196 KB
11 Sep 2026 1.33 PM
root / root
0644
hidraw.h
1.946 KB
11 Sep 2026 1.33 PM
root / root
0644
hpet.h
0.726 KB
11 Sep 2026 1.33 PM
root / root
0644
hsr_netlink.h
1.075 KB
11 Sep 2026 1.33 PM
root / root
0644
hw_breakpoint.h
0.725 KB
11 Sep 2026 1.33 PM
root / root
0644
hyperv.h
10.891 KB
11 Sep 2026 1.33 PM
root / root
0644
i2c-dev.h
1.831 KB
11 Sep 2026 1.33 PM
root / root
0644
i2c.h
6.729 KB
11 Sep 2026 1.33 PM
root / root
0644
i2o-dev.h
11.284 KB
11 Sep 2026 1.33 PM
root / root
0644
i8k.h
1.492 KB
11 Sep 2026 1.33 PM
root / root
0644
icmp.h
4.673 KB
11 Sep 2026 1.33 PM
root / root
0644
icmpv6.h
4.199 KB
11 Sep 2026 1.33 PM
root / root
0644
idxd.h
9.109 KB
11 Sep 2026 1.33 PM
root / root
0644
if.h
10.669 KB
11 Sep 2026 1.33 PM
root / root
0644
if_addr.h
1.842 KB
11 Sep 2026 1.33 PM
root / root
0644
if_addrlabel.h
0.704 KB
11 Sep 2026 1.33 PM
root / root
0644
if_alg.h
1.529 KB
11 Sep 2026 1.33 PM
root / root
0644
if_arcnet.h
3.63 KB
11 Sep 2026 1.33 PM
root / root
0644
if_arp.h
6.411 KB
11 Sep 2026 1.33 PM
root / root
0644
if_bonding.h
5.024 KB
11 Sep 2026 1.33 PM
root / root
0644
if_bridge.h
20.269 KB
11 Sep 2026 1.33 PM
root / root
0644
if_cablemodem.h
0.963 KB
11 Sep 2026 1.33 PM
root / root
0644
if_eql.h
1.317 KB
11 Sep 2026 1.33 PM
root / root
0644
if_ether.h
8.213 KB
11 Sep 2026 1.33 PM
root / root
0644
if_fc.h
1.697 KB
11 Sep 2026 1.33 PM
root / root
0644
if_fddi.h
4.267 KB
11 Sep 2026 1.33 PM
root / root
0644
if_hippi.h
4.136 KB
11 Sep 2026 1.33 PM
root / root
0644
if_infiniband.h
1.216 KB
11 Sep 2026 1.33 PM
root / root
0644
if_link.h
52.973 KB
11 Sep 2026 1.33 PM
root / root
0644
if_ltalk.h
0.205 KB
11 Sep 2026 1.33 PM
root / root
0644
if_macsec.h
6.351 KB
11 Sep 2026 1.33 PM
root / root
0644
if_packet.h
7.991 KB
11 Sep 2026 1.33 PM
root / root
0644
if_phonet.h
0.414 KB
11 Sep 2026 1.33 PM
root / root
0644
if_plip.h
0.645 KB
11 Sep 2026 1.33 PM
root / root
0644
if_ppp.h
0.028 KB
11 Sep 2026 1.33 PM
root / root
0644
if_pppol2tp.h
3.226 KB
11 Sep 2026 1.33 PM
root / root
0644
if_pppox.h
4.765 KB
11 Sep 2026 1.33 PM
root / root
0644
if_slip.h
0.852 KB
11 Sep 2026 1.33 PM
root / root
0644
if_team.h
2.539 KB
11 Sep 2026 1.33 PM
root / root
0644
if_tun.h
4.002 KB
11 Sep 2026 1.33 PM
root / root
0644
if_tunnel.h
5.359 KB
11 Sep 2026 1.33 PM
root / root
0644
if_vlan.h
1.788 KB
11 Sep 2026 1.33 PM
root / root
0644
if_x25.h
0.86 KB
11 Sep 2026 1.33 PM
root / root
0644
if_xdp.h
5.287 KB
11 Sep 2026 1.33 PM
root / root
0644
ife.h
0.343 KB
11 Sep 2026 1.33 PM
root / root
0644
igmp.h
2.992 KB
11 Sep 2026 1.33 PM
root / root
0644
ila.h
1.217 KB
11 Sep 2026 1.33 PM
root / root
0644
in.h
10.24 KB
11 Sep 2026 1.33 PM
root / root
0644
in6.h
7.36 KB
11 Sep 2026 1.33 PM
root / root
0644
in_route.h
0.914 KB
11 Sep 2026 1.33 PM
root / root
0644
inet_diag.h
4.899 KB
11 Sep 2026 1.33 PM
root / root
0644
inotify.h
3.215 KB
11 Sep 2026 1.33 PM
root / root
0644
input-event-codes.h
29.562 KB
11 Sep 2026 1.33 PM
root / root
0644
input.h
15.859 KB
11 Sep 2026 1.33 PM
root / root
0644
io_uring.h
24.476 KB
11 Sep 2026 1.33 PM
root / root
0644
ioctl.h
0.159 KB
11 Sep 2026 1.33 PM
root / root
0644
iommufd.h
47.775 KB
11 Sep 2026 1.33 PM
root / root
0644
ioprio.h
4.077 KB
11 Sep 2026 1.33 PM
root / root
0644
ip.h
4.7 KB
11 Sep 2026 1.33 PM
root / root
0644
ip6_tunnel.h
1.907 KB
11 Sep 2026 1.33 PM
root / root
0644
ip_vs.h
13.804 KB
11 Sep 2026 1.33 PM
root / root
0644
ipc.h
2.052 KB
11 Sep 2026 1.33 PM
root / root
0644
ipmi.h
15.08 KB
11 Sep 2026 1.33 PM
root / root
0644
ipmi_bmc.h
0.477 KB
11 Sep 2026 1.33 PM
root / root
0644
ipmi_msgdefs.h
3.35 KB
11 Sep 2026 1.33 PM
root / root
0644
ipmi_ssif_bmc.h
0.431 KB
11 Sep 2026 1.33 PM
root / root
0644
ipsec.h
0.925 KB
11 Sep 2026 1.33 PM
root / root
0644
ipv6.h
4.071 KB
11 Sep 2026 1.33 PM
root / root
0644
ipv6_route.h
1.863 KB
11 Sep 2026 1.33 PM
root / root
0644
ipx.h
2.292 KB
11 Sep 2026 1.33 PM
root / root
0644
irqnr.h
0.102 KB
11 Sep 2026 1.33 PM
root / root
0644
iso_fs.h
6.333 KB
11 Sep 2026 1.33 PM
root / root
0644
isst_if.h
15.8 KB
11 Sep 2026 1.33 PM
root / root
0644
ivtv.h
2.951 KB
11 Sep 2026 1.33 PM
root / root
0644
ivtvfb.h
1.179 KB
11 Sep 2026 1.33 PM
root / root
0644
jffs2.h
6.655 KB
11 Sep 2026 1.33 PM
root / root
0644
joystick.h
3.354 KB
11 Sep 2026 1.33 PM
root / root
0644
kcm.h
0.803 KB
11 Sep 2026 1.33 PM
root / root
0644
kcmp.h
0.51 KB
11 Sep 2026 1.33 PM
root / root
0644
kcov.h
1.917 KB
11 Sep 2026 1.33 PM
root / root
0644
kd.h
6.301 KB
11 Sep 2026 1.33 PM
root / root
0644
kdev_t.h
0.374 KB
11 Sep 2026 1.33 PM
root / root
0644
kernel-page-flags.h
0.879 KB
11 Sep 2026 1.33 PM
root / root
0644
kernel.h
0.189 KB
11 Sep 2026 1.33 PM
root / root
0644
kernelcapi.h
0.995 KB
11 Sep 2026 1.33 PM
root / root
0644
kexec.h
2.048 KB
11 Sep 2026 1.33 PM
root / root
0644
keyboard.h
13.144 KB
11 Sep 2026 1.33 PM
root / root
0644
keyctl.h
5.855 KB
11 Sep 2026 1.33 PM
root / root
0644
kfd_ioctl.h
57.199 KB
11 Sep 2026 1.33 PM
root / root
0644
kfd_sysfs.h
5.253 KB
11 Sep 2026 1.33 PM
root / root
0644
kvm.h
47.238 KB
11 Sep 2026 1.33 PM
root / root
0644
kvm_para.h
0.978 KB
11 Sep 2026 1.33 PM
root / root
0644
l2tp.h
5.611 KB
11 Sep 2026 1.33 PM
root / root
0644
landlock.h
11.551 KB
11 Sep 2026 1.33 PM
root / root
0644
libc-compat.h
8.095 KB
11 Sep 2026 1.33 PM
root / root
0644
limits.h
0.915 KB
11 Sep 2026 1.33 PM
root / root
0644
lirc.h
7.953 KB
11 Sep 2026 1.33 PM
root / root
0644
llc.h
3.09 KB
11 Sep 2026 1.33 PM
root / root
0644
loadpin.h
0.814 KB
11 Sep 2026 1.33 PM
root / root
0644
loop.h
3.316 KB
11 Sep 2026 1.33 PM
root / root
0644
lp.h
4.092 KB
11 Sep 2026 1.33 PM
root / root
0644
lsm.h
1.513 KB
11 Sep 2026 1.33 PM
root / root
0644
lwtunnel.h
2.312 KB
11 Sep 2026 1.33 PM
root / root
0644
magic.h
3.779 KB
11 Sep 2026 1.33 PM
root / root
0644
major.h
4.548 KB
11 Sep 2026 1.33 PM
root / root
0644
map_to_7segment.h
6.453 KB
11 Sep 2026 1.33 PM
root / root
0644
matroxfb.h
1.43 KB
11 Sep 2026 1.33 PM
root / root
0644
max2175.h
1.011 KB
11 Sep 2026 1.33 PM
root / root
0644
mdio.h
23.82 KB
11 Sep 2026 1.33 PM
root / root
0644
media-bus-format.h
6.747 KB
11 Sep 2026 1.33 PM
root / root
0644
media.h
12.455 KB
11 Sep 2026 1.33 PM
root / root
0644
mei.h
3.397 KB
11 Sep 2026 1.33 PM
root / root
0644
mei_uuid.h
0.721 KB
11 Sep 2026 1.33 PM
root / root
0644
membarrier.h
9.143 KB
11 Sep 2026 1.33 PM
root / root
0644
memfd.h
1.433 KB
11 Sep 2026 1.33 PM
root / root
0644
mempolicy.h
2.508 KB
11 Sep 2026 1.33 PM
root / root
0644
meye.h
2.47 KB
11 Sep 2026 1.33 PM
root / root
0644
mii.h
9.273 KB
11 Sep 2026 1.33 PM
root / root
0644
minix_fs.h
2.072 KB
11 Sep 2026 1.33 PM
root / root
0644
mman.h
1.745 KB
11 Sep 2026 1.33 PM
root / root
0644
mmtimer.h
2.067 KB
11 Sep 2026 1.33 PM
root / root
0644
module.h
0.286 KB
11 Sep 2026 1.33 PM
root / root
0644
mount.h
4.901 KB
11 Sep 2026 1.33 PM
root / root
0644
mpls.h
2.248 KB
11 Sep 2026 1.33 PM
root / root
0644
mpls_iptunnel.h
0.743 KB
11 Sep 2026 1.33 PM
root / root
0644
mptcp.h
3.675 KB
11 Sep 2026 1.33 PM
root / root
0644
mptcp_pm.h
4.304 KB
11 Sep 2026 1.33 PM
root / root
0644
mqueue.h
2.149 KB
11 Sep 2026 1.33 PM
root / root
0644
mroute.h
5.783 KB
11 Sep 2026 1.33 PM
root / root
0644
mroute6.h
4.814 KB
11 Sep 2026 1.33 PM
root / root
0644
mrp_bridge.h
1.668 KB
11 Sep 2026 1.33 PM
root / root
0644
msdos_fs.h
6.573 KB
11 Sep 2026 1.33 PM
root / root
0644
msg.h
3.307 KB
11 Sep 2026 1.33 PM
root / root
0644
mshv.h
7.932 KB
11 Sep 2026 1.33 PM
root / root
0644
mtio.h
7.983 KB
11 Sep 2026 1.33 PM
root / root
0644
nbd-netlink.h
2.352 KB
11 Sep 2026 1.33 PM
root / root
0644
nbd.h
3.771 KB
11 Sep 2026 1.33 PM
root / root
0644
ncsi.h
4.715 KB
11 Sep 2026 1.33 PM
root / root
0644
ndctl.h
6.669 KB
11 Sep 2026 1.33 PM
root / root
0644
neighbour.h
5.912 KB
11 Sep 2026 1.33 PM
root / root
0644
net.h
2.036 KB
11 Sep 2026 1.33 PM
root / root
0644
net_dropmon.h
2.854 KB
11 Sep 2026 1.33 PM
root / root
0644
net_namespace.h
0.698 KB
11 Sep 2026 1.33 PM
root / root
0644
net_shaper.h
2.522 KB
11 Sep 2026 1.33 PM
root / root
0644
net_tstamp.h
6.304 KB
11 Sep 2026 1.33 PM
root / root
0644
netconf.h
0.6 KB
11 Sep 2026 1.33 PM
root / root
0644
netdev.h
5.65 KB
11 Sep 2026 1.33 PM
root / root
0644
netdevice.h
2.2 KB
11 Sep 2026 1.33 PM
root / root
0644
netfilter.h
1.69 KB
11 Sep 2026 1.33 PM
root / root
0644
netfilter_arp.h
0.435 KB
11 Sep 2026 1.33 PM
root / root
0644
netfilter_bridge.h
1.141 KB
11 Sep 2026 1.33 PM
root / root
0644
netfilter_decnet.h
1.717 KB
11 Sep 2026 1.33 PM
root / root
0644
netfilter_ipv4.h
1.453 KB
11 Sep 2026 1.33 PM
root / root
0644
netfilter_ipv6.h
1.351 KB
11 Sep 2026 1.33 PM
root / root
0644
netlink.h
12.091 KB
11 Sep 2026 1.33 PM
root / root
0644
netlink_diag.h
1.488 KB
11 Sep 2026 1.33 PM
root / root
0644
netrom.h
0.788 KB
11 Sep 2026 1.33 PM
root / root
0644
nexthop.h
3.971 KB
11 Sep 2026 1.33 PM
root / root
0644
nfc.h
10.946 KB
11 Sep 2026 1.33 PM
root / root
0644
nfs.h
4.358 KB
11 Sep 2026 1.33 PM
root / root
0644
nfs2.h
1.434 KB
11 Sep 2026 1.33 PM
root / root
0644
nfs3.h
2.396 KB
11 Sep 2026 1.33 PM
root / root
0644
nfs4.h
6.538 KB
11 Sep 2026 1.33 PM
root / root
0644
nfs4_mount.h
1.887 KB
11 Sep 2026 1.33 PM
root / root
0644
nfs_fs.h
1.615 KB
11 Sep 2026 1.33 PM
root / root
0644
nfs_idmap.h
2.19 KB
11 Sep 2026 1.33 PM
root / root
0644
nfs_mount.h
2.092 KB
11 Sep 2026 1.33 PM
root / root
0644
nfsacl.h
0.701 KB
11 Sep 2026 1.33 PM
root / root
0644
nfsd_netlink.h
1.948 KB
11 Sep 2026 1.33 PM
root / root
0644
nilfs2_api.h
7.411 KB
11 Sep 2026 1.33 PM
root / root
0644
nilfs2_ondisk.h
17.661 KB
11 Sep 2026 1.33 PM
root / root
0644
nitro_enclaves.h
12.853 KB
11 Sep 2026 1.33 PM
root / root
0644
nl80211.h
355.418 KB
11 Sep 2026 1.33 PM
root / root
0644
nsfs.h
0.624 KB
11 Sep 2026 1.33 PM
root / root
0644
nubus.h
7.999 KB
11 Sep 2026 1.33 PM
root / root
0644
nvme_ioctl.h
2.432 KB
11 Sep 2026 1.33 PM
root / root
0644
nvram.h
0.52 KB
11 Sep 2026 1.33 PM
root / root
0644
omap3isp.h
20.364 KB
11 Sep 2026 1.33 PM
root / root
0644
omapfb.h
5.779 KB
11 Sep 2026 1.33 PM
root / root
0644
oom.h
0.499 KB
11 Sep 2026 1.33 PM
root / root
0644
openat2.h
1.416 KB
11 Sep 2026 1.33 PM
root / root
0644
openvswitch.h
40.755 KB
11 Sep 2026 1.33 PM
root / root
0644
packet_diag.h
1.633 KB
11 Sep 2026 1.33 PM
root / root
0644
param.h
0.138 KB
11 Sep 2026 1.33 PM
root / root
0644
parport.h
3.559 KB
11 Sep 2026 1.33 PM
root / root
0644
patchkey.h
0.871 KB
11 Sep 2026 1.33 PM
root / root
0644
pci.h
1.348 KB
11 Sep 2026 1.33 PM
root / root
0644
pci_regs.h
61.889 KB
11 Sep 2026 1.33 PM
root / root
0644
pcitest.h
0.898 KB
11 Sep 2026 1.33 PM
root / root
0644
perf_event.h
42.685 KB
11 Sep 2026 1.33 PM
root / root
0644
personality.h
2.048 KB
11 Sep 2026 1.33 PM
root / root
0644
pfkeyv2.h
10.321 KB
11 Sep 2026 1.33 PM
root / root
0644
pfrut.h
7.815 KB
11 Sep 2026 1.33 PM
root / root
0644
pg.h
2.338 KB
11 Sep 2026 1.33 PM
root / root
0644
phantom.h
1.615 KB
11 Sep 2026 1.33 PM
root / root
0644
phonet.h
4.567 KB
11 Sep 2026 1.33 PM
root / root
0644
pidfd.h
3.021 KB
11 Sep 2026 1.33 PM
root / root
0644
pkt_cls.h
18.648 KB
11 Sep 2026 1.33 PM
root / root
0644
pkt_sched.h
28.753 KB
11 Sep 2026 1.33 PM
root / root
0644
pktcdvd.h
2.635 KB
11 Sep 2026 1.33 PM
root / root
0644
pmu.h
5.316 KB
11 Sep 2026 1.33 PM
root / root
0644
poll.h
0.021 KB
11 Sep 2026 1.33 PM
root / root
0644
posix_acl.h
1.225 KB
11 Sep 2026 1.33 PM
root / root
0644
posix_acl_xattr.h
1.089 KB
11 Sep 2026 1.33 PM
root / root
0644
posix_types.h
1.072 KB
11 Sep 2026 1.33 PM
root / root
0644
ppdev.h
3.208 KB
11 Sep 2026 1.33 PM
root / root
0644
ppp-comp.h
2.468 KB
11 Sep 2026 1.33 PM
root / root
0644
ppp-ioctl.h
5.595 KB
11 Sep 2026 1.33 PM
root / root
0644
ppp_defs.h
5.427 KB
11 Sep 2026 1.33 PM
root / root
0644
pps.h
4.623 KB
11 Sep 2026 1.33 PM
root / root
0644
pr.h
1.592 KB
11 Sep 2026 1.33 PM
root / root
0644
prctl.h
10.929 KB
11 Sep 2026 1.33 PM
root / root
0644
psample.h
2.572 KB
11 Sep 2026 1.33 PM
root / root
0644
psci.h
5.215 KB
11 Sep 2026 1.33 PM
root / root
0644
psp-dbc.h
5.155 KB
11 Sep 2026 1.33 PM
root / root
0644
psp-sev.h
7.968 KB
11 Sep 2026 1.33 PM
root / root
0644
ptp_clock.h
7.351 KB
11 Sep 2026 1.33 PM
root / root
0644
ptrace.h
4.293 KB
11 Sep 2026 1.33 PM
root / root
0644
qemu_fw_cfg.h
2.411 KB
11 Sep 2026 1.33 PM
root / root
0644
qnx4_fs.h
2.273 KB
11 Sep 2026 1.33 PM
root / root
0644
qnxtypes.h
0.609 KB
11 Sep 2026 1.33 PM
root / root
0644
qrtr.h
0.872 KB
11 Sep 2026 1.33 PM
root / root
0644
quota.h
6.164 KB
11 Sep 2026 1.33 PM
root / root
0644
radeonfb.h
0.352 KB
11 Sep 2026 1.33 PM
root / root
0644
random.h
1.382 KB
11 Sep 2026 1.33 PM
root / root
0644
rds.h
10.906 KB
11 Sep 2026 1.33 PM
root / root
0644
reboot.h
1.312 KB
11 Sep 2026 1.33 PM
root / root
0644
reiserfs_fs.h
0.757 KB
11 Sep 2026 1.33 PM
root / root
0644
reiserfs_xattr.h
0.521 KB
11 Sep 2026 1.33 PM
root / root
0644
remoteproc_cdev.h
1.076 KB
11 Sep 2026 1.33 PM
root / root
0644
resource.h
2.317 KB
11 Sep 2026 1.33 PM
root / root
0644
rfkill.h
6.453 KB
11 Sep 2026 1.33 PM
root / root
0644
rio_cm_cdev.h
3.172 KB
11 Sep 2026 1.33 PM
root / root
0644
rio_mport_cdev.h
9.111 KB
11 Sep 2026 1.33 PM
root / root
0644
rkisp1-config.h
30.627 KB
11 Sep 2026 1.33 PM
root / root
0644
romfs_fs.h
1.209 KB
11 Sep 2026 1.33 PM
root / root
0644
rose.h
2.18 KB
11 Sep 2026 1.33 PM
root / root
0644
route.h
2.277 KB
11 Sep 2026 1.33 PM
root / root
0644
rpl.h
0.795 KB
11 Sep 2026 1.33 PM
root / root
0644
rpl_iptunnel.h
0.414 KB
11 Sep 2026 1.33 PM
root / root
0644
rpmsg.h
1.029 KB
11 Sep 2026 1.33 PM
root / root
0644
rpmsg_types.h
0.281 KB
11 Sep 2026 1.33 PM
root / root
0644
rseq.h
4.789 KB
11 Sep 2026 1.33 PM
root / root
0644
rtc.h
5.191 KB
11 Sep 2026 1.33 PM
root / root
0644
rtnetlink.h
20.801 KB
11 Sep 2026 1.33 PM
root / root
0644
rxrpc.h
4.807 KB
11 Sep 2026 1.33 PM
root / root
0644
scc.h
4.516 KB
11 Sep 2026 1.33 PM
root / root
0644
sched.h
6.119 KB
11 Sep 2026 1.33 PM
root / root
0644
scif_ioctl.h
6.232 KB
11 Sep 2026 1.33 PM
root / root
0644
screen_info.h
2.421 KB
11 Sep 2026 1.33 PM
root / root
0644
sctp.h
35.178 KB
11 Sep 2026 1.33 PM
root / root
0644
seccomp.h
5.598 KB
11 Sep 2026 1.33 PM
root / root
0644
securebits.h
2.641 KB
11 Sep 2026 1.33 PM
root / root
0644
sed-opal.h
5.287 KB
11 Sep 2026 1.33 PM
root / root
0644
seg6.h
1.143 KB
11 Sep 2026 1.33 PM
root / root
0644
seg6_genl.h
0.575 KB
11 Sep 2026 1.33 PM
root / root
0644
seg6_hmac.h
0.413 KB
11 Sep 2026 1.33 PM
root / root
0644
seg6_iptunnel.h
0.961 KB
11 Sep 2026 1.33 PM
root / root
0644
seg6_local.h
3.776 KB
11 Sep 2026 1.33 PM
root / root
0644
selinux_netlink.h
1.167 KB
11 Sep 2026 1.33 PM
root / root
0644
sem.h
2.979 KB
11 Sep 2026 1.33 PM
root / root
0644
serial.h
4.901 KB
11 Sep 2026 1.33 PM
root / root
0644
serial_core.h
4.928 KB
11 Sep 2026 1.33 PM
root / root
0644
serial_reg.h
15.647 KB
11 Sep 2026 1.33 PM
root / root
0644
serio.h
2.089 KB
11 Sep 2026 1.33 PM
root / root
0644
sev-guest.h
2.467 KB
11 Sep 2026 1.33 PM
root / root
0644
shm.h
3.705 KB
11 Sep 2026 1.33 PM
root / root
0644
signal.h
0.379 KB
11 Sep 2026 1.33 PM
root / root
0644
signalfd.h
1.204 KB
11 Sep 2026 1.33 PM
root / root
0644
smc.h
8.692 KB
11 Sep 2026 1.33 PM
root / root
0644
smc_diag.h
2.882 KB
11 Sep 2026 1.33 PM
root / root
0644
smiapp.h
1.033 KB
11 Sep 2026 1.33 PM
root / root
0644
snmp.h
14.011 KB
11 Sep 2026 1.33 PM
root / root
0644
sock_diag.h
1.271 KB
11 Sep 2026 1.33 PM
root / root
0644
socket.h
0.897 KB
11 Sep 2026 1.33 PM
root / root
0644
sockios.h
6.686 KB
11 Sep 2026 1.33 PM
root / root
0644
sonet.h
2.236 KB
11 Sep 2026 1.33 PM
root / root
0644
sonypi.h
5.185 KB
11 Sep 2026 1.33 PM
root / root
0644
sound.h
1.208 KB
11 Sep 2026 1.33 PM
root / root
0644
soundcard.h
44.959 KB
11 Sep 2026 1.33 PM
root / root
0644
stat.h
7.23 KB
11 Sep 2026 1.33 PM
root / root
0644
stddef.h
1.686 KB
11 Sep 2026 1.33 PM
root / root
0644
stm.h
1.245 KB
11 Sep 2026 1.33 PM
root / root
0644
string.h
0.232 KB
11 Sep 2026 1.33 PM
root / root
0644
suspend_ioctls.h
1.397 KB
11 Sep 2026 1.33 PM
root / root
0644
swab.h
6.759 KB
11 Sep 2026 1.33 PM
root / root
0644
switchtec_ioctl.h
5.139 KB
11 Sep 2026 1.33 PM
root / root
0644
sync_file.h
3.494 KB
11 Sep 2026 1.33 PM
root / root
0644
synclink.h
8.774 KB
11 Sep 2026 1.33 PM
root / root
0644
sysctl.h
25.303 KB
11 Sep 2026 1.33 PM
root / root
0644
sysinfo.h
1.024 KB
11 Sep 2026 1.33 PM
root / root
0644
target_core_user.h
4.524 KB
11 Sep 2026 1.33 PM
root / root
0644
taskstats.h
8.127 KB
11 Sep 2026 1.33 PM
root / root
0644
tcp.h
11.705 KB
11 Sep 2026 1.33 PM
root / root
0644
tcp_metrics.h
1.938 KB
11 Sep 2026 1.33 PM
root / root
0644
tdx-guest.h
1.274 KB
11 Sep 2026 1.33 PM
root / root
0644
tee.h
13.091 KB
11 Sep 2026 1.33 PM
root / root
0644
termios.h
0.168 KB
11 Sep 2026 1.33 PM
root / root
0644
thermal.h
3.232 KB
11 Sep 2026 1.33 PM
root / root
0644
time.h
1.711 KB
11 Sep 2026 1.33 PM
root / root
0644
time_types.h
1.237 KB
11 Sep 2026 1.33 PM
root / root
0644
timerfd.h
0.914 KB
11 Sep 2026 1.33 PM
root / root
0644
times.h
0.271 KB
11 Sep 2026 1.33 PM
root / root
0644
timex.h
7.634 KB
11 Sep 2026 1.33 PM
root / root
0644
tiocl.h
1.688 KB
11 Sep 2026 1.33 PM
root / root
0644
tipc.h
8.618 KB
11 Sep 2026 1.33 PM
root / root
0644
tipc_config.h
14.516 KB
11 Sep 2026 1.33 PM
root / root
0644
tipc_netlink.h
9.175 KB
11 Sep 2026 1.33 PM
root / root
0644
tipc_sockets_diag.h
0.457 KB
11 Sep 2026 1.33 PM
root / root
0644
tls.h
7.057 KB
11 Sep 2026 1.33 PM
root / root
0644
toshiba.h
1.885 KB
11 Sep 2026 1.33 PM
root / root
0644
tps6594_pfsm.h
1.133 KB
11 Sep 2026 1.33 PM
root / root
0644
tty.h
1.548 KB
11 Sep 2026 1.33 PM
root / root
0644
tty_flags.h
4.396 KB
11 Sep 2026 1.33 PM
root / root
0644
types.h
1.598 KB
11 Sep 2026 1.33 PM
root / root
0644
udf_fs_i.h
0.681 KB
11 Sep 2026 1.33 PM
root / root
0644
udmabuf.h
0.628 KB
11 Sep 2026 1.33 PM
root / root
0644
udp.h
1.648 KB
11 Sep 2026 1.33 PM
root / root
0644
uhid.h
4.539 KB
11 Sep 2026 1.33 PM
root / root
0644
uinput.h
9.044 KB
11 Sep 2026 1.33 PM
root / root
0644
uio.h
0.715 KB
11 Sep 2026 1.33 PM
root / root
0644
uleds.h
0.779 KB
11 Sep 2026 1.33 PM
root / root
0644
ultrasound.h
4.455 KB
11 Sep 2026 1.33 PM
root / root
0644
um_timetravel.h
3.868 KB
11 Sep 2026 1.33 PM
root / root
0644
un.h
0.375 KB
11 Sep 2026 1.33 PM
root / root
0644
unistd.h
0.215 KB
11 Sep 2026 1.33 PM
root / root
0644
unix_diag.h
1.297 KB
11 Sep 2026 1.33 PM
root / root
0644
usbdevice_fs.h
8.122 KB
11 Sep 2026 1.33 PM
root / root
0644
usbip.h
1.468 KB
11 Sep 2026 1.33 PM
root / root
0644
userfaultfd.h
10.684 KB
11 Sep 2026 1.33 PM
root / root
0644
userio.h
1.48 KB
11 Sep 2026 1.33 PM
root / root
0644
utime.h
0.218 KB
11 Sep 2026 1.33 PM
root / root
0644
utsname.h
0.653 KB
11 Sep 2026 1.33 PM
root / root
0644
uuid.h
0.027 KB
11 Sep 2026 1.33 PM
root / root
0644
uvcvideo.h
2.565 KB
11 Sep 2026 1.33 PM
root / root
0644
v4l2-common.h
2.008 KB
11 Sep 2026 1.33 PM
root / root
0644
v4l2-controls.h
94.59 KB
11 Sep 2026 1.33 PM
root / root
0644
v4l2-dv-timings.h
30.394 KB
11 Sep 2026 1.33 PM
root / root
0644
v4l2-mediabus.h
5.304 KB
11 Sep 2026 1.33 PM
root / root
0644
v4l2-subdev.h
9.764 KB
11 Sep 2026 1.33 PM
root / root
0644
vbox_err.h
7.087 KB
11 Sep 2026 1.33 PM
root / root
0644
vbox_vmmdev_types.h
11.378 KB
11 Sep 2026 1.33 PM
root / root
0644
vboxguest.h
9.148 KB
11 Sep 2026 1.33 PM
root / root
0644
vdpa.h
1.743 KB
11 Sep 2026 1.33 PM
root / root
0644
vduse.h
9.578 KB
11 Sep 2026 1.33 PM
root / root
0644
version.h
0.365 KB
11 Sep 2026 1.33 PM
root / root
0644
veth.h
0.219 KB
11 Sep 2026 1.33 PM
root / root
0644
vfio.h
70.156 KB
11 Sep 2026 1.33 PM
root / root
0644
vfio_ccw.h
1.286 KB
11 Sep 2026 1.33 PM
root / root
0644
vfio_zdev.h
2.482 KB
11 Sep 2026 1.33 PM
root / root
0644
vhost.h
8.24 KB
11 Sep 2026 1.33 PM
root / root
0644
vhost_types.h
4.768 KB
11 Sep 2026 1.33 PM
root / root
0644
videodev2.h
99.302 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_9p.h
2.005 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_balloon.h
5.155 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_blk.h
9.745 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_bt.h
0.889 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_config.h
4.356 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_console.h
3.082 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_crypto.h
13.562 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_fs.h
0.56 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_gpio.h
1.697 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_gpu.h
11.334 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_i2c.h
1.158 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_ids.h
3.704 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_input.h
2.456 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_iommu.h
3.839 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_mem.h
6.989 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_mmio.h
4.853 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_net.h
14.725 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_pci.h
7.305 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_pcidev.h
2.333 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_pmem.h
0.626 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_ring.h
8.52 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_rng.h
0.259 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_scmi.h
0.622 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_scsi.h
5.942 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_snd.h
12.861 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_types.h
2.103 KB
11 Sep 2026 1.33 PM
root / root
0644
virtio_vsock.h
3.27 KB
11 Sep 2026 1.33 PM
root / root
0644
vm_sockets.h
7.182 KB
11 Sep 2026 1.33 PM
root / root
0644
vm_sockets_diag.h
0.94 KB
11 Sep 2026 1.33 PM
root / root
0644
vmcore.h
0.444 KB
11 Sep 2026 1.33 PM
root / root
0644
vsockmon.h
1.841 KB
11 Sep 2026 1.33 PM
root / root
0644
vt.h
2.987 KB
11 Sep 2026 1.33 PM
root / root
0644
vtpm_proxy.h
1.679 KB
11 Sep 2026 1.33 PM
root / root
0644
wait.h
0.666 KB
11 Sep 2026 1.33 PM
root / root
0644
watch_queue.h
3.408 KB
11 Sep 2026 1.33 PM
root / root
0644
watchdog.h
2.28 KB
11 Sep 2026 1.33 PM
root / root
0644
wireguard.h
7.566 KB
11 Sep 2026 1.33 PM
root / root
0644
wireless.h
41.703 KB
11 Sep 2026 1.33 PM
root / root
0644
wmi.h
1.72 KB
11 Sep 2026 1.33 PM
root / root
0644
wwan.h
0.288 KB
11 Sep 2026 1.33 PM
root / root
0644
x25.h
3.479 KB
11 Sep 2026 1.33 PM
root / root
0644
xattr.h
2.952 KB
11 Sep 2026 1.33 PM
root / root
0644
xdp_diag.h
1.434 KB
11 Sep 2026 1.33 PM
root / root
0644
xfrm.h
12.325 KB
11 Sep 2026 1.33 PM
root / root
0644
xilinx-v4l2-controls.h
2.906 KB
11 Sep 2026 1.33 PM
root / root
0644
zorro.h
3.219 KB
11 Sep 2026 1.33 PM
root / root
0644
zorro_ids.h
29.261 KB
11 Sep 2026 1.33 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF