Lines Matching refs:m
79 static void ima_show_template_data_ascii(struct seq_file *m, in ima_show_template_data_ascii() argument
92 seq_printf(m, "%s", field_data->data); in ima_show_template_data_ascii()
102 ima_print_digest(m, buf_ptr, buflen); in ima_show_template_data_ascii()
105 seq_printf(m, "%s", buf_ptr); in ima_show_template_data_ascii()
110 seq_printf(m, "%u", *(u8 *)buf_ptr); in ima_show_template_data_ascii()
114 seq_printf(m, "%u", in ima_show_template_data_ascii()
117 seq_printf(m, "%u", *(u16 *)buf_ptr); in ima_show_template_data_ascii()
121 seq_printf(m, "%u", in ima_show_template_data_ascii()
124 seq_printf(m, "%u", *(u32 *)buf_ptr); in ima_show_template_data_ascii()
128 seq_printf(m, "%llu", in ima_show_template_data_ascii()
131 seq_printf(m, "%llu", *(u64 *)buf_ptr); in ima_show_template_data_ascii()
142 static void ima_show_template_data_binary(struct seq_file *m, in ima_show_template_data_binary() argument
154 ima_putc(m, &field_len, sizeof(field_len)); in ima_show_template_data_binary()
160 ima_putc(m, field_data->data, len); in ima_show_template_data_binary()
163 static void ima_show_template_field_data(struct seq_file *m, in ima_show_template_field_data() argument
170 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data()
175 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data()
182 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest() argument
185 ima_show_template_field_data(m, show, DATA_FMT_DIGEST, field_data); in ima_show_template_digest()
188 void ima_show_template_digest_ng(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest_ng() argument
191 ima_show_template_field_data(m, show, DATA_FMT_DIGEST_WITH_ALGO, in ima_show_template_digest_ng()
195 void ima_show_template_digest_ngv2(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest_ngv2() argument
198 ima_show_template_field_data(m, show, in ima_show_template_digest_ngv2()
203 void ima_show_template_string(struct seq_file *m, enum ima_show_type show, in ima_show_template_string() argument
206 ima_show_template_field_data(m, show, DATA_FMT_STRING, field_data); in ima_show_template_string()
209 void ima_show_template_sig(struct seq_file *m, enum ima_show_type show, in ima_show_template_sig() argument
212 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_sig()
215 void ima_show_template_buf(struct seq_file *m, enum ima_show_type show, in ima_show_template_buf() argument
218 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_buf()
221 void ima_show_template_uint(struct seq_file *m, enum ima_show_type show, in ima_show_template_uint() argument
224 ima_show_template_field_data(m, show, DATA_FMT_UINT, field_data); in ima_show_template_uint()