Home
last modified time | relevance | path

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

/Linux-v5.10/net/ceph/
Dauth_x_protocol.h11 __u8 struct_v; member
33 __u8 struct_v; member
38 __u8 struct_v; member
45 __u8 struct_v; member
64 __u8 struct_v; member
71 __u8 struct_v; member
78 __u8 struct_v; member
83 __u8 struct_v; member
94 __u8 struct_v; member
Ddecode.c10 u8 struct_v; in ceph_decode_entity_addr_versioned() local
14 ret = ceph_start_decoding(p, end, 1, "entity_addr_t", &struct_v, in ceph_decode_entity_addr_versioned()
Dcls_lock_client.c247 u8 struct_v; in decode_locker() local
252 ret = ceph_start_decoding(p, end, 1, "locker_id_t", &struct_v, &len); in decode_locker()
263 ret = ceph_start_decoding(p, end, 1, "locker_info_t", &struct_v, &len); in decode_locker()
285 u8 struct_v; in decode_lockers() local
292 &struct_v, &struct_len); in decode_lockers()
Dosdmap.c1277 u8 struct_v; in get_osdmap_client_data_v() local
1279 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1280 if (struct_v >= 7) { in get_osdmap_client_data_v()
1286 struct_v, struct_compat, in get_osdmap_client_data_v()
1292 ceph_decode_8_safe(p, end, struct_v, e_inval); in get_osdmap_client_data_v()
1296 struct_v, struct_compat, in get_osdmap_client_data_v()
1313 struct_v = 0; in get_osdmap_client_data_v()
1316 *v = struct_v; in get_osdmap_client_data_v()
1652 u8 struct_v; in osdmap_decode() local
1661 err = get_osdmap_client_data_v(p, end, "full", &struct_v); in osdmap_decode()
[all …]
Dauth_x.c61 hdr->struct_v = 1; in ceph_x_encrypt()
313 msg_b->struct_v = 2; in encrypt_authorizer()
385 msg_a->struct_v = 1; in ceph_x_build_authorizer()
388 msg_a->ticket_blob.struct_v = 1; in ceph_x_build_authorizer()
524 auth->struct_v = 1; in ceph_x_build_request()
Dosd_client.c1790 u8 struct_v; in decode_hoid() local
1794 ret = ceph_start_decoding(p, end, 4, "hobject_t", &struct_v, in decode_hoid()
1799 if (struct_v < 4) { in decode_hoid()
1800 pr_err("got struct_v %d < 4 of hobject_t\n", struct_v); in decode_hoid()
3447 u8 struct_v, struct_cv; in ceph_oloc_decode() local
3453 struct_v = ceph_decode_8(p); in ceph_oloc_decode()
3455 if (struct_v < 3) { in ceph_oloc_decode()
3457 struct_v, struct_cv); in ceph_oloc_decode()
3462 struct_v, struct_cv); in ceph_oloc_decode()
3478 if (struct_v >= 5) { in ceph_oloc_decode()
[all …]
/Linux-v5.10/include/linux/ceph/
Ddecode.h310 static inline void ceph_start_encoding(void **p, u8 struct_v, u8 struct_compat, in ceph_start_encoding() argument
313 ceph_encode_8(p, struct_v); in ceph_start_encoding()
329 const char *name, u8 *struct_v, in ceph_start_decoding() argument
335 *struct_v = ceph_decode_8(p); in ceph_start_decoding()
339 *struct_v, struct_compat, v, name); in ceph_start_decoding()
Dceph_fs.h842 __u8 struct_v; /* compat */ member
/Linux-v5.10/fs/ceph/
Dmds_client.c75 u8 struct_v, struct_compat; in parse_reply_info_quota() local
78 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota()
82 if (!struct_v || struct_compat != 1) in parse_reply_info_quota()
103 u8 struct_v = 0; in parse_reply_info_in() local
108 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in()
112 if (!struct_v || struct_compat != 1) in parse_reply_info_in()
164 if (struct_v >= 2) { in parse_reply_info_in()
171 if (struct_v >= 3) { in parse_reply_info_in()
231 u8 struct_v, struct_compat; in parse_reply_info_dir() local
233 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_dir()
[all …]
/Linux-v5.10/drivers/block/
Drbd.c1842 u8 struct_v; in decode_object_map_header() local
1851 ret = ceph_start_decoding(p, end, 1, "BitVector header", &struct_v, in decode_object_map_header()
3820 u8 struct_v; in rbd_request_lock() local
3839 &struct_v, &len); in rbd_request_lock()
4238 static void rbd_handle_acquired_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_acquired_lock() argument
4243 if (struct_v >= 2) { in rbd_handle_acquired_lock()
4271 static void rbd_handle_released_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_released_lock() argument
4276 if (struct_v >= 2) { in rbd_handle_released_lock()
4307 static int rbd_handle_request_lock(struct rbd_device *rbd_dev, u8 struct_v, in rbd_handle_request_lock() argument
4314 if (struct_v >= 2) { in rbd_handle_request_lock()
[all …]