source_file
comment "// go run mksyscall.go -l32 -netbsd -arm -tags netbsd,arm sy"...
comment "// Code generated by the command above; see README.md. DO NO"...
comment "//go:build netbsd && arm"
comment "// +build netbsd,arm"
package_clause
package "package"
package_identifier "unix"
import_declaration
import "import"
import_spec_list
( "("
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "syscall"
" "\""
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "unsafe"
" "\""
) ")"
var_declaration
var "var"
var_spec
identifier "_"
qualified_type
package_identifier "syscall"
. "."
type_identifier "Errno"
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+102 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+87 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+136 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+121 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+89 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+89 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+101 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+123 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+113 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+106 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+106 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+115 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+222 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+190 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+111 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+111 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+150 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+131 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+91 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+111 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+154 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+145 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+68 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+154 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+154 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+145 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+60 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+91 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+169 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+160 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+86 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration
func "func"
identifier "ioctlPtr"
parameter_list
( "("
parameter_declaration
identifier "fd"
type_identifier "int"
, ","
parameter_declaration
identifier "req"
type_identifier "uint"
, ","
parameter_declaration
identifier "arg"
qualified_type
package_identifier "unsafe"
. "."
type_identifier "Pointer"
) ")"
parameter_list
( "("
parameter_declaration
identifier "err"
type_identifier "error"
) ")"
block
{ "{"
statement_list
short_var_declaration
expression_list
identifier "_"
, ","
identifier "_"
, ","
identifier "e1"
:= ":="
expression_list
call_expression
identifier "Syscall"
argument_list
( "("
identifier "SYS_IOCTL"
, ","
call_expression
identifier "uintptr"
argument_list
( "("
identifier "fd"
) ")"
, ","
call_expression
identifier "uintptr"
argument_list
( "("
identifier "req"
) ")"
, ","
call_expression
identifier "uintptr"
argument_list
( "("
identifier "arg"
) ")"
) ")"
if_statement
if "if"
binary_expression
identifier "e1"
!= "!="
int_literal "0"
block
{ "{"
statement_list
assignment_statement
expression_list
identifier "err"
= "="
expression_list
call_expression
identifier "errnoErr"
argument_list
( "("
identifier "e1"
) ")"
} "}"
return_statement
return "return"
} "}"
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+217 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+117 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+97 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+108 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+117 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+117 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+126 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+108 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+87 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+68 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+83 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+86 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+33 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+165 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+165 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+126 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+116 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+205 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+205 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+166 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+156 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+205 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+205 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+166 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+156 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+141 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+123 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+68 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+141 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+86 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+150 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+92 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+87 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+151 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+96 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+68 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+91 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+50 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+50 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+50 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+83 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+50 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+50 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+50 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+92 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+87 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+87 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+83 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+78 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+50 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+53 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+80 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+75 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+126 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+157 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+190 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+127 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+117 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+126 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+117 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+126 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+126 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+141 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+97 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+141 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+156 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+132 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+192 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+192 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+169 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+209 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+224 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+157 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+181 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+108 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+108 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+131 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+165 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+68 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+68 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+68 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+86 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+75 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+78 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+68 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+127 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+136 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+157 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+166 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+60 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+131 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+58 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+108 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+126 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+117 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+169 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+148 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+77 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+111 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+111 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration (+155 nodes collapsed)
comment "// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT "...
function_declaration
func "func"
identifier "mremapNetBSD"
parameter_list
( "("
parameter_declaration
identifier "oldp"
type_identifier "uintptr"
, ","
parameter_declaration
identifier "oldsize"
type_identifier "uintptr"
, ","
parameter_declaration
identifier "newp"
type_identifier "uintptr"
, ","
parameter_declaration
identifier "newsize"
type_identifier "uintptr"
, ","
parameter_declaration
identifier "flags"
type_identifier "int"
) ")"
parameter_list
( "("
parameter_declaration
identifier "xaddr"
type_identifier "uintptr"
, ","
parameter_declaration
identifier "err"
type_identifier "error"
) ")"
block
{ "{"
statement_list
short_var_declaration
expression_list
identifier "r0"
, ","
identifier "_"
, ","
identifier "e1"
:= ":="
expression_list
call_expression
identifier "Syscall6"
argument_list
( "("
identifier "SYS_MREMAP"
, ","
call_expression
identifier "uintptr"
argument_list
( "("
identifier "oldp"
) ")"
, ","
call_expression
identifier "uintptr"
argument_list
( "("
identifier "oldsize"
) ")"
, ","
call_expression
identifier "uintptr"
argument_list
( "("
identifier "newp"
) ")"
, ","
call_expression
identifier "uintptr"
argument_list
( "("
identifier "newsize"
) ")"
, ","
call_expression
identifier "uintptr"
argument_list
( "("
identifier "flags"
) ")"
, ","
int_literal "0"
) ")"
assignment_statement
expression_list
identifier "xaddr"
= "="
expression_list
call_expression
identifier "uintptr"
argument_list
( "("
identifier "r0"
) ")"
if_statement
if "if"
binary_expression
identifier "e1"
!= "!="
int_literal "0"
block
{ "{"
statement_list
assignment_statement
expression_list
identifier "err"
= "="
expression_list
call_expression
identifier "errnoErr"
argument_list
( "("
identifier "e1"
) ")"
} "}"
return_statement
return "return"
} "}"