Home
last modified time | relevance | path

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

/linux-6.1.9/net/ceph/
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
Dosdmap.c1293 u8 struct_v; in get_osdmap_client_data_v() local
1295 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1296 if (struct_v >= 7) { in get_osdmap_client_data_v()
1302 struct_v, struct_compat, in get_osdmap_client_data_v()
1308 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1312 struct_v, struct_compat, in get_osdmap_client_data_v()
1329 struct_v = 0; in get_osdmap_client_data_v()
1332 *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 …]
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()
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()
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()
849 u8 struct_v; in decrypt_authorizer_reply() local
860 ceph_decode_8_safe(&dp, dend, struct_v, e_inval); in decrypt_authorizer_reply()
863 if (struct_v >= 2) { in decrypt_authorizer_reply()
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()
Dosd_client.c1769 u8 struct_v; in decode_hoid() local
1773 ret = ceph_start_decoding(p, end, 4, "hobject_t", &struct_v, in decode_hoid()
1778 if (struct_v < 4) { in decode_hoid()
1779 pr_err("got struct_v %d < 4 of hobject_t\n", struct_v); in decode_hoid()
3472 u8 struct_v, struct_cv; in ceph_oloc_decode() local
3478 struct_v = ceph_decode_8(p); in ceph_oloc_decode()
3480 if (struct_v < 3) { in ceph_oloc_decode()
3482 struct_v, struct_cv); in ceph_oloc_decode()
3487 struct_v, struct_cv); in ceph_oloc_decode()
3503 if (struct_v >= 5) { in ceph_oloc_decode()
[all …]
/linux-6.1.9/include/linux/ceph/
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()
Dceph_fs.h888 __u8 struct_v; /* compat */ member
/linux-6.1.9/fs/ceph/
Dmds_client.c76 u8 struct_v, struct_compat; in parse_reply_info_quota() local
79 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota()
83 if (!struct_v || struct_compat != 1) in parse_reply_info_quota()
104 u8 struct_v = 0; in parse_reply_info_in() local
109 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in()
113 if (!struct_v || struct_compat != 1) in parse_reply_info_in()
165 if (struct_v >= 2) { in parse_reply_info_in()
172 if (struct_v >= 3) { in parse_reply_info_in()
181 if (struct_v >= 4) { in parse_reply_info_in()
239 u8 struct_v, struct_compat; in parse_reply_info_dir() local
[all …]
/linux-6.1.9/drivers/block/
Drbd.c1779 u8 struct_v; in decode_object_map_header() local
1788 ret = ceph_start_decoding(p, end, 1, "BitVector header", &struct_v, in decode_object_map_header()
3756 u8 struct_v; in rbd_request_lock() local
3775 &struct_v, &len); in rbd_request_lock()
4176 static void rbd_handle_acquired_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_acquired_lock() argument
4181 if (struct_v >= 2) { in rbd_handle_acquired_lock()
4205 static void rbd_handle_released_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_released_lock() argument
4210 if (struct_v >= 2) { in rbd_handle_released_lock()
4239 static int rbd_handle_request_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_request_lock() argument
4246 if (struct_v >= 2) { in rbd_handle_request_lock()
[all …]