Lines Matching defs:entry
149 * that we are. For more details look at the entry point in mech_krb5
556 trace_str(nvlist_t *entry, char *n1, char *n2, char *str)
564 (void) nvlist_add_string(entry, name, str);
568 trace_int(nvlist_t *entry, char *n1, char *n2, int64_t i)
576 (void) nvlist_add_int64(entry, name, i);
580 trace_sid(nvlist_t *entry, char *n1, char *n2, idmap_sid *sid)
588 trace_str(entry, n1, n2, str);
593 trace_id(nvlist_t *entry, char *fromto, idmap_id *id, char *name, char *domain)
595 trace_int(entry, fromto, IDMAP_TRACE_TYPE, (int64_t)id->idtype);
604 trace_str(entry, fromto, IDMAP_TRACE_NAME, str);
609 trace_sid(entry, fromto, IDMAP_TRACE_SID,
614 trace_str(entry, fromto, IDMAP_TRACE_NAME, name);
616 trace_int(entry, fromto, IDMAP_TRACE_UNIXID,
635 nvlist_t *entry;
640 err = nvlist_alloc(&entry, NV_UNIQUE_NAME, 0);
642 (void) fprintf(stderr, "trace nvlist_alloc(entry): %s\n",
647 trace_id(entry, "from", &req->id1, req->id1name, req->id1domain);
648 trace_id(entry, "to", &res->id, req->id2name, req->id2domain);
651 trace_int(entry, IDMAP_TRACE_ERROR, NULL,
659 trace_str(entry, IDMAP_TRACE_MESSAGE, NULL, buf);
664 idmap_trace_print_1(stderr, "", entry);
675 nvlist_free(entry);
679 (void) nvlist_add_nvlist(res->info.trace, "", entry);
680 /* Note that entry is copied, so we must still free our copy */
683 nvlist_free(entry);