Searched refs:template_data (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/security/integrity/ima/ |
D | ima_template.c | 300 void *template_data, in ima_restore_template_data() argument 308 *entry = kzalloc(struct_size(*entry, template_data, in ima_restore_template_data() 322 ret = ima_parse_buf(template_data, template_data + template_data_size, in ima_restore_template_data() 324 (*entry)->template_data, NULL, NULL, in ima_restore_template_data() 334 struct ima_field_data *field_data = &(*entry)->template_data[i]; in ima_restore_template_data() 337 (*entry)->template_data[i].data = in ima_restore_template_data() 339 if (!(*entry)->template_data[i].data) { in ima_restore_template_data() 343 memcpy((*entry)->template_data[i].data, data, field_data->len); in ima_restore_template_data() 462 &entry->template_data[0], in ima_restore_measurement_list()
|
D | ima_api.c | 28 kfree(entry->template_data[i].data); in ima_free_template_entry() 50 *entry = kzalloc(struct_size(*entry, template_data, in ima_alloc_init_template() 71 &((*entry)->template_data[i])); in ima_alloc_init_template() 75 len = (*entry)->template_data[i].len; in ima_alloc_init_template() 112 result = ima_calc_field_array_hash(&entry->template_data[0], in ima_store_template()
|
D | ima_fs.c | 184 field->field_show(m, show, &e->template_data[i]); in ima_measurements_show() 245 if (e->template_data[i].len == 0) in ima_ascii_measurements_show() 249 &e->template_data[i]); in ima_ascii_measurements_show()
|
D | ima.h | 104 struct ima_field_data template_data[]; /* template related data */ member
|
/Linux-v5.10/drivers/net/wireless/ti/wlcore/ |
D | cmd.h | 410 u8 template_data[WL1271_CMD_TEMPL_MAX_SIZE]; member
|
D | cmd.c | 1041 memcpy(cmd->template_data, buf, buf_len); in wl1271_cmd_template_set()
|