Lines Matching refs:field_data
33 struct ima_field_data *field_data) in ima_write_template_field_data() argument
60 field_data->data = buf; in ima_write_template_field_data()
61 field_data->len = buflen; in ima_write_template_field_data()
68 struct ima_field_data *field_data) in ima_show_template_data_ascii() argument
70 u8 *buf_ptr = field_data->data; in ima_show_template_data_ascii()
71 u32 buflen = field_data->len; in ima_show_template_data_ascii()
75 buf_ptr = strnchr(field_data->data, buflen, ':'); in ima_show_template_data_ascii()
76 if (buf_ptr != field_data->data) in ima_show_template_data_ascii()
77 seq_printf(m, "%s", field_data->data); in ima_show_template_data_ascii()
81 buflen -= buf_ptr - field_data->data; in ima_show_template_data_ascii()
100 struct ima_field_data *field_data) in ima_show_template_data_binary() argument
103 strlen(field_data->data) : field_data->len; in ima_show_template_data_binary()
114 ima_putc(m, field_data->data, len); in ima_show_template_data_binary()
120 struct ima_field_data *field_data) in ima_show_template_field_data() argument
124 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data()
129 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data()
137 struct ima_field_data *field_data) in ima_show_template_digest() argument
139 ima_show_template_field_data(m, show, DATA_FMT_DIGEST, field_data); in ima_show_template_digest()
143 struct ima_field_data *field_data) in ima_show_template_digest_ng() argument
146 field_data); in ima_show_template_digest_ng()
150 struct ima_field_data *field_data) in ima_show_template_string() argument
152 ima_show_template_field_data(m, show, DATA_FMT_STRING, field_data); in ima_show_template_string()
156 struct ima_field_data *field_data) in ima_show_template_sig() argument
158 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_sig()
162 struct ima_field_data *field_data) in ima_show_template_buf() argument
164 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_buf()
230 struct ima_field_data *field_data) in ima_eventdigest_init_common() argument
262 fmt, field_data); in ima_eventdigest_init_common()
269 struct ima_field_data *field_data) in ima_eventdigest_init() argument
308 HASH_ALGO__LAST, field_data); in ima_eventdigest_init()
315 struct ima_field_data *field_data) in ima_eventdigest_ng_init() argument
329 hash_algo, field_data); in ima_eventdigest_ng_init()
337 struct ima_field_data *field_data) in ima_eventdigest_modsig_init() argument
364 hash_algo, field_data); in ima_eventdigest_modsig_init()
368 struct ima_field_data *field_data, in ima_eventname_init_common() argument
395 DATA_FMT_STRING, field_data); in ima_eventname_init_common()
402 struct ima_field_data *field_data) in ima_eventname_init() argument
404 return ima_eventname_init_common(event_data, field_data, true); in ima_eventname_init()
411 struct ima_field_data *field_data) in ima_eventname_ng_init() argument
413 return ima_eventname_init_common(event_data, field_data, false); in ima_eventname_ng_init()
420 struct ima_field_data *field_data) in ima_eventsig_init() argument
428 DATA_FMT_HEX, field_data); in ima_eventsig_init()
436 struct ima_field_data *field_data) in ima_eventbuf_init() argument
443 field_data); in ima_eventbuf_init()
451 struct ima_field_data *field_data) in ima_eventmodsig_init() argument
469 field_data); in ima_eventmodsig_init()