Lines Matching refs:tomoyo_io_buffer
204 static bool tomoyo_flush(struct tomoyo_io_buffer *head) in tomoyo_flush()
250 static void tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string) in tomoyo_set_string()
259 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt,
268 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, in tomoyo_io_printf()
296 static void tomoyo_set_space(struct tomoyo_io_buffer *head) in tomoyo_set_space()
308 static bool tomoyo_set_lf(struct tomoyo_io_buffer *head) in tomoyo_set_lf()
321 static void tomoyo_set_slash(struct tomoyo_io_buffer *head) in tomoyo_set_slash()
360 static void tomoyo_print_namespace(struct tomoyo_io_buffer *head) in tomoyo_print_namespace()
377 static void tomoyo_print_name_union(struct tomoyo_io_buffer *head, in tomoyo_print_name_union()
397 static void tomoyo_print_name_union_quoted(struct tomoyo_io_buffer *head, in tomoyo_print_name_union_quoted()
419 (struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) in tomoyo_print_number_union_nospace()
466 static void tomoyo_print_number_union(struct tomoyo_io_buffer *head, in tomoyo_print_number_union()
665 static int tomoyo_write_profile(struct tomoyo_io_buffer *head) in tomoyo_write_profile()
720 static void tomoyo_print_config(struct tomoyo_io_buffer *head, const u8 config) in tomoyo_print_config()
735 static void tomoyo_read_profile(struct tomoyo_io_buffer *head) in tomoyo_read_profile()
884 static int tomoyo_write_manager(struct tomoyo_io_buffer *head) in tomoyo_write_manager()
902 static void tomoyo_read_manager(struct tomoyo_io_buffer *head) in tomoyo_read_manager()
981 static bool tomoyo_select_domain(struct tomoyo_io_buffer *head, in tomoyo_select_domain()
1163 static int tomoyo_write_domain(struct tomoyo_io_buffer *head) in tomoyo_write_domain()
1223 static bool tomoyo_print_condition(struct tomoyo_io_buffer *head, in tomoyo_print_condition()
1364 static void tomoyo_set_group(struct tomoyo_io_buffer *head, in tomoyo_set_group()
1383 static bool tomoyo_print_entry(struct tomoyo_io_buffer *head, in tomoyo_print_entry()
1588 static bool tomoyo_read_domain2(struct tomoyo_io_buffer *head, in tomoyo_read_domain2()
1609 static void tomoyo_read_domain(struct tomoyo_io_buffer *head) in tomoyo_read_domain()
1671 static int tomoyo_write_pid(struct tomoyo_io_buffer *head) in tomoyo_write_pid()
1687 static void tomoyo_read_pid(struct tomoyo_io_buffer *head) in tomoyo_read_pid()
1747 static int tomoyo_write_exception(struct tomoyo_io_buffer *head) in tomoyo_write_exception()
1788 static bool tomoyo_read_group(struct tomoyo_io_buffer *head, const int idx) in tomoyo_read_group()
1847 static bool tomoyo_read_policy(struct tomoyo_io_buffer *head, const int idx) in tomoyo_read_policy()
1907 static void tomoyo_read_exception(struct tomoyo_io_buffer *head) in tomoyo_read_exception()
2193 static void tomoyo_read_query(struct tomoyo_io_buffer *head) in tomoyo_read_query()
2254 static int tomoyo_write_answer(struct tomoyo_io_buffer *head) in tomoyo_write_answer()
2293 static void tomoyo_read_version(struct tomoyo_io_buffer *head) in tomoyo_read_version()
2341 static void tomoyo_read_stat(struct tomoyo_io_buffer *head) in tomoyo_read_stat()
2385 static int tomoyo_write_stat(struct tomoyo_io_buffer *head) in tomoyo_write_stat()
2407 struct tomoyo_io_buffer *head = kzalloc(sizeof(*head), GFP_NOFS); in tomoyo_open_control()
2517 struct tomoyo_io_buffer *head = file->private_data; in tomoyo_poll_control()
2531 static inline void tomoyo_set_namespace_cursor(struct tomoyo_io_buffer *head) in tomoyo_set_namespace_cursor()
2557 static inline bool tomoyo_has_more_namespace(struct tomoyo_io_buffer *head) in tomoyo_has_more_namespace()
2573 ssize_t tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer, in tomoyo_read_control()
2609 static int tomoyo_parse_policy(struct tomoyo_io_buffer *head, char *line) in tomoyo_parse_policy()
2646 ssize_t tomoyo_write_control(struct tomoyo_io_buffer *head, in tomoyo_write_control()
2747 void tomoyo_close_control(struct tomoyo_io_buffer *head) in tomoyo_close_control()
2824 struct tomoyo_io_buffer head = { }; in tomoyo_load_builtin_policy()