Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Levin Zimmermann
go-fuse
Commits
0c5b36c5
Commit
0c5b36c5
authored
Aug 11, 2010
by
Ivan Krasin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Public and shorter type names
parent
8d0ca045
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
47 deletions
+47
-47
fuse/types.go
fuse/types.go
+47
-47
No files found.
fuse/types.go
View file @
0c5b36c5
...
@@ -124,7 +124,7 @@ const (
...
@@ -124,7 +124,7 @@ const (
CUSE_INIT_INFO_MAX
=
4096
CUSE_INIT_INFO_MAX
=
4096
)
)
type
fuse_o
pcode
int
type
O
pcode
int
const
(
const
(
FUSE_LOOKUP
=
1
FUSE_LOOKUP
=
1
...
@@ -170,7 +170,7 @@ const (
...
@@ -170,7 +170,7 @@ const (
CUSE_INIT
=
4096
CUSE_INIT
=
4096
)
)
type
fuse_n
otyfy_code
int
type
N
otyfy_code
int
const
(
const
(
FUSE_NOTIFY_POLL
=
1
FUSE_NOTIFY_POLL
=
1
...
@@ -182,7 +182,7 @@ const (
...
@@ -182,7 +182,7 @@ const (
/* Make sure all structures are padded to 64bit boundary, so 32bit
/* Make sure all structures are padded to 64bit boundary, so 32bit
userspace works under 64bit kernels */
userspace works under 64bit kernels */
type
fuse_a
ttr
struct
{
type
A
ttr
struct
{
ino
uint64
ino
uint64
size
uint64
size
uint64
blocks
uint64
blocks
uint64
...
@@ -201,7 +201,7 @@ type fuse_attr struct {
...
@@ -201,7 +201,7 @@ type fuse_attr struct {
padding
uint32
padding
uint32
}
}
type
fuse_k
statfs
struct
{
type
K
statfs
struct
{
blocks
uint64
blocks
uint64
bfree
uint64
bfree
uint64
bavail
uint64
bavail
uint64
...
@@ -214,7 +214,7 @@ type fuse_kstatfs struct {
...
@@ -214,7 +214,7 @@ type fuse_kstatfs struct {
spare
[
6
]
uint32
spare
[
6
]
uint32
}
}
type
fuse_f
ile_lock
struct
{
type
F
ile_lock
struct
{
start
uint64
start
uint64
end
uint64
end
uint64
typ
uint32
typ
uint32
...
@@ -222,7 +222,7 @@ type fuse_file_lock struct {
...
@@ -222,7 +222,7 @@ type fuse_file_lock struct {
}
}
type
fuse_e
ntry_out
struct
{
type
E
ntry_out
struct
{
nodeid
uint64
/* Inode ID */
nodeid
uint64
/* Inode ID */
generation
uint64
/* Inode generation: nodeid:gen must
generation
uint64
/* Inode generation: nodeid:gen must
be unique for the fs's lifetime */
be unique for the fs's lifetime */
...
@@ -233,18 +233,18 @@ type fuse_entry_out struct {
...
@@ -233,18 +233,18 @@ type fuse_entry_out struct {
attr
fuse_attr
attr
fuse_attr
}
}
type
fuse_f
orget_in
struct
{
type
F
orget_in
struct
{
nlookup
uint64
nlookup
uint64
}
}
type
fuse_g
etattr_in
struct
{
type
G
etattr_in
struct
{
getattr_flags
uint32
getattr_flags
uint32
dummy
uint32
dummy
uint32
fh
uint64
fh
uint64
}
}
type
fuse_a
ttr_out
struct
{
type
A
ttr_out
struct
{
attr_valid
uint64
/* Cache timeout for the attributes */
attr_valid
uint64
/* Cache timeout for the attributes */
attr_valid_nsec
uint32
attr_valid_nsec
uint32
dummy
uint32
dummy
uint32
...
@@ -252,27 +252,27 @@ type fuse_attr_out struct {
...
@@ -252,27 +252,27 @@ type fuse_attr_out struct {
}
}
type
fuse_m
knod_in
struct
{
type
M
knod_in
struct
{
mode
uint32
mode
uint32
rdev
uint32
rdev
uint32
umask
uint32
umask
uint32
padding
uint32
padding
uint32
}
}
type
fuse_m
kdir_in
struct
{
type
M
kdir_in
struct
{
mode
uint32
mode
uint32
umask
uint32
umask
uint32
}
}
type
fuse_r
ename_in
struct
{
type
R
ename_in
struct
{
newdir
uint64
newdir
uint64
}
}
type
fuse_l
ink_in
struct
{
type
L
ink_in
struct
{
oldnodeid
uint64
oldnodeid
uint64
}
}
type
fuse_s
etattr_in
struct
{
type
S
etattr_in
struct
{
valid
uint32
valid
uint32
padding
uint32
padding
uint32
fh
uint64
fh
uint64
...
@@ -291,39 +291,39 @@ type fuse_setattr_in struct {
...
@@ -291,39 +291,39 @@ type fuse_setattr_in struct {
unused5
uint32
unused5
uint32
}
}
type
fuse_o
pen_in
struct
{
type
O
pen_in
struct
{
flags
uint32
flags
uint32
unused
uint32
unused
uint32
}
}
type
fuse_c
reate_in
struct
{
type
C
reate_in
struct
{
flags
uint32
flags
uint32
mode
uint32
mode
uint32
umask
uint32
umask
uint32
padding
uint32
padding
uint32
}
}
type
fuse_o
pen_out
struct
{
type
O
pen_out
struct
{
fh
uint64
fh
uint64
open_flags
uint32
open_flags
uint32
padding
uint32
padding
uint32
}
}
type
fuse_r
elease_in
struct
{
type
R
elease_in
struct
{
fh
uint64
fh
uint64
flags
uint32
flags
uint32
release_flags
uint32
release_flags
uint32
lock_owner
uint64
lock_owner
uint64
}
}
type
fuse_f
lush_in
struct
{
type
F
lush_in
struct
{
fh
uint64
fh
uint64
unused
uint32
unused
uint32
padding
uint32
padding
uint32
lock_owner
uint64
lock_owner
uint64
}
}
type
fuse_r
ead_in
struct
{
type
R
ead_in
struct
{
fh
uint64
fh
uint64
offset
uint64
offset
uint64
size
uint32
size
uint32
...
@@ -334,7 +334,7 @@ type fuse_read_in struct {
...
@@ -334,7 +334,7 @@ type fuse_read_in struct {
}
}
type
fuse_w
rite_in
struct
{
type
W
rite_in
struct
{
fh
uint64
fh
uint64
offset
uint64
offset
uint64
size
uint32
size
uint32
...
@@ -344,38 +344,38 @@ type fuse_write_in struct {
...
@@ -344,38 +344,38 @@ type fuse_write_in struct {
padding
uint32
padding
uint32
}
}
type
fuse_w
rite_out
struct
{
type
W
rite_out
struct
{
size
uint32
size
uint32
padding
uint32
padding
uint32
}
}
type
fuse_s
tatfs_out
struct
{
type
S
tatfs_out
struct
{
st
fuse_kstatfs
st
fuse_kstatfs
}
}
type
fuse_f
sync_in
struct
{
type
F
sync_in
struct
{
fh
uint64
fh
uint64
fsync_flags
uint32
fsync_flags
uint32
padding
uint32
padding
uint32
}
}
type
fuse_s
etxattr_in
struct
{
type
S
etxattr_in
struct
{
size
uint32
size
uint32
flags
uint32
flags
uint32
}
}
type
fuse_g
etxattr_in
struct
{
type
G
etxattr_in
struct
{
size
uint32
size
uint32
padding
uint32
padding
uint32
}
}
type
fuse_g
etxattr_out
struct
{
type
G
etxattr_out
struct
{
size
uint32
size
uint32
padding
uint32
padding
uint32
}
}
type
fuse_l
k_in
struct
{
type
L
k_in
struct
{
fh
uint64
fh
uint64
owner
uint64
owner
uint64
lk
fuse_file_lock
lk
fuse_file_lock
...
@@ -383,23 +383,23 @@ type fuse_lk_in struct {
...
@@ -383,23 +383,23 @@ type fuse_lk_in struct {
padding
uint32
padding
uint32
}
}
type
fuse_l
k_out
struct
{
type
L
k_out
struct
{
lk
fuse_file_lock
lk
fuse_file_lock
}
}
type
fuse_a
ccess_in
struct
{
type
A
ccess_in
struct
{
mask
uint32
mask
uint32
padding
uint32
padding
uint32
}
}
type
fuse_i
nit_in
struct
{
type
I
nit_in
struct
{
major
uint32
major
uint32
minor
uint32
minor
uint32
max_readahead
uint32
max_readahead
uint32
flags
uint32
flags
uint32
}
}
type
fuse_i
nit_out
struct
{
type
I
nit_out
struct
{
major
uint32
major
uint32
minor
uint32
minor
uint32
max_readahead
uint32
max_readahead
uint32
...
@@ -409,14 +409,14 @@ type fuse_init_out struct {
...
@@ -409,14 +409,14 @@ type fuse_init_out struct {
max_write
uint32
max_write
uint32
}
}
type
c
use_init_in
struct
{
type
C
use_init_in
struct
{
major
uint32
major
uint32
minor
uint32
minor
uint32
unused
uint32
unused
uint32
flags
uint32
flags
uint32
}
}
type
c
use_init_out
struct
{
type
C
use_init_out
struct
{
major
uint32
major
uint32
minor
uint32
minor
uint32
unused
uint32
unused
uint32
...
@@ -428,21 +428,21 @@ type cuse_init_out struct {
...
@@ -428,21 +428,21 @@ type cuse_init_out struct {
spare
[
10
]
uint32
spare
[
10
]
uint32
}
}
type
fuse_i
nterrupt_in
struct
{
type
I
nterrupt_in
struct
{
unique
uint64
unique
uint64
}
}
type
fuse_b
map_in
struct
{
type
B
map_in
struct
{
block
uint64
block
uint64
blocksize
uint32
blocksize
uint32
padding
uint32
padding
uint32
}
}
type
fuse_b
map_out
struct
{
type
B
map_out
struct
{
block
uint64
block
uint64
}
}
type
fuse_i
octl_in
struct
{
type
I
octl_in
struct
{
fh
uint64
fh
uint64
flags
uint32
flags
uint32
cmd
uint32
cmd
uint32
...
@@ -451,30 +451,30 @@ type fuse_ioctl_in struct {
...
@@ -451,30 +451,30 @@ type fuse_ioctl_in struct {
out_size
uint32
out_size
uint32
}
}
type
fuse_i
octl_out
struct
{
type
I
octl_out
struct
{
result
int32
result
int32
flags
uint32
flags
uint32
in_iovs
uint32
in_iovs
uint32
out_iovs
uint32
out_iovs
uint32
}
}
type
fuse_p
oll_in
struct
{
type
P
oll_in
struct
{
fh
uint64
fh
uint64
kh
uint64
kh
uint64
flags
uint32
flags
uint32
padding
uint32
padding
uint32
}
}
type
fuse_p
oll_out
struct
{
type
P
oll_out
struct
{
revents
uint32
revents
uint32
padding
uint32
padding
uint32
}
}
type
fuse_n
otify_poll_wakeup_out
struct
{
type
N
otify_poll_wakeup_out
struct
{
kh
uint64
kh
uint64
}
}
type
fuse_i
n_header
struct
{
type
I
n_header
struct
{
length
uint32
length
uint32
opcode
uint32
opcode
uint32
unique
uint64
unique
uint64
...
@@ -485,13 +485,13 @@ type fuse_in_header struct {
...
@@ -485,13 +485,13 @@ type fuse_in_header struct {
padding
uint32
padding
uint32
}
}
type
fuse_o
ut_header
struct
{
type
O
ut_header
struct
{
length
uint32
length
uint32
error
int32
error
int32
unique
uint64
unique
uint64
}
}
type
fuse_d
irent
struct
{
type
D
irent
struct
{
ino
uint64
ino
uint64
off
uint64
off
uint64
namelen
uint32
namelen
uint32
...
@@ -499,13 +499,13 @@ type fuse_dirent struct {
...
@@ -499,13 +499,13 @@ type fuse_dirent struct {
// name []byte // char name[0] -- looks like the name is right after this struct.
// name []byte // char name[0] -- looks like the name is right after this struct.
}
}
type
fuse_n
otify_inval_inode_out
struct
{
type
N
otify_inval_inode_out
struct
{
ino
uint64
ino
uint64
off
int64
off
int64
length
int64
length
int64
}
}
type
fuse_n
otify_inval_entry_out
struct
{
type
N
otify_inval_entry_out
struct
{
parent
uint64
parent
uint64
namelen
uint32
namelen
uint32
padding
uint32
padding
uint32
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment