Home
last modified time | relevance | path

Searched refs:struct_v (Results 1 – 9 of 9) sorted by relevance

/linux/include/linux/ceph/
H A Ddecode.h318 static inline void ceph_start_encoding(void **p, u8 struct_v, u8 struct_compat, in ceph_start_encoding() argument
321 ceph_encode_8(p, struct_v); in ceph_start_encoding()
337 const char *name, u8 *struct_v, in ceph_start_decoding() argument
343 *struct_v = ceph_decode_8(p); in ceph_start_decoding()
347 *struct_v, struct_compat, v, name); in ceph_start_decoding()
H A Dceph_fs.h911 __u8 struct_v; /* compat */ member
/linux/net/ceph/
H A Dosdmap.c1295 u8 struct_v; in get_osdmap_client_data_v() local
1297 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1298 if (struct_v >= 7) { in get_osdmap_client_data_v()
1304 struct_v, struct_compat, in get_osdmap_client_data_v()
1310 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1314 struct_v, struct_compat, in get_osdmap_client_data_v()
1331 struct_v = 0; in get_osdmap_client_data_v()
1334 *v = struct_v; in get_osdmap_client_data_v()
1669 u8 struct_v; in osdmap_decode() local
1678 err = get_osdmap_client_data_v(p, end, "full", &struct_v); in osdmap_decode()
[all …]
H A Dcls_lock_client.c253 u8 struct_v; in decode_locker() local
258 ret = ceph_start_decoding(p, end, 1, "locker_id_t", &struct_v, &len); in decode_locker()
270 ret = ceph_start_decoding(p, end, 1, "locker_info_t", &struct_v, &len); in decode_locker()
296 u8 struct_v; in decode_lockers() local
303 &struct_v, &struct_len); in decode_lockers()
H A Dauth_x.c93 hdr->struct_v = 1; in ceph_x_encrypt()
361 msg_b->struct_v = 2; in encrypt_authorizer()
441 msg_a->struct_v = 1; in ceph_x_build_authorizer()
444 msg_a->ticket_blob.struct_v = 1; in ceph_x_build_authorizer()
595 auth->struct_v = 3; /* nautilus+ */ in ceph_x_build_request()
928 u8 struct_v; in decrypt_authorizer_reply() local
940 ceph_decode_8_safe(&dp, dend, struct_v, e_inval); in decrypt_authorizer_reply()
943 if (struct_v >= 2) { in decrypt_authorizer_reply()
H A Dmon_client.c44 u8 struct_v; in decode_mon_info() local
47 ret = ceph_start_decoding(p, end, 1, "mon_info_t", &struct_v, in decode_mon_info()
77 u8 struct_v; in ceph_monmap_decode() local
85 ret = ceph_start_decoding(p, end, 6, "monmap", &struct_v, &struct_len); in ceph_monmap_decode()
89 dout("%s struct_v %d\n", __func__, struct_v); in ceph_monmap_decode()
92 if (struct_v >= 6) { in ceph_monmap_decode()
137 if (struct_v >= 6) in ceph_monmap_decode()
H A Dosd_client.c1833 u8 struct_v; in decode_hoid() local
1837 ret = ceph_start_decoding(p, end, 4, "hobject_t", &struct_v, in decode_hoid()
1842 if (struct_v < 4) { in decode_hoid()
1843 pr_err("got struct_v %d < 4 of hobject_t\n", struct_v); in decode_hoid()
3546 u8 struct_v, struct_cv; in ceph_oloc_decode() local
3552 struct_v = ceph_decode_8(p); in ceph_oloc_decode()
3554 if (struct_v < 3) { in ceph_oloc_decode()
3556 struct_v, struct_cv); in ceph_oloc_decode()
3561 struct_v, struct_cv); in ceph_oloc_decode()
3577 if (struct_v >= 5) { in ceph_oloc_decode()
[all …]
/linux/fs/ceph/
H A Dmds_client.c97 u8 struct_v, struct_compat; in parse_reply_info_quota() local
100 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota()
104 if (!struct_v || struct_compat != 1) in parse_reply_info_quota()
123 u8 struct_v = 0; in parse_reply_info_in() local
130 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in()
134 if (!struct_v || struct_compat != 1) in parse_reply_info_in()
186 if (struct_v >= 2) { in parse_reply_info_in()
193 if (struct_v >= 3) { in parse_reply_info_in()
202 if (struct_v >= 4) { in parse_reply_info_in()
208 if (struct_v >= 5) { in parse_reply_info_in()
[all …]
/linux/drivers/block/
H A Drbd.c1795 u8 struct_v; in decode_object_map_header() local
1804 ret = ceph_start_decoding(p, end, 1, "BitVector header", &struct_v, in decode_object_map_header()
3793 u8 struct_v; in rbd_request_lock() local
3812 &struct_v, &len); in rbd_request_lock()
4273 static void rbd_handle_acquired_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_acquired_lock() argument
4278 if (struct_v >= 2) { in rbd_handle_acquired_lock()
4302 static void rbd_handle_released_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_released_lock() argument
4307 if (struct_v >= 2) { in rbd_handle_released_lock()
4336 static int rbd_handle_request_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_request_lock() argument
4343 if (struct_v >= 2) { in rbd_handle_request_lock()
[all …]