nvgpu

package
v0.0.0-...-4690b2e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0, MIT Imports: 10 Imported by: 2

Documentation

Overview

Package nvgpu tracks the ABI of the Nvidia GPU Linux kernel driver: https://github.com/NVIDIA/open-gpu-kernel-modules

Index

Constants

View Source
const (
	NV01_ROOT                        = 0x00000000
	NV01_ROOT_NON_PRIV               = 0x00000001
	NV01_EVENT                       = 0x00000005
	NV01_MEMORY_SYSTEM               = 0x0000003e
	NV01_MEMORY_LOCAL_PRIVILEGED     = 0x0000003f
	NV01_MEMORY_LOCAL_USER           = 0x00000040
	NV01_ROOT_CLIENT                 = 0x00000041
	NV_MEMORY_EXTENDED_USER          = 0x00000042
	NV01_MEMORY_VIRTUAL              = 0x00000070
	NV01_MEMORY_SYSTEM_OS_DESCRIPTOR = 0x00000071
	NV01_EVENT_OS_EVENT              = 0x00000079
	NV01_DEVICE_0                    = 0x00000080
	RM_USER_SHARED_DATA              = 0x000000de
	NV_MEMORY_FABRIC                 = 0x000000f8
	NV_MEMORY_MULTICAST_FABRIC       = 0x000000fd
	NV20_SUBDEVICE_0                 = 0x00002080
	NV2081_BINAPI                    = 0x00002081
	NV50_P2P                         = 0x0000503b
	NV50_THIRD_PARTY_P2P             = 0x0000503c
	NV50_MEMORY_VIRTUAL              = 0x000050a0
	GT200_DEBUGGER                   = 0x000083de
	FERMI_TWOD_A                     = 0x0000902d
	FERMI_CONTEXT_SHARE_A            = 0x00009067
	GF100_DISP_SW                    = 0x00009072
	GF100_ZBC_CLEAR                  = 0x00009096
	GF100_PROFILER                   = 0x000090cc
	GF100_SUBDEVICE_MASTER           = 0x000090e6
	FERMI_VASPACE_A                  = 0x000090f1
	KEPLER_CHANNEL_GROUP_A           = 0x0000a06c
	KEPLER_INLINE_TO_MEMORY_B        = 0x0000a140
	VOLTA_USERMODE_A                 = 0x0000c361
	TURING_USERMODE_A                = 0x0000c461
	TURING_CHANNEL_GPFIFO_A          = 0x0000c46f
	AMPERE_CHANNEL_GPFIFO_A          = 0x0000c56f
	TURING_A                         = 0x0000c597
	TURING_DMA_COPY_A                = 0x0000c5b5
	TURING_COMPUTE_A                 = 0x0000c5c0
	HOPPER_USERMODE_A                = 0x0000c661
	AMPERE_DMA_COPY_A                = 0x0000c6b5
	AMPERE_COMPUTE_A                 = 0x0000c6c0
	AMPERE_DMA_COPY_B                = 0x0000c7b5
	AMPERE_COMPUTE_B                 = 0x0000c7c0
	HOPPER_CHANNEL_GPFIFO_A          = 0x0000c86f
	HOPPER_DMA_COPY_A                = 0x0000c8b5
	ADA_COMPUTE_A                    = 0x0000c9c0
	NV_CONFIDENTIAL_COMPUTE          = 0x0000cb33
	HOPPER_SEC2_WORK_LAUNCH_A        = 0x0000cba2
	HOPPER_COMPUTE_A                 = 0x0000cbc0
)

Class IDs, from src/nvidia/generated/g_allclasses.h.

View Source
const (
	NV0000_CTRL_CMD_CLIENT_GET_ADDR_SPACE_TYPE        = 0xd01
	NV0000_CTRL_CMD_CLIENT_SET_INHERITED_SHARE_POLICY = 0xd04
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0000/ctrl0000client.h:

View Source
const (
	NV0000_CTRL_CMD_GPU_GET_ATTACHED_IDS     = 0x201
	NV0000_CTRL_CMD_GPU_GET_ID_INFO          = 0x202
	NV0000_CTRL_CMD_GPU_GET_DEVICE_IDS       = 0x204
	NV0000_CTRL_CMD_GPU_GET_ID_INFO_V2       = 0x205
	NV0000_CTRL_CMD_GPU_GET_PROBED_IDS       = 0x214
	NV0000_CTRL_CMD_GPU_ATTACH_IDS           = 0x215
	NV0000_CTRL_CMD_GPU_DETACH_IDS           = 0x216
	NV0000_CTRL_CMD_GPU_GET_PCI_INFO         = 0x21b
	NV0000_CTRL_CMD_GPU_GET_UUID_FROM_GPU_ID = 0x275
	NV0000_CTRL_CMD_GPU_QUERY_DRAIN_STATE    = 0x279
	NV0000_CTRL_CMD_GPU_GET_MEMOP_ENABLE     = 0x27b
	NV0000_CTRL_CMD_GPU_ASYNC_ATTACH_ID      = 0x289
	NV0000_CTRL_CMD_GPU_WAIT_ATTACH_ID       = 0x290
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0000/ctrl0000gpu.h:

View Source
const (
	NV0000_CTRL_CMD_SYSTEM_GET_BUILD_VERSION   = 0x101
	NV0000_CTRL_CMD_SYSTEM_GET_CPU_INFO        = 0x102
	NV0000_CTRL_CMD_SYSTEM_GET_P2P_CAPS        = 0x127
	NV0000_CTRL_CMD_SYSTEM_GET_P2P_CAPS_V2     = 0x12b
	NV0000_CTRL_CMD_SYSTEM_GET_FABRIC_STATUS   = 0x136
	NV0000_CTRL_CMD_SYSTEM_GET_P2P_CAPS_MATRIX = 0x13a
	NV0000_CTRL_CMD_SYSTEM_GET_FEATURES        = 0x1f0
	NV0000_CTRL_SYSTEM_MAX_ATTACHED_GPUS       = 32
	NV0000_CTRL_P2P_CAPS_INDEX_TABLE_SIZE      = 9
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0000/ctrl0000system.h:

View Source
const (
	NV0000_CTRL_CMD_OS_UNIX_EXPORT_OBJECT_TO_FD    = 0x3d05
	NV0000_CTRL_CMD_OS_UNIX_IMPORT_OBJECT_FROM_FD  = 0x3d06
	NV0000_CTRL_CMD_OS_UNIX_GET_EXPORT_OBJECT_INFO = 0x3d08
	NV0000_OS_UNIX_EXPORT_OBJECT_FD_BUFFER_SIZE    = 64
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0000/ctrl0000unix.h:

View Source
const (
	NV0080_CTRL_CMD_DMA_ADV_SCHED_GET_VA_CAPS = 0x801806
	NV0080_CTRL_CMD_DMA_GET_CAPS              = 0x80180d
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080dma.h.

View Source
const (
	NV0080_CTRL_CMD_FB_GET_CAPS    = 0x801301
	NV0080_CTRL_CMD_FB_GET_CAPS_V2 = 0x801307
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080fb.h:

View Source
const (
	NV0080_CTRL_CMD_FIFO_GET_CAPS                      = 0x801701
	NV0080_CTRL_CMD_FIFO_GET_ENGINE_CONTEXT_PROPERTIES = 0x801707
	NV0080_CTRL_CMD_FIFO_GET_CHANNELLIST               = 0x80170d
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080fifo.h:

View Source
const (
	NV0080_CTRL_CMD_GPU_GET_CLASSLIST              = 0x800201
	NV0080_CTRL_CMD_GPU_GET_NUM_SUBDEVICES         = 0x800280
	NV0080_CTRL_CMD_GPU_QUERY_SW_STATE_PERSISTENCE = 0x800288
	NV0080_CTRL_CMD_GPU_GET_VIRTUALIZATION_MODE    = 0x800289
	NV0080_CTRL_CMD_GPU_GET_CLASSLIST_V2           = 0x800292
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gpu.h:

View Source
const (
	NV0080_CTRL_CMD_GR_GET_CAPS = 0x801102
	NV0080_CTRL_CMD_GR_GET_INFO = 0x801104
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gr.h:

View Source
const (
	NV00FD_CTRL_CMD_GET_INFO   = 0xfd0101
	NV00FD_CTRL_CMD_ATTACH_MEM = 0xfd0102
	NV00FD_CTRL_CMD_ATTACH_GPU = 0xfd0104
	NV00FD_CTRL_CMD_DETACH_MEM = 0xfd0105
)

From src/common/sdk/nvidia/inc/ctrl/ctrl00fd.h:

View Source
const (
	NV2080_CTRL_CMD_BUS_GET_PCI_INFO                   = 0x20801801
	NV2080_CTRL_CMD_BUS_GET_PCI_BAR_INFO               = 0x20801803
	NV2080_CTRL_CMD_BUS_GET_INFO_V2                    = 0x20801823
	NV2080_CTRL_CMD_BUS_GET_PCIE_SUPPORTED_GPU_ATOMICS = 0x2080182a
	NV2080_CTRL_CMD_BUS_GET_C2C_INFO                   = 0x2080182b
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080bus.h:

View Source
const (
	NV2080_CTRL_CMD_CE_GET_CE_PCE_MASK = 0x20802a02
	NV2080_CTRL_CMD_CE_GET_CAPS_V2     = 0x20802a03
	NV2080_CTRL_CMD_CE_GET_ALL_CAPS    = 0x20802a0a
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080ce.h:

View Source
const (
	NV2080_CTRL_CMD_FB_GET_INFO                     = 0x20801301
	NV2080_CTRL_CMD_FB_GET_INFO_V2                  = 0x20801303
	NV2080_CTRL_CMD_FB_GET_GPU_CACHE_INFO           = 0x20801315
	NV2080_CTRL_CMD_FB_GET_FB_REGION_INFO           = 0x20801320
	NV2080_CTRL_CMD_FB_GET_SEMAPHORE_SURFACE_LAYOUT = 0x20801352
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fb.h:

View Source
const (
	NV2080_CTRL_CMD_FIFO_DISABLE_CHANNELS = 0x2080110b

	NV2080_CTRL_FIFO_DISABLE_CHANNELS_MAX_ENTRIES = 64
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fifo.h:

View Source
const (
	NV2080_CTRL_CMD_GPU_GET_INFO_V2                      = 0x20800102
	NV2080_CTRL_CMD_GPU_GET_NAME_STRING                  = 0x20800110
	NV2080_CTRL_CMD_GPU_GET_SHORT_NAME_STRING            = 0x20800111
	NV2080_CTRL_CMD_GPU_GET_SIMULATION_INFO              = 0x20800119
	NV2080_CTRL_CMD_GPU_GET_ENGINES                      = 0x20800123
	NV2080_CTRL_CMD_GPU_QUERY_ECC_STATUS                 = 0x2080012f
	NV2080_CTRL_CMD_GPU_QUERY_COMPUTE_MODE_RULES         = 0x20800131
	NV2080_CTRL_CMD_GPU_QUERY_ECC_CONFIGURATION          = 0x20800133
	NV2080_CTRL_CMD_GPU_GET_OEM_BOARD_INFO               = 0x2080013f
	NV2080_CTRL_CMD_GPU_GET_ID                           = 0x20800142
	NV2080_CTRL_CMD_GPU_ACQUIRE_COMPUTE_MODE_RESERVATION = 0x20800145 // undocumented; paramSize == 0
	NV2080_CTRL_CMD_GPU_RELEASE_COMPUTE_MODE_RESERVATION = 0x20800146 // undocumented; paramSize == 0
	NV2080_CTRL_CMD_GPU_GET_ENGINE_PARTNERLIST           = 0x20800147
	NV2080_CTRL_CMD_GPU_GET_GID_INFO                     = 0x2080014a
	NV2080_CTRL_CMD_GPU_GET_INFOROM_OBJECT_VERSION       = 0x2080014b
	NV2080_CTRL_CMD_GPU_GET_INFOROM_IMAGE_VERSION        = 0x20800156
	NV2080_CTRL_CMD_GPU_QUERY_INFOROM_ECC_SUPPORT        = 0x20800157
	NV2080_CTRL_CMD_GPU_GET_ENGINES_V2                   = 0x20800170
	NV2080_CTRL_CMD_GPU_GET_ACTIVE_PARTITION_IDS         = 0x2080018b
	NV2080_CTRL_CMD_GPU_GET_PIDS                         = 0x2080018d
	NV2080_CTRL_CMD_GPU_GET_PID_INFO                     = 0x2080018e
	NV2080_CTRL_CMD_GPU_GET_COMPUTE_POLICY_CONFIG        = 0x20800195
	NV2080_CTRL_CMD_GET_GPU_FABRIC_PROBE_INFO            = 0x208001a3
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h:

View Source
const (
	NV2080_CTRL_CMD_GR_GET_INFO                   = 0x20801201
	NV2080_CTRL_CMD_GR_GET_ZCULL_INFO             = 0x20801206
	NV2080_CTRL_CMD_GR_CTXSW_ZCULL_BIND           = 0x20801208
	NV2080_CTRL_CMD_GR_SET_CTXSW_PREEMPTION_MODE  = 0x20801210
	NV2080_CTRL_CMD_GR_GET_CTX_BUFFER_SIZE        = 0x20801218
	NV2080_CTRL_CMD_GR_GET_GLOBAL_SM_ORDER        = 0x2080121b
	NV2080_CTRL_CMD_GR_GET_CAPS_V2                = 0x20801227
	NV2080_CTRL_CMD_GR_GET_GPC_MASK               = 0x2080122a
	NV2080_CTRL_CMD_GR_GET_TPC_MASK               = 0x2080122b
	NV2080_CTRL_CMD_GR_GET_SM_ISSUE_RATE_MODIFIER = 0x20801230
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gr.h:

View Source
const (
	NV2080_CTRL_CMD_MC_GET_ARCH_INFO      = 0x20801701
	NV2080_CTRL_CMD_MC_SERVICE_INTERRUPTS = 0x20801702
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080mc.h:

View Source
const (
	NV2080_CTRL_CMD_NVLINK_GET_NVLINK_CAPS   = 0x20803001
	NV2080_CTRL_CMD_NVLINK_GET_NVLINK_STATUS = 0x20803002
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080nvlink.h:

View Source
const (
	NV2080_CTRL_CMD_PERF_BOOST              = 0x2080200a
	NV2080_CTRL_CMD_PERF_GET_CURRENT_PSTATE = 0x20802068
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080perf.h:

View Source
const (
	NV2080_CTRL_CMD_RC_GET_WATCHDOG_INFO         = 0x20802209
	NV2080_CTRL_CMD_RC_RELEASE_WATCHDOG_REQUESTS = 0x2080220c
	NV2080_CTRL_CMD_RC_SOFT_DISABLE_WATCHDOG     = 0x20802210
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080rc.h:

View Source
const (
	NV2080_CTRL_CMD_TIMER_GET_TIME                          = 0x20800403
	NV2080_CTRL_CMD_TIMER_GET_GPU_CPU_TIME_CORRELATION_INFO = 0x20800406
	NV2080_CTRL_CMD_TIMER_SET_GR_TICK_FREQ                  = 0x20800407
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080tmr.h:

View Source
const (
	NV503C_CTRL_CMD_REGISTER_VA_SPACE = 0x503c0102
	NV503C_CTRL_CMD_REGISTER_VIDMEM   = 0x503c0104
	NV503C_CTRL_CMD_UNREGISTER_VIDMEM = 0x503c0105
)

From src/common/sdk/nvidia/inc/ctrl/ctrl503c.h:

View Source
const (
	NV83DE_CTRL_CMD_DEBUG_SET_EXCEPTION_MASK        = 0x83de0309
	NV83DE_CTRL_CMD_DEBUG_READ_ALL_SM_ERROR_STATES  = 0x83de030c
	NV83DE_CTRL_CMD_DEBUG_CLEAR_ALL_SM_ERROR_STATES = 0x83de0310
)

From src/common/sdk/nvidia/inc/ctrl/ctrl83de/ctrl83dedebug.h:

View Source
const (
	NVC36F_CTRL_GET_CLASS_ENGINEID                           = 0xc36f0101
	NVC36F_CTRL_CMD_GPFIFO_GET_WORK_SUBMIT_TOKEN             = 0xc36f0108
	NVC36F_CTRL_CMD_GPFIFO_SET_WORK_SUBMIT_TOKEN_NOTIF_INDEX = 0xc36f010a
)

From src/common/sdk/nvidia/inc/ctrl/ctrlc36f.h:

View Source
const (
	NV906F_CTRL_GET_CLASS_ENGINEID = 0x906f0101
	NV906F_CTRL_CMD_RESET_CHANNEL  = 0x906f0102
)

From src/common/sdk/nvidia/inc/ctrl/ctrl906f.h:

View Source
const (
	NV9096_CTRL_CMD_GET_ZBC_CLEAR_TABLE_SIZE  = 0x90960106
	NV9096_CTRL_CMD_GET_ZBC_CLEAR_TABLE_ENTRY = 0x90960107
)

From src/common/sdk/nvidia/inc/ctrl/ctrl9096.h:

View Source
const (
	NVA06C_CTRL_CMD_GPFIFO_SCHEDULE = 0xa06c0101
	NVA06C_CTRL_CMD_SET_TIMESLICE   = 0xa06c0103
	NVA06C_CTRL_CMD_PREEMPT         = 0xa06c0105
)

From src/common/sdk/nvidia/inc/ctrl/ctrla06c.h:

View Source
const (
	NVA06F_CTRL_CMD_GPFIFO_SCHEDULE = 0xa06f0103
	NVA06F_CTRL_CMD_BIND            = 0xa06f0104
)

From src/common/sdk/nvidia/inc/ctrl/ctrla06f/ctrla06fgpfifo.h:

View Source
const (
	NV_CONF_COMPUTE_CTRL_CMD_SYSTEM_GET_CAPABILITIES     = 0xcb330101
	NV_CONF_COMPUTE_CTRL_CMD_SYSTEM_GET_GPUS_STATE       = 0xcb330104
	NV_CONF_COMPUTE_CTRL_CMD_GPU_GET_NUM_SECURE_CHANNELS = 0xcb33010b
	NV_CONF_COMPUTE_CTRL_CMD_GPU_GET_KEY_ROTATION_STATE  = 0xcb33010c
)

From src/common/sdk/nvidia/inc/ctrl/ctrlcb33.h:

View Source
const (
	// From kernel-open/common/inc/nv-ioctl-numbers.h:
	NV_IOCTL_BASE             = 200
	NV_ESC_CARD_INFO          = NV_IOCTL_BASE + 0
	NV_ESC_REGISTER_FD        = NV_IOCTL_BASE + 1
	NV_ESC_ALLOC_OS_EVENT     = NV_IOCTL_BASE + 6
	NV_ESC_FREE_OS_EVENT      = NV_IOCTL_BASE + 7
	NV_ESC_CHECK_VERSION_STR  = NV_IOCTL_BASE + 10
	NV_ESC_ATTACH_GPUS_TO_FD  = NV_IOCTL_BASE + 12
	NV_ESC_SYS_PARAMS         = NV_IOCTL_BASE + 14
	NV_ESC_WAIT_OPEN_COMPLETE = NV_IOCTL_BASE + 18

	// From kernel-open/common/inc/nv-ioctl-numa.h:
	NV_ESC_NUMA_INFO = NV_IOCTL_BASE + 15

	// From src/nvidia/arch/nvalloc/unix/include/nv_escape.h:
	NV_ESC_RM_ALLOC_MEMORY               = 0x27
	NV_ESC_RM_FREE                       = 0x29
	NV_ESC_RM_CONTROL                    = 0x2a
	NV_ESC_RM_ALLOC                      = 0x2b
	NV_ESC_RM_DUP_OBJECT                 = 0x34
	NV_ESC_RM_SHARE                      = 0x35
	NV_ESC_RM_IDLE_CHANNELS              = 0x41
	NV_ESC_RM_VID_HEAP_CONTROL           = 0x4a
	NV_ESC_RM_MAP_MEMORY                 = 0x4e
	NV_ESC_RM_UNMAP_MEMORY               = 0x4f
	NV_ESC_RM_ALLOC_CONTEXT_DMA2         = 0x54
	NV_ESC_RM_MAP_MEMORY_DMA             = 0x57
	NV_ESC_RM_UNMAP_MEMORY_DMA           = 0x58
	NV_ESC_RM_UPDATE_DEVICE_MAPPING_INFO = 0x5e
)

Frontend ioctl numbers. Note that these are only the IOC_NR part of the ioctl command.

View Source
const (
	NVOS02_FLAGS_ALLOC_SHIFT = 16
	NVOS02_FLAGS_ALLOC_MASK  = 0x3
	NVOS02_FLAGS_ALLOC_NONE  = 0x00000001

	NVOS02_FLAGS_MAPPING_SHIFT  = 30
	NVOS02_FLAGS_MAPPING_MASK   = 0x3
	NVOS02_FLAGS_MAPPING_NO_MAP = 0x00000001
)

Bitfields in NVOS02Parameters.Flags:

View Source
const (
	NVOS32_ATTR_LOCATION_SHIFT  = 25
	NVOS32_ATTR_LOCATION_MASK   = 0x3
	NVOS32_ATTR_LOCATION_VIDMEM = 0
)

Bitfields in NVOS32AllocSize.Attr:

View Source
const (
	NVOS32_ATTR2_USE_EGM_SHIFT = 24
	NVOS32_ATTR2_USE_EGM_MASK  = 0x1
	NVOS32_ATTR2_USE_EGM_FALSE = 0
	NVOS32_ATTR2_USE_EGM_TRUE  = 1
)

Bitfields in NVOS32AllocSize.Attr2:

View Source
const (
	NV_MAJOR_DEVICE_NUMBER          = 195 // from kernel-open/common/inc/nv.h
	NV_CONTROL_DEVICE_MINOR         = 255 // from kernel-open/common/inc/nv-linux.h
	NVIDIA_UVM_PRIMARY_MINOR_NUMBER = 0   // from kernel-open/nvidia-uvm/uvm_common.h
)

Device numbers.

View Source
const (
	NV_MAX_DEVICES    = 32
	NV_MAX_SUBDEVICES = 8
)

From src/common/sdk/nvidia/inc/nvlimits.h:

View Source
const (
	CC_CHAN_ALLOC_IV_SIZE_DWORD    = 3
	CC_CHAN_ALLOC_NONCE_SIZE_DWORD = 8
)

From src/common/sdk/nvidia/inc/alloc/alloc_channel.h.

View Source
const (
	NV_OK                   = 0x00000000
	NV_ERR_INVALID_ADDRESS  = 0x0000001e
	NV_ERR_INVALID_ARGUMENT = 0x0000001f
	NV_ERR_INVALID_CLASS    = 0x00000022
	NV_ERR_INVALID_LIMIT    = 0x0000002e
	NV_ERR_NOT_SUPPORTED    = 0x00000056
)

Status codes, from src/common/sdk/nvidia/inc/nvstatuscodes.h.

View Source
const (
	// From kernel-open/nvidia-uvm/uvm_linux_ioctl.h:
	UVM_INITIALIZE   = 0x30000001
	UVM_DEINITIALIZE = 0x30000002

	// From kernel-open/nvidia-uvm/uvm_ioctl.h:
	UVM_CREATE_RANGE_GROUP             = 23
	UVM_DESTROY_RANGE_GROUP            = 24
	UVM_REGISTER_GPU_VASPACE           = 25
	UVM_UNREGISTER_GPU_VASPACE         = 26
	UVM_REGISTER_CHANNEL               = 27
	UVM_UNREGISTER_CHANNEL             = 28
	UVM_ENABLE_PEER_ACCESS             = 29
	UVM_DISABLE_PEER_ACCESS            = 30
	UVM_SET_RANGE_GROUP                = 31
	UVM_MAP_EXTERNAL_ALLOCATION        = 33
	UVM_FREE                           = 34
	UVM_REGISTER_GPU                   = 37
	UVM_UNREGISTER_GPU                 = 38
	UVM_PAGEABLE_MEM_ACCESS            = 39
	UVM_SET_PREFERRED_LOCATION         = 42
	UVM_UNSET_PREFERRED_LOCATION       = 43
	UVM_DISABLE_READ_DUPLICATION       = 45
	UVM_UNSET_ACCESSED_BY              = 47
	UVM_MIGRATE                        = 51
	UVM_MIGRATE_RANGE_GROUP            = 53
	UVM_TOOLS_READ_PROCESS_MEMORY      = 62
	UVM_TOOLS_WRITE_PROCESS_MEMORY     = 63
	UVM_MAP_DYNAMIC_PARALLELISM_REGION = 65
	UVM_UNMAP_EXTERNAL                 = 66
	UVM_ALLOC_SEMAPHORE_POOL           = 68
	UVM_VALIDATE_VA_RANGE              = 72
	UVM_CREATE_EXTERNAL_RANGE          = 73
	UVM_MM_INITIALIZE                  = 75
)

UVM ioctl commands.

View Source
const (
	UVM_MAX_GPUS    = NV_MAX_DEVICES
	UVM_MAX_GPUS_V2 = NV_MAX_DEVICES * NV_MAX_SUBDEVICES
)
View Source
const (
	NV0000_CTRL_CMD_GSYNC_GET_ATTACHED_IDS = 0x301
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0000/ctrl0000gsync.h:

View Source
const (
	NV0000_CTRL_CMD_SYNC_GPU_BOOST_GROUP_INFO = 0xa04
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0000/ctrl0000syncgpuboost.h:

View Source
const (
	NV0041_CTRL_CMD_GET_SURFACE_INFO = 0x410110
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0041.h

View Source
const (
	NV0080_CTRL_CMD_BSP_GET_CAPS_V2 = 0x801c02
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080bsp.h

View Source
const (
	NV0080_CTRL_CMD_HOST_GET_CAPS_V2 = 0x801402
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080host.h:

View Source
const (
	NV0080_CTRL_CMD_MSENC_GET_CAPS = 0x801b01
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080msenc.h:

View Source
const (
	NV0080_CTRL_CMD_PERF_CUDA_LIMIT_SET_CONTROL = 0x801909
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080perf.h:

View Source
const (
	NV00F8_CTRL_CMD_ATTACH_MEM = 0xf80103
)

From src/common/sdk/nvidia/inc/ctrl/ctrl00f8.h:

View Source
const (
	NV01_NULL_OBJECT = 0x0
)

From src/common/sdk/nvidia/inc/class/cl0000.h:

View Source
const (
	NV2080_CTRL_CMD_BIOS_GET_INFO = 0x20800802
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080bios.h:

View Source
const (
	NV2080_CTRL_CMD_EVENT_SET_NOTIFICATION = 0x20800301
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080event.h:

View Source
const (
	NV2080_CTRL_CMD_FLCN_GET_CTX_BUFFER_SIZE = 0x20803125
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080flcn.h:

View Source
const (
	NV2080_CTRL_CMD_GRMGR_GET_GR_FS_INFO = 0x20803801
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080grmgr.h:

View Source
const (
	NV2080_CTRL_CMD_GSP_GET_FEATURES = 0x20803601
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gsp.h:

View Source
const (
	NV90E6_CTRL_CMD_MASTER_GET_VIRTUAL_FUNCTION_ERROR_CONT_INTR_MASK = 0x90e60102
)

From src/common/sdk/nvidia/inc/ctrl/ctrl90e6.h:

View Source
const (
	NVC56F_CTRL_CMD_GET_KMB = 0xc56f010b
)

From src/common/sdk/nvidia/inc/ctrl/ctrlc56f.h:

View Source
const (
	NVOS32_ALLOC_FLAGS_VIRTUAL = 0x00080000
)

Flags in NVOS32AllocSize.Flags:

View Source
const (
	NVOS32_FUNCTION_ALLOC_SIZE = 2
)

Possible values for NVOS32Parameters.Function:

View Source
const NV_IOCTL_MAGIC = uint32('F')

NV_IOCTL_MAGIC is the "canonical" IOC_TYPE for frontend ioctls. The driver ignores IOC_TYPE, allowing any value to be passed.

View Source
const (
	NV_MEMORY_VIRTUAL_SYSMEM_DYNAMIC_HVASPACE = 0xffffffff
)

From src/common/sdk/nvidia/inc/class/cl0070.h:

View Source
const (
	NV_MEM_EXPORT_UUID_LEN = 16
)

From src/common/sdk/nvidia/inc/class/cl00e0.h

View Source
const (
	// RMAPI_PARAM_COPY_MAX_PARAMS_SIZE is the size limit imposed while copying
	// "embedded pointers" in rmapi parameter structs.
	// See src/nvidia/src/kernel/rmapi/param_copy.c:rmapiParamsAcquire().
	RMAPI_PARAM_COPY_MAX_PARAMS_SIZE = 1 * 1024 * 1024
)

From src/nvidia/inc/kernel/rmapi/param_copy.h:

View Source
const (
	RM_GSS_LEGACY_MASK = 0x00008000
)

From src/nvidia/interface/deprecated/rmapi_deprecated.h:

View Source
const SDK_RS_ACCESS_MAX_LIMBS = 1
View Source
const (
	UVM_INIT_FLAGS_MULTI_PROCESS_SHARING_MODE = 0x2
)

UVM_INITIALIZE_PARAMS flags, from kernel-open/nvidia-uvm/uvm_types.h.

Variables

View Source
var (
	SizeofIoctlRegisterFD             = uint32((*IoctlRegisterFD)(nil).SizeBytes())
	SizeofIoctlAllocOSEvent           = uint32((*IoctlAllocOSEvent)(nil).SizeBytes())
	SizeofIoctlFreeOSEvent            = uint32((*IoctlFreeOSEvent)(nil).SizeBytes())
	SizeofRMAPIVersion                = uint32((*RMAPIVersion)(nil).SizeBytes())
	SizeofIoctlSysParams              = uint32((*IoctlSysParams)(nil).SizeBytes())
	SizeofIoctlWaitOpenComplete       = uint32((*IoctlWaitOpenComplete)(nil).SizeBytes())
	SizeofIoctlNVOS02ParametersWithFD = uint32((*IoctlNVOS02ParametersWithFD)(nil).SizeBytes())
	SizeofNVOS00Parameters            = uint32((*NVOS00Parameters)(nil).SizeBytes())
	SizeofNVOS21Parameters            = uint32((*NVOS21Parameters)(nil).SizeBytes())
	SizeofIoctlNVOS33ParametersWithFD = uint32((*IoctlNVOS33ParametersWithFD)(nil).SizeBytes())
	SizeofNVOS30Parameters            = uint32((*NVOS30Parameters)(nil).SizeBytes())
	SizeofNVOS32Parameters            = uint32((*NVOS32Parameters)(nil).SizeBytes())
	SizeofNVOS34Parameters            = uint32((*NVOS34Parameters)(nil).SizeBytes())
	SizeofNVOS39Parameters            = uint32((*NVOS39Parameters)(nil).SizeBytes())
	SizeofNVOS46Parameters            = uint32((*NVOS46Parameters)(nil).SizeBytes())
	SizeofNVOS54Parameters            = uint32((*NVOS54Parameters)(nil).SizeBytes())
	SizeofNVOS55Parameters            = uint32((*NVOS55Parameters)(nil).SizeBytes())
	SizeofNVOS56Parameters            = uint32((*NVOS56Parameters)(nil).SizeBytes())
	SizeofNVOS57Parameters            = uint32((*NVOS57Parameters)(nil).SizeBytes())
	SizeofNVOS64Parameters            = uint32((*NVOS64Parameters)(nil).SizeBytes())
)

Frontend ioctl parameter struct sizes.

View Source
var CtrlXxxInfoSize = uint32((*NVXXXX_CTRL_XXX_INFO)(nil).SizeBytes())

CtrlXxxInfoSize is sizeof(NVXXXX_CTRL_XXX_INFO).

Functions

This section is empty.

Types

type ClassID

type ClassID uint32

ClassID is a client class ID, in the sense of src/nvidia/src/kernel/rmapi/resource_desc.h:RS_RESOURCE_DESC::externalClassID.

+marshal

func (*ClassID) CopyIn

func (id *ClassID) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*ClassID) CopyInN

func (id *ClassID) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*ClassID) CopyOut

func (id *ClassID) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*ClassID) CopyOutN

func (id *ClassID) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*ClassID) MarshalBytes

func (id *ClassID) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*ClassID) MarshalUnsafe

func (id *ClassID) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*ClassID) Packed

func (id *ClassID) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*ClassID) SizeBytes

func (id *ClassID) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (ClassID) String

func (id ClassID) String() string

String implements fmt.Stringer.String.

func (*ClassID) UnmarshalBytes

func (id *ClassID) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*ClassID) UnmarshalUnsafe

func (id *ClassID) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*ClassID) WriteTo

func (id *ClassID) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type Handle

type Handle struct {
	Val uint32 `nvproxy:"NvHandle"`
}

Handle is NvHandle, from src/common/sdk/nvidia/inc/nvtypes.h.

+marshal +stateify savable

func (*Handle) CopyIn

func (h *Handle) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*Handle) CopyInN

func (h *Handle) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*Handle) CopyOut

func (h *Handle) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*Handle) CopyOutN

func (h *Handle) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*Handle) MarshalBytes

func (h *Handle) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*Handle) MarshalUnsafe

func (h *Handle) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*Handle) Packed

func (h *Handle) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*Handle) SizeBytes

func (h *Handle) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*Handle) StateFields

func (h *Handle) StateFields() []string

func (*Handle) StateLoad

func (h *Handle) StateLoad(ctx context.Context, stateSourceObject state.Source)

+checklocksignore

func (*Handle) StateSave

func (h *Handle) StateSave(stateSinkObject state.Sink)

+checklocksignore

func (*Handle) StateTypeName

func (h *Handle) StateTypeName() string

func (Handle) String

func (h Handle) String() string

String implements fmt.Stringer.String.

func (*Handle) UnmarshalBytes

func (h *Handle) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*Handle) UnmarshalUnsafe

func (h *Handle) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*Handle) WriteTo

func (h *Handle) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type HasCtrlInfoList

type HasCtrlInfoList interface {
	ListSize() uint32
	SetCtrlInfoList(ptr P64)
	CtrlInfoList() P64
}

HasCtrlInfoList is a type constraint for parameter structs containing a list of NVXXXX_CTRL_XXX_INFO and are simple otherwise.

type HasFrontendFD

type HasFrontendFD interface {
	GetFrontendFD() int32
	SetFrontendFD(int32)
}

HasFrontendFD is a type constraint for parameter structs containing a frontend FD field. This is necessary because, as of this writing (Go 1.20), there is no way to enable field access using a Go type constraint.

type HasStatus

type HasStatus interface {
	GetStatus() uint32
}

HasStatus is an interface for parameter structs that have a Status field.

type IoctlAllocOSEvent

type IoctlAllocOSEvent struct {
	HClient Handle `nvproxy:"nv_ioctl_alloc_os_event_t"`
	HDevice Handle
	FD      uint32
	Status  uint32
}

IoctlAllocOSEvent is the parameter type for NV_ESC_ALLOC_OS_EVENT.

+marshal

func (*IoctlAllocOSEvent) CopyIn

func (p *IoctlAllocOSEvent) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlAllocOSEvent) CopyInN

func (p *IoctlAllocOSEvent) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlAllocOSEvent) CopyOut

func (p *IoctlAllocOSEvent) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlAllocOSEvent) CopyOutN

func (p *IoctlAllocOSEvent) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlAllocOSEvent) GetFrontendFD

func (p *IoctlAllocOSEvent) GetFrontendFD() int32

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*IoctlAllocOSEvent) GetStatus

func (p *IoctlAllocOSEvent) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*IoctlAllocOSEvent) MarshalBytes

func (p *IoctlAllocOSEvent) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlAllocOSEvent) MarshalUnsafe

func (p *IoctlAllocOSEvent) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlAllocOSEvent) Packed

func (p *IoctlAllocOSEvent) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlAllocOSEvent) SetFrontendFD

func (p *IoctlAllocOSEvent) SetFrontendFD(fd int32)

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*IoctlAllocOSEvent) SizeBytes

func (p *IoctlAllocOSEvent) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlAllocOSEvent) UnmarshalBytes

func (p *IoctlAllocOSEvent) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlAllocOSEvent) UnmarshalUnsafe

func (p *IoctlAllocOSEvent) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlAllocOSEvent) WriteTo

