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 Dosd_client.c1898 ceph_encode_32(p, hoid->hash); in encode_hoid()
2122 ceph_encode_32(p, pgid->seed); in encode_pgid()
2123 ceph_encode_32(p, -1); /* preferred */
2138 ceph_encode_32(p, -1); /* preferred */ in encode_oloc()
2139 ceph_encode_32(p, 0); /* key len */ in encode_oloc()
2144 ceph_encode_32(p, 0);
2166 ceph_encode_32(&p, req->r_t.pgid.seed); /* raw hash */ in encode_request_partial()
2167 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2168 ceph_encode_32(&p, req->r_flags); in encode_request_partial()
2179 ceph_encode_32( in encode_request_partial()
[all...]
H A Dauth_x.c102 ceph_encode_32(&buf, ciphertext_len); in ceph_x_encrypt()
H A Dmessenger_v2.c493 ceph_encode_32(&p, desc->fd_lens[i]); in encode_preamble()
1484 ceph_encode_32(&p, 1); /* addr_cnt */ in prepare_client_ident()
1521 ceph_encode_32(&p, 1); /* my_addrs len */ in prepare_session_reconnect()
H A Dmon_client.c356 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.c1600 ceph_encode_32(p, size); in encode_metric_spec()
1611 ceph_encode_32(p, 0); in encode_metric_spec()
1638 ceph_encode_32(p, 4 + size); in create_session_full_msg()
1641 ceph_encode_32(p, size); in create_session_full_msg()
1651 ceph_encode_32(p, 4); in create_session_full_msg()
1653 ceph_encode_32(p, 0); in create_session_full_msg()
1738 ceph_encode_32(&p, metadata_key_count); in create_session_full_msg()
1745 ceph_encode_32(&p, key_len); in create_session_full_msg()
1748 ceph_encode_32(&p, val_len); in create_session_full_msg()
1768 ceph_encode_32( in __open_session()
[all...]
H A Dcaps.c1419 ceph_encode_32(&p, 0);
1423 ceph_encode_32(&p, 0); in __prep_cap()
1429 ceph_encode_32(&p, READ_ONCE(osdc->epoch_barrier)); in __prep_cap()
1440 ceph_encode_32(&p, 0); in __prep_cap()
1441 ceph_encode_32(&p, 0); in __prep_cap()
1444 ceph_encode_32(&p, 0); in __prep_cap()
1452 ceph_encode_32(&p, arg->flags); in __prep_cap()
1466 ceph_encode_32(&p, arg->fscrypt_auth_len); in __prep_cap()
1468 ceph_encode_32(&p, sizeof(__le64)); in __prep_cap()
1471 ceph_encode_32( in __prep_cap()
[all...]
H A Dxattr.c934 ceph_encode_32(&dest, ci->i_xattrs.count); in __ceph_build_xattrs_blob()
938 ceph_encode_32(&dest, xattr->name_len); in __ceph_build_xattrs_blob()
941 ceph_encode_32(&dest, xattr->val_len); in __ceph_build_xattrs_blob()
H A Dmetric.c288 ceph_encode_32(&cursor, CLIENT_METRIC_TYPE_SUBVOLUME_METRICS); in ceph_mdsc_send_metrics()
/linux/drivers/block/
H A Drbd.c3737 ceph_encode_32(&p, notify_op); in __rbd_notify_op_lock()
4395 ceph_encode_32(&p, *result); in __rbd_acknowledge_notify()