Lines Matching refs:tomoyo_io_buffer

209  * @head:   Pointer to "struct tomoyo_io_buffer".
213 static bool tomoyo_flush(struct tomoyo_io_buffer *head)
250 * tomoyo_set_string - Queue string to "struct tomoyo_io_buffer" structure.
252 * @head: Pointer to "struct tomoyo_io_buffer".
259 static void tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string)
268 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt,
272 * tomoyo_io_printf - printf() to "struct tomoyo_io_buffer" structure.
274 * @head: Pointer to "struct tomoyo_io_buffer".
277 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt,
299 * tomoyo_set_space - Put a space to "struct tomoyo_io_buffer" structure.
301 * @head: Pointer to "struct tomoyo_io_buffer".
305 static void tomoyo_set_space(struct tomoyo_io_buffer *head)
311 * tomoyo_set_lf - Put a line feed to "struct tomoyo_io_buffer" structure.
313 * @head: Pointer to "struct tomoyo_io_buffer".
317 static bool tomoyo_set_lf(struct tomoyo_io_buffer *head)
324 * tomoyo_set_slash - Put a shash to "struct tomoyo_io_buffer" structure.
326 * @head: Pointer to "struct tomoyo_io_buffer".
330 static void tomoyo_set_slash(struct tomoyo_io_buffer *head)
365 * @head: Pointer to "struct tomoyo_io_buffer".
369 static void tomoyo_print_namespace(struct tomoyo_io_buffer *head)
383 * @head: Pointer to "struct tomoyo_io_buffer".
386 static void tomoyo_print_name_union(struct tomoyo_io_buffer *head,
401 * @head: Pointer to "struct tomoyo_io_buffer".
406 static void tomoyo_print_name_union_quoted(struct tomoyo_io_buffer *head,
422 * @head: Pointer to "struct tomoyo_io_buffer".
428 (struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr)
470 * @head: Pointer to "struct tomoyo_io_buffer".
475 static void tomoyo_print_number_union(struct tomoyo_io_buffer *head,
670 * @head: Pointer to "struct tomoyo_io_buffer".
674 static int tomoyo_write_profile(struct tomoyo_io_buffer *head)
722 * @head: Pointer to "struct tomoyo_io_buffer".
729 static void tomoyo_print_config(struct tomoyo_io_buffer *head, const u8 config)
740 * @head: Pointer to "struct tomoyo_io_buffer".
744 static void tomoyo_read_profile(struct tomoyo_io_buffer *head)
887 * @head: Pointer to "struct tomoyo_io_buffer".
893 static int tomoyo_write_manager(struct tomoyo_io_buffer *head)
907 * @head: Pointer to "struct tomoyo_io_buffer".
911 static void tomoyo_read_manager(struct tomoyo_io_buffer *head)
983 * @head: Pointer to "struct tomoyo_io_buffer".
990 static bool tomoyo_select_domain(struct tomoyo_io_buffer *head,
1166 * @head: Pointer to "struct tomoyo_io_buffer".
1172 static int tomoyo_write_domain(struct tomoyo_io_buffer *head)
1227 * @head: Pointer to "struct tomoyo_io_buffer".
1232 static bool tomoyo_print_condition(struct tomoyo_io_buffer *head,
1368 * @head: Pointer to "struct tomoyo_io_buffer".
1373 static void tomoyo_set_group(struct tomoyo_io_buffer *head,
1387 * @head: Pointer to "struct tomoyo_io_buffer".
1392 static bool tomoyo_print_entry(struct tomoyo_io_buffer *head,
1590 * @head: Pointer to "struct tomoyo_io_buffer".
1597 static bool tomoyo_read_domain2(struct tomoyo_io_buffer *head,
1614 * @head: Pointer to "struct tomoyo_io_buffer".
1618 static void tomoyo_read_domain(struct tomoyo_io_buffer *head)
1676 * @head: Pointer to "struct tomoyo_io_buffer".
1680 static int tomoyo_write_pid(struct tomoyo_io_buffer *head)
1689 * @head: Pointer to "struct tomoyo_io_buffer".
1696 static void tomoyo_read_pid(struct tomoyo_io_buffer *head)
1750 * @head: Pointer to "struct tomoyo_io_buffer".
1756 static int tomoyo_write_exception(struct tomoyo_io_buffer *head)
1790 * @head: Pointer to "struct tomoyo_io_buffer".
1797 static bool tomoyo_read_group(struct tomoyo_io_buffer *head, const int idx)
1849 * @head: Pointer to "struct tomoyo_io_buffer".
1856 static bool tomoyo_read_policy(struct tomoyo_io_buffer *head, const int idx)
1912 * @head: Pointer to "struct tomoyo_io_buffer".
1916 static void tomoyo_read_exception(struct tomoyo_io_buffer *head)
2200 * @head: Pointer to "struct tomoyo_io_buffer".
2202 static void tomoyo_read_query(struct tomoyo_io_buffer *head)
2259 * @head: Pointer to "struct tomoyo_io_buffer".
2263 static int tomoyo_write_answer(struct tomoyo_io_buffer *head)
2298 * @head: Pointer to "struct tomoyo_io_buffer".
2302 static void tomoyo_read_version(struct tomoyo_io_buffer *head)
2346 * @head: Pointer to "struct tomoyo_io_buffer".
2350 static void tomoyo_read_stat(struct tomoyo_io_buffer *head)
2390 * @head: Pointer to "struct tomoyo_io_buffer".
2394 static int tomoyo_write_stat(struct tomoyo_io_buffer *head)
2416 struct tomoyo_io_buffer *head = kzalloc(sizeof(*head), GFP_NOFS);
2526 struct tomoyo_io_buffer *head = file->private_data;
2536 * @head: Pointer to "struct tomoyo_io_buffer".
2540 static inline void tomoyo_set_namespace_cursor(struct tomoyo_io_buffer *head)
2562 * @head: Pointer to "struct tomoyo_io_buffer".
2566 static inline bool tomoyo_has_more_namespace(struct tomoyo_io_buffer *head)
2576 * @head: Pointer to "struct tomoyo_io_buffer".
2582 ssize_t tomoyo_read_control(struct tomoyo_io_buffer *head, char __user *buffer,
2611 * @head: Poiter to "struct tomoyo_io_buffer".
2618 static int tomoyo_parse_policy(struct tomoyo_io_buffer *head, char *line)
2649 * @head: Pointer to "struct tomoyo_io_buffer".
2655 ssize_t tomoyo_write_control(struct tomoyo_io_buffer *head,
2754 * @head: Pointer to "struct tomoyo_io_buffer".
2756 void tomoyo_close_control(struct tomoyo_io_buffer *head)
2833 struct tomoyo_io_buffer head = { };