func (p *IoctlAllocOSEvent) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type IoctlFreeOSEvent

type IoctlFreeOSEvent struct {
	HClient Handle `nvproxy:"nv_ioctl_free_os_event_t"`
	HDevice Handle
	FD      uint32
	Status  uint32
}

IoctlFreeOSEvent is the parameter type for NV_ESC_FREE_OS_EVENT.

+marshal

func (*IoctlFreeOSEvent) CopyIn

func (p *IoctlFreeOSEvent) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlFreeOSEvent) CopyInN

func (p *IoctlFreeOSEvent) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlFreeOSEvent) CopyOut

func (p *IoctlFreeOSEvent) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlFreeOSEvent) CopyOutN

func (p *IoctlFreeOSEvent) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlFreeOSEvent) GetFrontendFD

func (p *IoctlFreeOSEvent) GetFrontendFD() int32

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*IoctlFreeOSEvent) GetStatus

func (p *IoctlFreeOSEvent) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*IoctlFreeOSEvent) MarshalBytes

func (p *IoctlFreeOSEvent) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlFreeOSEvent) MarshalUnsafe

func (p *IoctlFreeOSEvent) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlFreeOSEvent) Packed

func (p *IoctlFreeOSEvent) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlFreeOSEvent) SetFrontendFD

func (p *IoctlFreeOSEvent) SetFrontendFD(fd int32)

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*IoctlFreeOSEvent) SizeBytes

func (p *IoctlFreeOSEvent) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlFreeOSEvent) UnmarshalBytes

func (p *IoctlFreeOSEvent) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlFreeOSEvent) UnmarshalUnsafe

func (p *IoctlFreeOSEvent) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlFreeOSEvent) WriteTo

func (p *IoctlFreeOSEvent) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type IoctlNVOS02ParametersWithFD

type IoctlNVOS02ParametersWithFD struct {
	Params NVOS02Parameters `nvproxy:"nv_ioctl_nvos02_parameters_with_fd"`
	FD     int32
	Pad0   [4]byte
}

IoctlNVOS02ParametersWithFD is the parameter type for NV_ESC_RM_ALLOC_MEMORY.

+marshal

func (*IoctlNVOS02ParametersWithFD) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlNVOS02ParametersWithFD) CopyInN

func (p *IoctlNVOS02ParametersWithFD) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlNVOS02ParametersWithFD) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlNVOS02ParametersWithFD) CopyOutN

func (p *IoctlNVOS02ParametersWithFD) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlNVOS02ParametersWithFD) GetStatus

func (p *IoctlNVOS02ParametersWithFD) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*IoctlNVOS02ParametersWithFD) MarshalBytes

func (p *IoctlNVOS02ParametersWithFD) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlNVOS02ParametersWithFD) MarshalUnsafe

func (p *IoctlNVOS02ParametersWithFD) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlNVOS02ParametersWithFD) Packed

func (p *IoctlNVOS02ParametersWithFD) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlNVOS02ParametersWithFD) SizeBytes

func (p *IoctlNVOS02ParametersWithFD) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlNVOS02ParametersWithFD) UnmarshalBytes

func (p *IoctlNVOS02ParametersWithFD) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlNVOS02ParametersWithFD) UnmarshalUnsafe

func (p *IoctlNVOS02ParametersWithFD) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlNVOS02ParametersWithFD) WriteTo

func (p *IoctlNVOS02ParametersWithFD) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type IoctlNVOS33ParametersWithFD

type IoctlNVOS33ParametersWithFD struct {
	Params NVOS33Parameters `nvproxy:"nv_ioctl_nvos33_parameters_with_fd"`
	FD     int32
	Pad0   [4]byte
}

IoctlNVOS33ParametersWithFD is the parameter type for NV_ESC_RM_MAP_MEMORY, from src/nvidia/arch/nvalloc/unix/include/nv-unix-nvos-params-wrappers.h.

+marshal

func (*IoctlNVOS33ParametersWithFD) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlNVOS33ParametersWithFD) CopyInN

func (p *IoctlNVOS33ParametersWithFD) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlNVOS33ParametersWithFD) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlNVOS33ParametersWithFD) CopyOutN

func (p *IoctlNVOS33ParametersWithFD) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlNVOS33ParametersWithFD) GetStatus

func (p *IoctlNVOS33ParametersWithFD) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*IoctlNVOS33ParametersWithFD) MarshalBytes

func (p *IoctlNVOS33ParametersWithFD) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlNVOS33ParametersWithFD) MarshalUnsafe

func (p *IoctlNVOS33ParametersWithFD) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlNVOS33ParametersWithFD) Packed

func (p *IoctlNVOS33ParametersWithFD) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlNVOS33ParametersWithFD) SizeBytes

func (p *IoctlNVOS33ParametersWithFD) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlNVOS33ParametersWithFD) UnmarshalBytes

