Searched refs:template_data (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/security/integrity/ima/ |
D | ima_template.c | 354 void *template_data, in ima_restore_template_data() argument 362 *entry = kzalloc(struct_size(*entry, template_data, in ima_restore_template_data() 376 ret = ima_parse_buf(template_data, template_data + template_data_size, in ima_restore_template_data() 378 (*entry)->template_data, NULL, NULL, in ima_restore_template_data() 388 struct ima_field_data *field_data = &(*entry)->template_data[i]; in ima_restore_template_data() 391 (*entry)->template_data[i].data = in ima_restore_template_data() 393 if (!(*entry)->template_data[i].data) { in ima_restore_template_data() 397 memcpy((*entry)->template_data[i].data, data, field_data->len); in ima_restore_template_data() 516 &entry->template_data[0], in ima_restore_measurement_list()
|
D | ima_api.c | 29 kfree(entry->template_data[i].data); in ima_free_template_entry() 51 *entry = kzalloc(struct_size(*entry, template_data, in ima_alloc_init_template() 72 &((*entry)->template_data[i])); in ima_alloc_init_template() 76 len = (*entry)->template_data[i].len; in ima_alloc_init_template() 113 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 | 103 struct ima_field_data template_data[]; /* template related data */ member
|
/linux-5.19.10/drivers/net/wireless/ti/wlcore/ |
D | cmd.h | 410 u8 template_data[WL1271_CMD_TEMPL_MAX_SIZE]; member
|
D | cmd.c | 1039 memcpy(cmd->template_data, buf, buf_len); in wl1271_cmd_template_set()
|