Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1853 ceph_encode_32(p, hoid->hash); in encode_hoid()
2076 ceph_encode_32(p, pgid->seed); in encode_pgid()
2077 ceph_encode_32(p, -1); /* preferred */ in encode_pgid()
2092 ceph_encode_32(p, -1); /* preferred */ in encode_oloc()
2093 ceph_encode_32(p, 0); /* key len */ in encode_oloc()
2098 ceph_encode_32(p, 0); in encode_oloc()
2120 ceph_encode_32(&p, req->r_t.pgid.seed); /* raw hash */ in encode_request_partial()
2121 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2122 ceph_encode_32(&p, req->r_flags); in encode_request_partial()
2133 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.c281 ceph_encode_32(&p, num); in __send_subscribe()
/Linux-v5.10/include/linux/ceph/
Ddecode.h250 static inline void ceph_encode_32(void **p, u32 v) in ceph_encode_32() function
281 ceph_encode_32(p, len); in ceph_encode_filepath()
291 ceph_encode_32(p, len); in ceph_encode_string()
315 ceph_encode_32(p, struct_len); in ceph_start_encoding()
365 ceph_encode_32(p, v); \
/Linux-v5.10/fs/ceph/
Dxattr.c779 ceph_encode_32(&dest, ci->i_xattrs.count); in __ceph_build_xattrs_blob()
783 ceph_encode_32(&dest, xattr->name_len); in __ceph_build_xattrs_blob()
786 ceph_encode_32(&dest, xattr->val_len); in __ceph_build_xattrs_blob()
Dmds_client.c1181 ceph_encode_32(p, size); in encode_supported_features()
1190 ceph_encode_32(p, 0); in encode_supported_features()
1217 ceph_encode_32(p, 4 + size); in encode_metric_spec()
1220 ceph_encode_32(p, size); in encode_metric_spec()
1230 ceph_encode_32(p, 4); in encode_metric_spec()
1232 ceph_encode_32(p, 0); in encode_metric_spec()
1312 ceph_encode_32(&p, metadata_key_count); in create_session_open_msg()
1319 ceph_encode_32(&p, key_len); in create_session_open_msg()
1322 ceph_encode_32(&p, val_len); in create_session_open_msg()
Dcaps.c1283 ceph_encode_32(&p, 0); in encode_cap_msg()
1287 ceph_encode_32(&p, 0); in encode_cap_msg()
1293 ceph_encode_32(&p, READ_ONCE(osdc->epoch_barrier)); in encode_cap_msg()
1304 ceph_encode_32(&p, 0); in encode_cap_msg()
1305 ceph_encode_32(&p, 0); in encode_cap_msg()
1308 ceph_encode_32(&p, 0); in encode_cap_msg()
1316 ceph_encode_32(&p, arg->flags); in encode_cap_msg()
/Linux-v5.10/drivers/block/
Drbd.c3766 ceph_encode_32(&p, notify_op); in __rbd_notify_op_lock()
4368 ceph_encode_32(&p, *result); in __rbd_acknowledge_notify()