nvgpu

package
v0.0.0-...-e4c45ee Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

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_MEMORY_SYSTEM               = 0x0000003e
	NV01_ROOT_CLIENT                 = 0x00000041
	NV01_MEMORY_SYSTEM_OS_DESCRIPTOR = 0x00000071
	NV01_EVENT_OS_EVENT              = 0x00000079
	NV01_DEVICE_0                    = 0x00000080
	NV_MEMORY_FABRIC                 = 0x000000f8
	NV20_SUBDEVICE_0                 = 0x00002080
	NV50_THIRD_PARTY_P2P             = 0x0000503c
	GT200_DEBUGGER                   = 0x000083de
	GF100_SUBDEVICE_MASTER           = 0x000090e6
	FERMI_CONTEXT_SHARE_A            = 0x00009067
	FERMI_VASPACE_A                  = 0x000090f1
	KEPLER_CHANNEL_GROUP_A           = 0x0000a06c
	TURING_USERMODE_A                = 0x0000c461
	TURING_CHANNEL_GPFIFO_A          = 0x0000c46f
	AMPERE_CHANNEL_GPFIFO_A          = 0x0000c56f
	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_DMA_COPY_A                = 0x0000c8b5
	ADA_COMPUTE_A                    = 0x0000c9c0
	NV_CONFIDENTIAL_COMPUTE          = 0x0000cb33
	HOPPER_COMPUTE_A                 = 0x0000cbc0
)

Class handles, 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_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_QUERY_DRAIN_STATE = 0x279
	NV0000_CTRL_CMD_GPU_GET_MEMOP_ENABLE  = 0x27b
)

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_P2P_CAPS        = 0x127
	NV0000_CTRL_CMD_SYSTEM_GET_FABRIC_STATUS   = 0x136
	NV0000_CTRL_CMD_SYSTEM_GET_P2P_CAPS_MATRIX = 0x13a
)

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

View Source
const (
	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 (
	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
)

From src/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080bus.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_QUERY_ECC_STATUS                 = 0x2080012f
	NV2080_CTRL_CMD_GPU_QUERY_COMPUTE_MODE_RULES         = 0x20800131
	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_GID_INFO                     = 0x2080014a
	NV2080_CTRL_CMD_GPU_GET_ENGINES_V2                   = 0x20800170
	NV2080_CTRL_CMD_GPU_GET_ACTIVE_PARTITION_IDS         = 0x2080018b
	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_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
)

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_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 (
	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
)

