Lines Matching refs:bufp
245 void *bufp = bufstartp; in ima_parse_buf() local
250 if (bufp > (bufendp - sizeof(u32))) in ima_parse_buf()
254 fields[i].len = le32_to_cpu(*(__le32 *)bufp); in ima_parse_buf()
256 fields[i].len = *(u32 *)bufp; in ima_parse_buf()
258 bufp += sizeof(u32); in ima_parse_buf()
261 if (bufp > (bufendp - fields[i].len)) in ima_parse_buf()
264 fields[i].data = bufp; in ima_parse_buf()
265 bufp += 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()
284 *bufcurp = bufp; in ima_parse_buf()