func (p *IoctlNVOS33ParametersWithFD) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlNVOS33ParametersWithFD) UnmarshalUnsafe

func (p *IoctlNVOS33ParametersWithFD) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlNVOS33ParametersWithFD) WriteTo

func (p *IoctlNVOS33ParametersWithFD) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type IoctlRegisterFD

type IoctlRegisterFD struct {
	CtlFD int32 `nvproxy:"nv_ioctl_register_fd_t"`
}

IoctlRegisterFD is the parameter type for NV_ESC_REGISTER_FD.

+marshal

func (*IoctlRegisterFD) CopyIn

func (p *IoctlRegisterFD) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlRegisterFD) CopyInN

func (p *IoctlRegisterFD) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlRegisterFD) CopyOut

func (p *IoctlRegisterFD) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlRegisterFD) CopyOutN

func (p *IoctlRegisterFD) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlRegisterFD) GetStatus

func (p *IoctlRegisterFD) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*IoctlRegisterFD) MarshalBytes

func (p *IoctlRegisterFD) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlRegisterFD) MarshalUnsafe

func (p *IoctlRegisterFD) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlRegisterFD) Packed

func (p *IoctlRegisterFD) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlRegisterFD) SizeBytes

func (p *IoctlRegisterFD) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlRegisterFD) UnmarshalBytes

func (p *IoctlRegisterFD) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlRegisterFD) UnmarshalUnsafe

func (p *IoctlRegisterFD) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlRegisterFD) WriteTo

func (p *IoctlRegisterFD) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type IoctlSysParams

type IoctlSysParams struct {
	MemblockSize uint64 `nvproxy:"nv_ioctl_sys_params_t"`
}

IoctlSysParams is the parameter type for NV_ESC_SYS_PARAMS.

+marshal

func (*IoctlSysParams) CopyIn

func (p *IoctlSysParams) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlSysParams) CopyInN

func (p *IoctlSysParams) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlSysParams) CopyOut

func (p *IoctlSysParams) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlSysParams) CopyOutN

func (p *IoctlSysParams) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlSysParams) GetStatus

func (p *IoctlSysParams) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*IoctlSysParams) MarshalBytes

func (p *IoctlSysParams) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlSysParams) MarshalUnsafe

func (p *IoctlSysParams) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlSysParams) Packed

func (p *IoctlSysParams) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlSysParams) SizeBytes

func (p *IoctlSysParams) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlSysParams) UnmarshalBytes

func (p *IoctlSysParams) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlSysParams) UnmarshalUnsafe

func (p *IoctlSysParams) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlSysParams) WriteTo

func (p *IoctlSysParams) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type IoctlWaitOpenComplete

type IoctlWaitOpenComplete struct {
	Rc            int32 `nvproxy:"nv_ioctl_wait_open_complete_t"`
	AdapterStatus uint32
}

IoctlWaitOpenComplete is the parameter type for NV_ESC_WAIT_OPEN_COMPLETE.

+marshal

func (*IoctlWaitOpenComplete) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlWaitOpenComplete) CopyInN

func (p *IoctlWaitOpenComplete) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlWaitOpenComplete) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlWaitOpenComplete) CopyOutN

func (p *IoctlWaitOpenComplete) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlWaitOpenComplete) GetStatus

func (p *IoctlWaitOpenComplete) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*IoctlWaitOpenComplete) MarshalBytes

func (p *IoctlWaitOpenComplete) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlWaitOpenComplete) MarshalUnsafe

func (p *IoctlWaitOpenComplete) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlWaitOpenComplete) Packed

func (p *IoctlWaitOpenComplete) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlWaitOpenComplete) SizeBytes

func (p *IoctlWaitOpenComplete) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlWaitOpenComplete) UnmarshalBytes

func (p *IoctlWaitOpenComplete) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlWaitOpenComplete) UnmarshalUnsafe

func (p *IoctlWaitOpenComplete) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlWaitOpenComplete) WriteTo

func (p *IoctlWaitOpenComplete) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_GPU_GET_ID_INFO_PARAMS

type NV0000_CTRL_GPU_GET_ID_INFO_PARAMS struct {
	GpuID             uint32 `nvproxy:"same"`
	GpuFlags          uint32
	DeviceInstance    uint32
	SubDeviceInstance uint32
	SzName            P64
	SliStatus         uint32
	BoardID           uint32
	GpuInstance       uint32
	NumaID            int32
}

NV0000_CTRL_GPU_GET_ID_INFO_PARAMS is the param type for NV0000_CTRL_CMD_GPU_GET_ID_INFO, from src/common/sdk/nvidia/inc/ctrl/ctrl0000/ctrl0000gpu.h.

+marshal

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) MarshalBytes

func (n *NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) MarshalUnsafe

func (n *NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) SizeBytes

func (n *NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) UnmarshalBytes

func (n *NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) UnmarshalUnsafe

func (n *NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) WriteTo

func (n *NV0000_CTRL_GPU_GET_ID_INFO_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_OS_UNIX_EXPORT_OBJECT

type NV0000_CTRL_OS_UNIX_EXPORT_OBJECT struct {
	Type uint32   // enum NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TYPE
	Data [12]byte // union
}

+marshal

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) MarshalBytes

func (n *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) MarshalUnsafe

func (n *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) SizeBytes

func (n *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) UnmarshalBytes

func (n *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) UnmarshalUnsafe

func (n *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) WriteTo

func (n *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS

type NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS struct {
	Object NV0000_CTRL_OS_UNIX_EXPORT_OBJECT `nvproxy:"same"`
	FD     int32
	Flags  uint32
}

+marshal

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) GetFrontendFD

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) MarshalBytes

func (p *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) MarshalUnsafe

func (p *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) SetFrontendFD

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) UnmarshalBytes

func (p *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) UnmarshalUnsafe

func (p *NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_EXPORT_OBJECT_TO_FD_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS

type NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS struct {
	FD             int32 `nvproxy:"same"`
	DeviceInstance uint32
	MaxObjects     uint16
	Metadata       [NV0000_OS_UNIX_EXPORT_OBJECT_FD_BUFFER_SIZE]uint8
	Pad            [2]byte
}

+marshal

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) GetFrontendFD

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) MarshalBytes

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) MarshalUnsafe

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) SetFrontendFD

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) UnmarshalBytes

func (p *NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) UnmarshalUnsafe

func (p *NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545

type NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545 struct {
	FD             int32 `nvproxy:"NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS"`
	DeviceInstance uint32
	GpuInstanceID  uint32
	MaxObjects     uint16
	Metadata       [NV0000_OS_UNIX_EXPORT_OBJECT_FD_BUFFER_SIZE]uint8
	Pad            [2]byte
}

+marshal

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) GetFrontendFD

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) MarshalBytes

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) MarshalUnsafe

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) SetFrontendFD

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) UnmarshalBytes

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) UnmarshalUnsafe

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_GET_EXPORT_OBJECT_INFO_PARAMS_V545) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS

type NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS struct {
	FD     int32 `nvproxy:"same"`
	Object NV0000_CTRL_OS_UNIX_EXPORT_OBJECT
}

+marshal

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) GetFrontendFD

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) MarshalBytes

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) MarshalUnsafe

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) SetFrontendFD

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) UnmarshalBytes

func (p *NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) UnmarshalUnsafe

func (p *NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_OS_UNIX_IMPORT_OBJECT_FROM_FD_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS

type NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS struct {
	SizeOfStrings            uint32 `nvproxy:"same"`
	Pad                      [4]byte
	PDriverVersionBuffer     P64
	PVersionBuffer           P64
	PTitleBuffer             P64
	ChangelistNumber         uint32
	OfficialChangelistNumber uint32
}

+marshal

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) MarshalBytes

func (n *NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) MarshalUnsafe

func (n *NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) UnmarshalBytes

func (n *NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) UnmarshalUnsafe

func (n *NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS

type NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS struct {
	GpuIDs             [NV0000_CTRL_SYSTEM_MAX_ATTACHED_GPUS]uint32 `nvproxy:"same"`
	GpuCount           uint32
	P2PCaps            uint32
	P2POptimalReadCEs  uint32
	P2POptimalWriteCEs uint32
	P2PCapsStatus      [NV0000_CTRL_P2P_CAPS_INDEX_TABLE_SIZE]uint8

	BusPeerIDs P64
	// contains filtered or unexported fields
}

NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS is the param type for NV0000_CTRL_CMD_SYSTEM_GET_P2P_CAPS, from src/common/sdk/nvidia/inc/ctrl/ctrl0000/ctrl0000system.h.

+marshal

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) MarshalBytes

func (n *NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) MarshalUnsafe

func (n *NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) UnmarshalBytes

func (n *NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) UnmarshalUnsafe

func (n *NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550

type NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550 struct {
	NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS `nvproxy:"NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS"`
	BusEgmPeerIDs                          P64
}

NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550 is the updated version of NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS since 550.40.07.

+marshal

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) MarshalBytes

func (n *NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) MarshalUnsafe

func (n *NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) UnmarshalBytes

func (n *NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) UnmarshalUnsafe

func (n *NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0000_CTRL_SYSTEM_GET_P2P_CAPS_PARAMS_V550) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV0005_ALLOC_PARAMETERS

type NV0005_ALLOC_PARAMETERS struct {
	HParentClient Handle `nvproxy:"same"`
	HSrcResource  Handle
	HClass        ClassID
	NotifyIndex   uint32
	Data          P64 // actually FD for NV01_EVENT_OS_EVENT, see src/nvidia/src/kernel/rmapi/event.c:eventConstruct_IMPL() => src/nvidia/arch/nvalloc/unix/src/os.c:osUserHandleToKernelPtr()
}

NV0005_ALLOC_PARAMETERS is the alloc params type for NV01_EVENT* classes from src/common/sdk/nvidia/inc/class/cl0005.h.

+marshal

func (*NV0005_ALLOC_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0005_ALLOC_PARAMETERS) CopyInN

func (n *NV0005_ALLOC_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0005_ALLOC_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0005_ALLOC_PARAMETERS) CopyOutN

func (n *NV0005_ALLOC_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0005_ALLOC_PARAMETERS) MarshalBytes

func (n *NV0005_ALLOC_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0005_ALLOC_PARAMETERS) MarshalUnsafe

func (n *NV0005_ALLOC_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0005_ALLOC_PARAMETERS) Packed

func (n *NV0005_ALLOC_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV0005_ALLOC_PARAMETERS) SizeBytes

func (n *NV0005_ALLOC_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0005_ALLOC_PARAMETERS) UnmarshalBytes

func (n *NV0005_ALLOC_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0005_ALLOC_PARAMETERS) UnmarshalUnsafe

func (n *NV0005_ALLOC_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0005_ALLOC_PARAMETERS) WriteTo

func (n *NV0005_ALLOC_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV0080_ALLOC_PARAMETERS

type NV0080_ALLOC_PARAMETERS struct {
	DeviceID        uint32 `nvproxy:"same"`
	HClientShare    Handle
	HTargetClient   Handle
	HTargetDevice   Handle
	Flags           uint32
	Pad0            [4]byte
	VASpaceSize     uint64
	VAStartInternal uint64
	VALimitInternal uint64
	VAMode          uint32
	Pad1            [4]byte
}

NV0080_ALLOC_PARAMETERS is the alloc params type for NV01_DEVICE_0, from src/common/sdk/nvidia/inc/class/cl0080.h.

+marshal

func (*NV0080_ALLOC_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0080_ALLOC_PARAMETERS) CopyInN

func (n *NV0080_ALLOC_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0080_ALLOC_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0080_ALLOC_PARAMETERS) CopyOutN

func (n *NV0080_ALLOC_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0080_ALLOC_PARAMETERS) MarshalBytes

func (n *NV0080_ALLOC_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0080_ALLOC_PARAMETERS) MarshalUnsafe

func (n *NV0080_ALLOC_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0080_ALLOC_PARAMETERS) Packed

func (n *NV0080_ALLOC_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV0080_ALLOC_PARAMETERS) SizeBytes

func (n *NV0080_ALLOC_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0080_ALLOC_PARAMETERS) UnmarshalBytes

func (n *NV0080_ALLOC_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0080_ALLOC_PARAMETERS) UnmarshalUnsafe

func (n *NV0080_ALLOC_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0080_ALLOC_PARAMETERS) WriteTo

func (n *NV0080_ALLOC_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS

type NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS struct {
	NumChannels        uint32 `nvproxy:"same"`
	Pad                [4]byte
	PChannelHandleList P64
	PChannelList       P64
}

+marshal

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) MarshalBytes

func (n *NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) MarshalUnsafe

func (n *NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) UnmarshalBytes

func (n *NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) UnmarshalUnsafe

func (n *NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0080_CTRL_FIFO_GET_CHANNELLIST_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV0080_CTRL_GET_CAPS_PARAMS

type NV0080_CTRL_GET_CAPS_PARAMS struct {
	CapsTblSize uint32
	Pad         [4]byte
	CapsTbl     P64
}

NV0080_CTRL_GET_CAPS_PARAMS is used to represent the following: - NV0080_CTRL_FB_GET_CAPS_PARAMS - NV0080_CTRL_GR_GET_CAPS_PARAMS - NV0080_CTRL_FIFO_GET_CAPS_PARAMS - NV0080_CTRL_MSENC_GET_CAPS_PARAMS

+marshal

func (*NV0080_CTRL_GET_CAPS_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0080_CTRL_GET_CAPS_PARAMS) CopyInN

func (n *NV0080_CTRL_GET_CAPS_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0080_CTRL_GET_CAPS_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0080_CTRL_GET_CAPS_PARAMS) CopyOutN

func (n *NV0080_CTRL_GET_CAPS_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0080_CTRL_GET_CAPS_PARAMS) MarshalBytes

func (n *NV0080_CTRL_GET_CAPS_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0080_CTRL_GET_CAPS_PARAMS) MarshalUnsafe

func (n *NV0080_CTRL_GET_CAPS_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0080_CTRL_GET_CAPS_PARAMS) Packed

func (n *NV0080_CTRL_GET_CAPS_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV0080_CTRL_GET_CAPS_PARAMS) SizeBytes

func (n *NV0080_CTRL_GET_CAPS_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0080_CTRL_GET_CAPS_PARAMS) UnmarshalBytes

func (n *NV0080_CTRL_GET_CAPS_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0080_CTRL_GET_CAPS_PARAMS) UnmarshalUnsafe

func (n *NV0080_CTRL_GET_CAPS_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0080_CTRL_GET_CAPS_PARAMS) WriteTo

func (n *NV0080_CTRL_GET_CAPS_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV0080_CTRL_GR_ROUTE_INFO

type NV0080_CTRL_GR_ROUTE_INFO struct {
	Flags uint32 `nvproxy:"same"`
	Pad   [4]byte
	Route uint64
}

+marshal

func (*NV0080_CTRL_GR_ROUTE_INFO) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV0080_CTRL_GR_ROUTE_INFO) CopyInN

func (n *NV0080_CTRL_GR_ROUTE_INFO) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV0080_CTRL_GR_ROUTE_INFO) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV0080_CTRL_GR_ROUTE_INFO) CopyOutN

func (n *NV0080_CTRL_GR_ROUTE_INFO) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV0080_CTRL_GR_ROUTE_INFO) MarshalBytes

func (n *NV0080_CTRL_GR_ROUTE_INFO) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV0080_CTRL_GR_ROUTE_INFO) MarshalUnsafe

func (n *NV0080_CTRL_GR_ROUTE_INFO) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV0080_CTRL_GR_ROUTE_INFO) Packed

func (n *NV0080_CTRL_GR_ROUTE_INFO) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV0080_CTRL_GR_ROUTE_INFO) SizeBytes

func (n *NV0080_CTRL_GR_ROUTE_INFO) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV0080_CTRL_GR_ROUTE_INFO) UnmarshalBytes

func (n *NV0080_CTRL_GR_ROUTE_INFO) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV0080_CTRL_GR_ROUTE_INFO) UnmarshalUnsafe

func (n *NV0080_CTRL_GR_ROUTE_INFO) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV0080_CTRL_GR_ROUTE_INFO) WriteTo

func (n *NV0080_CTRL_GR_ROUTE_INFO) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV00DE_ALLOC_PARAMETERS

type NV00DE_ALLOC_PARAMETERS struct {
	Reserved uint32 `nvproxy:"same"`
}

NV00DE_ALLOC_PARAMETERS is the alloc param type for RM_USER_SHARED_DATA, from src/common/sdk/nvidia/inc/class/cl00de.h.

+marshal

func (*NV00DE_ALLOC_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV00DE_ALLOC_PARAMETERS) CopyInN

func (n *NV00DE_ALLOC_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV00DE_ALLOC_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV00DE_ALLOC_PARAMETERS) CopyOutN

func (n *NV00DE_ALLOC_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV00DE_ALLOC_PARAMETERS) MarshalBytes

func (n *NV00DE_ALLOC_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV00DE_ALLOC_PARAMETERS) MarshalUnsafe

func (n *NV00DE_ALLOC_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV00DE_ALLOC_PARAMETERS) Packed

func (n *NV00DE_ALLOC_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV00DE_ALLOC_PARAMETERS) SizeBytes

func (n *NV00DE_ALLOC_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV00DE_ALLOC_PARAMETERS) UnmarshalBytes

func (n *NV00DE_ALLOC_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV00DE_ALLOC_PARAMETERS) UnmarshalUnsafe

func (n *NV00DE_ALLOC_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV00DE_ALLOC_PARAMETERS) WriteTo

func (n *NV00DE_ALLOC_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV00DE_ALLOC_PARAMETERS_V545

type NV00DE_ALLOC_PARAMETERS_V545 struct {
	PolledDataMask uint64 `nvproxy:"NV00DE_ALLOC_PARAMETERS"`
}

NV00DE_ALLOC_PARAMETERS_V545 is the updated version of NV00DE_ALLOC_PARAMETERS since 545.23.06.

+marshal

func (*NV00DE_ALLOC_PARAMETERS_V545) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV00DE_ALLOC_PARAMETERS_V545) CopyInN

func (n *NV00DE_ALLOC_PARAMETERS_V545) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV00DE_ALLOC_PARAMETERS_V545) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV00DE_ALLOC_PARAMETERS_V545) CopyOutN

func (n *NV00DE_ALLOC_PARAMETERS_V545) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV00DE_ALLOC_PARAMETERS_V545) MarshalBytes

func (n *NV00DE_ALLOC_PARAMETERS_V545) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV00DE_ALLOC_PARAMETERS_V545) MarshalUnsafe

func (n *NV00DE_ALLOC_PARAMETERS_V545) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV00DE_ALLOC_PARAMETERS_V545) Packed

func (n *NV00DE_ALLOC_PARAMETERS_V545) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV00DE_ALLOC_PARAMETERS_V545) SizeBytes

func (n *NV00DE_ALLOC_PARAMETERS_V545) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV00DE_ALLOC_PARAMETERS_V545) UnmarshalBytes

func (n *NV00DE_ALLOC_PARAMETERS_V545) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV00DE_ALLOC_PARAMETERS_V545) UnmarshalUnsafe

func (n *NV00DE_ALLOC_PARAMETERS_V545) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV00DE_ALLOC_PARAMETERS_V545) WriteTo

func (n *NV00DE_ALLOC_PARAMETERS_V545) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV00F8_ALLOCATION_PARAMETERS

type NV00F8_ALLOCATION_PARAMETERS struct {
	Alignment  uint64 `nvproxy:"same"`
	AllocSize  uint64
	PageSize   uint64
	AllocFlags uint32

	Map nv00f8Map
	// contains filtered or unexported fields
}

NV00F8_ALLOCATION_PARAMETERS is the alloc param type for NV_MEMORY_FABRIC, from src/common/sdk/nvidia/inc/class/cl00f8.h.

+marshal

func (*NV00F8_ALLOCATION_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV00F8_ALLOCATION_PARAMETERS) CopyInN

func (n *NV00F8_ALLOCATION_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV00F8_ALLOCATION_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV00F8_ALLOCATION_PARAMETERS) CopyOutN

func (n *NV00F8_ALLOCATION_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV00F8_ALLOCATION_PARAMETERS) MarshalBytes

func (n *NV00F8_ALLOCATION_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV00F8_ALLOCATION_PARAMETERS) MarshalUnsafe

func (n *NV00F8_ALLOCATION_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV00F8_ALLOCATION_PARAMETERS) Packed

func (n *NV00F8_ALLOCATION_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV00F8_ALLOCATION_PARAMETERS) SizeBytes

func (n *NV00F8_ALLOCATION_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV00F8_ALLOCATION_PARAMETERS) UnmarshalBytes

func (n *NV00F8_ALLOCATION_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV00F8_ALLOCATION_PARAMETERS) UnmarshalUnsafe

func (n *NV00F8_ALLOCATION_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV00F8_ALLOCATION_PARAMETERS) WriteTo

func (n *NV00F8_ALLOCATION_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV00FD_ALLOCATION_PARAMETERS

type NV00FD_ALLOCATION_PARAMETERS struct {
	Alignment  uint64 `nvproxy:"same"`
	AllocSize  uint64
	PageSize   uint32
	AllocFlags uint32
	NumGPUs    uint32

	POsEvent P64
	// contains filtered or unexported fields
}

NV00FD_ALLOCATION_PARAMETERS is the alloc param type for NV_MEMORY_MULTICAST_FABRIC from src/common/sdk/nvidia/inc/class/cl00fd.h

+marshal

func (*NV00FD_ALLOCATION_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV00FD_ALLOCATION_PARAMETERS) CopyInN

func (n *NV00FD_ALLOCATION_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV00FD_ALLOCATION_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV00FD_ALLOCATION_PARAMETERS) CopyOutN

func (n *NV00FD_ALLOCATION_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV00FD_ALLOCATION_PARAMETERS) MarshalBytes

func (n *NV00FD_ALLOCATION_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV00FD_ALLOCATION_PARAMETERS) MarshalUnsafe

func (n *NV00FD_ALLOCATION_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV00FD_ALLOCATION_PARAMETERS) Packed

func (n *NV00FD_ALLOCATION_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV00FD_ALLOCATION_PARAMETERS) SizeBytes

func (n *NV00FD_ALLOCATION_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV00FD_ALLOCATION_PARAMETERS) UnmarshalBytes

func (n *NV00FD_ALLOCATION_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV00FD_ALLOCATION_PARAMETERS) UnmarshalUnsafe

func (n *NV00FD_ALLOCATION_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV00FD_ALLOCATION_PARAMETERS) WriteTo

func (n *NV00FD_ALLOCATION_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV00FD_ALLOCATION_PARAMETERS_V545

type NV00FD_ALLOCATION_PARAMETERS_V545 struct {
	ExpPacket NV_EXPORT_MEM_PACKET `nvproxy:"NV00FD_ALLOCATION_PARAMETERS"`
	Index     uint16

	NV00FD_ALLOCATION_PARAMETERS
	// contains filtered or unexported fields
}

NV00FD_ALLOCATION_PARAMETERS_V545 is the updated version of NV00FD_ALLOCATION_PARAMETERS since 545.23.06.

+marshal

func (*NV00FD_ALLOCATION_PARAMETERS_V545) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) MarshalBytes

func (n *NV00FD_ALLOCATION_PARAMETERS_V545) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) MarshalUnsafe

func (n *NV00FD_ALLOCATION_PARAMETERS_V545) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) SizeBytes

func (n *NV00FD_ALLOCATION_PARAMETERS_V545) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) UnmarshalBytes

func (n *NV00FD_ALLOCATION_PARAMETERS_V545) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) UnmarshalUnsafe

func (n *NV00FD_ALLOCATION_PARAMETERS_V545) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV00FD_ALLOCATION_PARAMETERS_V545) WriteTo

func (n *NV00FD_ALLOCATION_PARAMETERS_V545) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV00FD_CTRL_ATTACH_GPU_PARAMS

type NV00FD_CTRL_ATTACH_GPU_PARAMS struct {
	HSubDevice    Handle `nvproxy:"same"`
	Flags         uint32
	DevDescriptor uint64
}

+marshal

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) CopyInN

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) CopyOutN

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) MarshalBytes

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) MarshalUnsafe

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) Packed

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) SizeBytes

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) UnmarshalBytes

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) UnmarshalUnsafe

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV00FD_CTRL_ATTACH_GPU_PARAMS) WriteTo

func (n *NV00FD_CTRL_ATTACH_GPU_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV2080_ALLOC_PARAMETERS

type NV2080_ALLOC_PARAMETERS struct {
	SubDeviceID uint32 `nvproxy:"same"`
}

NV2080_ALLOC_PARAMETERS is the alloc params type for NV20_SUBDEVICE_0, from src/common/sdk/nvidia/inc/class/cl2080.h.

+marshal

func (*NV2080_ALLOC_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV2080_ALLOC_PARAMETERS) CopyInN

func (n *NV2080_ALLOC_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV2080_ALLOC_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV2080_ALLOC_PARAMETERS) CopyOutN

func (n *NV2080_ALLOC_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV2080_ALLOC_PARAMETERS) MarshalBytes

func (n *NV2080_ALLOC_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV2080_ALLOC_PARAMETERS) MarshalUnsafe

func (n *NV2080_ALLOC_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV2080_ALLOC_PARAMETERS) Packed

func (n *NV2080_ALLOC_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV2080_ALLOC_PARAMETERS) SizeBytes

func (n *NV2080_ALLOC_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV2080_ALLOC_PARAMETERS) UnmarshalBytes

func (n *NV2080_ALLOC_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV2080_ALLOC_PARAMETERS) UnmarshalUnsafe

func (n *NV2080_ALLOC_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV2080_ALLOC_PARAMETERS) WriteTo

func (n *NV2080_ALLOC_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS

type NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS struct {
	BDisable               uint8 `nvproxy:"same"`
	Pad1                   [3]byte
	NumChannels            uint32
	BOnlyDisableScheduling uint8
	BRewindGpPut           uint8
	Pad2                   [6]byte
	PRunlistPreemptEvent   P64
	HClientList            [NV2080_CTRL_FIFO_DISABLE_CHANNELS_MAX_ENTRIES]Handle
	HChannelList           [NV2080_CTRL_FIFO_DISABLE_CHANNELS_MAX_ENTRIES]Handle
}

+marshal

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) MarshalBytes

func (n *NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) MarshalUnsafe

func (n *NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) UnmarshalBytes

func (n *NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) UnmarshalUnsafe

func (n *NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV2080_CTRL_FIFO_DISABLE_CHANNELS_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV2080_CTRL_GR_GET_INFO_PARAMS

type NV2080_CTRL_GR_GET_INFO_PARAMS struct {
	NvxxxCtrlXxxGetInfoParams `nvproxy:"same"`
	GRRouteInfo               NV0080_CTRL_GR_ROUTE_INFO
}

+marshal

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) CopyOutN

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) CtrlInfoList

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) CtrlInfoList() P64

CtrlInfoList implements HasCtrlInfoList.CtrlInfoList.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) ListSize

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) ListSize() uint32

ListSize implements HasCtrlInfoList.ListSize.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) MarshalBytes

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) MarshalUnsafe

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) SetCtrlInfoList

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) SetCtrlInfoList(ptr P64)

SetCtrlInfoList implements HasCtrlInfoList.SetCtrlInfoList.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) SizeBytes

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) UnmarshalBytes

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) UnmarshalUnsafe

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) WriteTo

func (p *NV2080_CTRL_GR_GET_INFO_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV2081_ALLOC_PARAMETERS

type NV2081_ALLOC_PARAMETERS struct {
	Reserved uint32 `nvproxy:"same"`
}

NV2081_ALLOC_PARAMETERS is the alloc params type for NV2081_BINAPI, from src/common/sdk/nvidia/inc/class/cl2081.h.

+marshal

func (*NV2081_ALLOC_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV2081_ALLOC_PARAMETERS) CopyInN

func (n *NV2081_ALLOC_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV2081_ALLOC_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV2081_ALLOC_PARAMETERS) CopyOutN

func (n *NV2081_ALLOC_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV2081_ALLOC_PARAMETERS) MarshalBytes

func (n *NV2081_ALLOC_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV2081_ALLOC_PARAMETERS) MarshalUnsafe

func (n *NV2081_ALLOC_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV2081_ALLOC_PARAMETERS) Packed

func (n *NV2081_ALLOC_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV2081_ALLOC_PARAMETERS) SizeBytes

func (n *NV2081_ALLOC_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV2081_ALLOC_PARAMETERS) UnmarshalBytes

func (n *NV2081_ALLOC_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV2081_ALLOC_PARAMETERS) UnmarshalUnsafe

func (n *NV2081_ALLOC_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV2081_ALLOC_PARAMETERS) WriteTo

func (n *NV2081_ALLOC_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV503B_ALLOC_PARAMETERS

type NV503B_ALLOC_PARAMETERS struct {
	HSubDevice                 Handle `nvproxy:"same"`
	HPeerSubDevice             Handle
	SubDevicePeerIDMask        uint32
	PeerSubDevicePeerIDMask    uint32
	MailboxBar1Addr            uint64
	MailboxTotalSize           uint32
	Flags                      uint32
	SubDeviceEgmPeerIDMask     uint32
	PeerSubDeviceEgmPeerIDMask uint32
	L2pBar1P2PDmaInfo          NV503B_BAR1_P2P_DMA_INFO
	P2lBar1P2PDmaInfo          NV503B_BAR1_P2P_DMA_INFO
}

NV503B_ALLOC_PARAMETERS is the alloc params type for NV50_P2P, from src/common/sdk/nvidia/inc/class/cl503b.h.

+marshal

func (*NV503B_ALLOC_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV503B_ALLOC_PARAMETERS) CopyInN

func (n *NV503B_ALLOC_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV503B_ALLOC_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV503B_ALLOC_PARAMETERS) CopyOutN

func (n *NV503B_ALLOC_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV503B_ALLOC_PARAMETERS) MarshalBytes

func (n *NV503B_ALLOC_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV503B_ALLOC_PARAMETERS) MarshalUnsafe

func (n *NV503B_ALLOC_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV503B_ALLOC_PARAMETERS) Packed

func (n *NV503B_ALLOC_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV503B_ALLOC_PARAMETERS) SizeBytes

func (n *NV503B_ALLOC_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV503B_ALLOC_PARAMETERS) UnmarshalBytes

func (n *NV503B_ALLOC_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV503B_ALLOC_PARAMETERS) UnmarshalUnsafe

func (n *NV503B_ALLOC_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV503B_ALLOC_PARAMETERS) WriteTo

func (n *NV503B_ALLOC_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV503B_BAR1_P2P_DMA_INFO

type NV503B_BAR1_P2P_DMA_INFO struct {
	DmaAddress uint64 `nvproxy:"same"`
	DmaSize    uint64
}

NV503B_BAR1_P2P_DMA_INFO from src/common/sdk/nvidia/inc/class/cl503b.h.

+marshal

func (*NV503B_BAR1_P2P_DMA_INFO) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV503B_BAR1_P2P_DMA_INFO) CopyInN

func (n *NV503B_BAR1_P2P_DMA_INFO) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV503B_BAR1_P2P_DMA_INFO) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV503B_BAR1_P2P_DMA_INFO) CopyOutN

func (n *NV503B_BAR1_P2P_DMA_INFO) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV503B_BAR1_P2P_DMA_INFO) MarshalBytes

func (n *NV503B_BAR1_P2P_DMA_INFO) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV503B_BAR1_P2P_DMA_INFO) MarshalUnsafe

func (n *NV503B_BAR1_P2P_DMA_INFO) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV503B_BAR1_P2P_DMA_INFO) Packed

func (n *NV503B_BAR1_P2P_DMA_INFO) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV503B_BAR1_P2P_DMA_INFO) SizeBytes

func (n *NV503B_BAR1_P2P_DMA_INFO) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV503B_BAR1_P2P_DMA_INFO) UnmarshalBytes

func (n *NV503B_BAR1_P2P_DMA_INFO) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV503B_BAR1_P2P_DMA_INFO) UnmarshalUnsafe

func (n *NV503B_BAR1_P2P_DMA_INFO) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV503B_BAR1_P2P_DMA_INFO) WriteTo

func (n *NV503B_BAR1_P2P_DMA_INFO) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV503C_ALLOC_PARAMETERS

type NV503C_ALLOC_PARAMETERS struct {
	Flags uint32 `nvproxy:"same"`
}

NV503C_ALLOC_PARAMETERS is the alloc params type for NV50_THIRD_PARTY_P2P, from src/common/sdk/nvidia/inc/class/cl503c.h.

+marshal

func (*NV503C_ALLOC_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV503C_ALLOC_PARAMETERS) CopyInN

func (n *NV503C_ALLOC_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV503C_ALLOC_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV503C_ALLOC_PARAMETERS) CopyOutN

func (n *NV503C_ALLOC_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV503C_ALLOC_PARAMETERS) MarshalBytes

func (n *NV503C_ALLOC_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV503C_ALLOC_PARAMETERS) MarshalUnsafe

func (n *NV503C_ALLOC_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV503C_ALLOC_PARAMETERS) Packed

func (n *NV503C_ALLOC_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV503C_ALLOC_PARAMETERS) SizeBytes

func (n *NV503C_ALLOC_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV503C_ALLOC_PARAMETERS) UnmarshalBytes

func (n *NV503C_ALLOC_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV503C_ALLOC_PARAMETERS) UnmarshalUnsafe

func (n *NV503C_ALLOC_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV503C_ALLOC_PARAMETERS) WriteTo

func (n *NV503C_ALLOC_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV503C_CTRL_REGISTER_VA_SPACE_PARAMS

type NV503C_CTRL_REGISTER_VA_SPACE_PARAMS struct {
	HVASpace     Handle `nvproxy:"same"`
	Pad          [4]byte
	VASpaceToken uint64
}

+marshal

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) MarshalBytes

func (n *NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) MarshalUnsafe

func (n *NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) UnmarshalBytes

func (n *NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) UnmarshalUnsafe

