Home
last modified time | relevance | path

Searched refs:global_id (Results 1 – 9 of 9) sorted by relevance

/net/ceph/
Dauth.c39 void ceph_auth_set_global_id(struct ceph_auth_client *ac, u64 global_id) in ceph_auth_set_global_id() argument
41 dout("%s global_id %llu\n", __func__, global_id); in ceph_auth_set_global_id()
43 if (!global_id) in ceph_auth_set_global_id()
46 if (ac->global_id && global_id != ac->global_id) in ceph_auth_set_global_id()
47 pr_err("global_id changed from %llu to %llu\n", ac->global_id, in ceph_auth_set_global_id()
48 global_id); in ceph_auth_set_global_id()
50 ac->global_id = global_id; in ceph_auth_set_global_id()
151 ceph_encode_64(&p, ac->global_id); in ceph_auth_build_hello()
206 u64 global_id; in ceph_handle_auth_reply() local
218 global_id = ceph_decode_64(&p); in ceph_handle_auth_reply()
[all …]
Dauth_none.c54 ceph_encode_64_safe(&p, end, ac->global_id, e_range); in ceph_auth_none_build_authorizer()
72 static int handle_reply(struct ceph_auth_client *ac, u64 global_id, in handle_reply() argument
80 ceph_auth_set_global_id(ac, global_id); in handle_reply()
Dauth_x.c390 msg_a->global_id = cpu_to_le64(ac->global_id); in ceph_x_build_authorizer()
600 static int handle_auth_session_key(struct ceph_auth_client *ac, u64 global_id, in handle_auth_session_key() argument
616 ceph_auth_set_global_id(ac, global_id); in handle_auth_session_key()
665 static int ceph_x_handle_reply(struct ceph_auth_client *ac, u64 global_id, in ceph_x_handle_reply() argument
699 ret = handle_auth_session_key(ac, global_id, &p, end, in ceph_x_handle_reply()
Dauth_x_protocol.h66 __le64 global_id; member
Dmessenger_v2.c1365 u64 global_id = ceph_client_gid(client); in prepare_client_ident() local
1388 global_id, con->v2.global_seq, client->supported_features, in prepare_client_ident()
1402 ceph_encode_64(&p, global_id); in prepare_client_ident()
2061 u64 global_id; in process_auth_done() local
2069 ceph_decode_64_safe(&p, end, global_id, bad); in process_auth_done()
2074 __func__, con, global_id, con->v2.con_mode, payload_len); in process_auth_done()
2079 ret = con->ops->handle_auth_done(con, global_id, p, payload_len, in process_auth_done()
2175 u64 global_id; in process_server_ident() local
2191 ceph_decode_64_safe(&p, end, global_id, bad); in process_server_ident()
2200 global_id, global_seq, features, required_features, flags, cookie); in process_server_ident()
[all …]
Dmon_client.c1290 __func__, monc->auth->global_id); in finish_auth()
1294 cpu_to_le64(monc->auth->global_id); in finish_auth()
1392 u64 global_id, void *reply, int reply_len, in mon_handle_auth_done() argument
1403 ret = ceph_auth_handle_reply_done(monc->auth, global_id, in mon_handle_auth_done()
Ddebugfs.c412 client->monc.auth->global_id); in ceph_debugfs_client_init()
Dceph_common.c720 return client->monc.auth->global_id; in ceph_client_gid()
Dosd_client.c5619 u64 global_id, void *reply, int reply_len, in osd_handle_auth_done() argument