Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ceph/
H A 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()
H A Dosd_client.c1832 ceph_encode_32(p, hoid->hash); in encode_hoid()
2055 ceph_encode_32(p, pgid->seed); in encode_pgid()
2056 ceph_encode_32(p, -1); /* preferred */ in encode_pgid()
2071 ceph_encode_32(p, -1); /* preferred */ in encode_oloc()
2072 ceph_encode_32(p, 0); /* key len */ in encode_oloc()
2077 ceph_encode_32(p, 0); in encode_oloc()
2099 ceph_encode_32(&p, req->r_t.pgid.seed); /* raw hash */ in encode_request_partial()
2100 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2101 ceph_encode_32(&p, req->r_flags); in encode_request_partial()
2112 ceph_encode_32(&p, 0); /* client_inc, always 0 */ in encode_request_partial()
[all …]
H A Dauth_x.c70 ceph_encode_32(&buf, ciphertext_len); in ceph_x_encrypt()
H A Dmon_client.c281 ceph_encode_32(&p, num); in __send_subscribe()
/OK3568_Linux_fs/kernel/include/linux/ceph/
H A 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); \
/OK3568_Linux_fs/kernel/fs/ceph/
H A Dxattr.c787 ceph_encode_32(&dest, ci->i_xattrs.count); in __ceph_build_xattrs_blob()
791 ceph_encode_32(&dest, xattr->name_len); in __ceph_build_xattrs_blob()
794 ceph_encode_32(&dest, xattr->val_len); in __ceph_build_xattrs_blob()
H A Dmds_client.c1220 ceph_encode_32(p, size); in encode_supported_features()
1231 ceph_encode_32(p, 0); in encode_supported_features()
1258 ceph_encode_32(p, 4 + size); in encode_metric_spec()
1261 ceph_encode_32(p, size); in encode_metric_spec()
1271 ceph_encode_32(p, 4); in encode_metric_spec()
1273 ceph_encode_32(p, 0); in encode_metric_spec()
1353 ceph_encode_32(&p, metadata_key_count); in create_session_open_msg()
1360 ceph_encode_32(&p, key_len); in create_session_open_msg()
1363 ceph_encode_32(&p, val_len); in create_session_open_msg()
H A Dcaps.c1290 ceph_encode_32(&p, 0); in encode_cap_msg()
1294 ceph_encode_32(&p, 0); in encode_cap_msg()
1300 ceph_encode_32(&p, READ_ONCE(osdc->epoch_barrier)); in encode_cap_msg()
1311 ceph_encode_32(&p, 0); in encode_cap_msg()
1312 ceph_encode_32(&p, 0); in encode_cap_msg()
1315 ceph_encode_32(&p, 0); in encode_cap_msg()
1323 ceph_encode_32(&p, arg->flags); in encode_cap_msg()
/OK3568_Linux_fs/kernel/drivers/block/
H A Drbd.c3766 ceph_encode_32(&p, notify_op); in __rbd_notify_op_lock()
4360 ceph_encode_32(&p, *result); in __rbd_acknowledge_notify()