Lines Matching refs:out

469  * was queued.  ctx.out.sf_sequence, if not -1, is the sequence number
502 initial_ctx.out.sf_eventid = 0;
503 initial_ctx.out.sf_reclen = 0;
504 initial_ctx.out.sf_pass = 0;
505 initial_ctx.out.sf_asid = 0;
506 initial_ctx.out.sf_auid = (uid_t)-2;
507 initial_ctx.out.sf_euid = (uid_t)-2;
508 initial_ctx.out.sf_egid = (gid_t)-2;
509 initial_ctx.out.sf_tid.at_type = 0;
510 initial_ctx.out.sf_pauid = (uid_t)-2;
511 initial_ctx.out.sf_peuid = (uid_t)-2;
512 initial_ctx.out.sf_uauthlen = 0;
513 initial_ctx.out.sf_uauth = NULL;
514 initial_ctx.out.sf_pathlen = 0;
515 initial_ctx.out.sf_path = NULL;
516 initial_ctx.out.sf_atpathlen = 0;
517 initial_ctx.out.sf_atpath = NULL;
518 initial_ctx.out.sf_textlen = 0;
519 initial_ctx.out.sf_text = NULL;
520 initial_ctx.out.sf_sequence = -1;
521 initial_ctx.out.sf_zonelen = 0;
522 initial_ctx.out.sf_zonename = NULL;
541 if (cacheauevent(&event, ctx.out.sf_eventid) < 0)
543 "%hu", ctx.out.sf_eventid);
552 if (ctx.out.sf_sequence != -1)
554 " (seq=%u) ", ctx.out.sf_sequence);
571 if (tossit(ctx.out.sf_eventid, ctx.out.sf_pass)) {
573 if (ctx.out.sf_sequence != -1)
577 ctx.out.sf_eventid, ctx.out.sf_sequence,
582 ctx.out.sf_eventid, sequence);
593 if (ctx.out.sf_uauthlen > 0) {
594 free(ctx.out.sf_uauth);
595 ctx.out.sf_uauth = NULL;
596 ctx.out.sf_uauthlen = 0;
598 if (ctx.out.sf_pathlen > 0) {
599 free(ctx.out.sf_path);
600 ctx.out.sf_path = NULL;
601 ctx.out.sf_pathlen = 0;
603 if (ctx.out.sf_atpathlen > 0) {
604 free(ctx.out.sf_atpath);
605 ctx.out.sf_atpath = NULL;
606 ctx.out.sf_atpathlen = 0;
608 if (ctx.out.sf_textlen > 0) {
609 free(ctx.out.sf_text);
610 ctx.out.sf_text = NULL;
611 ctx.out.sf_textlen = 0;
613 if (ctx.out.sf_zonelen > 0) {
614 free(ctx.out.sf_zonename);
615 ctx.out.sf_zonename = NULL;
616 ctx.out.sf_zonelen = 0;
624 if (ctx.out.sf_eventid != 0) {
627 if (cacheauevent(&event, ctx.out.sf_eventid) < 0)
629 ctx.out.sf_eventid);
635 if (ctx.out.sf_pass != 0) {
636 if (ctx.out.sf_pass < 0)
643 if (ctx.out.sf_asid != 0) {
645 ctx.out.sf_asid);
649 if (ctx.out.sf_auid != (uid_t)-2) {
650 used = getuname(ctx.out.sf_auid, -2, bp, remaining,
655 if (ctx.out.sf_euid != (uid_t)-2) {
657 used = getuname(ctx.out.sf_euid, ctx.out.sf_egid, bp,
662 if (ctx.out.sf_zonename != NULL) {
665 ctx.out.sf_zonename, ctx.out.sf_zonelen);
666 free(ctx.out.sf_zonename);
670 if (ctx.out.sf_tid.at_type != 0) {
672 used = gethname(&(ctx.out.sf_tid), bp, remaining,
677 if (ctx.out.sf_pauid != (uid_t)-2) {
679 used = getuname(ctx.out.sf_pauid, -2, bp, remaining,
684 if (ctx.out.sf_peuid != (uid_t)-2) {
685 used = getuname(ctx.out.sf_peuid, -2, bp, remaining,
699 if (ctx.out.sf_sequence != -1) {
702 ctx.out.sf_sequence, sequence);
704 ctx.out.sf_sequence, sequence);
716 if (ctx.out.sf_path != NULL) {
718 ctx.out.sf_path, ctx.out.sf_pathlen);
719 free(ctx.out.sf_path);
723 if (ctx.out.sf_atpath != NULL) {
726 ctx.out.sf_atpath, ctx.out.sf_atpathlen);
727 free(ctx.out.sf_atpath);
731 if (ctx.out.sf_uauth != NULL) {
733 ctx.out.sf_uauth, ctx.out.sf_uauthlen);
734 free(ctx.out.sf_path);
738 if (ctx.out.sf_text != NULL) {
741 ctx.out.sf_text, ctx.out.sf_textlen);
742 free(ctx.out.sf_text);
780 DPRINT((dbfp, "syslog: out of memory; seq=%llu\n",