Home
last modified time | relevance | path

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

/linux-6.6.21/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.c1849 u8 struct_v; in decode_hoid() local
1853 ret = ceph_start_decoding(p, end, 4, "hobject_t", &struct_v, in decode_hoid()
1858 if (struct_v < 4) { in decode_hoid()
1859 pr_err("got struct_v %d < 4 of hobject_t\n", struct_v); in decode_hoid()
3562 u8 struct_v, struct_cv; in ceph_oloc_decode() local
3568 struct_v = ceph_decode_8(p); in ceph_oloc_decode()
3570 if (struct_v < 3) { in ceph_oloc_decode()
3572 struct_v, struct_cv); in ceph_oloc_decode()
3577 struct_v, struct_cv); in ceph_oloc_decode()
3593 if (struct_v >= 5) { in ceph_oloc_decode()
[all …]
/linux-6.6.21/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.h910 __u8 struct_v; /* compat */ member
/linux-6.6.21/fs/ceph/
Dmds_client.c77 u8 struct_v, struct_compat; in parse_reply_info_quota() local
80 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota()
84 if (!struct_v || struct_compat != 1) in parse_reply_info_quota()
105 u8 struct_v = 0; in parse_reply_info_in() local
110 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in()
114 if (!struct_v || struct_compat != 1) in parse_reply_info_in()
166 if (struct_v >= 2) { in parse_reply_info_in()
173 if (struct_v >= 3) { in parse_reply_info_in()
182 if (struct_v >= 4) { in parse_reply_info_in()
188 if (struct_v >= 5) { in parse_reply_info_in()
[all …]
/linux-6.6.21/drivers/block/
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()
3781 u8 struct_v; in rbd_request_lock() local
3800 &struct_v, &len); in rbd_request_lock()
4261 static void rbd_handle_acquired_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_acquired_lock() argument
4266 if (struct_v >= 2) { in rbd_handle_acquired_lock()
4290 static void rbd_handle_released_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_released_lock() argument
4295 if (struct_v >= 2) { in rbd_handle_released_lock()
4324 static int rbd_handle_request_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_request_lock() argument
4331 if (struct_v >= 2) { in rbd_handle_request_lock()
[all …]