Home
last modified time | relevance | path

Searched refs:marker_len (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/security/integrity/ima/
Dima_modsig.c43 const size_t marker_len = strlen(MODULE_SIG_STRING); in ima_read_modsig() local
50 if (buf_len <= marker_len + sizeof(*sig)) in ima_read_modsig()
53 p = buf + buf_len - marker_len; in ima_read_modsig()
54 if (memcmp(p, MODULE_SIG_STRING, marker_len)) in ima_read_modsig()
57 buf_len -= marker_len; in ima_read_modsig()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dverify_pkcs7_sig.c180 int ret, fd, modlen, marker_len, sig_len; in populate_data_item_mod() local
208 marker_len = sizeof(MODULE_SIG_STRING) - 1; in populate_data_item_mod()
221 if (strncmp(mod + modlen - marker_len, MODULE_SIG_STRING, marker_len)) { in populate_data_item_mod()
226 modlen -= marker_len; in populate_data_item_mod()
/linux-6.1.9/arch/s390/kernel/
Dmachine_kexec_file.c31 const unsigned long marker_len = sizeof(MODULE_SIG_STRING) - 1; in s390_verify_sig() local
40 if (marker_len > kernel_len) in s390_verify_sig()
43 if (memcmp(kernel + kernel_len - marker_len, MODULE_SIG_STRING, in s390_verify_sig()
44 marker_len)) in s390_verify_sig()
46 kernel_len -= marker_len; in s390_verify_sig()
/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_bbt.c175 u32 marker_len; in read_bbt() local
179 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()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dpuda.c1152 u8 marker_len = pfpdu->marker_len; in irdma_ieq_get_fpdu_len() local
1158 total_len = marker_len; in irdma_ieq_get_fpdu_len()
1160 if (marker_len && *(u32 *)datap) in irdma_ieq_get_fpdu_len()
1177 total_len += marker_len; in irdma_ieq_get_fpdu_len()
1178 end_seq += marker_len; in irdma_ieq_get_fpdu_len()
Dtype.h374 u8 marker_len; member
Dctrl.c884 qp->pfpdu.marker_len = 4; in irdma_sc_qp_setctx()