goiouring

package module
v0.0.0-...-60280f0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

README

go_io_uring

Golang uring library

Documentation

Index

Constants

View Source
const (
	SYS_IO_URING_SETUP    = 425
	SYS_IO_URING_ENTER    = 426
	SYS_IO_URING_REGISTER = 427
)

Variables

This section is empty.

Functions

func IOUringEnter

func IOUringEnter(fd uint, toSubmit uint32, minComplete uint32, flags uint32, sig *unix.Sigset_t, sigsz uint) (num uintptr, err error)

func IOUringRegister

func IOUringRegister(fd uint, opcode uint32, arg uintptr, nrArgs uint32) (res uintptr, err error)

func IOUringSetup

func IOUringSetup(entries uint32, params *IOUringParams) (fd uintptr, err error)

Types

type IOCqringOffsets

type IOCqringOffsets struct {
	// contains filtered or unexported fields
}

type IOSqringOffsets

type IOSqringOffsets struct {
	// contains filtered or unexported fields
}

type IOUringParams

type IOUringParams struct {
	SqEntries    uint32
	CqEntries    uint32
	Flags        uint32
	SqThreadCPU  uint32
	SqThreadIdle uint32
	Features     uint32
	WqFD         uint32
	Resv         [3]uint32
	SqOff        IOSqringOffsets
	CqOff        IOCqringOffsets
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL