Lines Matching refs:buflen
94 const int buflen) in tomoyo_get_absolute_path() argument
97 if (buflen >= 256) { in tomoyo_get_absolute_path()
99 pos = d_absolute_path(path, buffer, buflen - 1); in tomoyo_get_absolute_path()
103 buffer[buflen - 2] = '/'; in tomoyo_get_absolute_path()
104 buffer[buflen - 1] = '\0'; in tomoyo_get_absolute_path()
123 const int buflen) in tomoyo_get_dentry_path() argument
126 if (buflen >= 256) { in tomoyo_get_dentry_path()
127 pos = dentry_path_raw(dentry, buffer, buflen - 1); in tomoyo_get_dentry_path()
131 buffer[buflen - 2] = '/'; in tomoyo_get_dentry_path()
132 buffer[buflen - 1] = '\0'; in tomoyo_get_dentry_path()
149 const int buflen) in tomoyo_get_local_path() argument
152 char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen); in tomoyo_get_local_path()
221 const int buflen) in tomoyo_get_socket_name() argument
227 snprintf(buffer, buflen, "socket:[family=%u:type=%u:" in tomoyo_get_socket_name()
231 snprintf(buffer, buflen, "socket:[unknown]"); in tomoyo_get_socket_name()