Home
last modified time | relevance | path

Searched refs:bufendp (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/security/integrity/ima/
H A Dima_template.c426 void *bufendp; in ima_restore_measurement_list() local
461 bufendp = buf + khdr->buffer_size; in ima_restore_measurement_list()
462 while ((bufp < bufendp) && (count++ < khdr->count)) { in ima_restore_measurement_list()
466 ret = ima_parse_buf(bufp, bufendp, &bufp, HDR__LAST, hdr, NULL, in ima_restore_measurement_list()
H A Dima_template_lib.c241 int ima_parse_buf(void *bufstartp, void *bufendp, void **bufcurp, in ima_parse_buf() argument
250 if (bufp > (bufendp - sizeof(u32))) in ima_parse_buf()
261 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf()
274 if ((enforce_mask & ENFORCE_BUFEND) && bufp != bufendp) { in ima_parse_buf()
276 bufname, bufendp, bufp); in ima_parse_buf()
H A Dima_template_lib.h34 int ima_parse_buf(void *bufstartp, void *bufendp, void **bufcurp,