Lines Matching refs:ticket_blob
155 if (th->ticket_blob) in remove_ticket_handler()
156 ceph_buffer_put(th->ticket_blob); in remove_ticket_handler()
249 if (th->ticket_blob) in process_one_ticket()
250 ceph_buffer_put(th->ticket_blob); in process_one_ticket()
252 th->ticket_blob = new_ticket_blob; in process_one_ticket()
259 (int)th->ticket_blob->vec.iov_len); in process_one_ticket()
311 WARN_ON(msg_a->ticket_blob.secret_id != cpu_to_le64(au->secret_id)); in encrypt_authorizer()
312 p = (void *)(msg_a + 1) + le32_to_cpu(msg_a->ticket_blob.blob_len); in encrypt_authorizer()
360 (th->ticket_blob ? th->ticket_blob->vec.iov_len : 0); in ceph_x_build_authorizer()
392 msg_a->ticket_blob.struct_v = 1; in ceph_x_build_authorizer()
393 msg_a->ticket_blob.secret_id = cpu_to_le64(th->secret_id); in ceph_x_build_authorizer()
394 msg_a->ticket_blob.blob_len = cpu_to_le32(ticket_blob_len); in ceph_x_build_authorizer()
396 memcpy(msg_a->ticket_blob.blob, th->ticket_blob->vec.iov_base, in ceph_x_build_authorizer()
397 th->ticket_blob->vec.iov_len); in ceph_x_build_authorizer()
400 le64_to_cpu(msg_a->ticket_blob.secret_id)); in ceph_x_build_authorizer()
424 if (th->ticket_blob) { in ceph_x_encode_ticket()
425 const char *buf = th->ticket_blob->vec.iov_base; in ceph_x_encode_ticket()
426 u32 len = th->ticket_blob->vec.iov_len; in ceph_x_encode_ticket()