Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dauth_x_protocol.h49 __u8 struct_v;
71 __u8 struct_v;
76 __u8 struct_v;
84 __u8 struct_v; member
103 __u8 struct_v;
110 __u8 struct_v;
117 __u8 struct_v;
122 __u8 struct_v;
133 __u8 struct_v;
11 __u8 struct_v; global() member
33 __u8 struct_v; global() member
38 __u8 struct_v; global() member
46 __u8 struct_v; global() member
65 __u8 struct_v; global() member
72 __u8 struct_v; global() member
79 __u8 struct_v; global() member
95 __u8 struct_v; global() member
H A Dosdmap.c1284 u8 struct_v; in get_osdmap_client_data_v() local
1286 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1287 if (struct_v >= 7) { in get_osdmap_client_data_v()
1293 struct_v, struct_compat, in get_osdmap_client_data_v()
1299 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1303 struct_v, struct_compat, in get_osdmap_client_data_v()
1320 struct_v = 0; in get_osdmap_client_data_v()
1323 *v = struct_v; in get_osdmap_client_data_v()
1658 u8 struct_v; in osdmap_decode() local
1667 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.c93 hdr->struct_v = 1; in ceph_x_encrypt()
356 msg_b->struct_v = 2; in encrypt_authorizer()
436 msg_a->struct_v = 1; in ceph_x_build_authorizer()
439 msg_a->ticket_blob.struct_v = 1; in ceph_x_build_authorizer()
590 auth->struct_v = 3; /* nautilus+ */ in ceph_x_build_request()
916 u8 struct_v; in decrypt_authorizer_reply() local
928 ceph_decode_8_safe(&dp, dend, struct_v, e_inval); in decrypt_authorizer_reply()
931 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.c1832 u8 struct_v; in decode_hoid() local
1836 ret = ceph_start_decoding(p, end, 4, "hobject_t", &struct_v, in decode_hoid()
1841 if (struct_v < 4) { in decode_hoid()
1842 pr_err("got struct_v %d < 4 of hobject_t\n", struct_v); in decode_hoid()
3545 u8 struct_v, struct_cv; in ceph_oloc_decode() local
3551 struct_v = ceph_decode_8(p); in ceph_oloc_decode()
3553 if (struct_v < 3) { in ceph_oloc_decode()
3555 struct_v, struct_cv); in ceph_oloc_decode()
3560 struct_v, struct_cv); in ceph_oloc_decode()
3576 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.h911 __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 …]
/linux/drivers/block/
H A Drbd.c1802 u8 struct_v; in decode_object_map_header() local
1811 ret = ceph_start_decoding(p, end, 1, "BitVector header", &struct_v, in decode_object_map_header()
3795 u8 struct_v; in rbd_request_lock() local
3814 &struct_v, &len); in rbd_request_lock()
4275 static void rbd_handle_acquired_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_acquired_lock() argument
4280 if (struct_v >= 2) { in rbd_handle_acquired_lock()
4304 static void rbd_handle_released_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_released_lock() argument
4309 if (struct_v >= 2) { in rbd_handle_released_lock()
4338 static int rbd_handle_request_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_request_lock() argument
4345 if (struct_v >= 2) { in rbd_handle_request_lock()
[all …]