Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/lib/madv/common/
H A Dmadv.c163 const char *execname = NULL; in mygetexecname() local
175 execname = auxb.a_un.a_ptr; in mygetexecname()
181 return (execname); in mygetexecname()
226 if (execname[0] != '/') { in fnmatch()
229 ename = execname; in fnmatch()
231 if (ename = strrchr(execname, '/')) in fnmatch()
235 ename = execname; in fnmatch()
239 cfgname, ename, execname, rc)); in fnmatch()
439 const char *execname; in __madvmain() local
498 execname = mygetexecname(); in __madvmain()
[all …]
/illumos-gate/usr/src/lib/mpss/common/
H A Dmpss.c109 const char *execname = NULL; in mygetexecname() local
121 execname = auxb.a_un.a_ptr; in mygetexecname()
127 return (execname); in mygetexecname()
232 if (execname[0] != '/') { in fnmatch()
235 ename = execname; in fnmatch()
241 ename = execname; in fnmatch()
305 const char *execname; in __mpssmain() local
375 execname = mygetexecname(); in __mpssmain()
462 execname, cfgfile, in __mpssmain()
496 execname); in __mpssmain()
[all …]
/illumos-gate/usr/src/cmd/isaexec/
H A Disaexec.c40 const char *execname; in main() local
52 if ((execname = getexecname()) == NULL) { in main()
62 fname = strrchr(execname, '/'); in main()
63 fname = (fname != NULL) ? (fname+1) : execname; in main()
65 if (isaexec(execname, argv, envp) == -1) { in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Disaexec.c48 isaexec(const char *execname, char *const *argv, char *const *envp) in isaexec() argument
90 len = strlen(execname) + isalen; in isaexec()
100 (void) strcpy(pathname, execname); in isaexec()
103 fname = execname + (str - pathname); in isaexec()
105 fname = execname; in isaexec()
/illumos-gate/usr/src/lib/libproc/common/
H A DPexecname.c95 if (P->execname) in Pfindexec()
96 return (P->execname); /* Already found */ in Pfindexec()
235 if ((P->execname = strdup(buf)) == NULL) in Pfindexec()
238 return (P->execname); in Pfindexec()
247 if (P->execname != NULL) { in Pexecname()
248 (void) strncpy(buf, P->execname, buflen); in Pexecname()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/builtinvar/
H A Dtst.execname.d39 /execname == "dtrace" || execname == "java"/
/illumos-gate/usr/src/cmd/dtrace/demo/lockstat/
H A Dwhatlock.d28 /execname == "date"/
34 /execname == "date"/
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.execname.d37 @a[execname] = count();
42 @a[execname] = count();
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.count3.d48 @counts1[execname] = count();
49 @counts2[execname, arg0] = count();
/illumos-gate/usr/src/cmd/dtrace/demo/vminfo/
H A Dsoffice.d30 /execname == "soffice.bin" && start == 0/
42 /execname == "soffice.bin"/
/illumos-gate/usr/src/cmd/dtrace/demo/sysinfo/
H A Dfind.d28 /execname == "find"/
35 /execname == "find"/
/illumos-gate/usr/src/cmd/dtrace/demo/proc/
H A Dwhoexec.d31 self->parent = execname;
37 @[self->parent, execname] = count();
/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dfirebird.d30 /execname == "MozillaFirebird" && curlwpsinfo->pr_stype == SOBJ_CV/
36 /execname == "MozillaFirebird" && bedtime[args[0]->pr_addr]/
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/
H A Dfile_trunc.c62 static void usage(char *execname);
68 usage(char *execname) in usage() argument
72 " [-o offset] [-s seed] [-r] [-v] filename\n", execname); in usage()
/illumos-gate/usr/src/test/smbclient-tests/cmd/file_trunc/
H A Dfile_trunc.c57 static void usage(char *execname);
63 usage(char *execname) in usage() argument
67 " [-o offset] [-s seed] [-r] [-v] filename\n", execname); in usage()
/illumos-gate/usr/src/cmd/dtrace/demo/io/
H A Diocpu.d30 /execname == "soffice.bin"/
43 /execname == "soffice.bin"/
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dsetup.c197 char *execname, char **argv, uid_t uid, uid_t euid, gid_t gid, gid_t egid, in setup() argument
246 if (execname) in setup()
247 rtldname = execname; in setup()
260 if (execname) in setup()
261 argvname = execname; in setup()
263 argvname = execname = argv[0]; in setup()
265 argvname = execname = (char *)MSG_INTL(MSG_STR_UNKNOWN); in setup()
381 argvname = execname = argv[0]; in setup()
550 stravl_insert(execname, 0, 0, 0)) == NULL) in setup()
684 stravl_insert(execname, 0, 0, 0)) == NULL) in setup()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.roch.d51 execname, (long long)stackdepth);
61 execname, (long long) stackdepth);
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c219 const char *execname; in getexecpathname() local
231 execname = getexecname(); in getexecpathname()
233 if (execname[0] == '/') { in getexecpathname()
234 (void) snprintf(path, size, "%s", execname); in getexecpathname()
236 (void) snprintf(path, size, "%s/%s", cwd, execname); in getexecpathname()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_main.c432 char object[MAXPATHLEN], execname[MAXPATHLEN]; in main() local
448 if (realpath(getexecname(), execname) == NULL) { in main()
449 (void) strncpy(execname, argv[0], MAXPATHLEN); in main()
450 execname[MAXPATHLEN - 1] = '\0'; in main()
453 mdb_create(execname, argv[0]); in main()
1133 if ((p = strrchr(execname, '/')) == NULL) in main()
1154 (void) execv(execname, argv); in main()
1162 warn("failed to exec %s", execname); in main()
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound.c214 char *execname = NULL; in fmevt_detector() local
237 if (nvlist_lookup_string(attr, "__fmev_execname", &execname) == 0) in fmevt_detector()
238 err += nvlist_add_string(obj, FM_FMRI_SW_OBJ_PATH, execname); in fmevt_detector()
267 if (execname) { in fmevt_detector()
269 execname); in fmevt_detector()
/illumos-gate/usr/src/cmd/dtrace/demo/agg/
H A Dwritesbycmd.d29 @counts[execname] = count();
H A Dlquantize.d29 @fds[execname] = lquantize(arg0, 0, 100, 1);
H A Dwritesbycmdfd.d29 @counts[execname, arg0] = count();
/illumos-gate/usr/src/cmd/dtrace/demo/profile/
H A Dprofpri.d30 @proc[execname] = lquantize(curlwpsinfo->pr_pri, 0, 100, 10);

1234