pub struct LINUX_SYS_RISCV;
Available on crate feature
linux
only.Expand description
Linux sys/syscall.h
constants for riscv
.
Implementations§
Source§impl LINUX_SYS_RISCV
impl LINUX_SYS_RISCV
pub const ACCEPT: isize = 202isize
pub const ACCEPT4: isize = 242isize
pub const ACCT: isize = 89isize
pub const ADD_KEY: isize = 217isize
pub const ADJTIMEX: isize = 171isize
pub const ARCH_SPECIFIC_SYSCALL: isize = 244isize
pub const BIND: isize = 200isize
pub const BPF: isize = 280isize
pub const BRK: isize = 214isize
pub const CAPGET: isize = 90isize
pub const CAPSET: isize = 91isize
pub const CHDIR: isize = 49isize
pub const CHROOT: isize = 51isize
pub const CLOCK_ADJTIME: isize = 266isize
pub const CLOCK_GETRES: isize = 114isize
pub const CLOCK_GETTIME: isize = 113isize
pub const CLOCK_NANOSLEEP: isize = 115isize
pub const CLOCK_SETTIME: isize = 112isize
pub const CLONE: isize = 220isize
pub const CLONE3: isize = 435isize
pub const CLOSE: isize = 57isize
pub const CLOSE_RANGE: isize = 436isize
pub const CONNECT: isize = 203isize
pub const COPY_FILE_RANGE: isize = 285isize
pub const DELETE_MODULE: isize = 106isize
pub const DUP: isize = 23isize
pub const DUP3: isize = 24isize
pub const EPOLL_CREATE1: isize = 20isize
pub const EPOLL_CTL: isize = 21isize
pub const EPOLL_PWAIT: isize = 22isize
pub const EPOLL_PWAIT2: isize = 441isize
pub const EVENTFD2: isize = 19isize
pub const EXECVE: isize = 221isize
pub const EXECVEAT: isize = 281isize
pub const EXIT: isize = 93isize
pub const EXIT_GROUP: isize = 94isize
pub const FACCESSAT2: isize = 439isize
pub const FACCESSAT: isize = 48isize
pub const FALLOCATE: isize = 47isize
pub const FANOTIFY_INIT: isize = 262isize
pub const FANOTIFY_MARK: isize = 263isize
pub const FCHDIR: isize = 50isize
pub const FCHMOD: isize = 52isize
pub const FCHMODAT: isize = 53isize
pub const FCHOWN: isize = 55isize
pub const FCHOWNAT: isize = 54isize
pub const FDATASYNC: isize = 83isize
pub const FGETXATTR: isize = 10isize
pub const FINIT_MODULE: isize = 273isize
pub const FLISTXATTR: isize = 13isize
pub const FLOCK: isize = 32isize
pub const FREMOVEXATTR: isize = 16isize
pub const FSCONFIG: isize = 431isize
pub const FSETXATTR: isize = 7isize
pub const FSMOUNT: isize = 432isize
pub const FSOPEN: isize = 430isize
pub const FSPICK: isize = 433isize
pub const FSYNC: isize = 82isize
pub const FUTEX: isize = 98isize
pub const GETCPU: isize = 168isize
pub const GETCWD: isize = 17isize
pub const GETDENTS64: isize = 61isize
pub const GETEGID: isize = 177isize
pub const GETEUID: isize = 175isize
pub const GETGID: isize = 176isize
pub const GETGROUPS: isize = 158isize
pub const GETITIMER: isize = 102isize
pub const GET_MEMPOLICY: isize = 236isize
pub const GETPEERNAME: isize = 205isize
pub const GETPGID: isize = 155isize
pub const GETPID: isize = 172isize
pub const GETPPID: isize = 173isize
pub const GETPRIORITY: isize = 141isize
pub const GETRANDOM: isize = 278isize
pub const GETRESGID: isize = 150isize
pub const GETRESUID: isize = 148isize
pub const GETRLIMIT: isize = 163isize
pub const GET_ROBUST_LIST: isize = 100isize
pub const GETRUSAGE: isize = 165isize
pub const GETSID: isize = 156isize
pub const GETSOCKNAME: isize = 204isize
pub const GETSOCKOPT: isize = 209isize
pub const GETTID: isize = 178isize
pub const GETTIMEOFDAY: isize = 169isize
pub const GETUID: isize = 174isize
pub const GETXATTR: isize = 8isize
pub const INIT_MODULE: isize = 105isize
pub const INOTIFY_ADD_WATCH: isize = 27isize
pub const INOTIFY_INIT1: isize = 26isize
pub const INOTIFY_RM_WATCH: isize = 28isize
pub const IO_CANCEL: isize = 3isize
pub const IOCTL: isize = 29isize
pub const IO_DESTROY: isize = 1isize
pub const IO_GETEVENTS: isize = 4isize
pub const IO_PGETEVENTS: isize = 292isize
pub const IOPRIO_GET: isize = 31isize
pub const IOPRIO_SET: isize = 30isize
pub const IO_SETUP: isize = 0isize
pub const IO_SUBMIT: isize = 2isize
pub const IO_URING_ENTER: isize = 426isize
pub const IO_URING_REGISTER: isize = 427isize
pub const IO_URING_SETUP: isize = 425isize
pub const KCMP: isize = 272isize
pub const KEXEC_FILE_LOAD: isize = 294isize
pub const KEXEC_LOAD: isize = 104isize
pub const KEYCTL: isize = 219isize
pub const KILL: isize = 129isize
pub const LANDLOCK_ADD_RULE: isize = 445isize
pub const LANDLOCK_CREATE_RULESET: isize = 444isize
pub const LANDLOCK_RESTRICT_SELF: isize = 446isize
pub const LGETXATTR: isize = 9isize
pub const LINKAT: isize = 37isize
pub const LISTEN: isize = 201isize
pub const LISTXATTR: isize = 11isize
pub const LLISTXATTR: isize = 12isize
pub const LOOKUP_DCOOKIE: isize = 18isize
pub const LREMOVEXATTR: isize = 15isize
pub const LSETXATTR: isize = 6isize
pub const MADVISE: isize = 233isize
pub const MBIND: isize = 235isize
pub const MEMBARRIER: isize = 283isize
pub const MEMFD_CREATE: isize = 279isize
pub const MEMFD_SECRET: isize = 447isize
pub const MIGRATE_PAGES: isize = 238isize
pub const MINCORE: isize = 232isize
pub const MKDIRAT: isize = 34isize
pub const MKNODAT: isize = 33isize
pub const MLOCK: isize = 228isize
pub const MLOCK2: isize = 284isize
pub const MLOCKALL: isize = 230isize
pub const MOUNT: isize = 40isize
pub const MOUNT_SETATTR: isize = 442isize
pub const MOVE_MOUNT: isize = 429isize
pub const MOVE_PAGES: isize = 239isize
pub const MPROTECT: isize = 226isize
pub const MQ_GETSETATTR: isize = 185isize
pub const MQ_NOTIFY: isize = 184isize
pub const MQ_OPEN: isize = 180isize
pub const MQ_TIMEDRECEIVE: isize = 183isize
pub const MQ_TIMEDSEND: isize = 182isize
pub const MQ_UNLINK: isize = 181isize
pub const MREMAP: isize = 216isize
pub const MSGCTL: isize = 187isize
pub const MSGGET: isize = 186isize
pub const MSGRCV: isize = 188isize
pub const MSGSND: isize = 189isize
pub const MSYNC: isize = 227isize
pub const MUNLOCK: isize = 229isize
pub const MUNLOCKALL: isize = 231isize
pub const MUNMAP: isize = 215isize
pub const NAME_TO_HANDLE_AT: isize = 264isize
pub const NANOSLEEP: isize = 101isize
pub const NFSSERVCTL: isize = 42isize
pub const OPENAT2: isize = 437isize
pub const OPENAT: isize = 56isize
pub const OPEN_BY_HANDLE_AT: isize = 265isize
pub const OPEN_TREE: isize = 428isize
pub const PERF_EVENT_OPEN: isize = 241isize
pub const PERSONALITY: isize = 92isize
pub const PIDFD_GETFD: isize = 438isize
pub const PIDFD_OPEN: isize = 434isize
pub const PIDFD_SEND_SIGNAL: isize = 424isize
pub const PIPE2: isize = 59isize
pub const PIVOT_ROOT: isize = 41isize
pub const PKEY_ALLOC: isize = 289isize
pub const PKEY_FREE: isize = 290isize
pub const PKEY_MPROTECT: isize = 288isize
pub const PPOLL: isize = 73isize
pub const PRCTL: isize = 167isize
pub const PREAD64: isize = 67isize
pub const PREADV2: isize = 286isize
pub const PREADV: isize = 69isize
pub const PRLIMIT64: isize = 261isize
pub const PROCESS_MADVISE: isize = 440isize
pub const PROCESS_MRELEASE: isize = 448isize
pub const PROCESS_VM_READV: isize = 270isize
pub const PROCESS_VM_WRITEV: isize = 271isize
pub const PSELECT6: isize = 72isize
pub const PTRACE: isize = 117isize
pub const PWRITE64: isize = 68isize
pub const PWRITEV2: isize = 287isize
pub const PWRITEV: isize = 70isize
pub const QUOTACTL: isize = 60isize
pub const QUOTACTL_FD: isize = 443isize
pub const READ: isize = 63isize
pub const READAHEAD: isize = 213isize
pub const READLINKAT: isize = 78isize
pub const READV: isize = 65isize
pub const REBOOT: isize = 142isize
pub const RECVFROM: isize = 207isize
pub const RECVMMSG: isize = 243isize
pub const RECVMSG: isize = 212isize
pub const REMAP_FILE_PAGES: isize = 234isize
pub const REMOVEXATTR: isize = 14isize
pub const RENAMEAT2: isize = 276isize
pub const REQUEST_KEY: isize = 218isize
pub const RESTART_SYSCALL: isize = 128isize
pub const RISCV_FLUSH_ICACHE: isize = 244isize
pub const RSEQ: isize = 293isize
pub const RT_SIGACTION: isize = 134isize
pub const RT_SIGPENDING: isize = 136isize
pub const RT_SIGPROCMASK: isize = 135isize
pub const RT_SIGQUEUEINFO: isize = 138isize
pub const RT_SIGRETURN: isize = 139isize
pub const RT_SIGSUSPEND: isize = 133isize
pub const RT_SIGTIMEDWAIT: isize = 137isize
pub const RT_TGSIGQUEUEINFO: isize = 240isize
pub const SCHED_GETAFFINITY: isize = 123isize
pub const SCHED_GETATTR: isize = 275isize
pub const SCHED_GETPARAM: isize = 121isize
pub const SCHED_GET_PRIORITY_MAX: isize = 125isize
pub const SCHED_GET_PRIORITY_MIN: isize = 126isize
pub const SCHED_GETSCHEDULER: isize = 120isize
pub const SCHED_RR_GET_INTERVAL: isize = 127isize
pub const SCHED_SETAFFINITY: isize = 122isize
pub const SCHED_SETATTR: isize = 274isize
pub const SCHED_SETPARAM: isize = 118isize
pub const SCHED_SETSCHEDULER: isize = 119isize
pub const SCHED_YIELD: isize = 124isize
pub const SECCOMP: isize = 277isize
pub const SEMCTL: isize = 191isize
pub const SEMGET: isize = 190isize
pub const SEMOP: isize = 193isize
pub const SEMTIMEDOP: isize = 192isize
pub const SENDMMSG: isize = 269isize
pub const SENDMSG: isize = 211isize
pub const SENDTO: isize = 206isize
pub const SETDOMAINNAME: isize = 162isize
pub const SETFSGID: isize = 152isize
pub const SETFSUID: isize = 151isize
pub const SETGID: isize = 144isize
pub const SETGROUPS: isize = 159isize
pub const SETHOSTNAME: isize = 161isize
pub const SETITIMER: isize = 103isize
pub const SET_MEMPOLICY: isize = 237isize
pub const SETNS: isize = 268isize
pub const SETPGID: isize = 154isize
pub const SETPRIORITY: isize = 140isize
pub const SETREGID: isize = 143isize
pub const SETRESGID: isize = 149isize
pub const SETRESUID: isize = 147isize
pub const SETREUID: isize = 145isize
pub const SETRLIMIT: isize = 164isize
pub const SET_ROBUST_LIST: isize = 99isize
pub const SETSID: isize = 157isize
pub const SETSOCKOPT: isize = 208isize
pub const SET_TID_ADDRESS: isize = 96isize
pub const SETTIMEOFDAY: isize = 170isize
pub const SETUID: isize = 146isize
pub const SETXATTR: isize = 5isize
pub const SHMAT: isize = 196isize
pub const SHMCTL: isize = 195isize
pub const SHMDT: isize = 197isize
pub const SHMGET: isize = 194isize
pub const SHUTDOWN: isize = 210isize
pub const SIGALTSTACK: isize = 132isize
pub const SIGNALFD4: isize = 74isize
pub const SOCKET: isize = 198isize
pub const SOCKETPAIR: isize = 199isize
pub const SPLICE: isize = 76isize
pub const STATX: isize = 291isize
pub const SWAPOFF: isize = 225isize
pub const SWAPON: isize = 224isize
pub const SYMLINKAT: isize = 36isize
pub const SYNC: isize = 81isize
pub const SYNC_FILE_RANGE: isize = 84isize
pub const SYNCFS: isize = 267isize
pub const SYSCALLS: isize = 449isize
pub const SYSINFO: isize = 179isize
pub const SYSLOG: isize = 116isize
pub const TEE: isize = 77isize
pub const TGKILL: isize = 131isize
pub const TIMER_CREATE: isize = 107isize
pub const TIMER_DELETE: isize = 111isize
pub const TIMERFD_CREATE: isize = 85isize
pub const TIMERFD_GETTIME: isize = 87isize
pub const TIMERFD_SETTIME: isize = 86isize
pub const TIMER_GETOVERRUN: isize = 109isize
pub const TIMER_GETTIME: isize = 108isize
pub const TIMER_SETTIME: isize = 110isize
pub const TIMES: isize = 153isize
pub const TKILL: isize = 130isize
pub const UMASK: isize = 166isize
pub const UMOUNT2: isize = 39isize
pub const UNAME: isize = 160isize
pub const UNLINKAT: isize = 35isize
pub const UNSHARE: isize = 97isize
pub const USERFAULTFD: isize = 282isize
pub const UTIMENSAT: isize = 88isize
pub const VHANGUP: isize = 58isize
pub const VMSPLICE: isize = 75isize
pub const WAIT4: isize = 260isize
pub const WAITID: isize = 95isize
pub const WRITE: isize = 64isize
pub const WRITEV: isize = 66isize
Auto Trait Implementations§
impl Freeze for LINUX_SYS_RISCV
impl RefUnwindSafe for LINUX_SYS_RISCV
impl Send for LINUX_SYS_RISCV
impl Sync for LINUX_SYS_RISCV
impl Unpin for LINUX_SYS_RISCV
impl UnwindSafe for LINUX_SYS_RISCV
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ByteSized for T
impl<T> ByteSized for T
Source§const BYTE_ALIGN: usize = _
const BYTE_ALIGN: usize = _
The alignment of this type in bytes.
Source§fn byte_align(&self) -> usize ⓘ
fn byte_align(&self) -> usize ⓘ
Returns the alignment of this type in bytes.
Source§fn ptr_size_ratio(&self) -> [usize; 2]
fn ptr_size_ratio(&self) -> [usize; 2]
Source§impl<T, R> Chain<R> for Twhere
T: ?Sized,
impl<T, R> Chain<R> for Twhere
T: ?Sized,
Source§impl<T> ExtAny for T
impl<T> ExtAny for T
Source§fn as_any_mut(&mut self) -> &mut dyn Anywhere
Self: Sized,
fn as_any_mut(&mut self) -> &mut dyn Anywhere
Self: Sized,
Source§impl<T> ExtMem for Twhere
T: ?Sized,
impl<T> ExtMem for Twhere
T: ?Sized,
Source§const NEEDS_DROP: bool = _
const NEEDS_DROP: bool = _
Know whether dropping values of this type matters, in compile-time.
Source§fn mem_align_of_val(&self) -> usize ⓘ
fn mem_align_of_val(&self) -> usize ⓘ
Returns the alignment of the pointed-to value in bytes. Read more
Source§fn mem_size_of_val(&self) -> usize ⓘ
fn mem_size_of_val(&self) -> usize ⓘ
Returns the size of the pointed-to value in bytes. Read more
Source§fn mem_needs_drop(&self) -> bool
fn mem_needs_drop(&self) -> bool
Returns
true
if dropping values of this type matters. Read moreSource§fn mem_forget(self)where
Self: Sized,
fn mem_forget(self)where
Self: Sized,
Forgets about
self
without running its destructor. Read moreSource§fn mem_replace(&mut self, other: Self) -> Selfwhere
Self: Sized,
fn mem_replace(&mut self, other: Self) -> Selfwhere
Self: Sized,
Source§unsafe fn mem_zeroed<T>() -> T
unsafe fn mem_zeroed<T>() -> T
Available on crate feature
unsafe_layout
only.Returns the value of type
T
represented by the all-zero byte-pattern. Read moreSource§unsafe fn mem_transmute_copy<Src, Dst>(src: &Src) -> Dst
unsafe fn mem_transmute_copy<Src, Dst>(src: &Src) -> Dst
Available on crate feature
unsafe_layout
only.Returns the value of type
T
represented by the all-zero byte-pattern. Read moreSource§fn mem_as_bytes(&self) -> &[u8] ⓘ
fn mem_as_bytes(&self) -> &[u8] ⓘ
Available on crate feature
unsafe_slice
only.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Hook for T
impl<T> Hook for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError> ⓘ
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError> ⓘ
Returns the layout of the type.
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out
indicating that a T
is niched.