Searched refs:marker_len (Results 1 – 3 of 3) sorted by relevance
63 const size_t marker_len = strlen(MODULE_SIG_STRING); in ima_read_modsig() local70 if (buf_len <= marker_len + sizeof(*sig)) in ima_read_modsig()73 p = buf + buf_len - marker_len; in ima_read_modsig()74 if (memcmp(p, MODULE_SIG_STRING, marker_len)) in ima_read_modsig()77 buf_len -= marker_len; in ima_read_modsig()
28 const unsigned long marker_len = sizeof(MODULE_SIG_STRING) - 1; in s390_verify_sig() local36 if (marker_len > kernel_len) in s390_verify_sig()39 if (memcmp(kernel + kernel_len - marker_len, MODULE_SIG_STRING, in s390_verify_sig()40 marker_len)) in s390_verify_sig()42 kernel_len -= marker_len; in s390_verify_sig()
175 u32 marker_len; in read_bbt() local179 marker_len = add_marker_len(td); in read_bbt()184 if (marker_len) { in read_bbt()189 len -= marker_len; in read_bbt()190 from += marker_len; in read_bbt()191 marker_len = 0; in read_bbt()