Lines Matching refs:buflen
93 const int buflen) in tomoyo_get_absolute_path() argument
96 if (buflen >= 256) { in tomoyo_get_absolute_path()
98 pos = d_absolute_path(path, buffer, buflen - 1); in tomoyo_get_absolute_path()
102 buffer[buflen - 2] = '/'; in tomoyo_get_absolute_path()
103 buffer[buflen - 1] = '\0'; in tomoyo_get_absolute_path()
122 const int buflen) in tomoyo_get_dentry_path() argument
125 if (buflen >= 256) { in tomoyo_get_dentry_path()
126 pos = dentry_path_raw(dentry, buffer, buflen - 1); in tomoyo_get_dentry_path()
130 buffer[buflen - 2] = '/'; in tomoyo_get_dentry_path()
131 buffer[buflen - 1] = '\0'; in tomoyo_get_dentry_path()
148 const int buflen) in tomoyo_get_local_path() argument
151 char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen); in tomoyo_get_local_path()
220 const int buflen) in tomoyo_get_socket_name() argument
226 snprintf(buffer, buflen, "socket:[family=%u:type=%u:" in tomoyo_get_socket_name()
230 snprintf(buffer, buflen, "socket:[unknown]"); in tomoyo_get_socket_name()