Searched refs:bufendp (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/security/integrity/ima/ |
D | ima_template_lib.c | 181 int ima_parse_buf(void *bufstartp, void *bufendp, void **bufcurp, in ima_parse_buf() argument 190 if (bufp > (bufendp - sizeof(u32))) in ima_parse_buf() 200 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf() 213 if ((enforce_mask & ENFORCE_BUFEND) && bufp != bufendp) { in ima_parse_buf() 215 bufname, bufendp, bufp); in ima_parse_buf()
|
D | ima_template.c | 359 void *bufendp; in ima_restore_measurement_list() local 394 bufendp = buf + khdr->buffer_size; in ima_restore_measurement_list() 395 while ((bufp < bufendp) && (count++ < khdr->count)) { in ima_restore_measurement_list() 399 ret = ima_parse_buf(bufp, bufendp, &bufp, HDR__LAST, hdr, NULL, in ima_restore_measurement_list()
|
D | ima_template_lib.h | 30 int ima_parse_buf(void *bufstartp, void *bufendp, void **bufcurp,
|