Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
ZIO
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
ZIO
Commits
6ec0476c
Commit
6ec0476c
authored
Oct 22, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
headers: export to userspace the different object types
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
1e654391
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
zio-user.h
include/linux/zio-user.h
+12
-0
zio.h
include/linux/zio.h
+0
-11
No files found.
include/linux/zio-user.h
View file @
6ec0476c
...
...
@@ -27,6 +27,18 @@ static inline uint16_t zio_version_patch(uint32_t version)
}
/*
* We use the same functions to deal with attributes, but the structures
* we act on may be different (dev, cset, channel). Thus, all structures
* begin with the type identifier, and zio_obj_head is used in container_of
*/
enum
zio_object_type
{
ZIO_NONE
=
0
,
/* reserved for non zio object */
ZIO_DEV
,
ZIO_CSET
,
ZIO_CHAN
,
ZIO_TRG
,
ZIO_TI
,
/* trigger and trigger instance */
ZIO_BUF
,
ZIO_BI
,
/* buffer and buffer instance */
};
/*
* ZIO_OBJ_NAME_LEN is the name's length used for registered objects
* (such as trigger_type, buffer_type and zio_device) and thus shown in
...
...
include/linux/zio.h
View file @
6ec0476c
...
...
@@ -38,17 +38,6 @@ struct zio_device_operations;
struct
zio_buffer_operations
;
struct
zio_trigger_operations
;
/*
* We use the same functions to deal with attributes, but the structures
* we act on may be different (dev, cset, channel). Thus, all structures
* begin with the type identifier, and zio_obj_head is used in container_of
*/
enum
zio_object_type
{
ZIO_NONE
=
0
,
/* reserved for non zio object */
ZIO_DEV
,
ZIO_CSET
,
ZIO_CHAN
,
ZIO_TRG
,
ZIO_TI
,
/* trigger and trigger instance */
ZIO_BUF
,
ZIO_BI
,
/* buffer and buffer instance */
};
/* zio_obj_head is for internal use only, as explained above */
struct
zio_obj_head
{
...
...
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