From src/common/sdk/nvidia/inc/ctrl/ctrlc36f.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 (
	// 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_SYS_PARAMS        = NV_IOCTL_BASE + 14

	// 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_VID_HEAP_CONTROL           = 0x4a
	NV_ESC_RM_MAP_MEMORY                 = 0x4e
	NV_ESC_RM_UNMAP_MEMORY               = 0x4f
	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 (
	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 (
	NV_ERR_INVALID_ADDRESS  = 0x0000001e
	NV_ERR_INVALID_ARGUMENT = 0x0000001f
	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_MAP_EXTERNAL_ALLOCATION        = 33
	UVM_FREE                           = 34
	UVM_REGISTER_GPU                   = 37
	UVM_UNREGISTER_GPU                 = 38
	UVM_PAGEABLE_MEM_ACCESS            = 39
	UVM_MAP_DYNAMIC_PARALLELISM_REGION = 65
	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 (
	NV0000_CTRL_CMD_SYNC_GPU_BOOST_GROUP_INFO = 0xa04
)

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

View Source
const (
	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_CHANNELLIST = 0x80170d
)

From src/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080fifo.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 (
	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_V2 = 0x20801303
)

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

View Source
const (
	NV2080_CTRL_CMD_GSP_GET_FEATURES = 0x20803601
)

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

View Source
const (
	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
)

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

View Source
const (
	NV2080_CTRL_CMD_TIMER_GET_GPU_CPU_TIME_CORRELATION_INFO = 0x20800406
)

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

View Source
const (
	NV906F_CTRL_CMD_RESET_CHANNEL = 0x906f0102
)

From src/common/sdk/nvidia/inc/ctrl/ctrl906f.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 (
	NVOS32_FUNCTION_ALLOC_SIZE = 2
)

Possible values for NVOS32Parameters.Function:

View Source
const (
	NV_CONF_COMPUTE_CTRL_CMD_SYSTEM_GET_CAPABILITIES = 0xcb330101
)

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

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 (
	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.

View Source
const UVM_MAX_GPUS = NV_MAX_DEVICES

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())
	SizeofIoctlNVOS02ParametersWithFD = uint32((*IoctlNVOS02ParametersWithFD)(nil).SizeBytes())
	SizeofNVOS00Parameters            = uint32((*NVOS00Parameters)(nil).SizeBytes())
	SizeofNVOS21Parameters            = uint32((*NVOS21Parameters)(nil).SizeBytes())
	SizeofNVOS21ParametersV535        = uint32((*NVOS21ParametersV535)(nil).SizeBytes())
	SizeofIoctlNVOS33ParametersWithFD = uint32((*IoctlNVOS33ParametersWithFD)(nil).SizeBytes())
	SizeofNVOS55Parameters            = uint32((*NVOS55Parameters)(nil).SizeBytes())
	SizeofNVOS57Parameters            = uint32((*NVOS57Parameters)(nil).SizeBytes())
	SizeofNVOS32Parameters            = uint32((*NVOS32Parameters)(nil).SizeBytes())
	SizeofNVOS34Parameters            = uint32((*NVOS34Parameters)(nil).SizeBytes())
	SizeofNVOS54Parameters            = uint32((*NVOS54Parameters)(nil).SizeBytes())
	SizeofNVOS56Parameters            = uint32((*NVOS56Parameters)(nil).SizeBytes())
	SizeofNVOS64Parameters            = uint32((*NVOS64Parameters)(nil).SizeBytes())
	SizeofNVOS64ParametersV535        = uint32((*NVOS64ParametersV535)(nil).SizeBytes())
)

Frontend ioctl parameter struct sizes.

Functions

This section is empty.

Types

type Handle

type Handle struct {
	Val uint32
}

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

+marshal

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) 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 HasRMCtrlFD

type HasRMCtrlFD interface {
	GetRMCtrlFD() int32
	SetRMCtrlFD(int32)
}

HasRMCtrlFD is a type constraint for UVM parameter structs containing a RMCtrlFD 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 IoctlAllocOSEvent

type IoctlAllocOSEvent struct {
	HClient Handle
	HDevice Handle
	FD      uint32
	Status  uint32
}

IoctlAllocOSEvent is nv_ioctl_alloc_os_event_t, the parameter type for NV_ESC_ALLOC_OS_EVENT.

+marshal

func (*IoctlAllocOSEvent) CopyIn

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

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlAllocOSEvent) CopyInN

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

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlAllocOSEvent) CopyOut

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

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlAllocOSEvent) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlAllocOSEvent) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlAllocOSEvent) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlAllocOSEvent) Packed

func (i *IoctlAllocOSEvent) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlAllocOSEvent) SizeBytes

func (i *IoctlAllocOSEvent) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlAllocOSEvent) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlAllocOSEvent) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlAllocOSEvent) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type IoctlFreeOSEvent

type IoctlFreeOSEvent struct {
	HClient Handle
	HDevice Handle
	FD      uint32
	Status  uint32
}

IoctlFreeOSEvent is nv_ioctl_free_os_event_t, the parameter type for NV_ESC_FREE_OS_EVENT.

+marshal

func (*IoctlFreeOSEvent) CopyIn

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

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlFreeOSEvent) CopyInN

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

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlFreeOSEvent) CopyOut

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

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlFreeOSEvent) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlFreeOSEvent) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlFreeOSEvent) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlFreeOSEvent) Packed

func (i *IoctlFreeOSEvent) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlFreeOSEvent) SizeBytes

func (i *IoctlFreeOSEvent) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlFreeOSEvent) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlFreeOSEvent) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlFreeOSEvent) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type IoctlNVOS02ParametersWithFD

type IoctlNVOS02ParametersWithFD struct {
	Params NVOS02Parameters
	FD     int32
	Pad0   [4]byte
}

IoctlNVOS02ParametersWithFD is nv_ioctl_nvos2_parameters_with_fd, the parameter type for NV_ESC_RM_ALLOC_MEMORY.

+marshal

func (*IoctlNVOS02ParametersWithFD) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlNVOS02ParametersWithFD) CopyInN

func (i *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 (i *IoctlNVOS02ParametersWithFD) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlNVOS02ParametersWithFD) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlNVOS02ParametersWithFD) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlNVOS02ParametersWithFD) Packed

func (i *IoctlNVOS02ParametersWithFD) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlNVOS02ParametersWithFD) SizeBytes

func (i *IoctlNVOS02ParametersWithFD) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlNVOS02ParametersWithFD) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlNVOS02ParametersWithFD) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlNVOS02ParametersWithFD) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type IoctlNVOS33ParametersWithFD

type IoctlNVOS33ParametersWithFD struct {
	Params NVOS33Parameters
	FD     int32
	Pad0   [4]byte
}

IoctlNVOS33ParametersWithFD is nv_ioctl_nvos33_parameters_with_fd, 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 (i *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 (i *IoctlNVOS33ParametersWithFD) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlNVOS33ParametersWithFD) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlNVOS33ParametersWithFD) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlNVOS33ParametersWithFD) Packed

func (i *IoctlNVOS33ParametersWithFD) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlNVOS33ParametersWithFD) SizeBytes

func (i *IoctlNVOS33ParametersWithFD) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlNVOS33ParametersWithFD) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlNVOS33ParametersWithFD) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlNVOS33ParametersWithFD) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type IoctlRegisterFD

type IoctlRegisterFD struct {
	CtlFD int32
}

IoctlRegisterFD is nv_ioctl_register_fd_t, the parameter type for NV_ESC_REGISTER_FD.

+marshal

func (*IoctlRegisterFD) CopyIn

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

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlRegisterFD) CopyInN

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

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlRegisterFD) CopyOut

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

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlRegisterFD) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlRegisterFD) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlRegisterFD) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlRegisterFD) Packed

func (i *IoctlRegisterFD) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlRegisterFD) SizeBytes

func (i *IoctlRegisterFD) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlRegisterFD) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlRegisterFD) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlRegisterFD) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type IoctlSysParams

type IoctlSysParams struct {
	MemblockSize uint64
}

IoctlSysParams is nv_ioctl_sys_params_t, the parameter type for NV_ESC_SYS_PARAMS.

+marshal

func (*IoctlSysParams) CopyIn

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

CopyIn implements marshal.Marshallable.CopyIn.

func (*IoctlSysParams) CopyInN

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

CopyInN implements marshal.Marshallable.CopyInN.

func (*IoctlSysParams) CopyOut

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

CopyOut implements marshal.Marshallable.CopyOut.

func (*IoctlSysParams) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*IoctlSysParams) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*IoctlSysParams) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*IoctlSysParams) Packed

func (i *IoctlSysParams) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*IoctlSysParams) SizeBytes

func (i *IoctlSysParams) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*IoctlSysParams) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*IoctlSysParams) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*IoctlSysParams) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS

type NV0000_CTRL_SYSTEM_GET_BUILD_VERSION_PARAMS struct {
	SizeOfStrings            uint32
	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 NV0005_ALLOC_PARAMETERS

type NV0005_ALLOC_PARAMETERS struct {
	HParentClient Handle
	HSrcResource  Handle
	HClass        uint32
	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_OS_EVENT, 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
	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
	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_GR_ROUTE_INFO

type NV0080_CTRL_GR_ROUTE_INFO struct {
	Flags uint32
	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 NV00F8_ALLOCATION_PARAMETERS

type NV00F8_ALLOCATION_PARAMETERS struct {
	Alignment  uint64
	AllocSize  uint64
	PageSize   uint32
	AllocFlags uint32
	Map        nv00f8Map
}

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 NV2080_ALLOC_PARAMETERS

type NV2080_ALLOC_PARAMETERS struct {
	SubDeviceID uint32
}

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
	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 {
	GRInfoListSize uint32 // in elements
	Pad            [4]byte
	GRInfoList     P64
	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 (n *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) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) MarshalUnsafe

func (n *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) SizeBytes

func (n *NV2080_CTRL_GR_GET_INFO_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NV2080_CTRL_GR_GET_INFO_PARAMS) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type NV503C_ALLOC_PARAMETERS

type NV503C_ALLOC_PARAMETERS struct {
	Flags uint32
}

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 NV83DE_ALLOC_PARAMETERS

type NV83DE_ALLOC_PARAMETERS struct {
	HDebuggerClient_Obsolete Handle
	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 NVB0B5_ALLOCATION_PARAMETERS

type NVB0B5_ALLOCATION_PARAMETERS struct {
	Version    uint32
	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
	HObjectParent Handle
	HObjectOld    Handle
	Status        uint32
}

NVOS00Parameters is NVOS00_PARAMETERS, the parameter type for NV_ESC_RM_FREE.

+marshal

func (*NVOS00Parameters) CopyIn

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

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS00Parameters) CopyInN

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

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS00Parameters) CopyOut

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

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS00Parameters) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS00Parameters) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS00Parameters) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS00Parameters) Packed

