Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dauth_x_protocol.h11 __u8 struct_v; member
33 __u8 struct_v; member
38 __u8 struct_v; member
46 __u8 struct_v; member
65 __u8 struct_v; member
72 __u8 struct_v; member
79 __u8 struct_v; member
84 __u8 struct_v; member
95 __u8 struct_v; member
H A Dosdmap.c1281 u8 struct_v; in get_osdmap_client_data_v() local
1283 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1284 if (struct_v >= 7) { in get_osdmap_client_data_v()
1290 struct_v, struct_compat, in get_osdmap_client_data_v()
1296 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1300 struct_v, struct_compat, in get_osdmap_client_data_v()
1317 struct_v = 0; in get_osdmap_client_data_v()
1320 *v = struct_v; in get_osdmap_client_data_v()
1655 u8 struct_v; in osdmap_decode() local
1664 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()
269 ret = ceph_start_decoding(p, end, 1, "locker_info_t", &struct_v, &len); in decode_locker()
291 u8 struct_v; in decode_lockers() local
298 &struct_v, &struct_len); in decode_lockers()
H A Ddecode.c14 u8 struct_v; in ceph_decode_entity_addr_versioned() local
18 ret = ceph_start_decoding(p, end, 1, "entity_addr_t", &struct_v, in ceph_decode_entity_addr_versioned()
H A Dauth_x.c64 hdr->struct_v = 1; in ceph_x_encrypt()
316 msg_b->struct_v = 2; in encrypt_authorizer()
389 msg_a->struct_v = 1; in ceph_x_build_authorizer()
392 msg_a->ticket_blob.struct_v = 1; in ceph_x_build_authorizer()
529 auth->struct_v = 3; /* nautilus+ */ in ceph_x_build_request()
851 u8 struct_v; in decrypt_authorizer_reply() local
862 ceph_decode_8_safe(&dp, dend, struct_v, e_inval); in decrypt_authorizer_reply()
865 if (struct_v >= 2) { in decrypt_authorizer_reply()
H A Dosd_client.c1826 u8 struct_v; in decode_hoid() local
1830 ret = ceph_start_decoding(p, end, 4, "hobject_t", &struct_v, in decode_hoid()
1835 if (struct_v < 4) { in decode_hoid()
1836 pr_err("got struct_v %d < 4 of hobject_t\n", struct_v); in decode_hoid()
3539 u8 struct_v, struct_cv; in ceph_oloc_decode() local
3545 struct_v = ceph_decode_8(p); in ceph_oloc_decode()
3547 if (struct_v < 3) { in ceph_oloc_decode()
3549 struct_v, struct_cv); in ceph_oloc_decode()
3554 struct_v, struct_cv); in ceph_oloc_decode()
3570 if (struct_v >= 5) { in ceph_oloc_decode()
[all …]
/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.h904 __u8 struct_v; /* compat */ member
/linux/fs/ceph/
H A Dmds_client.c79 u8 struct_v, struct_compat; in parse_reply_info_quota() local
82 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota()
86 if (!struct_v || struct_compat != 1) in parse_reply_info_quota()
107 u8 struct_v = 0; in parse_reply_info_in() local
112 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in()
116 if (!struct_v || struct_compat != 1) in parse_reply_info_in()
168 if (struct_v >= 2) { in parse_reply_info_in()
175 if (struct_v >= 3) { in parse_reply_info_in()
184 if (struct_v >= 4) { in parse_reply_info_in()
190 if (struct_v >= 5) { in parse_reply_info_in()
[all …]