Home
last modified time | relevance | path

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

/Linux-v4.19/net/ceph/
Dauth.c95 ceph_encode_32(p, CEPH_ENTITY_TYPE_CLIENT); in ceph_auth_entity_name_encode()
96 ceph_encode_32(p, len); in ceph_auth_entity_name_encode()
118 ceph_encode_32(&p, CEPH_AUTH_UNKNOWN); /* no protocol, yet */ in ceph_auth_build_hello()
126 ceph_encode_32(&p, num); in ceph_auth_build_hello()
129 ceph_encode_32(&p, supported_protocols[i]); in ceph_auth_build_hello()
137 ceph_encode_32(&lenp, p - lenp - sizeof(u32)); in ceph_auth_build_hello()
160 ceph_encode_32(&p, ac->protocol); in ceph_build_auth_request()
169 ceph_encode_32(&p, ret); in ceph_build_auth_request()
Dosd_client.c1705 ceph_encode_32(p, hoid->hash); in encode_hoid()
1923 ceph_encode_32(p, pgid->seed); in encode_pgid()
1924 ceph_encode_32(p, -1); /* preferred */ in encode_pgid()
1939 ceph_encode_32(p, -1); /* preferred */ in encode_oloc()
1940 ceph_encode_32(p, 0); /* key len */ in encode_oloc()
1945 ceph_encode_32(p, 0); in encode_oloc()
1967 ceph_encode_32(&p, req->r_t.pgid.seed); /* raw hash */ in encode_request_partial()
1968 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
1969 ceph_encode_32(&p, req->r_flags); in encode_request_partial()
1980 ceph_encode_32(&p, 0); /* client_inc, always 0 */ in encode_request_partial()
[all …]
Dauth_x.c70 ceph_encode_32(&buf, ciphertext_len); in ceph_x_encrypt()
Dmon_client.c270 ceph_encode_32(&p, num); in __send_subscribe()
/Linux-v4.19/include/linux/ceph/
Ddecode.h241 static inline void ceph_encode_32(void **p, u32 v) in ceph_encode_32() function
272 ceph_encode_32(p, len); in ceph_encode_filepath()
282 ceph_encode_32(p, len); in ceph_encode_string()
306 ceph_encode_32(p, struct_len); in ceph_start_encoding()
356 ceph_encode_32(p, v); \
/Linux-v4.19/fs/ceph/
Dxattr.c757 ceph_encode_32(&dest, ci->i_xattrs.count); in __ceph_build_xattrs_blob()
761 ceph_encode_32(&dest, xattr->name_len); in __ceph_build_xattrs_blob()
764 ceph_encode_32(&dest, xattr->val_len); in __ceph_build_xattrs_blob()
Dcaps.c1193 ceph_encode_32(&p, 0); in send_cap_msg()
1197 ceph_encode_32(&p, 0); in send_cap_msg()
1203 ceph_encode_32(&p, READ_ONCE(osdc->epoch_barrier)); in send_cap_msg()
1214 ceph_encode_32(&p, 0); in send_cap_msg()
1215 ceph_encode_32(&p, 0); in send_cap_msg()
1218 ceph_encode_32(&p, 0); in send_cap_msg()
1231 ceph_encode_32(&p, arg->flags); in send_cap_msg()
Dmds_client.c915 ceph_encode_32(p, size); in encode_supported_features()
922 ceph_encode_32(p, 0); in encode_supported_features()
986 ceph_encode_32(&p, metadata_key_count); in create_session_open_msg()
993 ceph_encode_32(&p, key_len); in create_session_open_msg()
996 ceph_encode_32(&p, val_len); in create_session_open_msg()
/Linux-v4.19/drivers/block/
Drbd.c2729 ceph_encode_32(&p, notify_op); in __rbd_notify_op_lock()
3250 ceph_encode_32(&p, *result); in __rbd_acknowledge_notify()