Home
last modified time | relevance | path

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

/linux/tools/lib/subcmd/
H A 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/arch/um/drivers/
H 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/kernel/trace/
H A 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()
H A Dtrace_probe.c245 const char *slash, *event = *pevent; in traceprobe_parse_event_name() local
248 slash = strchr(event, '/'); in traceprobe_parse_event_name()
249 if (!slash) in traceprobe_parse_event_name()
250 slash = strchr(event, '.'); in traceprobe_parse_event_name()
252 if (slash) { in traceprobe_parse_event_name()
253 if (slash == event) { in traceprobe_parse_event_name()
257 if (slash - event + 1 > MAX_EVENT_NAME_LEN) { in traceprobe_parse_event_name()
261 strscpy(buf, event, slash - event + 1); in traceprobe_parse_event_name()
267 *pevent = slash + 1; in traceprobe_parse_event_name()
268 offset += slash - event + 1; in traceprobe_parse_event_name()
[all …]
/linux/scripts/dtc/
H A Dsrcpos.c30 const char *slash = strrchr(path, '/'); in get_dirname() local
32 if (slash) { in get_dirname()
33 int len = slash - path; in get_dirname()
H A Dlivetree.c597 const char *slash = strchr(label, '/'); in get_node_by_ref() local
600 if (slash) { in get_node_by_ref()
601 buf = xstrndup(label, slash - label); in get_node_by_ref()
603 path = slash + 1; in get_node_by_ref()
/linux/tools/perf/util/
H A Dbuild-id.c504 bool slash = is_kallsyms || is_vdso; in build_id_cache__cachedir() local
506 if (!slash) in build_id_cache__cachedir()
509 if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "", in build_id_cache__cachedir()
/linux/drivers/s390/char/
H A Ddefkeymap.map102 keycode 97 = slash division
/linux/arch/m68k/hp300/
H A Dhp300map.map144 keycode 115 = slash question
/linux/drivers/tty/vt/
H A Ddefkeymap.map114 keycode 53 = slash question
/linux/Documentation/admin-guide/
H A Dsysfs-rules.rst53 ``/sys``, and always starting with a slash
H A Dspkguide.txt819 press the keypad slash key once. Speakup will say, "mark". Next,
821 url. Press the keypad slash key once again to actually cut the text
839 key, while you type the keypad slash character. The url will be pasted
851 cut, mark it with the keypad slash key, then position the reading cursor
853 keypad slash key.
/linux/tools/perf/Documentation/
H A Dperf-record.txt787 is separated by slash:
/linux/Documentation/admin-guide/LSM/
H A DSmack.rst447 contain unprintable characters, the "/" (slash), the "\" (backslash), the "'"
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst189 files with absolute paths (ie beginning with slash) such as::
/linux/Documentation/kbuild/
H A Dmakefiles.rst269 Unlike obj-y/m, subdir-y/m does not need the trailing slash since this
/linux/
H A DMAINTAINERS34 A trailing slash includes all files and subdirectory files.