Home
last modified time | relevance | path

Searched refs:argv0 (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/tools/lib/subcmd/
Dexec-cmd.c84 const char *extract_argv0_path(const char *argv0) in extract_argv0_path() argument
88 if (!argv0 || !*argv0) in extract_argv0_path()
90 slash = argv0 + strlen(argv0); in extract_argv0_path()
92 while (argv0 <= slash && !is_dir_sep(*slash)) in extract_argv0_path()
95 if (slash >= argv0) { in extract_argv0_path()
96 argv0_path = strndup(argv0, slash - argv0); in extract_argv0_path()
100 return argv0; in extract_argv0_path()
/Linux-v4.19/samples/bpf/
Dtest_cgrp2_sock2.c27 static int usage(const char *argv0) in usage() argument
29 printf("Usage: %s cg-path filter-path [filter-id]\n", argv0); in usage()
Dtest_cgrp2_sock.c190 static int usage(const char *argv0) in usage() argument
194 printf(" %s -b bind-to-dev -m mark -p prio cg-path\n", argv0); in usage()
197 printf(" %s -d cg-path\n", argv0); in usage()
200 printf(" %s [-6]\n", argv0); in usage()
Dtest_cgrp2_attach.c79 static int usage(const char *argv0) in usage() argument
81 printf("Usage: %s [-d] [-D] <cg-path> <egress|ingress>\n", argv0); in usage()
/Linux-v4.19/arch/arm/vdso/
Dvdsomunge.c93 static const char *argv0; variable
101 fprintf(stderr, "%s: ", argv0); in fail()
143 argv0 = argv[0]; in main()
/Linux-v4.19/scripts/
Dconmakehash.c27 static void usage(char *argv0) in usage() argument
30 " %s chartable [hashsize] [hashstep] [maxhashlevel]\n", argv0); in usage()
/Linux-v4.19/security/tomoyo/
Dcommon.c1941 char *argv0 = NULL; in tomoyo_add_entry() local
1954 argv0 = strstr(header, " argv[]={ \""); in tomoyo_add_entry()
1955 if (argv0) { in tomoyo_add_entry()
1956 argv0 += 10; in tomoyo_add_entry()
1957 len += tomoyo_truncate(argv0) + 14; in tomoyo_add_entry()
1974 if (argv0) in tomoyo_add_entry()
1975 tomoyo_addprintf(buffer, len, " exec.argv[0]=%s", argv0); in tomoyo_add_entry()
/Linux-v4.19/tools/usb/
Dffs-test.c68 static const char argv0[] = "ffs-test"; variable
92 fprintf(stderr, "%s: %s ", argv0, levels[level]); in _msg()
/Linux-v4.19/kernel/debug/kdb/
Dkdb_main.c674 static int kdb_defcmd2(const char *cmdstr, const char *argv0) in kdb_defcmd2() argument
678 if (strcmp(argv0, "endefcmd") == 0) { in kdb_defcmd2()