Lines Matching defs:qbuf
744 dns_rrl_qname_buf_t *qbuf;
746 qbuf = rrl->qnames[e->log_qname];
747 if (qbuf == NULL || qbuf->e != e)
749 return (qbuf);
754 dns_rrl_qname_buf_t *qbuf;
756 qbuf = get_qname(rrl, e);
757 if (qbuf != NULL) {
758 qbuf->e = NULL;
759 ISC_LIST_APPEND(rrl->qname_free, qbuf, link);
790 dns_rrl_qname_buf_t *qbuf;
875 qbuf = get_qname(rrl, e);
876 if (save_qname && qbuf == NULL &&
881 qbuf = ISC_LIST_TAIL(rrl->qname_free);
882 if (qbuf != NULL) {
883 ISC_LIST_UNLINK(rrl->qname_free, qbuf, link);
885 qbuf = isc_mem_get(rrl->mctx, sizeof(*qbuf));
886 if (qbuf != NULL) {
887 memset(qbuf, 0, sizeof(*qbuf));
888 ISC_LINK_INIT(qbuf, link);
889 qbuf->index = rrl->num_qnames;
890 rrl->qnames[rrl->num_qnames++] = qbuf;
898 (int)sizeof(*qbuf));
901 if (qbuf != NULL) {
902 e->log_qname = qbuf->index;
903 qbuf->e = e;
904 dns_fixedname_init(&qbuf->qname);
906 dns_fixedname_name(&qbuf->qname),
910 if (qbuf != NULL)
911 qname = dns_fixedname_name(&qbuf->qname);