Lines Matching refs:num_notes
289 if (wt->num_notes == MAX_NOTES) in add_note()
292 wt->notes[wt->num_notes] = os_malloc(len); in add_note()
293 if (wt->notes[wt->num_notes] == NULL) in add_note()
296 wlen = vsnprintf(wt->notes[wt->num_notes], len, fmt, ap); in add_note()
299 os_free(wt->notes[wt->num_notes]); in add_note()
300 wt->notes[wt->num_notes] = NULL; in add_note()
304 wt->notes[wt->num_notes][len - 1] = '\0'; in add_note()
305 wpa_printf(level, "%s", wt->notes[wt->num_notes]); in add_note()
306 wt->num_notes++; in add_note()
314 for (i = 0; i < wt->num_notes; i++) { in clear_notes()
319 wt->num_notes = 0; in clear_notes()
326 size_t len = wt->num_notes * hdrlen; in notes_len()
328 for (i = 0; i < wt->num_notes; i++) in notes_len()