func (n *NVOS00Parameters) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS00Parameters) SizeBytes

func (n *NVOS00Parameters) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS00Parameters) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS00Parameters) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS00Parameters) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type NVOS02Parameters

type NVOS02Parameters struct {
	HRoot         Handle
	HObjectParent Handle
	HObjectNew    Handle
	HClass        uint32
	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
	HObjectParent Handle
	HObjectNew    Handle
	HClass        uint32
	PAllocParms   P64
	Status        uint32
	Pad0          [4]byte
}

NVOS21Parameters is NVOS21_PARAMETERS, 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) FromOS64V535

func (n *NVOS21Parameters) FromOS64V535(other NVOS64ParametersV535)

FromOS64V535 implements RmAllocParamType.FromOS64V535.

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) 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) ToOS64V535

func (n *NVOS21Parameters) ToOS64V535() NVOS64ParametersV535

ToOS64V535 implements RmAllocParamType.ToOS64V535.

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 NVOS21ParametersV535

type NVOS21ParametersV535 struct {
	HRoot         Handle
	HObjectParent Handle
	HObjectNew    Handle
	HClass        uint32
	PAllocParms   P64
	ParamsSize    uint32
	Status        uint32
}

NVOS21ParametersV535 is the updated version of NVOS21Parameters starting from 535.43.02.

+marshal

func (*NVOS21ParametersV535) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS21ParametersV535) CopyInN

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

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS21ParametersV535) CopyOut

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

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS21ParametersV535) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS21ParametersV535) FromOS64V535

func (n *NVOS21ParametersV535) FromOS64V535(other NVOS64ParametersV535)

FromOS64V535 implements RmAllocParamType.FromOS64V535.

func (*NVOS21ParametersV535) GetPAllocParms

func (n *NVOS21ParametersV535) GetPAllocParms() P64

GetPAllocParms implements RmAllocParamType.GetPAllocParms.

func (*NVOS21ParametersV535) GetPRightsRequested

func (n *NVOS21ParametersV535) GetPRightsRequested() P64

GetPRightsRequested implements RmAllocParamType.GetPRightsRequested.

func (*NVOS21ParametersV535) GetPointer

func (n *NVOS21ParametersV535) GetPointer() uintptr

GetPointer implements RmAllocParamType.GetPointer.

func (*NVOS21ParametersV535) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS21ParametersV535) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS21ParametersV535) Packed

func (n *NVOS21ParametersV535) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS21ParametersV535) SetPAllocParms

func (n *NVOS21ParametersV535) SetPAllocParms(p P64)

SetPAllocParms implements RmAllocParamType.SetPAllocParms.

func (*NVOS21ParametersV535) SetPRightsRequested

func (n *NVOS21ParametersV535) SetPRightsRequested(p P64)

SetPRightsRequested implements RmAllocParamType.SetPRightsRequested.

func (*NVOS21ParametersV535) SizeBytes

func (n *NVOS21ParametersV535) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS21ParametersV535) ToOS64V535

ToOS64V535 implements RmAllocParamType.ToOS64V535.

func (*NVOS21ParametersV535) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS21ParametersV535) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS21ParametersV535) WriteTo

func (n *NVOS21ParametersV535) 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
	HObjectParent Handle
	Function      uint32
	HVASpace      Handle
	IVCHeapNumber int16
	Pad           [2]byte
	Status        uint32
	Total         uint64
	Free          uint64
	Data          [144]byte // union
}

NVOS32Parameters is NVOS32_PARAMETERS, 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) 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
	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
	HDevice        Handle
	HMemory        Handle
	Pad0           [4]byte
	PLinearAddress P64 // address of application mapping, without indirection
	Status         uint32
	Flags          uint32
}

