Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dauth.c111 ceph_encode_32(p, CEPH_ENTITY_TYPE_CLIENT); in ceph_auth_entity_name_encode()
112 ceph_encode_32(p, len); in ceph_auth_entity_name_encode()
134 ceph_encode_32(&p, CEPH_AUTH_UNKNOWN); /* no protocol, yet */ in ceph_auth_build_hello()
142 ceph_encode_32(&p, num); in ceph_auth_build_hello()
145 ceph_encode_32(&p, supported_protocols[i]); in ceph_auth_build_hello()
153 ceph_encode_32(&lenp, p - lenp - sizeof(u32)); in ceph_auth_build_hello()
188 ceph_encode_32(&p, ret); in build_request()
465 ceph_encode_32(&lenp, p - lenp - 4); in ceph_auth_get_request()
H A Ddecode.c190 ceph_encode_32(p, addr_len); in ceph_encode_entity_addr()
H A Dosd_client.c1895 ceph_encode_32(p, hoid->hash); in encode_hoid()
2119 ceph_encode_32(p, pgid->seed); in encode_pgid()
2120 ceph_encode_32(p, -1); /* preferred */ in encode_pgid()
2135 ceph_encode_32(p, -1); /* preferred */ in encode_oloc()
2136 ceph_encode_32(p, 0); /* key len */ in encode_oloc()
2141 ceph_encode_32(p, 0); in encode_oloc()
2163 ceph_encode_32(&p, req->r_t.pgid.seed); /* raw hash */ in encode_request_partial()
2164 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2165 ceph_encode_32(&p, req->r_flags); in encode_request_partial()
2176 ceph_encode_32(&p, 0); /* client_inc, always 0 */ in encode_request_partial()
[all …]
H A Dauth_x.c102 ceph_encode_32(&buf, ciphertext_len); in ceph_x_encrypt()
H A Dmessenger_v2.c494 ceph_encode_32(&p, desc->fd_lens[i]); in encode_preamble()
1485 ceph_encode_32(&p, 1); /* addr_cnt */ in prepare_client_ident()
1522 ceph_encode_32(&p, 1); /* my_addrs len */ in prepare_session_reconnect()
H A Dmon_client.c354 ceph_encode_32(&p, num); in __send_subscribe()
/linux/include/linux/ceph/
H A Ddecode.h258 static inline void ceph_encode_32(void **p, u32 v) in ceph_encode_32() function
289 ceph_encode_32(p, len); in ceph_encode_filepath()
299 ceph_encode_32(p, len); in ceph_encode_string()
323 ceph_encode_32(p, struct_len); in ceph_start_encoding()
373 ceph_encode_32(p, v); \
/linux/fs/ceph/
H A Dmds_client.c1476 ceph_encode_32(p, size); in encode_supported_features()
1487 ceph_encode_32(p, 0); in encode_supported_features()
1514 ceph_encode_32(p, 4 + size); in encode_metric_spec()
1517 ceph_encode_32(p, size); in encode_metric_spec()
1527 ceph_encode_32(p, 4); in encode_metric_spec()
1529 ceph_encode_32(p, 0); in encode_metric_spec()
1614 ceph_encode_32(&p, metadata_key_count); in create_session_full_msg()
1621 ceph_encode_32(&p, key_len); in create_session_full_msg()
1624 ceph_encode_32(&p, val_len); in create_session_full_msg()
1644 ceph_encode_32(&p, 0); in create_session_full_msg()
[all …]
H A Dcaps.c1305 ceph_encode_32(&p, 0); in encode_cap_msg()
1309 ceph_encode_32(&p, 0); in encode_cap_msg()
1315 ceph_encode_32(&p, READ_ONCE(osdc->epoch_barrier)); in encode_cap_msg()
1326 ceph_encode_32(&p, 0); in encode_cap_msg()
1327 ceph_encode_32(&p, 0); in encode_cap_msg()
1330 ceph_encode_32(&p, 0); in encode_cap_msg()
1338 ceph_encode_32(&p, arg->flags); in encode_cap_msg()
1352 ceph_encode_32(&p, arg->fscrypt_auth_len); in encode_cap_msg()
1354 ceph_encode_32(&p, sizeof(__le64)); in encode_cap_msg()
1357 ceph_encode_32(&p, 0); in encode_cap_msg()
[all …]
H A Dxattr.c923 ceph_encode_32(&dest, ci->i_xattrs.count); in __ceph_build_xattrs_blob()
927 ceph_encode_32(&dest, xattr->name_len); in __ceph_build_xattrs_blob()
930 ceph_encode_32(&dest, xattr->val_len); in __ceph_build_xattrs_blob()
/linux/drivers/block/
H A Drbd.c3741 ceph_encode_32(&p, notify_op); in __rbd_notify_op_lock()
4399 ceph_encode_32(&p, *result); in __rbd_acknowledge_notify()