func (n *NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV503C_CTRL_REGISTER_VA_SPACE_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV83DE_ALLOC_PARAMETERS

type NV83DE_ALLOC_PARAMETERS struct {
	HDebuggerClient_Obsolete Handle `nvproxy:"same"`
	HAppClient               Handle
	HClass3DObject           Handle
}

NV83DE_ALLOC_PARAMETERS is the alloc params type for GT200_DEBUGGER, from src/common/sdk/nvidia/inc/class/cl83de.h.

+marshal

func (*NV83DE_ALLOC_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV83DE_ALLOC_PARAMETERS) CopyInN

func (n *NV83DE_ALLOC_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV83DE_ALLOC_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV83DE_ALLOC_PARAMETERS) CopyOutN

func (n *NV83DE_ALLOC_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV83DE_ALLOC_PARAMETERS) MarshalBytes

func (n *NV83DE_ALLOC_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV83DE_ALLOC_PARAMETERS) MarshalUnsafe

func (n *NV83DE_ALLOC_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV83DE_ALLOC_PARAMETERS) Packed

func (n *NV83DE_ALLOC_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV83DE_ALLOC_PARAMETERS) SizeBytes

func (n *NV83DE_ALLOC_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV83DE_ALLOC_PARAMETERS) UnmarshalBytes

func (n *NV83DE_ALLOC_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV83DE_ALLOC_PARAMETERS) UnmarshalUnsafe

func (n *NV83DE_ALLOC_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV83DE_ALLOC_PARAMETERS) WriteTo

func (n *NV83DE_ALLOC_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV9072_ALLOCATION_PARAMETERS

type NV9072_ALLOCATION_PARAMETERS struct {
	LogicalHeadID uint32 `nvproxy:"same"`
	DisplayMask   uint32
	Caps          uint32
}

NV9072_ALLOCATION_PARAMETERS is the alloc param type for GF100_DISP_SW, from src/common/sdk/nvidia/inc/class/cl9072.h.

+marshal

func (*NV9072_ALLOCATION_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV9072_ALLOCATION_PARAMETERS) CopyInN

func (n *NV9072_ALLOCATION_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV9072_ALLOCATION_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV9072_ALLOCATION_PARAMETERS) CopyOutN

func (n *NV9072_ALLOCATION_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV9072_ALLOCATION_PARAMETERS) MarshalBytes

func (n *NV9072_ALLOCATION_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV9072_ALLOCATION_PARAMETERS) MarshalUnsafe

func (n *NV9072_ALLOCATION_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV9072_ALLOCATION_PARAMETERS) Packed

func (n *NV9072_ALLOCATION_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV9072_ALLOCATION_PARAMETERS) SizeBytes

func (n *NV9072_ALLOCATION_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV9072_ALLOCATION_PARAMETERS) UnmarshalBytes

func (n *NV9072_ALLOCATION_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV9072_ALLOCATION_PARAMETERS) UnmarshalUnsafe

func (n *NV9072_ALLOCATION_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV9072_ALLOCATION_PARAMETERS) WriteTo

func (n *NV9072_ALLOCATION_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVB0B5_ALLOCATION_PARAMETERS

type NVB0B5_ALLOCATION_PARAMETERS struct {
	Version    uint32 `nvproxy:"same"`
	EngineType uint32
}

NVB0B5_ALLOCATION_PARAMETERS is the alloc param type for TURING_DMA_COPY_A, AMPERE_DMA_COPY_A, and AMPERE_DMA_COPY_B from src/common/sdk/nvidia/inc/class/clb0b5sw.h.

+marshal

func (*NVB0B5_ALLOCATION_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVB0B5_ALLOCATION_PARAMETERS) CopyInN

func (n *NVB0B5_ALLOCATION_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVB0B5_ALLOCATION_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVB0B5_ALLOCATION_PARAMETERS) CopyOutN

func (n *NVB0B5_ALLOCATION_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVB0B5_ALLOCATION_PARAMETERS) MarshalBytes

func (n *NVB0B5_ALLOCATION_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVB0B5_ALLOCATION_PARAMETERS) MarshalUnsafe

func (n *NVB0B5_ALLOCATION_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVB0B5_ALLOCATION_PARAMETERS) Packed

func (n *NVB0B5_ALLOCATION_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVB0B5_ALLOCATION_PARAMETERS) SizeBytes

func (n *NVB0B5_ALLOCATION_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVB0B5_ALLOCATION_PARAMETERS) UnmarshalBytes

func (n *NVB0B5_ALLOCATION_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVB0B5_ALLOCATION_PARAMETERS) UnmarshalUnsafe

func (n *NVB0B5_ALLOCATION_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVB0B5_ALLOCATION_PARAMETERS) WriteTo

func (n *NVB0B5_ALLOCATION_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS00Parameters

type NVOS00Parameters struct {
	HRoot         Handle `nvproxy:"NVOS00_PARAMETERS"`
	HObjectParent Handle
	HObjectOld    Handle
	Status        uint32
}

NVOS00Parameters is the parameter type for NV_ESC_RM_FREE.

+marshal

func (*NVOS00Parameters) CopyIn

func (p *NVOS00Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS00Parameters) CopyInN

func (p *NVOS00Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS00Parameters) CopyOut

func (p *NVOS00Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS00Parameters) CopyOutN

func (p *NVOS00Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS00Parameters) GetStatus

func (p *NVOS00Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS00Parameters) MarshalBytes

func (p *NVOS00Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS00Parameters) MarshalUnsafe

func (p *NVOS00Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS00Parameters) Packed

func (p *NVOS00Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS00Parameters) SizeBytes

func (p *NVOS00Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS00Parameters) UnmarshalBytes

func (p *NVOS00Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS00Parameters) UnmarshalUnsafe

func (p *NVOS00Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS00Parameters) WriteTo

func (p *NVOS00Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS02Parameters

type NVOS02Parameters struct {
	HRoot         Handle `nvproxy:"NVOS02_PARAMETERS"`
	HObjectParent Handle
	HObjectNew    Handle
	HClass        ClassID
	Flags         uint32
	Pad0          [4]byte
	PMemory       P64 // address of application mapping, without indirection
	Limit         uint64
	Status        uint32
	Pad1          [4]byte
}

+marshal

func (*NVOS02Parameters) CopyIn

func (n *NVOS02Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS02Parameters) CopyInN

func (n *NVOS02Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS02Parameters) CopyOut

func (n *NVOS02Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS02Parameters) CopyOutN

func (n *NVOS02Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS02Parameters) MarshalBytes

func (n *NVOS02Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS02Parameters) MarshalUnsafe

func (n *NVOS02Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS02Parameters) Packed

func (n *NVOS02Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS02Parameters) SizeBytes

func (n *NVOS02Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS02Parameters) UnmarshalBytes

func (n *NVOS02Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS02Parameters) UnmarshalUnsafe

func (n *NVOS02Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS02Parameters) WriteTo

func (n *NVOS02Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS21Parameters

type NVOS21Parameters struct {
	HRoot         Handle `nvproxy:"NVOS21_PARAMETERS"`
	HObjectParent Handle
	HObjectNew    Handle
	HClass        ClassID
	PAllocParms   P64
	ParamsSize    uint32
	Status        uint32
}

NVOS21Parameters is one possible parameter type for NV_ESC_RM_ALLOC.

+marshal

func (*NVOS21Parameters) CopyIn

func (n *NVOS21Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS21Parameters) CopyInN

func (n *NVOS21Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS21Parameters) CopyOut

func (n *NVOS21Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS21Parameters) CopyOutN

func (n *NVOS21Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS21Parameters) FromOS64

func (n *NVOS21Parameters) FromOS64(other NVOS64Parameters)

FromOS64 implements RmAllocParamType.FromOS64.

func (*NVOS21Parameters) GetHClass

func (n *NVOS21Parameters) GetHClass() ClassID

GetHClass implements RmAllocParamType.GetHClass.

func (*NVOS21Parameters) GetPAllocParms

func (n *NVOS21Parameters) GetPAllocParms() P64

GetPAllocParms implements RmAllocParamType.GetPAllocParms.

func (*NVOS21Parameters) GetPRightsRequested

func (n *NVOS21Parameters) GetPRightsRequested() P64

GetPRightsRequested implements RmAllocParamType.GetPRightsRequested.

func (*NVOS21Parameters) GetPointer

func (n *NVOS21Parameters) GetPointer() uintptr

GetPointer implements RmAllocParamType.GetPointer.

func (*NVOS21Parameters) GetStatus

func (n *NVOS21Parameters) GetStatus() uint32

GetStatus implements RmAllocParamType.GetStatus.

func (*NVOS21Parameters) MarshalBytes

func (n *NVOS21Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS21Parameters) MarshalUnsafe

func (n *NVOS21Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS21Parameters) Packed

func (n *NVOS21Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS21Parameters) SetPAllocParms

func (n *NVOS21Parameters) SetPAllocParms(p P64)

SetPAllocParms implements RmAllocParamType.SetPAllocParms.

func (*NVOS21Parameters) SetPRightsRequested

func (n *NVOS21Parameters) SetPRightsRequested(p P64)

SetPRightsRequested implements RmAllocParamType.SetPRightsRequested.

func (*NVOS21Parameters) SizeBytes

func (n *NVOS21Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS21Parameters) ToOS64

func (n *NVOS21Parameters) ToOS64() NVOS64Parameters

ToOS64 implements RmAllocParamType.ToOS64.

func (*NVOS21Parameters) UnmarshalBytes

func (n *NVOS21Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS21Parameters) UnmarshalUnsafe

func (n *NVOS21Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS21Parameters) WriteTo

func (n *NVOS21Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS30Parameters

type NVOS30Parameters struct {
	Client      Handle `nvproxy:"NVOS30_PARAMETERS"`
	Device      Handle
	Channel     Handle
	NumChannels uint32

	Clients  P64
	Devices  P64
	Channels P64

	Flags   uint32
	Timeout uint32
	Status  uint32
	Pad0    [4]byte
}

NVOS30Parameters is NVOS30_PARAMETERS, the parameter type for NV_ESC_RM_IDLE_CHANNELS.

+marshal

func (*NVOS30Parameters) CopyIn

func (n *NVOS30Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS30Parameters) CopyInN

func (n *NVOS30Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS30Parameters) CopyOut

func (n *NVOS30Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS30Parameters) CopyOutN

func (n *NVOS30Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS30Parameters) GetStatus

func (n *NVOS30Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS30Parameters) MarshalBytes

func (n *NVOS30Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS30Parameters) MarshalUnsafe

func (n *NVOS30Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS30Parameters) Packed

func (n *NVOS30Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS30Parameters) SizeBytes

func (n *NVOS30Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS30Parameters) UnmarshalBytes

func (n *NVOS30Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS30Parameters) UnmarshalUnsafe

func (n *NVOS30Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS30Parameters) WriteTo

func (n *NVOS30Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS32AllocSize

type NVOS32AllocSize struct {
	Owner           uint32
	HMemory         Handle
	Type            uint32
	Flags           uint32
	Attr            uint32
	Format          uint32
	ComprCovg       uint32
	ZcullCovg       uint32
	PartitionStride uint32
	Width           uint32
	Height          uint32
	Pad0            [4]byte
	Size            uint64
	Alignment       uint64
	Offset          uint64
	Limit           uint64
	Address         P64
	RangeBegin      uint64
	RangeEnd        uint64
	Attr2           uint32
	CtagOffset      uint32
}

NVOS32AllocSize is the type of NVOS32Parameters.Data for NVOS32_FUNCTION_ALLOC_SIZE.

type NVOS32Parameters

type NVOS32Parameters struct {
	HRoot         Handle `nvproxy:"NVOS32_PARAMETERS"`
	HObjectParent Handle
	Function      uint32
	HVASpace      Handle
	IVCHeapNumber int16
	Pad           [2]byte
	Status        uint32
	Total         uint64
	Free          uint64
	Data          [144]byte // union
}

NVOS32Parameters is the parameter type for NV_ESC_RM_VID_HEAP_CONTROL.

+marshal

func (*NVOS32Parameters) CopyIn

func (n *NVOS32Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS32Parameters) CopyInN

func (n *NVOS32Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS32Parameters) CopyOut

func (n *NVOS32Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS32Parameters) CopyOutN

func (n *NVOS32Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS32Parameters) GetStatus

func (n *NVOS32Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS32Parameters) MarshalBytes

func (n *NVOS32Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS32Parameters) MarshalUnsafe

func (n *NVOS32Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS32Parameters) Packed

func (n *NVOS32Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS32Parameters) SizeBytes

func (n *NVOS32Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS32Parameters) UnmarshalBytes

func (n *NVOS32Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS32Parameters) UnmarshalUnsafe

func (n *NVOS32Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS32Parameters) WriteTo

func (n *NVOS32Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS33Parameters

type NVOS33Parameters struct {
	HClient        Handle `nvproxy:"NVOS33_PARAMETERS"`
	HDevice        Handle
	HMemory        Handle
	Pad0           [4]byte
	Offset         uint64
	Length         uint64
	PLinearAddress P64 // address of application mapping, without indirection
	Status         uint32
	Flags          uint32
}

+marshal

func (*NVOS33Parameters) CopyIn

func (n *NVOS33Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS33Parameters) CopyInN

func (n *NVOS33Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS33Parameters) CopyOut

func (n *NVOS33Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS33Parameters) CopyOutN

func (n *NVOS33Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS33Parameters) MarshalBytes

func (n *NVOS33Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS33Parameters) MarshalUnsafe

func (n *NVOS33Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS33Parameters) Packed

func (n *NVOS33Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS33Parameters) SizeBytes

func (n *NVOS33Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS33Parameters) UnmarshalBytes

func (n *NVOS33Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS33Parameters) UnmarshalUnsafe

func (n *NVOS33Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS33Parameters) WriteTo

func (n *NVOS33Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS34Parameters

type NVOS34Parameters struct {
	HClient        Handle `nvproxy:"NVOS34_PARAMETERS"`
	HDevice        Handle
	HMemory        Handle
	Pad0           [4]byte
	PLinearAddress P64 // address of application mapping, without indirection
	Status         uint32
	Flags          uint32
}

NVOS34Parameters is the parameter type for NV_ESC_RM_UNMAP_MEMORY.

+marshal

func (*NVOS34Parameters) CopyIn

func (n *NVOS34Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS34Parameters) CopyInN

func (n *NVOS34Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS34Parameters) CopyOut

func (n *NVOS34Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS34Parameters) CopyOutN

func (n *NVOS34Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS34Parameters) GetStatus

func (n *NVOS34Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS34Parameters) MarshalBytes

func (n *NVOS34Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS34Parameters) MarshalUnsafe

func (n *NVOS34Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS34Parameters) Packed

func (n *NVOS34Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS34Parameters) SizeBytes

func (n *NVOS34Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS34Parameters) UnmarshalBytes

func (n *NVOS34Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS34Parameters) UnmarshalUnsafe

func (n *NVOS34Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS34Parameters) WriteTo

func (n *NVOS34Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS39Parameters

type NVOS39Parameters struct {
	HObjectParent Handle `nvproxy:"NVOS39_PARAMETERS"`
	HSubDevice    Handle
	HObjectNew    Handle
	HClass        ClassID
	Flags         uint32
	Selector      uint32
	HMemory       Handle
	Pad0          [4]byte
	Offset        uint64
	Limit         uint64
	Status        uint32
	Pad1          [4]byte
}

NVOS39Parameters is NVOS39_PARAMETERS, the parameter type for NV_ESC_RM_ALLOC_CONTEXT_DMA2.

+marshal

func (*NVOS39Parameters) CopyIn

func (n *NVOS39Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS39Parameters) CopyInN

func (n *NVOS39Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS39Parameters) CopyOut

func (n *NVOS39Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS39Parameters) CopyOutN

func (n *NVOS39Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS39Parameters) GetStatus

func (n *NVOS39Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS39Parameters) MarshalBytes

func (n *NVOS39Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS39Parameters) MarshalUnsafe

func (n *NVOS39Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS39Parameters) Packed

func (n *NVOS39Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS39Parameters) SizeBytes

func (n *NVOS39Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS39Parameters) UnmarshalBytes

func (n *NVOS39Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS39Parameters) UnmarshalUnsafe

func (n *NVOS39Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS39Parameters) WriteTo

func (n *NVOS39Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS46Parameters

type NVOS46Parameters struct {
	Client    Handle `nvproxy:"NVOS46_PARAMETERS"`
	Device    Handle
	Dma       Handle
	Memory    Handle
	Offset    uint64
	Length    uint64
	Flags     uint32
	Pad0      [4]byte
	DmaOffset uint64
	Status    uint32
	Pad1      [4]byte
}

NVOS46Parameters is NVOS46_PARAMETERS, the parameter type for NV_ESC_RM_MAP_MEMORY_DMA.

+marshal

func (*NVOS46Parameters) CopyIn

func (n *NVOS46Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS46Parameters) CopyInN

func (n *NVOS46Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS46Parameters) CopyOut

func (n *NVOS46Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS46Parameters) CopyOutN

func (n *NVOS46Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS46Parameters) GetStatus

func (n *NVOS46Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS46Parameters) MarshalBytes

func (n *NVOS46Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS46Parameters) MarshalUnsafe

func (n *NVOS46Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS46Parameters) Packed

func (n *NVOS46Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS46Parameters) SizeBytes

func (n *NVOS46Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS46Parameters) UnmarshalBytes

func (n *NVOS46Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS46Parameters) UnmarshalUnsafe

func (n *NVOS46Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS46Parameters) WriteTo

func (n *NVOS46Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS47Parameters

type NVOS47Parameters struct {
	Client    Handle `nvproxy:"NVOS47_PARAMETERS"`
	Device    Handle
	Dma       Handle
	Memory    Handle
	Flags     uint32
	Pad0      [4]byte
	DmaOffset uint64
	Status    uint32
	Pad1      [4]byte
}

NVOS47Parameters is NVOS47_PARAMETERS, the parameter type for NV_ESC_RM_UNMAP_MEMORY_DMA.

+marshal

func (*NVOS47Parameters) CopyIn

func (n *NVOS47Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS47Parameters) CopyInN

func (n *NVOS47Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS47Parameters) CopyOut

func (n *NVOS47Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS47Parameters) CopyOutN

func (n *NVOS47Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS47Parameters) GetStatus

func (n *NVOS47Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS47Parameters) MarshalBytes

func (n *NVOS47Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS47Parameters) MarshalUnsafe

func (n *NVOS47Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS47Parameters) Packed

func (n *NVOS47Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS47Parameters) SizeBytes

func (n *NVOS47Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS47Parameters) UnmarshalBytes

func (n *NVOS47Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS47Parameters) UnmarshalUnsafe

func (n *NVOS47Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS47Parameters) WriteTo

func (n *NVOS47Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS47ParametersV550

type NVOS47ParametersV550 struct {
	Client    Handle `nvproxy:"NVOS47_PARAMETERS"`
	Device    Handle
	Dma       Handle
	Memory    Handle
	Flags     uint32
	Pad0      [4]byte
	DmaOffset uint64
	Size      uint64
	Status    uint32
	Pad1      [4]byte
}

NVOS47ParametersV550 is the updated version of NVOS47Parameters since 550.54.04.

+marshal

func (*NVOS47ParametersV550) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS47ParametersV550) CopyInN

func (n *NVOS47ParametersV550) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS47ParametersV550) CopyOut

func (n *NVOS47ParametersV550) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS47ParametersV550) CopyOutN

func (n *NVOS47ParametersV550) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS47ParametersV550) GetStatus

func (n *NVOS47ParametersV550) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS47ParametersV550) MarshalBytes

func (n *NVOS47ParametersV550) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS47ParametersV550) MarshalUnsafe

func (n *NVOS47ParametersV550) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS47ParametersV550) Packed

func (n *NVOS47ParametersV550) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS47ParametersV550) SizeBytes

func (n *NVOS47ParametersV550) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS47ParametersV550) UnmarshalBytes

func (n *NVOS47ParametersV550) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS47ParametersV550) UnmarshalUnsafe

func (n *NVOS47ParametersV550) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS47ParametersV550) WriteTo

func (n *NVOS47ParametersV550) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS54Parameters

type NVOS54Parameters struct {
	HClient    Handle `nvproxy:"NVOS54_PARAMETERS"`
	HObject    Handle
	Cmd        uint32
	Flags      uint32
	Params     P64
	ParamsSize uint32
	Status     uint32
}

NVOS54Parameters is the parameter type for NV_ESC_RM_CONTROL.

+marshal

func (*NVOS54Parameters) CopyIn

func (n *NVOS54Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS54Parameters) CopyInN

func (n *NVOS54Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS54Parameters) CopyOut

func (n *NVOS54Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS54Parameters) CopyOutN

func (n *NVOS54Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS54Parameters) GetStatus

func (n *NVOS54Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS54Parameters) MarshalBytes

func (n *NVOS54Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS54Parameters) MarshalUnsafe

func (n *NVOS54Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS54Parameters) Packed

func (n *NVOS54Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS54Parameters) SizeBytes

func (n *NVOS54Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS54Parameters) UnmarshalBytes

func (n *NVOS54Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS54Parameters) UnmarshalUnsafe

func (n *NVOS54Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS54Parameters) WriteTo

func (n *NVOS54Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS55Parameters

type NVOS55Parameters struct {
	HClient    Handle `nvproxy:"NVOS55_PARAMETERS"`
	HParent    Handle
	HObject    Handle
	HClientSrc Handle
	HObjectSrc Handle
	Flags      uint32
	Status     uint32
}

NVOS55Parameters is the parameter type for NV_ESC_RM_DUP_OBJECT.

+marshal

func (*NVOS55Parameters) CopyIn

func (n *NVOS55Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS55Parameters) CopyInN

func (n *NVOS55Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS55Parameters) CopyOut

func (n *NVOS55Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS55Parameters) CopyOutN

func (n *NVOS55Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS55Parameters) GetStatus

func (n *NVOS55Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS55Parameters) MarshalBytes

func (n *NVOS55Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS55Parameters) MarshalUnsafe

func (n *NVOS55Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS55Parameters) Packed

func (n *NVOS55Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS55Parameters) SizeBytes

func (n *NVOS55Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS55Parameters) UnmarshalBytes

func (n *NVOS55Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS55Parameters) UnmarshalUnsafe

func (n *NVOS55Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS55Parameters) WriteTo

func (n *NVOS55Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS56Parameters

type NVOS56Parameters struct {
	HClient        Handle `nvproxy:"NVOS56_PARAMETERS"`
	HDevice        Handle
	HMemory        Handle
	Pad0           [4]byte
	POldCPUAddress P64
	PNewCPUAddress P64
	Status         uint32
	Pad1           [4]byte
}

NVOS56Parameters is the parameter type for NV_ESC_RM_UPDATE_DEVICE_MAPPING_INFO.

+marshal

func (*NVOS56Parameters) CopyIn

func (n *NVOS56Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS56Parameters) CopyInN

func (n *NVOS56Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS56Parameters) CopyOut

func (n *NVOS56Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS56Parameters) CopyOutN

func (n *NVOS56Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS56Parameters) GetStatus

func (n *NVOS56Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS56Parameters) MarshalBytes

func (n *NVOS56Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS56Parameters) MarshalUnsafe

func (n *NVOS56Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS56Parameters) Packed

func (n *NVOS56Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS56Parameters) SizeBytes

func (n *NVOS56Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS56Parameters) UnmarshalBytes

func (n *NVOS56Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS56Parameters) UnmarshalUnsafe

func (n *NVOS56Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS56Parameters) WriteTo

func (n *NVOS56Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS57Parameters

type NVOS57Parameters struct {
	HClient     Handle `nvproxy:"NVOS57_PARAMETERS"`
	HObject     Handle
	SharePolicy RS_SHARE_POLICY
	Status      uint32
}

NVOS57Parameters is the parameter type for NV_ESC_RM_SHARE.

+marshal

func (*NVOS57Parameters) CopyIn

func (n *NVOS57Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS57Parameters) CopyInN

func (n *NVOS57Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS57Parameters) CopyOut

func (n *NVOS57Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS57Parameters) CopyOutN

func (n *NVOS57Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS57Parameters) GetStatus

func (n *NVOS57Parameters) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*NVOS57Parameters) MarshalBytes

func (n *NVOS57Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS57Parameters) MarshalUnsafe

func (n *NVOS57Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS57Parameters) Packed

func (n *NVOS57Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS57Parameters) SizeBytes

func (n *NVOS57Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS57Parameters) UnmarshalBytes

func (n *NVOS57Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS57Parameters) UnmarshalUnsafe

func (n *NVOS57Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS57Parameters) WriteTo

func (n *NVOS57Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVOS64Parameters

type NVOS64Parameters struct {
	HRoot            Handle `nvproxy:"NVOS64_PARAMETERS"`
	HObjectParent    Handle
	HObjectNew       Handle
	HClass           ClassID
	PAllocParms      P64
	PRightsRequested P64
	ParamsSize       uint32
	Flags            uint32
	Status           uint32
	// contains filtered or unexported fields
}

NVOS64Parameters is one possible parameter type for NV_ESC_RM_ALLOC.

+marshal +stateify savable

func (*NVOS64Parameters) CopyIn

func (n *NVOS64Parameters) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS64Parameters) CopyInN

func (n *NVOS64Parameters) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS64Parameters) CopyOut

func (n *NVOS64Parameters) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS64Parameters) CopyOutN

func (n *NVOS64Parameters) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS64Parameters) FromOS64

func (n *NVOS64Parameters) FromOS64(other NVOS64Parameters)

FromOS64 implements RmAllocParamType.FromOS64.

func (*NVOS64Parameters) GetHClass

func (n *NVOS64Parameters) GetHClass() ClassID

GetHClass implements RmAllocParamType.GetHClass.

func (*NVOS64Parameters) GetPAllocParms

func (n *NVOS64Parameters) GetPAllocParms() P64

GetPAllocParms implements RmAllocParamType.GetPAllocParms.

func (*NVOS64Parameters) GetPRightsRequested

func (n *NVOS64Parameters) GetPRightsRequested() P64

GetPRightsRequested implements RmAllocParamType.GetPRightsRequested.

func (*NVOS64Parameters) GetPointer

func (n *NVOS64Parameters) GetPointer() uintptr

GetPointer implements RmAllocParamType.GetPointer.

func (*NVOS64Parameters) GetStatus

func (n *NVOS64Parameters) GetStatus() uint32

GetStatus implements RmAllocParamType.GetStatus.

func (*NVOS64Parameters) MarshalBytes

func (n *NVOS64Parameters) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS64Parameters) MarshalUnsafe

func (n *NVOS64Parameters) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS64Parameters) Packed

func (n *NVOS64Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS64Parameters) SetPAllocParms

func (n *NVOS64Parameters) SetPAllocParms(p P64)

SetPAllocParms implements RmAllocParamType.SetPAllocParms.

func (*NVOS64Parameters) SetPRightsRequested

func (n *NVOS64Parameters) SetPRightsRequested(p P64)

SetPRightsRequested implements RmAllocParamType.SetPRightsRequested.

func (*NVOS64Parameters) SizeBytes

func (n *NVOS64Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS64Parameters) StateFields

func (n *NVOS64Parameters) StateFields() []string

func (*NVOS64Parameters) StateLoad

func (n *NVOS64Parameters) StateLoad(ctx context.Context, stateSourceObject state.Source)

+checklocksignore

func (*NVOS64Parameters) StateSave

func (n *NVOS64Parameters) StateSave(stateSinkObject state.Sink)

+checklocksignore

func (*NVOS64Parameters) StateTypeName

func (n *NVOS64Parameters) StateTypeName() string

func (*NVOS64Parameters) ToOS64

func (n *NVOS64Parameters) ToOS64() NVOS64Parameters

ToOS64 implements RmAllocParamType.ToOS64.

func (*NVOS64Parameters) UnmarshalBytes

func (n *NVOS64Parameters) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS64Parameters) UnmarshalUnsafe

func (n *NVOS64Parameters) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS64Parameters) WriteTo

func (n *NVOS64Parameters) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NVXXXX_CTRL_XXX_INFO

type NVXXXX_CTRL_XXX_INFO struct {
	Index uint32
	Data  uint32
}

NVXXXX_CTRL_XXX_INFO is typedef-ed as the following in the driver: - NV0080_CTRL_GR_INFO - NV2080_CTRL_FB_INFO - NV2080_CTRL_GR_INFO - NV2080_CTRL_BIOS_INFO - NV0041_CTRL_SURFACE_INFO

+marshal

func (*NVXXXX_CTRL_XXX_INFO) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVXXXX_CTRL_XXX_INFO) CopyInN

func (n *NVXXXX_CTRL_XXX_INFO) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVXXXX_CTRL_XXX_INFO) CopyOut

func (n *NVXXXX_CTRL_XXX_INFO) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVXXXX_CTRL_XXX_INFO) CopyOutN

func (n *NVXXXX_CTRL_XXX_INFO) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVXXXX_CTRL_XXX_INFO) MarshalBytes

func (n *NVXXXX_CTRL_XXX_INFO) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVXXXX_CTRL_XXX_INFO) MarshalUnsafe

func (n *NVXXXX_CTRL_XXX_INFO) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVXXXX_CTRL_XXX_INFO) Packed

func (n *NVXXXX_CTRL_XXX_INFO) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVXXXX_CTRL_XXX_INFO) SizeBytes

func (n *NVXXXX_CTRL_XXX_INFO) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVXXXX_CTRL_XXX_INFO) UnmarshalBytes

func (n *NVXXXX_CTRL_XXX_INFO) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVXXXX_CTRL_XXX_INFO) UnmarshalUnsafe

func (n *NVXXXX_CTRL_XXX_INFO) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVXXXX_CTRL_XXX_INFO) WriteTo

func (n *NVXXXX_CTRL_XXX_INFO) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_CHANNEL_ALLOC_PARAMS

type NV_CHANNEL_ALLOC_PARAMS struct {
	HObjectError        Handle `nvproxy:"same"`
	HObjectBuffer       Handle
	GPFIFOOffset        uint64
	GPFIFOEntries       uint32
	Flags               uint32
	HContextShare       Handle
	HVASpace            Handle
	HUserdMemory        [NV_MAX_SUBDEVICES]Handle
	UserdOffset         [NV_MAX_SUBDEVICES]uint64
	EngineType          uint32
	CID                 uint32
	SubDeviceID         uint32
	HObjectECCError     Handle
	InstanceMem         NV_MEMORY_DESC_PARAMS
	UserdMem            NV_MEMORY_DESC_PARAMS
	RamfcMem            NV_MEMORY_DESC_PARAMS
	MthdbufMem          NV_MEMORY_DESC_PARAMS
	HPhysChannelGroup   Handle
	InternalFlags       uint32
	ErrorNotifierMem    NV_MEMORY_DESC_PARAMS
	ECCErrorNotifierMem NV_MEMORY_DESC_PARAMS
	ProcessID           uint32
	SubProcessID        uint32
	EncryptIv           [CC_CHAN_ALLOC_IV_SIZE_DWORD]uint32
	DecryptIv           [CC_CHAN_ALLOC_IV_SIZE_DWORD]uint32
	HmacNonce           [CC_CHAN_ALLOC_NONCE_SIZE_DWORD]uint32
}

NV_CHANNEL_ALLOC_PARAMS is the alloc params type for TURING_CHANNEL_GPFIFO_A and AMPERE_CHANNEL_GPFIFO_A, from src/common/sdk/nvidia/inc/alloc/alloc_channel.h.

+marshal

func (*NV_CHANNEL_ALLOC_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_CHANNEL_ALLOC_PARAMS) CopyInN

func (n *NV_CHANNEL_ALLOC_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_CHANNEL_ALLOC_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_CHANNEL_ALLOC_PARAMS) CopyOutN

func (n *NV_CHANNEL_ALLOC_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_CHANNEL_ALLOC_PARAMS) MarshalBytes

func (n *NV_CHANNEL_ALLOC_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_CHANNEL_ALLOC_PARAMS) MarshalUnsafe

func (n *NV_CHANNEL_ALLOC_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_CHANNEL_ALLOC_PARAMS) Packed

func (n *NV_CHANNEL_ALLOC_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV_CHANNEL_ALLOC_PARAMS) SizeBytes

func (n *NV_CHANNEL_ALLOC_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_CHANNEL_ALLOC_PARAMS) UnmarshalBytes

func (n *NV_CHANNEL_ALLOC_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_CHANNEL_ALLOC_PARAMS) UnmarshalUnsafe

func (n *NV_CHANNEL_ALLOC_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_CHANNEL_ALLOC_PARAMS) WriteTo

func (n *NV_CHANNEL_ALLOC_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS

type NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS struct {
	HObjectError                Handle `nvproxy:"same"`
	HObjectECCError             Handle
	HVASpace                    Handle
	EngineType                  uint32
	BIsCallingContextVgpuPlugin uint8
	Pad0                        [3]byte
}

NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS is the alloc params type for KEPLER_CHANNEL_GROUP_A, from src/common/sdk/nvidia/inc/nvos.h.

+marshal

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) MarshalBytes

func (n *NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) MarshalUnsafe

func (n *NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) UnmarshalBytes

func (n *NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) UnmarshalUnsafe

func (n *NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_CHANNEL_GROUP_ALLOCATION_PARAMETERS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS

type NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS struct {
	Handle Handle `nvproxy:"same"`
}

NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS is the alloc param type for NV_CONFIDENTIAL_COMPUTE, from src/common/sdk/nvidia/inc/class/clcb33.h.

+marshal

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) MarshalBytes

func (n *NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) MarshalUnsafe

func (n *NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) UnmarshalBytes

func (n *NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) UnmarshalUnsafe

func (n *NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_CONFIDENTIAL_COMPUTE_ALLOC_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV_CTXSHARE_ALLOCATION_PARAMETERS

type NV_CTXSHARE_ALLOCATION_PARAMETERS struct {
	HVASpace Handle `nvproxy:"same"`
	Flags    uint32
	SubctxID uint32
}

NV_CTXSHARE_ALLOCATION_PARAMETERS is the alloc params type for FERMI_CONTEXT_SHARE_A, from src/common/sdk/nvidia/inc/nvos.h.

+marshal

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) MarshalBytes

func (n *NV_CTXSHARE_ALLOCATION_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) MarshalUnsafe

func (n *NV_CTXSHARE_ALLOCATION_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) SizeBytes

func (n *NV_CTXSHARE_ALLOCATION_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) UnmarshalBytes

func (n *NV_CTXSHARE_ALLOCATION_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) UnmarshalUnsafe

func (n *NV_CTXSHARE_ALLOCATION_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_CTXSHARE_ALLOCATION_PARAMETERS) WriteTo

func (n *NV_CTXSHARE_ALLOCATION_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_EXPORT_MEM_PACKET

type NV_EXPORT_MEM_PACKET struct {
	UUID   [NV_MEM_EXPORT_UUID_LEN]uint8
	Opaque [16]uint8
}

NV_EXPORT_MEM_PACKET is from src/common/sdk/nvidia/inc/class/cl00e0.h

+marshal

func (*NV_EXPORT_MEM_PACKET) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_EXPORT_MEM_PACKET) CopyInN

func (n *NV_EXPORT_MEM_PACKET) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_EXPORT_MEM_PACKET) CopyOut

func (n *NV_EXPORT_MEM_PACKET) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_EXPORT_MEM_PACKET) CopyOutN

func (n *NV_EXPORT_MEM_PACKET) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_EXPORT_MEM_PACKET) MarshalBytes

func (n *NV_EXPORT_MEM_PACKET) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_EXPORT_MEM_PACKET) MarshalUnsafe

func (n *NV_EXPORT_MEM_PACKET) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_EXPORT_MEM_PACKET) Packed

func (n *NV_EXPORT_MEM_PACKET) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV_EXPORT_MEM_PACKET) SizeBytes

func (n *NV_EXPORT_MEM_PACKET) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_EXPORT_MEM_PACKET) UnmarshalBytes

func (n *NV_EXPORT_MEM_PACKET) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_EXPORT_MEM_PACKET) UnmarshalUnsafe

func (n *NV_EXPORT_MEM_PACKET) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_EXPORT_MEM_PACKET) WriteTo

func (n *NV_EXPORT_MEM_PACKET) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_GR_ALLOCATION_PARAMETERS

type NV_GR_ALLOCATION_PARAMETERS struct {
	Version uint32 `nvproxy:"same"`
	Flags   uint32
	Size    uint32
	Caps    uint32
}

NV_GR_ALLOCATION_PARAMETERS is the alloc param type for TURING_COMPUTE_A, AMPERE_COMPUTE_A, and ADA_COMPUTE_A, from src/common/sdk/nvidia/inc/nvos.h.

+marshal

func (*NV_GR_ALLOCATION_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_GR_ALLOCATION_PARAMETERS) CopyInN

func (n *NV_GR_ALLOCATION_PARAMETERS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_GR_ALLOCATION_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_GR_ALLOCATION_PARAMETERS) CopyOutN

func (n *NV_GR_ALLOCATION_PARAMETERS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_GR_ALLOCATION_PARAMETERS) MarshalBytes

func (n *NV_GR_ALLOCATION_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_GR_ALLOCATION_PARAMETERS) MarshalUnsafe

func (n *NV_GR_ALLOCATION_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_GR_ALLOCATION_PARAMETERS) Packed

func (n *NV_GR_ALLOCATION_PARAMETERS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV_GR_ALLOCATION_PARAMETERS) SizeBytes

func (n *NV_GR_ALLOCATION_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_GR_ALLOCATION_PARAMETERS) UnmarshalBytes

func (n *NV_GR_ALLOCATION_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_GR_ALLOCATION_PARAMETERS) UnmarshalUnsafe

func (n *NV_GR_ALLOCATION_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_GR_ALLOCATION_PARAMETERS) WriteTo

func (n *NV_GR_ALLOCATION_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_HOPPER_USERMODE_A_PARAMS

type NV_HOPPER_USERMODE_A_PARAMS struct {
	Bar1Mapping uint8 `nvproxy:"same"`
	Priv        uint8
}

NV_HOPPER_USERMODE_A_PARAMS is the alloc param type for HOPPER_USERMODE_A, from src/common/sdk/nvidia/inc/nvos.h.

+marshal

func (*NV_HOPPER_USERMODE_A_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_HOPPER_USERMODE_A_PARAMS) CopyInN

func (n *NV_HOPPER_USERMODE_A_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_HOPPER_USERMODE_A_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_HOPPER_USERMODE_A_PARAMS) CopyOutN

func (n *NV_HOPPER_USERMODE_A_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_HOPPER_USERMODE_A_PARAMS) MarshalBytes

func (n *NV_HOPPER_USERMODE_A_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_HOPPER_USERMODE_A_PARAMS) MarshalUnsafe

func (n *NV_HOPPER_USERMODE_A_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_HOPPER_USERMODE_A_PARAMS) Packed

func (n *NV_HOPPER_USERMODE_A_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV_HOPPER_USERMODE_A_PARAMS) SizeBytes

func (n *NV_HOPPER_USERMODE_A_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_HOPPER_USERMODE_A_PARAMS) UnmarshalBytes

func (n *NV_HOPPER_USERMODE_A_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_HOPPER_USERMODE_A_PARAMS) UnmarshalUnsafe

func (n *NV_HOPPER_USERMODE_A_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_HOPPER_USERMODE_A_PARAMS) WriteTo

func (n *NV_HOPPER_USERMODE_A_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_MEMORY_ALLOCATION_PARAMS

type NV_MEMORY_ALLOCATION_PARAMS struct {
	Owner     uint32 `nvproxy:"same"`
	Type      uint32
	Flags     uint32
	Width     uint32
	Height    uint32
	Pitch     int32
	Attr      uint32
	Attr2     uint32
	Format    uint32
	ComprCovg uint32
	ZcullCovg uint32

	RangeLo       uint64
	RangeHi       uint64
	Size          uint64
	Alignment     uint64
	Offset        uint64
	Limit         uint64
	Address       P64
	CtagOffset    uint32
	HVASpace      Handle
	InternalFlags uint32
	Tag           uint32
	// contains filtered or unexported fields
}

NV_MEMORY_ALLOCATION_PARAMS is the alloc params type for various NV*_MEMORY* allocation classes, from src/common/sdk/nvidia/inc/nvos.h.

+marshal

func (*NV_MEMORY_ALLOCATION_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_MEMORY_ALLOCATION_PARAMS) CopyInN

func (n *NV_MEMORY_ALLOCATION_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_MEMORY_ALLOCATION_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_MEMORY_ALLOCATION_PARAMS) CopyOutN

func (n *NV_MEMORY_ALLOCATION_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_MEMORY_ALLOCATION_PARAMS) MarshalBytes

func (n *NV_MEMORY_ALLOCATION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_MEMORY_ALLOCATION_PARAMS) MarshalUnsafe

func (n *NV_MEMORY_ALLOCATION_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_MEMORY_ALLOCATION_PARAMS) Packed

func (n *NV_MEMORY_ALLOCATION_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV_MEMORY_ALLOCATION_PARAMS) SizeBytes

func (n *NV_MEMORY_ALLOCATION_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_MEMORY_ALLOCATION_PARAMS) UnmarshalBytes

func (n *NV_MEMORY_ALLOCATION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_MEMORY_ALLOCATION_PARAMS) UnmarshalUnsafe

func (n *NV_MEMORY_ALLOCATION_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_MEMORY_ALLOCATION_PARAMS) WriteTo

func (n *NV_MEMORY_ALLOCATION_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_MEMORY_ALLOCATION_PARAMS_V545

type NV_MEMORY_ALLOCATION_PARAMS_V545 struct {
	NV_MEMORY_ALLOCATION_PARAMS `nvproxy:"NV_MEMORY_ALLOCATION_PARAMS"`
	NumaNode                    int32
	// contains filtered or unexported fields
}

NV_MEMORY_ALLOCATION_PARAMS_V545 is the updated version of NV_MEMORY_ALLOCATION_PARAMS since 545.23.06.

+marshal

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) MarshalBytes

func (n *NV_MEMORY_ALLOCATION_PARAMS_V545) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) MarshalUnsafe

func (n *NV_MEMORY_ALLOCATION_PARAMS_V545) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) SizeBytes

func (n *NV_MEMORY_ALLOCATION_PARAMS_V545) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) UnmarshalBytes

func (n *NV_MEMORY_ALLOCATION_PARAMS_V545) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) UnmarshalUnsafe

func (n *NV_MEMORY_ALLOCATION_PARAMS_V545) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_MEMORY_ALLOCATION_PARAMS_V545) WriteTo

func (n *NV_MEMORY_ALLOCATION_PARAMS_V545) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_MEMORY_DESC_PARAMS

type NV_MEMORY_DESC_PARAMS struct {
	Base         uint64 `nvproxy:"same"`
	Size         uint64
	AddressSpace uint32
	CacheAttrib  uint32
}

NV_MEMORY_DESC_PARAMS is from src/common/sdk/nvidia/inc/alloc/alloc_channel.h.

+marshal

func (*NV_MEMORY_DESC_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_MEMORY_DESC_PARAMS) CopyInN

func (n *NV_MEMORY_DESC_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_MEMORY_DESC_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_MEMORY_DESC_PARAMS) CopyOutN

func (n *NV_MEMORY_DESC_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_MEMORY_DESC_PARAMS) MarshalBytes

func (n *NV_MEMORY_DESC_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_MEMORY_DESC_PARAMS) MarshalUnsafe

func (n *NV_MEMORY_DESC_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_MEMORY_DESC_PARAMS) Packed

func (n *NV_MEMORY_DESC_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NV_MEMORY_DESC_PARAMS) SizeBytes

func (n *NV_MEMORY_DESC_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_MEMORY_DESC_PARAMS) UnmarshalBytes

func (n *NV_MEMORY_DESC_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_MEMORY_DESC_PARAMS) UnmarshalUnsafe

func (n *NV_MEMORY_DESC_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_MEMORY_DESC_PARAMS) WriteTo

func (n *NV_MEMORY_DESC_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS

type NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS struct {
	Offset   uint64 `nvproxy:"same"`
	Limit    uint64
	HVASpace Handle
	Pad0     [4]byte
}

NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS is the alloc params type for NV01_MEMORY_VIRTUAL, from src/common/sdk/nvidia/inc/class/cl0070.h.

+marshal

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) MarshalBytes

func (n *NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) MarshalUnsafe

func (n *NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) UnmarshalBytes

func (n *NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) UnmarshalUnsafe

func (n *NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_MEMORY_VIRTUAL_ALLOCATION_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type NV_VASPACE_ALLOCATION_PARAMETERS

type NV_VASPACE_ALLOCATION_PARAMETERS struct {
	Index           uint32 `nvproxy:"same"`
	Flags           uint32
	VASize          uint64
	VAStartInternal uint64
	VALimitInternal uint64
	BigPageSize     uint32
	Pad0            [4]byte
	VABase          uint64
}

NV_VASPACE_ALLOCATION_PARAMETERS is the alloc params type for FERMI_VASPACE_A, from src/common/sdk/nvidia/inc/nvos.h.

+marshal

func (*NV_VASPACE_ALLOCATION_PARAMETERS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) MarshalBytes

func (n *NV_VASPACE_ALLOCATION_PARAMETERS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) MarshalUnsafe

func (n *NV_VASPACE_ALLOCATION_PARAMETERS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) Packed

Packed implements marshal.Marshallable.Packed.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) SizeBytes

func (n *NV_VASPACE_ALLOCATION_PARAMETERS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) UnmarshalBytes

func (n *NV_VASPACE_ALLOCATION_PARAMETERS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) UnmarshalUnsafe

func (n *NV_VASPACE_ALLOCATION_PARAMETERS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV_VASPACE_ALLOCATION_PARAMETERS) WriteTo

func (n *NV_VASPACE_ALLOCATION_PARAMETERS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NvUUID

type NvUUID [16]uint8

NvUUID is defined in src/common/inc/nvCpuUuid.h.

+marshal

func (*NvUUID) CopyIn

func (n *NvUUID) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*NvUUID) CopyInN

func (n *NvUUID) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NvUUID) CopyOut

func (n *NvUUID) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*NvUUID) CopyOutN

func (n *NvUUID) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NvUUID) MarshalBytes

func (n *NvUUID) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NvUUID) MarshalUnsafe

func (n *NvUUID) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NvUUID) Packed

func (n *NvUUID) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NvUUID) SizeBytes

func (n *NvUUID) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NvUUID) UnmarshalBytes

func (n *NvUUID) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NvUUID) UnmarshalUnsafe

func (n *NvUUID) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NvUUID) WriteTo

func (n *NvUUID) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type NvxxxCtrlXxxGetInfoParams

type NvxxxCtrlXxxGetInfoParams struct {
	InfoListSize uint32
	Pad          [4]byte
	InfoList     P64
}

NvxxxCtrlXxxGetInfoParams is used to represent the following: - NV0080_CTRL_GR_GET_INFO_PARAMS - NV2080_CTRL_FB_GET_INFO_PARAMS - NV0041_CTRL_GET_SURFACE_INFO_PARAMS - NV2080_CTRL_BIOS_GET_INFO_PARAMS

+marshal

func (*NvxxxCtrlXxxGetInfoParams) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NvxxxCtrlXxxGetInfoParams) CopyInN

func (p *NvxxxCtrlXxxGetInfoParams) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*NvxxxCtrlXxxGetInfoParams) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*NvxxxCtrlXxxGetInfoParams) CopyOutN

func (p *NvxxxCtrlXxxGetInfoParams) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NvxxxCtrlXxxGetInfoParams) CtrlInfoList

func (p *NvxxxCtrlXxxGetInfoParams) CtrlInfoList() P64

CtrlInfoList implements HasCtrlInfoList.CtrlInfoList.

func (*NvxxxCtrlXxxGetInfoParams) ListSize

func (p *NvxxxCtrlXxxGetInfoParams) ListSize() uint32

ListSize implements HasCtrlInfoList.ListSize.

func (*NvxxxCtrlXxxGetInfoParams) MarshalBytes

func (p *NvxxxCtrlXxxGetInfoParams) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NvxxxCtrlXxxGetInfoParams) MarshalUnsafe

func (p *NvxxxCtrlXxxGetInfoParams) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NvxxxCtrlXxxGetInfoParams) Packed

func (p *NvxxxCtrlXxxGetInfoParams) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NvxxxCtrlXxxGetInfoParams) SetCtrlInfoList

func (p *NvxxxCtrlXxxGetInfoParams) SetCtrlInfoList(ptr P64)

SetCtrlInfoList implements HasCtrlInfoList.SetCtrlInfoList.