NVOS34Parameters is NVOS34_PARAMETERS, 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) 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 NVOS54Parameters

type NVOS54Parameters struct {
	HClient    Handle
	HObject    Handle
	Cmd        uint32
	Flags      uint32
	Params     P64
	ParamsSize uint32
	Status     uint32
}

NVOS54Parameters is NVOS54_PARAMETERS, 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) 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
	HParent    Handle
	HObject    Handle
	HClientSrc Handle
	HObjectSrc Handle
	Flags      uint32
	Status     uint32
}

NVOS55Parameters is NVOS55_PARAMETERS, 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) 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
	HDevice        Handle
	HMemory        Handle
	Pad0           [4]byte
	POldCPUAddress P64
	PNewCPUAddress P64
	Status         uint32
	Pad1           [4]byte
}

NVOS56Parameters is NVOS56_PARAMETERS, 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) 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
	HObject     Handle
	SharePolicy RS_SHARE_POLICY
	Status      uint32
}

NVOS57Parameters is NVOS57_PARAMETERS, 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) 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
	HObjectParent    Handle
	HObjectNew       Handle
	HClass           uint32
	PAllocParms      P64
	PRightsRequested P64
	Flags            uint32
	Status           uint32
}

NVOS64Parameters is NVOS64_PARAMETERS, one possible parameter type for NV_ESC_RM_ALLOC.

+marshal

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) FromOS64V535

func (n *NVOS64Parameters) FromOS64V535(other NVOS64ParametersV535)

FromOS64V535 implements RmAllocParamType.FromOS64V535.

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) 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) ToOS64V535

func (n *NVOS64Parameters) ToOS64V535() NVOS64ParametersV535

ToOS64V535 implements RmAllocParamType.ToOS64V535.

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 NVOS64ParametersV535

type NVOS64ParametersV535 struct {
	HRoot            Handle
	HObjectParent    Handle
	HObjectNew       Handle
	HClass           uint32
	PAllocParms      P64
	PRightsRequested P64
	ParamsSize       uint32
	Flags            uint32
	Status           uint32
	// contains filtered or unexported fields
}

NVOS64ParametersV535 is the updated version of NVOS64Parameters starting from 535.43.02.

+marshal

func (*NVOS64ParametersV535) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*NVOS64ParametersV535) CopyInN

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

CopyInN implements marshal.Marshallable.CopyInN.

func (*NVOS64ParametersV535) CopyOut

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

CopyOut implements marshal.Marshallable.CopyOut.

func (*NVOS64ParametersV535) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*NVOS64ParametersV535) FromOS64V535

func (n *NVOS64ParametersV535) FromOS64V535(other NVOS64ParametersV535)

FromOS64V535 implements RmAllocParamType.FromOS64V535.

func (*NVOS64ParametersV535) GetPAllocParms

func (n *NVOS64ParametersV535) GetPAllocParms() P64

GetPAllocParms implements RmAllocParamType.GetPAllocParms.

func (*NVOS64ParametersV535) GetPRightsRequested

func (n *NVOS64ParametersV535) GetPRightsRequested() P64

GetPRightsRequested implements RmAllocParamType.GetPRightsRequested.

func (*NVOS64ParametersV535) GetPointer

func (n *NVOS64ParametersV535) GetPointer() uintptr

GetPointer implements RmAllocParamType.GetPointer.

func (*NVOS64ParametersV535) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*NVOS64ParametersV535) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*NVOS64ParametersV535) Packed

func (n *NVOS64ParametersV535) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*NVOS64ParametersV535) SetPAllocParms

func (n *NVOS64ParametersV535) SetPAllocParms(p P64)

SetPAllocParms implements RmAllocParamType.SetPAllocParms.

func (*NVOS64ParametersV535) SetPRightsRequested

func (n *NVOS64ParametersV535) SetPRightsRequested(p P64)

SetPRightsRequested implements RmAllocParamType.SetPRightsRequested.

func (*NVOS64ParametersV535) SizeBytes

func (n *NVOS64ParametersV535) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*NVOS64ParametersV535) ToOS64V535

ToOS64V535 implements RmAllocParamType.ToOS64V535.

func (*NVOS64ParametersV535) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*NVOS64ParametersV535) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*NVOS64ParametersV535) WriteTo

