Home
last modified time | relevance | path

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

/linux-4.1.27/net/ceph/
Dauth.c91 ceph_encode_32(p, CEPH_ENTITY_TYPE_CLIENT); in ceph_entity_name_encode()
92 ceph_encode_32(p, len); in ceph_entity_name_encode()
114 ceph_encode_32(&p, 0); /* no protocol, yet */ in ceph_auth_build_hello()
122 ceph_encode_32(&p, num); in ceph_auth_build_hello()
125 ceph_encode_32(&p, supported_protocols[i]); in ceph_auth_build_hello()
133 ceph_encode_32(&lenp, p - lenp - sizeof(u32)); in ceph_auth_build_hello()
156 ceph_encode_32(&p, ac->protocol); in ceph_build_auth_request()
165 ceph_encode_32(&p, ret); in ceph_build_auth_request()
Dosd_client.c1496 ceph_encode_32(&p, req->r_pgid.seed); in __send_request()
2406 ceph_encode_32(&p, 1); /* client_inc is always 1 */ in ceph_osdc_build_request()
2420 ceph_encode_32(&p, 8 + 4 + 4); in ceph_osdc_build_request()
2423 ceph_encode_32(&p, -1); /* preferred */ in ceph_osdc_build_request()
2424 ceph_encode_32(&p, 0); /* key len */ in ceph_osdc_build_request()
2429 ceph_encode_32(&p, -1); /* preferred */ in ceph_osdc_build_request()
2432 ceph_encode_32(&p, req->r_base_oid.name_len); in ceph_osdc_build_request()
2449 ceph_encode_32(&p, req->r_snapc ? req->r_snapc->num_snaps : 0); in ceph_osdc_build_request()
Dauth_x.c61 ceph_encode_32(&obuf, len); in ceph_x_encrypt()
Dmon_client.c202 ceph_encode_32(&p, num); in __send_subscribe()
/linux-4.1.27/include/linux/ceph/
Ddecode.h173 static inline void ceph_encode_32(void **p, u32 v) in ceph_encode_32() function
204 ceph_encode_32(p, len); in ceph_encode_filepath()
214 ceph_encode_32(p, len); in ceph_encode_string()
234 ceph_encode_32(p, v); \
/linux-4.1.27/fs/ceph/
Dxattr.c690 ceph_encode_32(&dest, ci->i_xattrs.count); in __ceph_build_xattrs_blob()
694 ceph_encode_32(&dest, xattr->name_len); in __ceph_build_xattrs_blob()
697 ceph_encode_32(&dest, xattr->val_len); in __ceph_build_xattrs_blob()
Dmds_client.c886 ceph_encode_32(&p, metadata_key_count); in create_session_open_msg()
893 ceph_encode_32(&p, key_len); in create_session_open_msg()
896 ceph_encode_32(&p, val_len); in create_session_open_msg()
Dcaps.c1039 ceph_encode_32(&p, 0); in send_cap_msg()
1043 ceph_encode_32(&p, 0); in send_cap_msg()