Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/subcmd/
Dexec-cmd.c86 const char *slash; in extract_argv0_path() local
90 slash = argv0 + strlen(argv0); in extract_argv0_path()
92 while (argv0 <= slash && !is_dir_sep(*slash)) in extract_argv0_path()
93 slash--; in extract_argv0_path()
95 if (slash >= argv0) { in extract_argv0_path()
96 argv0_path = strndup(argv0, slash - argv0); in extract_argv0_path()
97 return argv0_path ? slash + 1 : NULL; in extract_argv0_path()
/Linux-v5.4/arch/um/drivers/
Dcow_user.c147 char save_cwd[256], *slash; in absolutize() local
155 slash = strrchr(from, '/'); in absolutize()
156 if (slash != NULL) { in absolutize()
157 *slash = '\0'; in absolutize()
159 *slash = '/'; in absolutize()
164 *slash = '/'; in absolutize()
171 if (strlen(slash) + 1 > remaining) { in absolutize()
176 strcat(to, slash); in absolutize()
/Linux-v5.4/init/
Ddo_mounts.c117 char *slash; in devt_from_partuuid() local
121 slash = strchr(uuid_str, '/'); in devt_from_partuuid()
123 if (slash) { in devt_from_partuuid()
126 if (sscanf(slash + 1, in devt_from_partuuid()
131 cmp.len = slash - uuid_str; in devt_from_partuuid()
/Linux-v5.4/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()
/Linux-v5.4/kernel/trace/
Dtrace_probe.c232 const char *slash, *event = *pevent; in traceprobe_parse_event_name() local
235 slash = strchr(event, '/'); in traceprobe_parse_event_name()
236 if (slash) { in traceprobe_parse_event_name()
237 if (slash == event) { in traceprobe_parse_event_name()
241 if (slash - event + 1 > MAX_EVENT_NAME_LEN) { in traceprobe_parse_event_name()
245 strlcpy(buf, event, slash - event + 1); in traceprobe_parse_event_name()
251 *pevent = slash + 1; in traceprobe_parse_event_name()
252 offset += slash - event + 1; in traceprobe_parse_event_name()
/Linux-v5.4/tools/perf/util/
Dbuild-id.c552 bool slash = is_kallsyms || is_vdso; in build_id_cache__cachedir() local
554 if (!slash) { in build_id_cache__cachedir()
560 if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "", in build_id_cache__cachedir()
565 if (!slash) in build_id_cache__cachedir()
/Linux-v5.4/samples/bpf/
DREADME.rst37 Do notice the "/" slash after the directory name.
/Linux-v5.4/drivers/s390/char/
Ddefkeymap.map102 keycode 97 = slash division
/Linux-v5.4/arch/m68k/hp300/
Dhp300map.map144 keycode 115 = slash question
/Linux-v5.4/drivers/tty/vt/
Ddefkeymap.map114 keycode 53 = slash question
/Linux-v5.4/Documentation/filesystems/
Dpath-lookup.rst73 If a pathname ends with a slash, such as "``/tmp/foo/``" it might be
80 A pathname that contains at least one non- &lt;slash> character and
81 that ends with one or more trailing &lt;slash> characters shall not
83 the trailing <slash> characters names an existing directory or a
90 checking that the trailing slash is not used where it isn't
496 the final component, it must be a trailing slash.
1342 is found to be followed by a slash.
/Linux-v5.4/Documentation/admin-guide/
Dsysfs-rules.rst53 ``/sys``, and always starting with a slash
/Linux-v5.4/drivers/staging/speakup/
Dspkguide.txt812 press the keypad slash key once. Speakup will say, "mark". Next,
814 url. Press the keypad slash key once again to actually cut the text
832 key, while you type the keypad slash character. The url will be pasted
844 cut, mark it with the keypad slash key, then position the reading cursor
846 keypad slash key.
/Linux-v5.4/fs/cifs/
Dconnect.c2438 const char *slash; in cifs_parse_mount_options() local
2442 slash = strchr(&vol->UNC[2], '\\'); in cifs_parse_mount_options()
2443 len = slash - &vol->UNC[2]; in cifs_parse_mount_options()
/Linux-v5.4/Documentation/admin-guide/LSM/
DSmack.rst447 contain unprintable characters, the "/" (slash), the "\" (backslash), the "'"
/Linux-v5.4/Documentation/admin-guide/cifs/
Dusage.rst190 files with absolute paths (ie beginning with slash) such as::
/Linux-v5.4/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst1129 device. Note that you must not use a slash “/” in this string.
/Linux-v5.4/
DMAINTAINERS103 A trailing slash includes all files and subdirectory files.