Lines Matching refs:ticket_blob
152 if (th->ticket_blob) in remove_ticket_handler()
153 ceph_buffer_put(th->ticket_blob); in remove_ticket_handler()
245 if (th->ticket_blob) in process_one_ticket()
246 ceph_buffer_put(th->ticket_blob); in process_one_ticket()
248 th->ticket_blob = new_ticket_blob; in process_one_ticket()
255 (int)th->ticket_blob->vec.iov_len); in process_one_ticket()
308 WARN_ON(msg_a->ticket_blob.secret_id != cpu_to_le64(au->secret_id)); in encrypt_authorizer()
309 p = (void *)(msg_a + 1) + le32_to_cpu(msg_a->ticket_blob.blob_len); in encrypt_authorizer()
357 (th->ticket_blob ? th->ticket_blob->vec.iov_len : 0); in ceph_x_build_authorizer()
388 msg_a->ticket_blob.struct_v = 1; in ceph_x_build_authorizer()
389 msg_a->ticket_blob.secret_id = cpu_to_le64(th->secret_id); in ceph_x_build_authorizer()
390 msg_a->ticket_blob.blob_len = cpu_to_le32(ticket_blob_len); in ceph_x_build_authorizer()
392 memcpy(msg_a->ticket_blob.blob, th->ticket_blob->vec.iov_base, in ceph_x_build_authorizer()
393 th->ticket_blob->vec.iov_len); in ceph_x_build_authorizer()
396 le64_to_cpu(msg_a->ticket_blob.secret_id)); in ceph_x_build_authorizer()
420 if (th->ticket_blob) { in ceph_x_encode_ticket()
421 const char *buf = th->ticket_blob->vec.iov_base; in ceph_x_encode_ticket()
422 u32 len = th->ticket_blob->vec.iov_len; in ceph_x_encode_ticket()