Lines Matching refs:field_data
31 struct ima_field_data *field_data) in ima_write_template_field_data() argument
58 field_data->data = buf; in ima_write_template_field_data()
59 field_data->len = buflen; in ima_write_template_field_data()
66 struct ima_field_data *field_data) in ima_show_template_data_ascii() argument
68 u8 *buf_ptr = field_data->data; in ima_show_template_data_ascii()
69 u32 buflen = field_data->len; in ima_show_template_data_ascii()
73 buf_ptr = strnchr(field_data->data, buflen, ':'); in ima_show_template_data_ascii()
74 if (buf_ptr != field_data->data) in ima_show_template_data_ascii()
75 seq_printf(m, "%s", field_data->data); in ima_show_template_data_ascii()
79 buflen -= buf_ptr - field_data->data; in ima_show_template_data_ascii()
98 struct ima_field_data *field_data) in ima_show_template_data_binary() argument
101 strlen(field_data->data) : field_data->len; in ima_show_template_data_binary()
112 ima_putc(m, field_data->data, len); in ima_show_template_data_binary()
118 struct ima_field_data *field_data) in ima_show_template_field_data() argument
122 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data()
127 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data()
135 struct ima_field_data *field_data) in ima_show_template_digest() argument
137 ima_show_template_field_data(m, show, DATA_FMT_DIGEST, field_data); in ima_show_template_digest()
141 struct ima_field_data *field_data) in ima_show_template_digest_ng() argument
144 field_data); in ima_show_template_digest_ng()
148 struct ima_field_data *field_data) in ima_show_template_string() argument
150 ima_show_template_field_data(m, show, DATA_FMT_STRING, field_data); in ima_show_template_string()
154 struct ima_field_data *field_data) in ima_show_template_sig() argument
156 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_sig()
160 struct ima_field_data *field_data) in ima_show_template_buf() argument
162 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_buf()
228 struct ima_field_data *field_data) in ima_eventdigest_init_common() argument
260 fmt, field_data); in ima_eventdigest_init_common()
267 struct ima_field_data *field_data) in ima_eventdigest_init() argument
324 HASH_ALGO__LAST, field_data); in ima_eventdigest_init()
331 struct ima_field_data *field_data) in ima_eventdigest_ng_init() argument
345 hash_algo, field_data); in ima_eventdigest_ng_init()
353 struct ima_field_data *field_data) in ima_eventdigest_modsig_init() argument
380 hash_algo, field_data); in ima_eventdigest_modsig_init()
384 struct ima_field_data *field_data, in ima_eventname_init_common() argument
411 DATA_FMT_STRING, field_data); in ima_eventname_init_common()
418 struct ima_field_data *field_data) in ima_eventname_init() argument
420 return ima_eventname_init_common(event_data, field_data, true); in ima_eventname_init()
427 struct ima_field_data *field_data) in ima_eventname_ng_init() argument
429 return ima_eventname_init_common(event_data, field_data, false); in ima_eventname_ng_init()
436 struct ima_field_data *field_data) in ima_eventsig_init() argument
444 DATA_FMT_HEX, field_data); in ima_eventsig_init()
452 struct ima_field_data *field_data) in ima_eventbuf_init() argument
459 field_data); in ima_eventbuf_init()
467 struct ima_field_data *field_data) in ima_eventmodsig_init() argument
485 field_data); in ima_eventmodsig_init()