Lines Matching defs:tmp_frec
670 flow_records_t *tmp_frec = NULL;
673 tmp_frec = kmem_zalloc(sizeof (flow_records_t), KM_NOSLEEP);
674 if (tmp_frec == NULL) {
678 tmp_frec->fl_use = kmem_zalloc(sizeof (flow_usage_t), KM_NOSLEEP);
679 if (tmp_frec->fl_use == NULL) {
681 kmem_free(tmp_frec, sizeof (flow_records_t));
687 tmp_frec->fl_use->fu_saddr[count] =
689 tmp_frec->fl_use->fu_daddr[count] =
697 tmp_frec->fl_use->fu_sport = htons(flow->sport);
698 tmp_frec->fl_use->fu_dport = htons(flow->dport);
699 tmp_frec->fl_use->fu_protocol = flow->proto;
700 tmp_frec->fl_use->fu_isv4 = flow->isv4;
701 tmp_frec->fl_use->fu_dsfield = item->dsfield;
702 tmp_frec->fl_use->fu_projid = item->projid;
703 tmp_frec->fl_use->fu_userid = item->uid;
704 tmp_frec->fl_use->fu_nbytes = item->nbytes;
705 tmp_frec->fl_use->fu_npackets = item->npackets;
706 tmp_frec->fl_use->fu_lseen =
708 tmp_frec->fl_use->fu_ctime =
711 return (tmp_frec);
736 flow_records_t *frec = NULL, *tmp_frec, *tail;
788 tmp_frec = flowacct_create_record(flow, ithdr);
800 if (tmp_frec != NULL) {
801 tmp_frec->fl_use->fu_aname =
804 frec = tmp_frec;
807 tail->next = tmp_frec;
808 tail = tmp_frec;
863 tmp_frec = frec->next;
867 frec = tmp_frec;