Home
last modified time | relevance | path

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

/linux/tools/lib/subcmd/
A 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/arch/um/drivers/
A 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/init/
A Ddo_mounts.c107 char *slash; in devt_from_partuuid() local
111 slash = strchr(uuid_str, '/'); in devt_from_partuuid()
113 if (slash) { in devt_from_partuuid()
117 if (sscanf(slash + 1, "PARTNROFF=%d%c", &offset, &c) != 1) in devt_from_partuuid()
119 cmp.len = slash - uuid_str; in devt_from_partuuid()
/linux/kernel/trace/
A 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 slash = strchr(event, '.'); in traceprobe_parse_event_name()
239 if (slash) { in traceprobe_parse_event_name()
240 if (slash == event) { in traceprobe_parse_event_name()
244 if (slash - event + 1 > MAX_EVENT_NAME_LEN) { in traceprobe_parse_event_name()
248 strlcpy(buf, event, slash - event + 1); in traceprobe_parse_event_name()
254 *pevent = slash + 1; in traceprobe_parse_event_name()
255 offset += slash - event + 1; in traceprobe_parse_event_name()
A Dtrace_eprobe.c122 const char *slash; in eprobe_dyn_event_match() local
155 slash = strchr(argv[0], '/'); in eprobe_dyn_event_match()
156 if (!slash) in eprobe_dyn_event_match()
157 slash = strchr(argv[0], '.'); in eprobe_dyn_event_match()
158 if (!slash) in eprobe_dyn_event_match()
161 if (strncmp(ep->event_system, argv[0], slash - argv[0])) in eprobe_dyn_event_match()
163 if (strcmp(ep->event_name, slash + 1)) in eprobe_dyn_event_match()
/linux/scripts/dtc/
A 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/tools/perf/util/
A Dbuild-id.c568 bool slash = is_kallsyms || is_vdso; in build_id_cache__cachedir() local
570 if (!slash) { in build_id_cache__cachedir()
576 if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "", in build_id_cache__cachedir()
581 if (!slash) in build_id_cache__cachedir()
/linux/drivers/s390/char/
A Ddefkeymap.map102 keycode 97 = slash division
/linux/fs/cifs/
A Dfs_context.c660 const char *slash; in smb3_fs_context_validate() local
664 slash = strchr(&ctx->UNC[2], '\\'); in smb3_fs_context_validate()
665 len = slash - &ctx->UNC[2]; in smb3_fs_context_validate()
/linux/arch/m68k/hp300/
A Dhp300map.map144 keycode 115 = slash question
/linux/drivers/tty/vt/
A Ddefkeymap.map114 keycode 53 = slash question
/linux/Documentation/filesystems/
A 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.
A Dproc.rst700 in system", which are separated by a slash ('/'). Example:
/linux/Documentation/admin-guide/
A Dsysfs-rules.rst53 ``/sys``, and always starting with a slash
A 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/Documentation/admin-guide/LSM/
A DSmack.rst447 contain unprintable characters, the "/" (slash), the "\" (backslash), the "'"
/linux/Documentation/dev-tools/
A Dcheckpatch.rst457 because the author has included a double slash "//" in the pathname
/linux/Documentation/admin-guide/cifs/
A Dusage.rst189 files with absolute paths (ie beginning with slash) such as::
/linux/Documentation/kbuild/
A Dmakefiles.rst328 Unlike obj-y/m, subdir-y/m does not need the trailing slash since this
/linux/Documentation/sound/kernel-api/
A Dwriting-an-alsa-driver.rst1136 device. Note that you must not use a slash “/” in this string.
/linux/
A DMAINTAINERS110 A trailing slash includes all files and subdirectory files.

Completed in 48 milliseconds