Home
last modified time | relevance | path

Searched refs:buffer_len (Results 1 – 4 of 4) sorted by relevance

/security/tomoyo/
Dutil.c224 void tomoyo_print_ulong(char *buffer, const int buffer_len, in tomoyo_print_ulong() argument
228 snprintf(buffer, buffer_len, "%lu", value); in tomoyo_print_ulong()
230 snprintf(buffer, buffer_len, "0%lo", value); in tomoyo_print_ulong()
232 snprintf(buffer, buffer_len, "0x%lX", value); in tomoyo_print_ulong()
234 snprintf(buffer, buffer_len, "type(%u)", type); in tomoyo_print_ulong()
Dnetwork.c90 static void tomoyo_print_ipv4(char *buffer, const unsigned int buffer_len, in tomoyo_print_ipv4() argument
93 snprintf(buffer, buffer_len, "%pI4%c%pI4", min_ip, in tomoyo_print_ipv4()
107 static void tomoyo_print_ipv6(char *buffer, const unsigned int buffer_len, in tomoyo_print_ipv6() argument
111 snprintf(buffer, buffer_len, "%pI6c%c%pI6c", min_ip, in tomoyo_print_ipv6()
Dcommon.h1027 const int buffer_len);
1029 const char __user *buffer, const int buffer_len);
1061 void tomoyo_print_ulong(char *buffer, const int buffer_len,
Dcommon.c2583 const int buffer_len) in tomoyo_read_control() argument
2593 head->read_user_buf_avail = buffer_len; in tomoyo_read_control()
2656 const char __user *buffer, const int buffer_len) in tomoyo_write_control() argument
2658 int error = buffer_len; in tomoyo_write_control()
2659 size_t avail_len = buffer_len; in tomoyo_write_control()
2665 if (!access_ok(buffer, buffer_len)) in tomoyo_write_control()