Home
last modified time | relevance | path

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

/linux/net/ceph/
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()
463 ceph_encode_32(&lenp, p - lenp - 4); in ceph_auth_get_request()
A Ddecode.c190 ceph_encode_32(p, addr_len); in ceph_encode_entity_addr()
A Dosd_client.c1853 ceph_encode_32(p, hoid->hash); in encode_hoid()
2076 ceph_encode_32(p, pgid->seed); in encode_pgid()
2077 ceph_encode_32(p, -1); /* preferred */ in encode_pgid()
2092 ceph_encode_32(p, -1); /* preferred */ in encode_oloc()
2093 ceph_encode_32(p, 0); /* key len */ in encode_oloc()
2098 ceph_encode_32(p, 0); in encode_oloc()
2122 ceph_encode_32(&p, req->r_flags); in encode_request_partial()
2151 ceph_encode_32(&p, req->r_snapc->num_snaps); in encode_request_partial()
2156 ceph_encode_32(&p, 0); /* snaps len */ in encode_request_partial()
4282 ceph_encode_32(&p, map_epoch); in create_backoff_message()
[all …]
A Dmessenger_v2.c489 ceph_encode_32(&p, desc->fd_lens[i]); in encode_preamble()
1388 ceph_encode_32(&p, 1); /* addr_cnt */ in prepare_client_ident()
1425 ceph_encode_32(&p, 1); /* my_addrs len */ in prepare_session_reconnect()
A Dauth_x.c73 ceph_encode_32(&buf, ciphertext_len); in ceph_x_encrypt()
A Dmon_client.c354 ceph_encode_32(&p, num); in __send_subscribe()
/linux/include/linux/ceph/
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/
A Dmds_client.c1203 ceph_encode_32(p, size); in encode_supported_features()
1212 ceph_encode_32(p, 0); in encode_supported_features()
1239 ceph_encode_32(p, 4 + size); in encode_metric_spec()
1242 ceph_encode_32(p, size); in encode_metric_spec()
1252 ceph_encode_32(p, 4); in encode_metric_spec()
1254 ceph_encode_32(p, 0); in encode_metric_spec()
1334 ceph_encode_32(&p, metadata_key_count); in create_session_open_msg()
1341 ceph_encode_32(&p, key_len); in create_session_open_msg()
1344 ceph_encode_32(&p, val_len); in create_session_open_msg()
2428 ceph_encode_32(p, req->r_cred->group_info->ngroups); in encode_timestamp_and_gids()
A Dxattr.c875 ceph_encode_32(&dest, ci->i_xattrs.count); in __ceph_build_xattrs_blob()
879 ceph_encode_32(&dest, xattr->name_len); in __ceph_build_xattrs_blob()
882 ceph_encode_32(&dest, xattr->val_len); in __ceph_build_xattrs_blob()
A Dcaps.c1278 ceph_encode_32(&p, 0); in encode_cap_msg()
1282 ceph_encode_32(&p, 0); in encode_cap_msg()
1288 ceph_encode_32(&p, READ_ONCE(osdc->epoch_barrier)); in encode_cap_msg()
1299 ceph_encode_32(&p, 0); in encode_cap_msg()
1300 ceph_encode_32(&p, 0); in encode_cap_msg()
1303 ceph_encode_32(&p, 0); in encode_cap_msg()
1311 ceph_encode_32(&p, arg->flags); in encode_cap_msg()
/linux/drivers/block/
A Drbd.c3703 ceph_encode_32(&p, notify_op); in __rbd_notify_op_lock()
4301 ceph_encode_32(&p, *result); in __rbd_acknowledge_notify()

Completed in 58 milliseconds