Searched refs:path_len (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/tools/perf/util/ |
H A D | path.c | 142 int path_len = strlen(path), suffix_len = strlen(suffix); strip_path_suffix() local 145 if (!path_len) strip_path_suffix() 148 if (is_dir_sep(path[path_len - 1])) { strip_path_suffix() 151 path_len = chomp_trailing_dir_sep(path, path_len); strip_path_suffix() 154 else if (path[--path_len] != suffix[--suffix_len]) strip_path_suffix() 158 if (path_len && !is_dir_sep(path[path_len - 1])) strip_path_suffix() 160 return strndup(path, chomp_trailing_dir_sep(path, path_len)); strip_path_suffix()
|
/linux-4.4.14/arch/um/os-Linux/ |
H A D | main.c | 89 int path_len = 0; setup_env_path() local 96 if (!old_path || (path_len = strlen(old_path)) == 0) { setup_env_path() 103 path_len += strlen("PATH=" UML_LIB_PATH) + 1; setup_env_path() 104 new_path = malloc(path_len); setup_env_path() 109 snprintf(new_path, path_len, "PATH=%s" UML_LIB_PATH, old_path); setup_env_path()
|
/linux-4.4.14/drivers/xen/xenbus/ |
H A D | xenbus_dev_frontend.c | 267 int path_len, tok_len, body_len, data_len = 0; watch_fired() local 276 path_len = strlen(path) + 1; watch_fired() 280 body_len = path_len + tok_len + data_len; watch_fired() 289 ret = queue_reply(&staging_q, path, path_len); watch_fired()
|
/linux-4.4.14/fs/btrfs/ |
H A D | send.c | 346 int path_len; fs_path_ensure_buf() local 359 path_len = p->end - p->start; fs_path_ensure_buf() 382 tmp_buf = p->buf + old_buf_len - path_len - 1; fs_path_ensure_buf() 384 p->start = p->end - path_len; fs_path_ensure_buf() 385 memmove(p->start, tmp_buf, path_len + 1); fs_path_ensure_buf() 388 p->end = p->start + path_len; fs_path_ensure_buf()
|
Completed in 183 milliseconds