Searched refs:template_name (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/security/integrity/ima/ |
D | ima_template.c | 325 static struct ima_template_desc *restore_template_fmt(char *template_name) in restore_template_fmt() argument 330 ret = template_desc_init_fields(template_name, NULL, NULL); in restore_template_fmt() 333 template_name); in restore_template_fmt() 342 template_desc->fmt = kstrdup(template_name, GFP_KERNEL); in restore_template_fmt() 416 char template_name[MAX_TEMPLATE_NAME_LEN]; in ima_restore_measurement_list() local 478 memcpy(template_name, hdr[HDR_TEMPLATE_NAME].data, in ima_restore_measurement_list() 480 template_name[hdr[HDR_TEMPLATE_NAME].len] = 0; in ima_restore_measurement_list() 482 if (strcmp(template_name, "ima") == 0) { in ima_restore_measurement_list() 484 template_name); in ima_restore_measurement_list() 489 template_desc = lookup_template_desc(template_name); in ima_restore_measurement_list() [all …]
|
D | ima_fs.c | 154 char *template_name; in ima_measurements_show() local 172 template_name = (e->template_desc->name[0] != '\0') ? in ima_measurements_show() 187 namelen = !ima_canonical_fmt ? strlen(template_name) : in ima_measurements_show() 188 (__force u32)cpu_to_le32(strlen(template_name)); in ima_measurements_show() 192 ima_putc(m, template_name, strlen(template_name)); in ima_measurements_show() 195 if (strcmp(template_name, IMA_TEMPLATE_IMA_NAME) == 0) in ima_measurements_show() 252 char *template_name; in ima_ascii_measurements_show() local 268 template_name = (e->template_desc->name[0] != '\0') ? in ima_ascii_measurements_show() 278 seq_printf(m, " %s", template_name); in ima_ascii_measurements_show()
|
D | ima_api.c | 108 char *template_name = entry->template_desc->name; in ima_store_template() local 116 template_name, op, in ima_store_template()
|
/linux-6.12.1/tools/net/sunrpc/xdrgen/generators/ |
D | __init__.py | 31 environment: Environment, template_type: str, template_name: str 34 return environment.get_template(template_type + "/" + template_name + ".j2")
|