|
Revision 2413, 0.8 kB
(checked in by dhozac, 2 years ago)
|
Update kernel headers to 2.6.19-vs2.1.x-t7.
Use the headers from make headers_install to cut down on unnecessary files/content.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
#ifndef _VX_DLIMIT_CMD_H |
|---|
| 2 |
#define _VX_DLIMIT_CMD_H |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
#define VCMD_add_dlimit VC_CMD(DLIMIT, 1, 0) |
|---|
| 8 |
#define VCMD_rem_dlimit VC_CMD(DLIMIT, 2, 0) |
|---|
| 9 |
|
|---|
| 10 |
#define VCMD_set_dlimit VC_CMD(DLIMIT, 5, 0) |
|---|
| 11 |
#define VCMD_get_dlimit VC_CMD(DLIMIT, 6, 0) |
|---|
| 12 |
|
|---|
| 13 |
struct vcmd_ctx_dlimit_base_v0 { |
|---|
| 14 |
const char *name; |
|---|
| 15 |
uint32_t flags; |
|---|
| 16 |
}; |
|---|
| 17 |
|
|---|
| 18 |
struct vcmd_ctx_dlimit_v0 { |
|---|
| 19 |
const char *name; |
|---|
| 20 |
uint32_t space_used; |
|---|
| 21 |
uint32_t space_total; |
|---|
| 22 |
uint32_t inodes_used; |
|---|
| 23 |
uint32_t inodes_total; |
|---|
| 24 |
uint32_t reserved; |
|---|
| 25 |
uint32_t flags; |
|---|
| 26 |
}; |
|---|
| 27 |
|
|---|
| 28 |
#define CDLIM_UNSET ((uint32_t)0UL) |
|---|
| 29 |
#define CDLIM_INFINITY ((uint32_t)~0UL) |
|---|
| 30 |
#define CDLIM_KEEP ((uint32_t)~1UL) |
|---|
| 31 |
|
|---|
| 32 |
#endif |
|---|