func (n *NVOS64ParametersV535) 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
}

+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
	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
}

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
	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
	// contains filtered or unexported fields
}

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
	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_GR_ALLOCATION_PARAMETERS

type NV_GR_ALLOCATION_PARAMETERS struct {
	Version uint32
	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
	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_DESC_PARAMS

type NV_MEMORY_DESC_PARAMS struct {
	Base         uint64
	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_VASPACE_ALLOCATION_PARAMETERS

type NV_VASPACE_ALLOCATION_PARAMETERS struct {
	Index           uint32
	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 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
	Reply         uint32
	VersionString [64]byte
}

RMAPIVersion is nv_rm_api_version_t, the parameter type for NV_ESC_CHECK_VERSION_STR.

+marshal

func (*RMAPIVersion) CopyIn

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

CopyIn implements marshal.Marshallable.CopyIn.

func (*RMAPIVersion) CopyInN

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

CopyInN implements marshal.Marshallable.CopyInN.

func (*RMAPIVersion) CopyOut

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

CopyOut implements marshal.Marshallable.CopyOut.

func (*RMAPIVersion) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*RMAPIVersion) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*RMAPIVersion) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*RMAPIVersion) Packed

func (r *RMAPIVersion) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*RMAPIVersion) SizeBytes

func (r *RMAPIVersion) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*RMAPIVersion) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*RMAPIVersion) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*RMAPIVersion) WriteTo

func (r *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

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) 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 {
	GetPAllocParms() P64
	GetPRightsRequested() P64
	SetPAllocParms(p P64)
	SetPRightsRequested(p P64)
	FromOS64V535(other NVOS64ParametersV535)
	ToOS64V535() NVOS64ParametersV535
	GetPointer() uintptr
	marshal.Marshallable
}

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

func GetRmAllocParamObj

func GetRmAllocParamObj(isNVOS64 bool, isV535 bool) RmAllocParamType

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

type UVM_ALLOC_SEMAPHORE_POOL_PARAMS

type UVM_ALLOC_SEMAPHORE_POOL_PARAMS struct {
	Base               uint64
	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 (u *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) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) MarshalUnsafe

func (u *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 (u *UVM_ALLOC_SEMAPHORE_POOL_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_ALLOC_SEMAPHORE_POOL_PARAMS) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type UVM_CREATE_EXTERNAL_RANGE_PARAMS

type UVM_CREATE_EXTERNAL_RANGE_PARAMS struct {
	Base     uint64
	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) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) MarshalUnsafe

func (u *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 (u *UVM_CREATE_EXTERNAL_RANGE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_CREATE_EXTERNAL_RANGE_PARAMS) WriteTo

func (u *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
	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 (u *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 (u *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) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) MarshalUnsafe

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

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) Packed

func (u *UVM_CREATE_RANGE_GROUP_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) SizeBytes

func (u *UVM_CREATE_RANGE_GROUP_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_CREATE_RANGE_GROUP_PARAMS) WriteTo

func (u *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
	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 (u *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) MarshalBytes

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

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) MarshalUnsafe

func (u *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 (u *UVM_DESTROY_RANGE_GROUP_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) UnmarshalBytes

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

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) UnmarshalUnsafe

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

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_DESTROY_RANGE_GROUP_PARAMS) WriteTo

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

WriteTo implements io.WriterTo.WriteTo.

type UVM_FREE_PARAMS

type UVM_FREE_PARAMS struct {
	Base     uint64
	Length   uint64
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_FREE_PARAMS) CopyIn

func (u *UVM_FREE_PARAMS) CopyIn(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_FREE_PARAMS) CopyInN

func (u *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 (u *UVM_FREE_PARAMS) CopyOut(cc marshal.CopyContext, addr hostarch.Addr) (int, error)

CopyOut implements marshal.Marshallable.CopyOut.

func (*UVM_FREE_PARAMS) CopyOutN

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

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_FREE_PARAMS) MarshalBytes

func (u *UVM_FREE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_FREE_PARAMS) MarshalUnsafe

func (u *UVM_FREE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_FREE_PARAMS) Packed

func (u *UVM_FREE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_FREE_PARAMS) SizeBytes

func (u *UVM_FREE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_FREE_PARAMS) UnmarshalBytes