func (*NvxxxCtrlXxxGetInfoParams) SizeBytes

func (p *NvxxxCtrlXxxGetInfoParams) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NvxxxCtrlXxxGetInfoParams) UnmarshalBytes

func (p *NvxxxCtrlXxxGetInfoParams) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NvxxxCtrlXxxGetInfoParams) UnmarshalUnsafe

func (p *NvxxxCtrlXxxGetInfoParams) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NvxxxCtrlXxxGetInfoParams) WriteTo

func (p *NvxxxCtrlXxxGetInfoParams) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type P64

type P64 uint64

P64 is NvP64, from src/common/sdk/nvidia/inc/nvtypes.h.

+marshal

func (*P64) CopyIn

func (p *P64) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*P64) CopyInN

func (p *P64) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*P64) CopyOut

func (p *P64) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*P64) CopyOutN

func (p *P64) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*P64) MarshalBytes

func (p *P64) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*P64) MarshalUnsafe

func (p *P64) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*P64) Packed

func (p *P64) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*P64) SizeBytes

func (p *P64) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*P64) UnmarshalBytes

func (p *P64) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*P64) UnmarshalUnsafe

func (p *P64) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*P64) WriteTo

func (p *P64) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type RMAPIVersion

type RMAPIVersion struct {
	Cmd           uint32 `nvproxy:"nv_ioctl_rm_api_version_t"`
	Reply         uint32
	VersionString [64]byte
}

RMAPIVersion is the parameter type for NV_ESC_CHECK_VERSION_STR.

+marshal

func (*RMAPIVersion) CopyIn

func (p *RMAPIVersion) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*RMAPIVersion) CopyInN

func (p *RMAPIVersion) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*RMAPIVersion) CopyOut

func (p *RMAPIVersion) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*RMAPIVersion) CopyOutN

func (p *RMAPIVersion) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*RMAPIVersion) GetStatus

func (p *RMAPIVersion) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*RMAPIVersion) MarshalBytes

func (p *RMAPIVersion) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*RMAPIVersion) MarshalUnsafe

func (p *RMAPIVersion) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*RMAPIVersion) Packed

func (p *RMAPIVersion) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*RMAPIVersion) SizeBytes

func (p *RMAPIVersion) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*RMAPIVersion) UnmarshalBytes

func (p *RMAPIVersion) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*RMAPIVersion) UnmarshalUnsafe

func (p *RMAPIVersion) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*RMAPIVersion) WriteTo

func (p *RMAPIVersion) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type RS_ACCESS_MASK

type RS_ACCESS_MASK struct {
	Limbs [SDK_RS_ACCESS_MAX_LIMBS]uint32 // RsAccessLimb
}

RS_ACCESS_MASK is RS_ACCESS_MASK, from src/common/sdk/nvidia/inc/rs_access.h.

+marshal +stateify savable

func (*RS_ACCESS_MASK) CopyIn

func (r *RS_ACCESS_MASK) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*RS_ACCESS_MASK) CopyInN

func (r *RS_ACCESS_MASK) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*RS_ACCESS_MASK) CopyOut

func (r *RS_ACCESS_MASK) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*RS_ACCESS_MASK) CopyOutN

func (r *RS_ACCESS_MASK) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*RS_ACCESS_MASK) MarshalBytes

func (r *RS_ACCESS_MASK) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*RS_ACCESS_MASK) MarshalUnsafe

func (r *RS_ACCESS_MASK) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*RS_ACCESS_MASK) Packed

func (r *RS_ACCESS_MASK) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*RS_ACCESS_MASK) SizeBytes

func (r *RS_ACCESS_MASK) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*RS_ACCESS_MASK) StateFields

func (r *RS_ACCESS_MASK) StateFields() []string

func (*RS_ACCESS_MASK) StateLoad

func (r *RS_ACCESS_MASK) StateLoad(ctx context.Context, stateSourceObject state.Source)

+checklocksignore

func (*RS_ACCESS_MASK) StateSave

func (r *RS_ACCESS_MASK) StateSave(stateSinkObject state.Sink)

+checklocksignore

func (*RS_ACCESS_MASK) StateTypeName

func (r *RS_ACCESS_MASK) StateTypeName() string

func (*RS_ACCESS_MASK) UnmarshalBytes

func (r *RS_ACCESS_MASK) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*RS_ACCESS_MASK) UnmarshalUnsafe

func (r *RS_ACCESS_MASK) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*RS_ACCESS_MASK) WriteTo

func (r *RS_ACCESS_MASK) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type RS_SHARE_POLICY

type RS_SHARE_POLICY struct {
	Target     uint32
	AccessMask RS_ACCESS_MASK
	Type       uint16
	Action     uint8
	Pad        [1]byte
}

RS_SHARE_POLICY is RS_SHARE_POLICY, from src/common/sdk/nvidia/inc/rs_access.h.

+marshal

func (*RS_SHARE_POLICY) CopyIn

func (r *RS_SHARE_POLICY) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*RS_SHARE_POLICY) CopyInN

func (r *RS_SHARE_POLICY) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*RS_SHARE_POLICY) CopyOut

func (r *RS_SHARE_POLICY) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*RS_SHARE_POLICY) CopyOutN

func (r *RS_SHARE_POLICY) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*RS_SHARE_POLICY) MarshalBytes

func (r *RS_SHARE_POLICY) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*RS_SHARE_POLICY) MarshalUnsafe

func (r *RS_SHARE_POLICY) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*RS_SHARE_POLICY) Packed

func (r *RS_SHARE_POLICY) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*RS_SHARE_POLICY) SizeBytes

func (r *RS_SHARE_POLICY) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*RS_SHARE_POLICY) UnmarshalBytes

func (r *RS_SHARE_POLICY) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*RS_SHARE_POLICY) UnmarshalUnsafe

func (r *RS_SHARE_POLICY) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*RS_SHARE_POLICY) WriteTo

func (r *RS_SHARE_POLICY) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type RmAllocParamType

type RmAllocParamType interface {
	GetHClass() ClassID
	GetPAllocParms() P64
	GetPRightsRequested() P64
	SetPAllocParms(p P64)
	SetPRightsRequested(p P64)
	FromOS64(other NVOS64Parameters)
	ToOS64() NVOS64Parameters
	GetPointer() uintptr
	HasStatus
	marshal.Marshallable
}

RmAllocParamType should be implemented by all possible parameter types for NV_ESC_RM_ALLOC.

func GetRmAllocParamObj

func GetRmAllocParamObj(isNVOS64 bool) RmAllocParamType

GetRmAllocParamObj returns the appropriate implementation of RmAllocParamType based on passed parameters.

type RmapiParamNvU32List

type RmapiParamNvU32List struct {
	NumElems uint32
	Pad      [4]byte
	List     P64
}

RmapiParamNvU32List is used to represent the following types: - NV0080_CTRL_GPU_GET_CLASSLIST_PARAMS - NV2080_CTRL_GPU_GET_ENGINES_PARAMS

+marshal

func (*RmapiParamNvU32List) CopyIn

func (r *RmapiParamNvU32List) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*RmapiParamNvU32List) CopyInN

func (r *RmapiParamNvU32List) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*RmapiParamNvU32List) CopyOut

func (r *RmapiParamNvU32List) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*RmapiParamNvU32List) CopyOutN

func (r *RmapiParamNvU32List) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*RmapiParamNvU32List) MarshalBytes

func (r *RmapiParamNvU32List) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*RmapiParamNvU32List) MarshalUnsafe

func (r *RmapiParamNvU32List) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*RmapiParamNvU32List) Packed

func (r *RmapiParamNvU32List) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*RmapiParamNvU32List) SizeBytes

func (r *RmapiParamNvU32List) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*RmapiParamNvU32List) UnmarshalBytes

func (r *RmapiParamNvU32List) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*RmapiParamNvU32List) UnmarshalUnsafe

func (r *RmapiParamNvU32List) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*RmapiParamNvU32List) WriteTo

func (r *RmapiParamNvU32List) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_ALLOC_SEMAPHORE_POOL_PARAMS

type UVM_ALLOC_SEMAPHORE_POOL_PARAMS struct {
	Base               uint64 `nvproxy:"same"`
	Length             uint64
	PerGPUAttributes   [UVM_MAX_GPUS]UvmGpuMappingAttributes
	GPUAttributesCount uint64
	RMStatus           uint32
	Pad0               [4]byte
}

+marshal

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) CopyOutN

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) GetStatus

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) MarshalBytes

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) MarshalUnsafe

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) SizeBytes

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) UnmarshalBytes

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) UnmarshalUnsafe

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) WriteTo

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550

type UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550 struct {
	Base               uint64 `nvproxy:"UVM_ALLOC_SEMAPHORE_POOL_PARAMS"`
	Length             uint64
	PerGPUAttributes   [UVM_MAX_GPUS_V2]UvmGpuMappingAttributes
	GPUAttributesCount uint64
	RMStatus           uint32
	Pad0               [4]byte
}

+marshal

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) MarshalBytes

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) MarshalUnsafe

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) UnmarshalBytes

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) UnmarshalUnsafe

func (p *UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS_V550) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type UVM_CREATE_EXTERNAL_RANGE_PARAMS

type UVM_CREATE_EXTERNAL_RANGE_PARAMS struct {
	Base     uint64 `nvproxy:"same"`
	Length   uint64
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) MarshalBytes

func (p *UVM_CREATE_EXTERNAL_RANGE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) MarshalUnsafe

func (p *UVM_CREATE_EXTERNAL_RANGE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) SizeBytes

func (p *UVM_CREATE_EXTERNAL_RANGE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) UnmarshalBytes

func (p *UVM_CREATE_EXTERNAL_RANGE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) UnmarshalUnsafe

func (p *UVM_CREATE_EXTERNAL_RANGE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) WriteTo

func (p *UVM_CREATE_EXTERNAL_RANGE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_CREATE_RANGE_GROUP_PARAMS

type UVM_CREATE_RANGE_GROUP_PARAMS struct {
	RangeGroupID uint64 `nvproxy:"same"`
	RMStatus     uint32
	Pad0         [4]byte
}

+marshal

func (*UVM_CREATE_RANGE_GROUP_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) CopyInN

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) CopyOutN

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) GetStatus

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) MarshalBytes

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) MarshalUnsafe

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) Packed

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) SizeBytes

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) UnmarshalBytes

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) UnmarshalUnsafe

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) WriteTo

func (p *UVM_CREATE_RANGE_GROUP_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_DESTROY_RANGE_GROUP_PARAMS

type UVM_DESTROY_RANGE_GROUP_PARAMS struct {
	RangeGroupID uint64 `nvproxy:"same"`
	RMStatus     uint32
	Pad0         [4]byte
}

+marshal

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) CopyOutN

func (p *UVM_DESTROY_RANGE_GROUP_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) GetStatus

func (p *UVM_DESTROY_RANGE_GROUP_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) MarshalBytes

func (p *UVM_DESTROY_RANGE_GROUP_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) MarshalUnsafe

func (p *UVM_DESTROY_RANGE_GROUP_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) SizeBytes

func (p *UVM_DESTROY_RANGE_GROUP_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) UnmarshalBytes

func (p *UVM_DESTROY_RANGE_GROUP_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) UnmarshalUnsafe

func (p *UVM_DESTROY_RANGE_GROUP_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) WriteTo

func (p *UVM_DESTROY_RANGE_GROUP_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_DISABLE_PEER_ACCESS_PARAMS

type UVM_DISABLE_PEER_ACCESS_PARAMS struct {
	GPUUUIDA NvUUID `nvproxy:"same"`
	GPUUUIDB NvUUID
	RMStatus uint32
}

+marshal

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) CopyOutN

func (p *UVM_DISABLE_PEER_ACCESS_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) GetStatus

func (p *UVM_DISABLE_PEER_ACCESS_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) MarshalBytes

func (p *UVM_DISABLE_PEER_ACCESS_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) MarshalUnsafe

func (p *UVM_DISABLE_PEER_ACCESS_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) SizeBytes

func (p *UVM_DISABLE_PEER_ACCESS_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) UnmarshalBytes

func (p *UVM_DISABLE_PEER_ACCESS_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) UnmarshalUnsafe

func (p *UVM_DISABLE_PEER_ACCESS_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_DISABLE_PEER_ACCESS_PARAMS) WriteTo

func (p *UVM_DISABLE_PEER_ACCESS_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_DISABLE_READ_DUPLICATION_PARAMS

type UVM_DISABLE_READ_DUPLICATION_PARAMS struct {
	RequestedBase uint64 `nvproxy:"same"`
	Length        uint64
	RMStatus      uint32
	Pad0          [4]byte
}

+marshal

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) MarshalBytes

func (p *UVM_DISABLE_READ_DUPLICATION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) MarshalUnsafe

func (p *UVM_DISABLE_READ_DUPLICATION_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) UnmarshalBytes

func (p *UVM_DISABLE_READ_DUPLICATION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) UnmarshalUnsafe

func (p *UVM_DISABLE_READ_DUPLICATION_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_DISABLE_READ_DUPLICATION_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type UVM_ENABLE_PEER_ACCESS_PARAMS

type UVM_ENABLE_PEER_ACCESS_PARAMS struct {
	GPUUUIDA NvUUID `nvproxy:"same"`
	GPUUUIDB NvUUID
	RMStatus uint32
}

+marshal

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) CopyInN

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) CopyOutN

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) GetStatus

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) MarshalBytes

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) MarshalUnsafe

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) Packed

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) SizeBytes

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) UnmarshalBytes

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) UnmarshalUnsafe

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_ENABLE_PEER_ACCESS_PARAMS) WriteTo

func (p *UVM_ENABLE_PEER_ACCESS_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_FREE_PARAMS

type UVM_FREE_PARAMS struct {
	Base     uint64 `nvproxy:"same"`
	Length   uint64
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_FREE_PARAMS) CopyIn

func (p *UVM_FREE_PARAMS) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_FREE_PARAMS) CopyInN

func (p *UVM_FREE_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_FREE_PARAMS) CopyOut

func (p *UVM_FREE_PARAMS) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_FREE_PARAMS) CopyOutN

func (p *UVM_FREE_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_FREE_PARAMS) GetStatus

func (p *UVM_FREE_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_FREE_PARAMS) MarshalBytes

func (p *UVM_FREE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_FREE_PARAMS) MarshalUnsafe

func (p *UVM_FREE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_FREE_PARAMS) Packed

func (p *UVM_FREE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_FREE_PARAMS) SizeBytes

func (p *UVM_FREE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_FREE_PARAMS) UnmarshalBytes

func (p *UVM_FREE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_FREE_PARAMS) UnmarshalUnsafe

func (p *UVM_FREE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_FREE_PARAMS) WriteTo

func (p *UVM_FREE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_INITIALIZE_PARAMS

type UVM_INITIALIZE_PARAMS struct {
	Flags    uint64 `nvproxy:"same"`
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_INITIALIZE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_INITIALIZE_PARAMS) CopyInN

func (p *UVM_INITIALIZE_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_INITIALIZE_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_INITIALIZE_PARAMS) CopyOutN

func (p *UVM_INITIALIZE_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_INITIALIZE_PARAMS) GetStatus

func (p *UVM_INITIALIZE_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_INITIALIZE_PARAMS) MarshalBytes

func (p *UVM_INITIALIZE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_INITIALIZE_PARAMS) MarshalUnsafe

func (p *UVM_INITIALIZE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_INITIALIZE_PARAMS) Packed

func (p *UVM_INITIALIZE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_INITIALIZE_PARAMS) SizeBytes

func (p *UVM_INITIALIZE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_INITIALIZE_PARAMS) UnmarshalBytes

func (p *UVM_INITIALIZE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_INITIALIZE_PARAMS) UnmarshalUnsafe

func (p *UVM_INITIALIZE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_INITIALIZE_PARAMS) WriteTo

func (p *UVM_INITIALIZE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS

type UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS struct {
	Base     uint64 `nvproxy:"same"`
	Length   uint64
	GPUUUID  NvUUID
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) MarshalBytes

func (p *UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) MarshalUnsafe

func (p *UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) UnmarshalBytes

func (p *UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) UnmarshalUnsafe

func (p *UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type UVM_MAP_EXTERNAL_ALLOCATION_PARAMS

type UVM_MAP_EXTERNAL_ALLOCATION_PARAMS struct {
	Base               uint64 `nvproxy:"same"`
	Length             uint64
	Offset             uint64
	PerGPUAttributes   [UVM_MAX_GPUS]UvmGpuMappingAttributes
	GPUAttributesCount uint64
	RMCtrlFD           int32
	HClient            uint32 // These are treated like NvHandle, but the driver uses NvU32.
	HMemory            uint32 // These are treated like NvHandle, but the driver uses NvU32.
	RMStatus           uint32
}

+marshal

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) GetFrontendFD

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) GetFrontendFD() int32

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) MarshalBytes

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) MarshalUnsafe

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) SetFrontendFD

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) SetFrontendFD(fd int32)

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) SizeBytes

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) UnmarshalBytes

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) UnmarshalUnsafe

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) WriteTo

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550

type UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550 struct {
	Base               uint64 `nvproxy:"UVM_MAP_EXTERNAL_ALLOCATION_PARAMS"`
	Length             uint64
	Offset             uint64
	PerGPUAttributes   [UVM_MAX_GPUS_V2]UvmGpuMappingAttributes
	GPUAttributesCount uint64
	RMCtrlFD           int32
	HClient            uint32 // These are treated like NvHandle, but the driver uses NvU32.
	HMemory            uint32 // These are treated like NvHandle, but the driver uses NvU32.
	RMStatus           uint32
}

+marshal

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) GetFrontendFD

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) MarshalBytes

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) MarshalUnsafe

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) SetFrontendFD

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) SetFrontendFD(fd int32)

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) UnmarshalBytes

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) UnmarshalUnsafe

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_MAP_EXTERNAL_ALLOCATION_PARAMS_V550) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type UVM_MIGRATE_PARAMS

type UVM_MIGRATE_PARAMS struct {
	Base            uint64 `nvproxy:"same"`
	Length          uint64
	DestinationUUID NvUUID
	Flags           uint32

	SemaphoreAddress uint64
	SemaphorePayload uint32
	CPUNumaNode      uint32
	UserSpaceStart   uint64
	UserSpaceLength  uint64
	RMStatus         uint32
	// contains filtered or unexported fields
}

+marshal

func (*UVM_MIGRATE_PARAMS) CopyIn

func (p *UVM_MIGRATE_PARAMS) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_MIGRATE_PARAMS) CopyInN

func (p *UVM_MIGRATE_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_MIGRATE_PARAMS) CopyOut

func (p *UVM_MIGRATE_PARAMS) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_MIGRATE_PARAMS) CopyOutN

func (p *UVM_MIGRATE_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_MIGRATE_PARAMS) GetStatus

func (p *UVM_MIGRATE_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_MIGRATE_PARAMS) MarshalBytes

func (p *UVM_MIGRATE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MIGRATE_PARAMS) MarshalUnsafe

func (p *UVM_MIGRATE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_MIGRATE_PARAMS) Packed

func (p *UVM_MIGRATE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_MIGRATE_PARAMS) SizeBytes

func (p *UVM_MIGRATE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_MIGRATE_PARAMS) UnmarshalBytes

func (p *UVM_MIGRATE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MIGRATE_PARAMS) UnmarshalUnsafe

func (p *UVM_MIGRATE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_MIGRATE_PARAMS) WriteTo

func (p *UVM_MIGRATE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_MIGRATE_PARAMS_V550

type UVM_MIGRATE_PARAMS_V550 struct {
	Base            uint64 `nvproxy:"UVM_MIGRATE_PARAMS"`
	Length          uint64
	DestinationUUID NvUUID
	Flags           uint32

	SemaphoreAddress uint64
	SemaphorePayload uint32
	CPUNumaNode      int32
	UserSpaceStart   uint64
	UserSpaceLength  uint64
	RMStatus         uint32
	// contains filtered or unexported fields
}

UVM_MIGRATE_PARAMS_V550 is the updated version of UVM_MIGRATE_PARAMS since 550.40.07.

+marshal

func (*UVM_MIGRATE_PARAMS_V550) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_MIGRATE_PARAMS_V550) CopyInN

func (p *UVM_MIGRATE_PARAMS_V550) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_MIGRATE_PARAMS_V550) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_MIGRATE_PARAMS_V550) CopyOutN

func (p *UVM_MIGRATE_PARAMS_V550) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_MIGRATE_PARAMS_V550) GetStatus

func (p *UVM_MIGRATE_PARAMS_V550) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_MIGRATE_PARAMS_V550) MarshalBytes

