Searched refs:marker_len (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/security/integrity/ima/ |
D | ima_modsig.c | 43 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/ |
D | verify_pkcs7_sig.c | 180 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/ |
D | machine_kexec_file.c | 31 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/ |
D | nand_bbt.c | 175 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/ |
D | puda.c | 1152 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()
|
D | type.h | 374 u8 marker_len; member
|
D | ctrl.c | 884 qp->pfpdu.marker_len = 4; in irdma_sc_qp_setctx()
|