Searched refs:path_len (Results 1 – 3 of 3) sorted by relevance
1025 const size_t path_len = strlen(path); in get_path_from_string() local1026 if (path_len <= 0) { in get_path_from_string()1035 if (path[path_len - 1] == '/') { in get_path_from_string()1043 rec->len = path_len; in get_path_from_string()1049 size_t dst_size = path_len + 2; in get_path_from_string()
266 size_t path_len = strlen(path); in UnmountTree() local279 if (strncmp(mentry->mnt_dir, path, path_len) == 0) { in UnmountTree()
411 size_t path_len = strlen(path); in _dump_file_from_fd() local412 if ((path_len < 6 || memcmp(path, "/proc/", 6)) && in _dump_file_from_fd()413 (path_len < 5 || memcmp(path, "/sys/", 5)) && in _dump_file_from_fd()414 (path_len < 3 || memcmp(path, "/d/", 3)) && in _dump_file_from_fd()