#include <linux/err.h>
#include <linux/bug.h>
#include <linux/time.h>
#include <asm/unaligned.h>
#include <linux/ceph/types.h>
Go to the source code of this file.
|
#define | ceph_decode_need(p, end, n, bad) |
|
#define | ceph_decode_64_safe(p, end, v, bad) |
|
#define | ceph_decode_32_safe(p, end, v, bad) |
|
#define | ceph_decode_16_safe(p, end, v, bad) |
|
#define | ceph_decode_8_safe(p, end, v, bad) |
|
#define | ceph_decode_copy_safe(p, end, pv, n, bad) |
|
#define | ceph_encode_need(p, end, n, bad) |
|
#define | ceph_encode_64_safe(p, end, v, bad) |
|
#define | ceph_encode_32_safe(p, end, v, bad) |
|
#define | ceph_encode_16_safe(p, end, v, bad) |
|
#define | ceph_encode_copy_safe(p, end, pv, n, bad) |
|
#define | ceph_encode_string_safe(p, end, s, n, bad) |
|
#define ceph_decode_16_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
v, |
|
|
|
bad |
|
) |
| |
#define ceph_decode_32_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
v, |
|
|
|
bad |
|
) |
| |
#define ceph_decode_64_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
v, |
|
|
|
bad |
|
) |
| |
#define ceph_decode_8_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
v, |
|
|
|
bad |
|
) |
| |
#define ceph_decode_copy_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
pv, |
|
|
|
n, |
|
|
|
bad |
|
) |
| |
Value:do { \
ceph_decode_copy(
p,
pv,
n); \
} while (0)
Definition at line 82 of file decode.h.
#define ceph_decode_need |
( |
|
p, |
|
|
|
end, |
|
|
|
n, |
|
|
|
bad |
|
) |
| |
#define ceph_encode_16_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
v, |
|
|
|
bad |
|
) |
| |
#define ceph_encode_32_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
v, |
|
|
|
bad |
|
) |
| |
#define ceph_encode_64_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
v, |
|
|
|
bad |
|
) |
| |
#define ceph_encode_copy_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
pv, |
|
|
|
n, |
|
|
|
bad |
|
) |
| |
Value:do { \
ceph_encode_copy(
p,
pv,
n); \
} while (0)
Definition at line 242 of file decode.h.
#define ceph_encode_need |
( |
|
p, |
|
|
|
end, |
|
|
|
n, |
|
|
|
bad |
|
) |
| |
#define ceph_encode_string_safe |
( |
|
p, |
|
|
|
end, |
|
|
|
s, |
|
|
|
n, |
|
|
|
bad |
|
) |
| |
Value:do { \
ceph_encode_string(
p,
end,
s,
n); \
} while (0)
Definition at line 247 of file decode.h.