Lines Matching refs:service
120 get_ticket_handler(struct ceph_auth_client *ac, int service) in get_ticket_handler() argument
129 if (service < th->service) in get_ticket_handler()
131 else if (service > th->service) in get_ticket_handler()
141 th->service = service; in get_ticket_handler()
152 dout("remove_ticket_handler %p %d\n", th, th->service); in remove_ticket_handler()
260 xi->have_keys |= th->service; in process_one_ticket()
363 ceph_entity_type_name(th->service), au); in ceph_x_build_authorizer()
384 au->service = th->service; in ceph_x_build_authorizer()
391 msg_a->service_id = cpu_to_le32(th->service); in ceph_x_build_authorizer()
450 dout("ticket %d (%s) secret_id %llu expired\n", th->service, in have_key()
451 ceph_entity_type_name(th->service), th->secret_id); in have_key()
462 int service; in ceph_x_validate_tickets() local
466 for (service = 1; service <= want; service <<= 1) { in ceph_x_validate_tickets()
469 if (!(ac->want_keys & service)) in ceph_x_validate_tickets()
472 if (*pneed & service) in ceph_x_validate_tickets()
475 th = get_ticket_handler(ac, service); in ceph_x_validate_tickets()
477 *pneed |= service; in ceph_x_validate_tickets()
482 *pneed |= service; in ceph_x_validate_tickets()
484 xi->have_keys &= ~service; in ceph_x_validate_tickets()
783 au->service, au->secret_id, th->secret_id); in ceph_x_update_authorizer()
943 th->service, ceph_entity_type_name(th->service), in invalidate_ticket()