Lines Matching refs:m
66 static void ima_show_template_data_ascii(struct seq_file *m, in ima_show_template_data_ascii() argument
78 seq_printf(m, "%s", field_data->data); in ima_show_template_data_ascii()
88 ima_print_digest(m, buf_ptr, buflen); in ima_show_template_data_ascii()
91 seq_printf(m, "%s", buf_ptr); in ima_show_template_data_ascii()
96 seq_printf(m, "%u", *(u8 *)buf_ptr); in ima_show_template_data_ascii()
100 seq_printf(m, "%u", in ima_show_template_data_ascii()
103 seq_printf(m, "%u", *(u16 *)buf_ptr); in ima_show_template_data_ascii()
107 seq_printf(m, "%u", in ima_show_template_data_ascii()
110 seq_printf(m, "%u", *(u32 *)buf_ptr); in ima_show_template_data_ascii()
114 seq_printf(m, "%llu", in ima_show_template_data_ascii()
117 seq_printf(m, "%llu", *(u64 *)buf_ptr); in ima_show_template_data_ascii()
128 static void ima_show_template_data_binary(struct seq_file *m, in ima_show_template_data_binary() argument
140 ima_putc(m, &field_len, sizeof(field_len)); in ima_show_template_data_binary()
146 ima_putc(m, field_data->data, len); in ima_show_template_data_binary()
149 static void ima_show_template_field_data(struct seq_file *m, in ima_show_template_field_data() argument
156 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data()
161 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data()
168 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest() argument
171 ima_show_template_field_data(m, show, DATA_FMT_DIGEST, field_data); in ima_show_template_digest()
174 void ima_show_template_digest_ng(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest_ng() argument
177 ima_show_template_field_data(m, show, DATA_FMT_DIGEST_WITH_ALGO, in ima_show_template_digest_ng()
181 void ima_show_template_string(struct seq_file *m, enum ima_show_type show, in ima_show_template_string() argument
184 ima_show_template_field_data(m, show, DATA_FMT_STRING, field_data); in ima_show_template_string()
187 void ima_show_template_sig(struct seq_file *m, enum ima_show_type show, in ima_show_template_sig() argument
190 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_sig()
193 void ima_show_template_buf(struct seq_file *m, enum ima_show_type show, in ima_show_template_buf() argument
196 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_buf()
199 void ima_show_template_uint(struct seq_file *m, enum ima_show_type show, in ima_show_template_uint() argument
202 ima_show_template_field_data(m, show, DATA_FMT_UINT, field_data); in ima_show_template_uint()