func (u *UVM_FREE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_FREE_PARAMS) UnmarshalUnsafe

func (u *UVM_FREE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_FREE_PARAMS) WriteTo

func (u *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
	RMStatus uint32
	Pad0     [4]byte
}

+marshal

func (*UVM_INITIALIZE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_INITIALIZE_PARAMS) CopyInN

func (u *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 (u *UVM_INITIALIZE_PARAMS) CopyOutN(cc marshal.CopyContext, addr hostarch.Addr, limit int) (int, error)

CopyOutN implements marshal.Marshallable.CopyOutN.

func (*UVM_INITIALIZE_PARAMS) MarshalBytes

func (u *UVM_INITIALIZE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_INITIALIZE_PARAMS) MarshalUnsafe

func (u *UVM_INITIALIZE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_INITIALIZE_PARAMS) Packed

func (u *UVM_INITIALIZE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_INITIALIZE_PARAMS) SizeBytes

func (u *UVM_INITIALIZE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_INITIALIZE_PARAMS) UnmarshalBytes

func (u *UVM_INITIALIZE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_INITIALIZE_PARAMS) UnmarshalUnsafe

func (u *UVM_INITIALIZE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_INITIALIZE_PARAMS) WriteTo

func (u *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
	Length   uint64
	GPUUUID  [16]uint8
	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) MarshalBytes

func (u *UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) MarshalUnsafe

func (u *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 (u *UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MAP_DYNAMIC_PARALLELISM_REGION_PARAMS) UnmarshalUnsafe

func (u *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
	Length             uint64
	Offset             uint64
	PerGPUAttributes   [UVM_MAX_GPUS]UvmGpuMappingAttributes
	GPUAttributesCount uint64
	RMCtrlFD           int32
	HClient            Handle
	HMemory            Handle
	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) GetRMCtrlFD

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) GetRMCtrlFD() int32

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) SetRMCtrlFD

func (p *UVM_MAP_EXTERNAL_ALLOCATION_PARAMS) SetRMCtrlFD(fd int32)

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_MM_INITIALIZE_PARAMS

type UVM_MM_INITIALIZE_PARAMS struct {
	UvmFD  int32
	Status uint32
}

+marshal

func (*UVM_MM_INITIALIZE_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_MM_INITIALIZE_PARAMS) CopyInN

func (u *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 (u *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) MarshalBytes

func (u *UVM_MM_INITIALIZE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_MM_INITIALIZE_PARAMS) MarshalUnsafe

func (u *UVM_MM_INITIALIZE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_MM_INITIALIZE_PARAMS) Packed

func (u *UVM_MM_INITIALIZE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_MM_INITIALIZE_PARAMS) SizeBytes

func (u *UVM_MM_INITIALIZE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_MM_INITIALIZE_PARAMS) UnmarshalBytes

func (u *UVM_MM_INITIALIZE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_MM_INITIALIZE_PARAMS) UnmarshalUnsafe

func (u *UVM_MM_INITIALIZE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_MM_INITIALIZE_PARAMS) WriteTo

func (u *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
	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 (u *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) MarshalBytes

func (u *UVM_PAGEABLE_MEM_ACCESS_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) MarshalUnsafe

func (u *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 (u *UVM_PAGEABLE_MEM_ACCESS_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) UnmarshalBytes

func (u *UVM_PAGEABLE_MEM_ACCESS_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) UnmarshalUnsafe

func (u *UVM_PAGEABLE_MEM_ACCESS_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_PAGEABLE_MEM_ACCESS_PARAMS) WriteTo

func (u *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  [16]uint8
	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) GetRMCtrlFD

func (p *UVM_REGISTER_CHANNEL_PARAMS) GetRMCtrlFD() int32

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) SetRMCtrlFD

func (p *UVM_REGISTER_CHANNEL_PARAMS) SetRMCtrlFD(fd int32)

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     [16]uint8
	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) GetRMCtrlFD

func (p *UVM_REGISTER_GPU_PARAMS) GetRMCtrlFD() int32

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) SetRMCtrlFD

func (p *UVM_REGISTER_GPU_PARAMS) SetRMCtrlFD(fd int32)

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  [16]uint8
	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) GetRMCtrlFD

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) GetRMCtrlFD() int32

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) SetRMCtrlFD

