Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/tools/lib/subcmd/
Dexec-cmd.c91 const char *slash; in extract_argv0_path() local
95 slash = argv0 + strlen(argv0); in extract_argv0_path()
97 while (argv0 <= slash && !is_dir_sep(*slash)) in extract_argv0_path()
98 slash--; in extract_argv0_path()
100 if (slash >= argv0) { in extract_argv0_path()
101 argv0_path = strndup(argv0, slash - argv0); in extract_argv0_path()
102 return argv0_path ? slash + 1 : NULL; in extract_argv0_path()
/linux-6.6.21/arch/um/drivers/
Dcow_user.c148 char save_cwd[256], *slash; in absolutize() local
156 slash = strrchr(from, '/'); in absolutize()
157 if (slash != NULL) { in absolutize()
158 *slash = '\0'; in absolutize()
160 *slash = '/'; in absolutize()
165 *slash = '/'; in absolutize()
172 if (strlen(slash) + 1 > remaining) { in absolutize()
177 strcat(to, slash); in absolutize()
/linux-6.6.21/block/
Dearly-lookup.c51 char *slash; in devt_from_partuuid() local
55 slash = strchr(uuid_str, '/'); in devt_from_partuuid()
57 if (slash) { in devt_from_partuuid()
61 if (sscanf(slash + 1, "PARTNROFF=%d%c", &offset, &c) != 1) in devt_from_partuuid()
63 cmp.len = slash - uuid_str; in devt_from_partuuid()
/linux-6.6.21/kernel/trace/
Dtrace_eprobe.c131 const char *slash; in eprobe_dyn_event_match() local
165 slash = strchr(argv[0], '/'); in eprobe_dyn_event_match()
166 if (!slash) in eprobe_dyn_event_match()
167 slash = strchr(argv[0], '.'); in eprobe_dyn_event_match()
168 if (!slash) in eprobe_dyn_event_match()
171 if (strncmp(ep->event_system, argv[0], slash - argv[0])) in eprobe_dyn_event_match()
173 if (strcmp(ep->event_name, slash + 1)) in eprobe_dyn_event_match()
Dtrace_probe.c244 const char *slash, *event = *pevent; in traceprobe_parse_event_name() local
247 slash = strchr(event, '/'); in traceprobe_parse_event_name()
248 if (!slash) in traceprobe_parse_event_name()
249 slash = strchr(event, '.'); in traceprobe_parse_event_name()
251 if (slash) { in traceprobe_parse_event_name()
252 if (slash == event) { in traceprobe_parse_event_name()
256 if (slash - event + 1 > MAX_EVENT_NAME_LEN) { in traceprobe_parse_event_name()
260 strscpy(buf, event, slash - event + 1); in traceprobe_parse_event_name()
266 *pevent = slash + 1; in traceprobe_parse_event_name()
267 offset += slash - event + 1; in traceprobe_parse_event_name()
[all …]
/linux-6.6.21/scripts/dtc/
Dsrcpos.c28 const char *slash = strrchr(path, '/'); in get_dirname() local
30 if (slash) { in get_dirname()
31 int len = slash - path; in get_dirname()
Dlivetree.c596 const char *slash = strchr(label, '/'); in get_node_by_ref() local
599 if (slash) { in get_node_by_ref()
600 buf = xstrndup(label, slash - label); in get_node_by_ref()
602 path = slash + 1; in get_node_by_ref()
/linux-6.6.21/tools/perf/util/
Dbuild-id.c564 bool slash = is_kallsyms || is_vdso; in build_id_cache__cachedir() local
566 if (!slash) in build_id_cache__cachedir()
569 if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "", in build_id_cache__cachedir()
/linux-6.6.21/drivers/s390/char/
Ddefkeymap.map102 keycode 97 = slash division
/linux-6.6.21/arch/m68k/hp300/
Dhp300map.map144 keycode 115 = slash question
/linux-6.6.21/fs/smb/client/
Dfs_context.c701 const char *slash; in smb3_fs_context_validate() local
705 slash = strchr(&ctx->UNC[2], '\\'); in smb3_fs_context_validate()
706 len = slash - &ctx->UNC[2]; in smb3_fs_context_validate()
/linux-6.6.21/drivers/tty/vt/
Ddefkeymap.map114 keycode 53 = slash question
/linux-6.6.21/Documentation/kbuild/
Dllvm.rst52 location using the LLVM variable with a trailing slash::
Dmakefiles.rst269 Unlike obj-y/m, subdir-y/m does not need the trailing slash since this
/linux-6.6.21/Documentation/filesystems/
Dceph.rst112 Multiple monitor addresses can be passed by separating each address with a slash (`/`)::
Dpath-lookup.rst74 If a pathname ends with a slash, such as "``/tmp/foo/``" it might be
81 A pathname that contains at least one non-<slash> character and
82 that ends with one or more trailing <slash> characters shall not
84 the trailing <slash> characters names an existing directory or a
91 checking that the trailing slash is not used where it isn't
512 the final component, it must be a trailing slash.
1371 is found to be followed by a slash.
Dproc.rst718 in system", which are separated by a slash ('/'). Example:
/linux-6.6.21/Documentation/admin-guide/
Dsysfs-rules.rst53 ``/sys``, and always starting with a slash
Dspkguide.txt814 press the keypad slash key once. Speakup will say, "mark". Next,
816 url. Press the keypad slash key once again to actually cut the text
834 key, while you type the keypad slash character. The url will be pasted
846 cut, mark it with the keypad slash key, then position the reading cursor
848 keypad slash key.
/linux-6.6.21/tools/testing/selftests/landlock/
Dfs_test.c4576 const char *slash; in FIXTURE_SETUP() local
4585 slash = strrchr(variant->file_path, '/'); in FIXTURE_SETUP()
4586 ASSERT_NE(slash, NULL); in FIXTURE_SETUP()
4587 dir_len = (size_t)slash - (size_t)variant->file_path; in FIXTURE_SETUP()
/linux-6.6.21/tools/perf/Documentation/
Dperf-record.txt775 is separated by slash:
/linux-6.6.21/Documentation/admin-guide/LSM/
DSmack.rst447 contain unprintable characters, the "/" (slash), the "\" (backslash), the "'"
/linux-6.6.21/Documentation/dev-tools/
Dcheckpatch.rst457 because the author has included a double slash "//" in the pathname
/linux-6.6.21/Documentation/admin-guide/cifs/
Dusage.rst189 files with absolute paths (ie beginning with slash) such as::
/linux-6.6.21/
DMAINTAINERS34 A trailing slash includes all files and subdirectory files.