Home
last modified time | relevance | path

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

/linux-4.4.14/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.c1512 ceph_encode_32(&p, req->r_pgid.seed); in __send_request()
2420 ceph_encode_32(&p, 1); /* client_inc is always 1 */ in ceph_osdc_build_request()
2434 ceph_encode_32(&p, 8 + 4 + 4); in ceph_osdc_build_request()
2437 ceph_encode_32(&p, -1); /* preferred */ in ceph_osdc_build_request()
2438 ceph_encode_32(&p, 0); /* key len */ in ceph_osdc_build_request()
2443 ceph_encode_32(&p, -1); /* preferred */ in ceph_osdc_build_request()
2446 ceph_encode_32(&p, req->r_base_oid.name_len); in ceph_osdc_build_request()
2463 ceph_encode_32(&p, req->r_snapc ? req->r_snapc->num_snaps : 0); in ceph_osdc_build_request()
Dauth_x.c62 ceph_encode_32(&obuf, len); in ceph_x_encrypt()
Dmon_client.c211 ceph_encode_32(&p, num); in __send_subscribe()
/linux-4.4.14/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.4.14/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()
Dcaps.c1053 ceph_encode_32(&p, 0); in send_cap_msg()
1057 ceph_encode_32(&p, 0); in send_cap_msg()
1059 ceph_encode_32(&p, 0); in send_cap_msg()
Dmds_client.c906 ceph_encode_32(&p, metadata_key_count); in create_session_open_msg()
913 ceph_encode_32(&p, key_len); in create_session_open_msg()
916 ceph_encode_32(&p, val_len); in create_session_open_msg()