func (p *UVM_REGISTER_GPU_VASPACE_PARAMS) SetRMCtrlFD(fd int32)

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_UNREGISTER_CHANNEL_PARAMS

type UVM_UNREGISTER_CHANNEL_PARAMS struct {
	GPUUUID  [16]uint8
	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 (u *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 (u *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) MarshalBytes

func (u *UVM_UNREGISTER_CHANNEL_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) MarshalUnsafe

func (u *UVM_UNREGISTER_CHANNEL_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) Packed

func (u *UVM_UNREGISTER_CHANNEL_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) SizeBytes

func (u *UVM_UNREGISTER_CHANNEL_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) UnmarshalBytes

func (u *UVM_UNREGISTER_CHANNEL_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) UnmarshalUnsafe

func (u *UVM_UNREGISTER_CHANNEL_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNREGISTER_CHANNEL_PARAMS) WriteTo

func (u *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  [16]uint8
	RMStatus uint32
}

+marshal

func (*UVM_UNREGISTER_GPU_PARAMS) CopyIn

CopyIn implements marshal.Marshallable.CopyIn.

func (*UVM_UNREGISTER_GPU_PARAMS) CopyInN

func (u *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 (u *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) MarshalBytes

func (u *UVM_UNREGISTER_GPU_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNREGISTER_GPU_PARAMS) MarshalUnsafe

func (u *UVM_UNREGISTER_GPU_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_UNREGISTER_GPU_PARAMS) Packed

func (u *UVM_UNREGISTER_GPU_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_UNREGISTER_GPU_PARAMS) SizeBytes

func (u *UVM_UNREGISTER_GPU_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNREGISTER_GPU_PARAMS) UnmarshalBytes

func (u *UVM_UNREGISTER_GPU_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNREGISTER_GPU_PARAMS) UnmarshalUnsafe

func (u *UVM_UNREGISTER_GPU_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNREGISTER_GPU_PARAMS) WriteTo

func (u *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  [16]uint8
	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) MarshalBytes

func (u *UVM_UNREGISTER_GPU_VASPACE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) MarshalUnsafe

func (u *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 (u *UVM_UNREGISTER_GPU_VASPACE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) UnmarshalBytes

func (u *UVM_UNREGISTER_GPU_VASPACE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) UnmarshalUnsafe

func (u *UVM_UNREGISTER_GPU_VASPACE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_UNREGISTER_GPU_VASPACE_PARAMS) WriteTo

func (u *UVM_UNREGISTER_GPU_VASPACE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UVM_VALIDATE_VA_RANGE_PARAMS

type UVM_VALIDATE_VA_RANGE_PARAMS struct {
	Base     uint64
	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 (u *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 (u *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) MarshalBytes

func (u *UVM_VALIDATE_VA_RANGE_PARAMS) MarshalBytes(dst []byte) []byte

MarshalBytes implements marshal.Marshallable.MarshalBytes.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) MarshalUnsafe

func (u *UVM_VALIDATE_VA_RANGE_PARAMS) MarshalUnsafe(dst []byte) []byte

MarshalUnsafe implements marshal.Marshallable.MarshalUnsafe.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) Packed

func (u *UVM_VALIDATE_VA_RANGE_PARAMS) Packed() bool

Packed implements marshal.Marshallable.Packed.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) SizeBytes

func (u *UVM_VALIDATE_VA_RANGE_PARAMS) SizeBytes() int

SizeBytes implements marshal.Marshallable.SizeBytes.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) UnmarshalBytes

func (u *UVM_VALIDATE_VA_RANGE_PARAMS) UnmarshalBytes(src []byte) []byte

UnmarshalBytes implements marshal.Marshallable.UnmarshalBytes.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) UnmarshalUnsafe

func (u *UVM_VALIDATE_VA_RANGE_PARAMS) UnmarshalUnsafe(src []byte) []byte

UnmarshalUnsafe implements marshal.Marshallable.UnmarshalUnsafe.

func (*UVM_VALIDATE_VA_RANGE_PARAMS) WriteTo

func (u *UVM_VALIDATE_VA_RANGE_PARAMS) WriteTo(writer io.Writer) (int64, error)

WriteTo implements io.WriterTo.WriteTo.

type UvmGpuMappingAttributes

type UvmGpuMappingAttributes struct {
	GPUUUID            [16]byte
	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