func (p *UVM_MIGRATE_PARAMS_V550) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MIGRATE_PARAMS_V550) MarshalUnsafe

func (p *UVM_MIGRATE_PARAMS_V550) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_MIGRATE_PARAMS_V550) Packed

func (p *UVM_MIGRATE_PARAMS_V550) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_MIGRATE_PARAMS_V550) SizeBytes

func (p *UVM_MIGRATE_PARAMS_V550) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_MIGRATE_PARAMS_V550) UnmarshalBytes

func (p *UVM_MIGRATE_PARAMS_V550) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MIGRATE_PARAMS_V550) UnmarshalUnsafe

func (p *UVM_MIGRATE_PARAMS_V550) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_MIGRATE_PARAMS_V550) WriteTo

func (p *UVM_MIGRATE_PARAMS_V550) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_MIGRATE_RANGE_GROUP_PARAMS

type UVM_MIGRATE_RANGE_GROUP_PARAMS struct {
	RangeGroupID    uint64 `nvproxy:"same"`
	DestinationUUID NvUUID
	RMStatus        uint32
	Pad0            [4]byte
}

+marshal

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) CopyOutN

func (p *UVM_MIGRATE_RANGE_GROUP_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) GetStatus

func (p *UVM_MIGRATE_RANGE_GROUP_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) MarshalBytes

func (p *UVM_MIGRATE_RANGE_GROUP_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) MarshalUnsafe

func (p *UVM_MIGRATE_RANGE_GROUP_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) SizeBytes

func (p *UVM_MIGRATE_RANGE_GROUP_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) UnmarshalBytes

func (p *UVM_MIGRATE_RANGE_GROUP_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) UnmarshalUnsafe

func (p *UVM_MIGRATE_RANGE_GROUP_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_MIGRATE_RANGE_GROUP_PARAMS) WriteTo

func (p *UVM_MIGRATE_RANGE_GROUP_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_MM_INITIALIZE_PARAMS

type UVM_MM_INITIALIZE_PARAMS struct {
	UvmFD    int32 `nvproxy:"same"`
	RMStatus uint32
}

+marshal

func (*UVM_MM_INITIALIZE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_MM_INITIALIZE_PARAMS) CopyInN

func (p *UVM_MM_INITIALIZE_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_MM_INITIALIZE_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_MM_INITIALIZE_PARAMS) CopyOutN

func (p *UVM_MM_INITIALIZE_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_MM_INITIALIZE_PARAMS) GetStatus

func (p *UVM_MM_INITIALIZE_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_MM_INITIALIZE_PARAMS) MarshalBytes

func (p *UVM_MM_INITIALIZE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MM_INITIALIZE_PARAMS) MarshalUnsafe

func (p *UVM_MM_INITIALIZE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_MM_INITIALIZE_PARAMS) Packed

func (p *UVM_MM_INITIALIZE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_MM_INITIALIZE_PARAMS) SizeBytes

func (p *UVM_MM_INITIALIZE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_MM_INITIALIZE_PARAMS) UnmarshalBytes

func (p *UVM_MM_INITIALIZE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MM_INITIALIZE_PARAMS) UnmarshalUnsafe

func (p *UVM_MM_INITIALIZE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_MM_INITIALIZE_PARAMS) WriteTo

func (p *UVM_MM_INITIALIZE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_PAGEABLE_MEM_ACCESS_PARAMS

type UVM_PAGEABLE_MEM_ACCESS_PARAMS struct {
	PageableMemAccess uint8 `nvproxy:"same"`
	Pad               [3]byte
	RMStatus          uint32
}

+marshal

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) CopyOutN

func (p *UVM_PAGEABLE_MEM_ACCESS_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) GetStatus

func (p *UVM_PAGEABLE_MEM_ACCESS_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) MarshalBytes

func (p *UVM_PAGEABLE_MEM_ACCESS_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) MarshalUnsafe

func (p *UVM_PAGEABLE_MEM_ACCESS_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) SizeBytes

func (p *UVM_PAGEABLE_MEM_ACCESS_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) UnmarshalBytes

func (p *UVM_PAGEABLE_MEM_ACCESS_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) UnmarshalUnsafe

func (p *UVM_PAGEABLE_MEM_ACCESS_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) WriteTo

func (p *UVM_PAGEABLE_MEM_ACCESS_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_REGISTER_CHANNEL_PARAMS

type UVM_REGISTER_CHANNEL_PARAMS struct {
	GPUUUID  NvUUID `nvproxy:"same"`
	RMCtrlFD int32
	HClient  Handle
	HChannel Handle
	Pad      [4]byte
	Base     uint64
	Length   uint64
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_REGISTER_CHANNEL_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_REGISTER_CHANNEL_PARAMS) CopyInN

func (p *UVM_REGISTER_CHANNEL_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_REGISTER_CHANNEL_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_REGISTER_CHANNEL_PARAMS) CopyOutN

func (p *UVM_REGISTER_CHANNEL_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_REGISTER_CHANNEL_PARAMS) GetFrontendFD

func (p *UVM_REGISTER_CHANNEL_PARAMS) GetFrontendFD() int32

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*UVM_REGISTER_CHANNEL_PARAMS) GetStatus

func (p *UVM_REGISTER_CHANNEL_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_REGISTER_CHANNEL_PARAMS) MarshalBytes

func (p *UVM_REGISTER_CHANNEL_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_REGISTER_CHANNEL_PARAMS) MarshalUnsafe

func (p *UVM_REGISTER_CHANNEL_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_REGISTER_CHANNEL_PARAMS) Packed

func (p *UVM_REGISTER_CHANNEL_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_REGISTER_CHANNEL_PARAMS) SetFrontendFD

func (p *UVM_REGISTER_CHANNEL_PARAMS) SetFrontendFD(fd int32)

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*UVM_REGISTER_CHANNEL_PARAMS) SizeBytes

func (p *UVM_REGISTER_CHANNEL_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_REGISTER_CHANNEL_PARAMS) UnmarshalBytes

func (p *UVM_REGISTER_CHANNEL_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_REGISTER_CHANNEL_PARAMS) UnmarshalUnsafe

func (p *UVM_REGISTER_CHANNEL_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_REGISTER_CHANNEL_PARAMS) WriteTo

func (p *UVM_REGISTER_CHANNEL_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_REGISTER_GPU_PARAMS

type UVM_REGISTER_GPU_PARAMS struct {
	GPUUUID     NvUUID `nvproxy:"same"`
	NumaEnabled uint8
	Pad         [3]byte
	NumaNodeID  int32
	RMCtrlFD    int32
	HClient     Handle
	HSMCPartRef Handle
	RMStatus    uint32
}

+marshal

func (*UVM_REGISTER_GPU_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_REGISTER_GPU_PARAMS) CopyInN

func (p *UVM_REGISTER_GPU_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_REGISTER_GPU_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_REGISTER_GPU_PARAMS) CopyOutN

func (p *UVM_REGISTER_GPU_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_REGISTER_GPU_PARAMS) GetFrontendFD

func (p *UVM_REGISTER_GPU_PARAMS) GetFrontendFD() int32

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*UVM_REGISTER_GPU_PARAMS) GetStatus

func (p *UVM_REGISTER_GPU_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_REGISTER_GPU_PARAMS) MarshalBytes

func (p *UVM_REGISTER_GPU_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_REGISTER_GPU_PARAMS) MarshalUnsafe

func (p *UVM_REGISTER_GPU_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_REGISTER_GPU_PARAMS) Packed

func (p *UVM_REGISTER_GPU_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_REGISTER_GPU_PARAMS) SetFrontendFD

func (p *UVM_REGISTER_GPU_PARAMS) SetFrontendFD(fd int32)

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*UVM_REGISTER_GPU_PARAMS) SizeBytes

func (p *UVM_REGISTER_GPU_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_REGISTER_GPU_PARAMS) UnmarshalBytes

func (p *UVM_REGISTER_GPU_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_REGISTER_GPU_PARAMS) UnmarshalUnsafe

func (p *UVM_REGISTER_GPU_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_REGISTER_GPU_PARAMS) WriteTo

func (p *UVM_REGISTER_GPU_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_REGISTER_GPU_VASPACE_PARAMS

type UVM_REGISTER_GPU_VASPACE_PARAMS struct {
	GPUUUID  NvUUID `nvproxy:"same"`
	RMCtrlFD int32
	HClient  Handle
	HVASpace Handle
	RMStatus uint32
}

+marshal

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) CopyOutN

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) GetFrontendFD

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) GetFrontendFD() int32

GetFrontendFD implements HasFrontendFD.GetFrontendFD.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) GetStatus

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) MarshalBytes

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) MarshalUnsafe

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) SetFrontendFD

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) SetFrontendFD(fd int32)

SetFrontendFD implements HasFrontendFD.SetFrontendFD.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) SizeBytes

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) UnmarshalBytes

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) UnmarshalUnsafe

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_REGISTER_GPU_VASPACE_PARAMS) WriteTo

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_SET_PREFERRED_LOCATION_PARAMS

type UVM_SET_PREFERRED_LOCATION_PARAMS struct {
	RequestedBase     uint64 `nvproxy:"same"`
	Length            uint64
	PreferredLocation NvUUID
	RMStatus          uint32
	Pad0              [4]byte
}

+marshal

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) MarshalBytes

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) MarshalUnsafe

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) SizeBytes

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) UnmarshalBytes

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) UnmarshalUnsafe

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS) WriteTo

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_SET_PREFERRED_LOCATION_PARAMS_V550

type UVM_SET_PREFERRED_LOCATION_PARAMS_V550 struct {
	RequestedBase        uint64 `nvproxy:"UVM_SET_PREFERRED_LOCATION_PARAMS"`
	Length               uint64
	PreferredLocation    NvUUID
	PreferredCPUNumaNode int32
	RMStatus             uint32
}

+marshal

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) MarshalBytes

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS_V550) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) MarshalUnsafe

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS_V550) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) UnmarshalBytes

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS_V550) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) UnmarshalUnsafe

func (p *UVM_SET_PREFERRED_LOCATION_PARAMS_V550) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_SET_PREFERRED_LOCATION_PARAMS_V550) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type UVM_SET_RANGE_GROUP_PARAMS

type UVM_SET_RANGE_GROUP_PARAMS struct {
	RangeGroupID  uint64 `nvproxy:"same"`
	RequestedBase uint64
	Length        uint64
	RMStatus      uint32
	Pad0          [4]byte
}

+marshal

func (*UVM_SET_RANGE_GROUP_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_SET_RANGE_GROUP_PARAMS) CopyInN

func (p *UVM_SET_RANGE_GROUP_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_SET_RANGE_GROUP_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_SET_RANGE_GROUP_PARAMS) CopyOutN

func (p *UVM_SET_RANGE_GROUP_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_SET_RANGE_GROUP_PARAMS) GetStatus

func (p *UVM_SET_RANGE_GROUP_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_SET_RANGE_GROUP_PARAMS) MarshalBytes

func (p *UVM_SET_RANGE_GROUP_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_SET_RANGE_GROUP_PARAMS) MarshalUnsafe

func (p *UVM_SET_RANGE_GROUP_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_SET_RANGE_GROUP_PARAMS) Packed

func (p *UVM_SET_RANGE_GROUP_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_SET_RANGE_GROUP_PARAMS) SizeBytes

func (p *UVM_SET_RANGE_GROUP_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_SET_RANGE_GROUP_PARAMS) UnmarshalBytes

func (p *UVM_SET_RANGE_GROUP_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_SET_RANGE_GROUP_PARAMS) UnmarshalUnsafe

func (p *UVM_SET_RANGE_GROUP_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_SET_RANGE_GROUP_PARAMS) WriteTo

func (p *UVM_SET_RANGE_GROUP_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS

type UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS struct {
	Buffer    uint64 `nvproxy:"same"`
	Size      uint64
	TargetVA  uint64
	BytesRead uint64
	RMStatus  uint32
	Pad0      [4]byte
}

+marshal

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) MarshalBytes

func (u *UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) MarshalUnsafe

func (u *UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) UnmarshalBytes

func (u *UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) UnmarshalUnsafe

func (u *UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_TOOLS_READ_PROCESS_MEMORY_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS

type UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS struct {
	Buffer       uint64 `nvproxy:"same"`
	Size         uint64
	TargetVA     uint64
	BytesWritten uint64
	RMStatus     uint32
	Pad0         [4]byte
}

+marshal

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) MarshalBytes

func (u *UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) MarshalUnsafe

func (u *UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) UnmarshalBytes

func (u *UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) UnmarshalUnsafe

func (u *UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_TOOLS_WRITE_PROCESS_MEMORY_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type UVM_UNMAP_EXTERNAL_PARAMS

type UVM_UNMAP_EXTERNAL_PARAMS struct {
	Base     uint64 `nvproxy:"same"`
	Length   uint64
	GPUUUID  NvUUID
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_UNMAP_EXTERNAL_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_UNMAP_EXTERNAL_PARAMS) CopyInN

func (p *UVM_UNMAP_EXTERNAL_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_UNMAP_EXTERNAL_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_UNMAP_EXTERNAL_PARAMS) CopyOutN

func (p *UVM_UNMAP_EXTERNAL_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_UNMAP_EXTERNAL_PARAMS) GetStatus

func (p *UVM_UNMAP_EXTERNAL_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_UNMAP_EXTERNAL_PARAMS) MarshalBytes

func (p *UVM_UNMAP_EXTERNAL_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNMAP_EXTERNAL_PARAMS) MarshalUnsafe

func (p *UVM_UNMAP_EXTERNAL_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_UNMAP_EXTERNAL_PARAMS) Packed

func (p *UVM_UNMAP_EXTERNAL_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_UNMAP_EXTERNAL_PARAMS) SizeBytes

func (p *UVM_UNMAP_EXTERNAL_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNMAP_EXTERNAL_PARAMS) UnmarshalBytes

func (p *UVM_UNMAP_EXTERNAL_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNMAP_EXTERNAL_PARAMS) UnmarshalUnsafe

func (p *UVM_UNMAP_EXTERNAL_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNMAP_EXTERNAL_PARAMS) WriteTo

func (p *UVM_UNMAP_EXTERNAL_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_UNREGISTER_CHANNEL_PARAMS

type UVM_UNREGISTER_CHANNEL_PARAMS struct {
	GPUUUID  NvUUID `nvproxy:"same"`
	HClient  Handle
	HChannel Handle
	RMStatus uint32
}

+marshal

func (*UVM_UNREGISTER_CHANNEL_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) CopyInN

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) CopyOutN

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) GetStatus

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) MarshalBytes

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) MarshalUnsafe

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) Packed

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) SizeBytes

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) UnmarshalBytes

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) UnmarshalUnsafe

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) WriteTo

func (p *UVM_UNREGISTER_CHANNEL_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_UNREGISTER_GPU_PARAMS

type UVM_UNREGISTER_GPU_PARAMS struct {
	GPUUUID  NvUUID `nvproxy:"same"`
	RMStatus uint32
}

+marshal

func (*UVM_UNREGISTER_GPU_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_UNREGISTER_GPU_PARAMS) CopyInN

func (p *UVM_UNREGISTER_GPU_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_UNREGISTER_GPU_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_UNREGISTER_GPU_PARAMS) CopyOutN

func (p *UVM_UNREGISTER_GPU_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_UNREGISTER_GPU_PARAMS) GetStatus

func (p *UVM_UNREGISTER_GPU_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_UNREGISTER_GPU_PARAMS) MarshalBytes

func (p *UVM_UNREGISTER_GPU_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNREGISTER_GPU_PARAMS) MarshalUnsafe

func (p *UVM_UNREGISTER_GPU_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_UNREGISTER_GPU_PARAMS) Packed

func (p *UVM_UNREGISTER_GPU_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_UNREGISTER_GPU_PARAMS) SizeBytes

func (p *UVM_UNREGISTER_GPU_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNREGISTER_GPU_PARAMS) UnmarshalBytes

func (p *UVM_UNREGISTER_GPU_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNREGISTER_GPU_PARAMS) UnmarshalUnsafe

func (p *UVM_UNREGISTER_GPU_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNREGISTER_GPU_PARAMS) WriteTo

func (p *UVM_UNREGISTER_GPU_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_UNREGISTER_GPU_VASPACE_PARAMS

type UVM_UNREGISTER_GPU_VASPACE_PARAMS struct {
	GPUUUID  NvUUID `nvproxy:"same"`
	RMStatus uint32
}

+marshal

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) MarshalBytes

func (p *UVM_UNREGISTER_GPU_VASPACE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) MarshalUnsafe

func (p *UVM_UNREGISTER_GPU_VASPACE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) SizeBytes

func (p *UVM_UNREGISTER_GPU_VASPACE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) UnmarshalBytes

func (p *UVM_UNREGISTER_GPU_VASPACE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) UnmarshalUnsafe

func (p *UVM_UNREGISTER_GPU_VASPACE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) WriteTo

func (p *UVM_UNREGISTER_GPU_VASPACE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_UNSET_ACCESSED_BY_PARAMS

type UVM_UNSET_ACCESSED_BY_PARAMS struct {
	RequestedBase  uint64 `nvproxy:"same"`
	Length         uint64
	AccessedByUUID NvUUID
	RMStatus       uint32
	Pad0           [4]byte
}

+marshal

func (*UVM_UNSET_ACCESSED_BY_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) CopyInN

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) CopyOutN

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) GetStatus

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) MarshalBytes

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) MarshalUnsafe

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) Packed

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) SizeBytes

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) UnmarshalBytes

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) UnmarshalUnsafe

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNSET_ACCESSED_BY_PARAMS) WriteTo

func (p *UVM_UNSET_ACCESSED_BY_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_UNSET_PREFERRED_LOCATION_PARAMS

type UVM_UNSET_PREFERRED_LOCATION_PARAMS struct {
	RequestedBase uint64 `nvproxy:"same"`
	Length        uint64
	RMStatus      uint32
	Pad0          [4]byte
}

+marshal

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) CopyInN

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) CopyOutN

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) GetStatus

GetStatus implements HasStatus.GetStatus.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) MarshalBytes

func (p *UVM_UNSET_PREFERRED_LOCATION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) MarshalUnsafe

func (p *UVM_UNSET_PREFERRED_LOCATION_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) Packed

Packed implements marshal.Marshallable.Packed.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) SizeBytes

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) UnmarshalBytes

func (p *UVM_UNSET_PREFERRED_LOCATION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) UnmarshalUnsafe

func (p *UVM_UNSET_PREFERRED_LOCATION_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNSET_PREFERRED_LOCATION_PARAMS) WriteTo

WriteTo implements io.WriterTo.WriteTo.

type UVM_VALIDATE_VA_RANGE_PARAMS

type UVM_VALIDATE_VA_RANGE_PARAMS struct {
	Base     uint64 `nvproxy:"same"`
	Length   uint64
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_VALIDATE_VA_RANGE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) CopyInN

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) CopyOutN

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) GetStatus

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) GetStatus() uint32

GetStatus implements HasStatus.GetStatus.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) MarshalBytes

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) MarshalUnsafe

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) Packed

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) SizeBytes

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) UnmarshalBytes

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) UnmarshalUnsafe

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) WriteTo

func (p *UVM_VALIDATE_VA_RANGE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UvmGpuMappingAttributes

type UvmGpuMappingAttributes struct {
	GPUUUID            NvUUID
	GPUMappingType     uint32
	GPUCachingType     uint32
	GPUFormatType      uint32
	GPUElementBits     uint32
	GPUCompressionType uint32
}

+marshal

func (*UvmGpuMappingAttributes) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UvmGpuMappingAttributes) CopyInN

func (u *UvmGpuMappingAttributes) CopyInN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyInN implements marshal.Marshallable.CopyInN.

func (*UvmGpuMappingAttributes) CopyOut

CopyOut implements marshal.Marshallable.CopyOut.

func (*UvmGpuMappingAttributes) CopyOutN

func (u *UvmGpuMappingAttributes) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UvmGpuMappingAttributes) MarshalBytes

func (u *UvmGpuMappingAttributes) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UvmGpuMappingAttributes) MarshalUnsafe

func (u *UvmGpuMappingAttributes) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UvmGpuMappingAttributes) Packed

func (u *UvmGpuMappingAttributes) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UvmGpuMappingAttributes) SizeBytes

func (u *UvmGpuMappingAttributes) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UvmGpuMappingAttributes) UnmarshalBytes

func (u *UvmGpuMappingAttributes) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UvmGpuMappingAttributes) UnmarshalUnsafe

func (u *UvmGpuMappingAttributes) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UvmGpuMappingAttributes) WriteTo

func (u *UvmGpuMappingAttributes) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL