Lines Matching refs:seq
189 static int aa_fs_seq_show(struct seq_file *seq, void *v) in aa_fs_seq_show() argument
191 struct aa_fs_entry *fs_file = seq->private; in aa_fs_seq_show()
198 seq_printf(seq, "%s\n", fs_file->v.boolean ? "yes" : "no"); in aa_fs_seq_show()
201 seq_printf(seq, "%s\n", fs_file->v.string); in aa_fs_seq_show()
204 seq_printf(seq, "%#08lx\n", fs_file->v.u64); in aa_fs_seq_show()
243 struct seq_file *seq = (struct seq_file *) file->private_data; in aa_fs_seq_profile_release() local
244 if (seq) in aa_fs_seq_profile_release()
245 aa_put_replacedby(seq->private); in aa_fs_seq_profile_release()
249 static int aa_fs_seq_profname_show(struct seq_file *seq, void *v) in aa_fs_seq_profname_show() argument
251 struct aa_replacedby *r = seq->private; in aa_fs_seq_profname_show()
253 seq_printf(seq, "%s\n", profile->base.name); in aa_fs_seq_profname_show()
272 static int aa_fs_seq_profmode_show(struct seq_file *seq, void *v) in aa_fs_seq_profmode_show() argument
274 struct aa_replacedby *r = seq->private; in aa_fs_seq_profmode_show()
276 seq_printf(seq, "%s\n", aa_profile_mode_names[profile->mode]); in aa_fs_seq_profmode_show()
295 static int aa_fs_seq_profattach_show(struct seq_file *seq, void *v) in aa_fs_seq_profattach_show() argument
297 struct aa_replacedby *r = seq->private; in aa_fs_seq_profattach_show()
300 seq_printf(seq, "%s\n", profile->attach); in aa_fs_seq_profattach_show()
302 seq_puts(seq, "<unknown>\n"); in aa_fs_seq_profattach_show()
304 seq_printf(seq, "%s\n", profile->base.name); in aa_fs_seq_profattach_show()
323 static int aa_fs_seq_hash_show(struct seq_file *seq, void *v) in aa_fs_seq_hash_show() argument
325 struct aa_replacedby *r = seq->private; in aa_fs_seq_hash_show()
331 seq_printf(seq, "%.2x", profile->hash[i]); in aa_fs_seq_hash_show()
332 seq_puts(seq, "\n"); in aa_fs_seq_hash_show()