/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | allow.py | 32 import sys namespace 273 un = (sys.argv[1] == "unallow") 321 if len(sys.argv) == 3 and not un: 324 if sys.argv[2] == "-h": 327 ds = zfs.dataset.Dataset(sys.argv[2], snaps=False) 340 (options, args) = parser.parse_args(sys.argv[2:])
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_names.c | 382 proc_sysname(int sys, char *buf, size_t bufsz) argument 390 if (sys >= 0 && sys < SYSEND) 391 name = systable[sys]; 399 len = snprintf(buf, bufsz, "SYS#%d", sys); 683 int sys; local 695 if (proc_str2sys(p, &sys) == -1) { 700 praddset(set, sys); 702 prdelset(set, sys);
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | cap.c | 65 Dbg_cap_val(Lm_list *lml, Syscapset *sys, Syscapset *alt, Half mach) argument 69 if ((sys->sc_plat == NULL) && (sys->sc_mach == NULL) && 70 (sys->sc_hw_2 == 0) && (sys->sc_hw_1 == 0) && 71 (sys->sc_sf_1 == 0)) 79 if (sys->sc_plat) { 80 dbg_print(lml, MSG_INTL(MSG_CAP_SYS_PLAT), sys->sc_plat); 82 if (sys->sc_mach) { 83 dbg_print(lml, MSG_INTL(MSG_CAP_SYS_MACH), sys [all...] |
/illumos-gate/usr/src/cmd/tip/ |
H A D | uucplock.c | 45 #include <sys/types.h> 46 #include <sys/stat.h> 47 #include <sys/mkdev.h> 242 * delock(sys) remove a lock file 243 * char *sys; 247 delock(char *sys) argument 252 if (stat(sys, &sb) < 0) 263 * tip_mlock(sys) create system lock 264 * char *sys; 270 tip_mlock(char *sys) argument [all...] |
/illumos-gate/usr/src/cmd/truss/ |
H A D | listopts.c | 35 #include <sys/types.h> 86 int sys; local 100 sys = strtol(name, &next, 0); 102 if (sys < 0 || sys > PRMAXSYS || *next != '\0') 103 sys = 0; 104 if (sys == 0) { 106 for (; sys == 0 && stp->nargs >= 0; stp++) 108 sys = stp-systable; 110 if (sys [all...] |
H A D | actions.c | 37 #include <sys/types.h> 38 #include <sys/stack.h> 40 #include <sys/isa_defs.h> 67 int sys = Lsp->pr_syscall; local 69 if (!prismember(&trace, sys) || !dotrace || 72 (void) Psysexit(Proc, sys, TRUE); 100 if (prismember(&verbose, sys)) { 101 int raw = prismember(&rawout, sys); 168 int sys; local 176 (sys 246 int sys; local [all...] |
/illumos-gate/usr/src/tools/scripts/ |
H A D | git-pbchk.py | 29 import sys namespace 40 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "lib", 41 "python%d.%d" % sys.version_info[:2])) 47 sys.path.insert(2, os.path.join(os.path.dirname(__file__), "..")) 92 sys.stderr.write("Failed finding git workspace\n") 93 sys.exit(err) 105 sys.stderr.write("Failed finding git branch\n") 106 sys.exit(err) 128 sys.stderr.write("Failed finding git parent branch\n") 129 sys [all...] |
H A D | validate_pkg.py | 37 import sys namespace 472 sys.stderr.write("Warning: unable to stat %s: %s\n" % 674 sys.stderr.write("warning: %s\n" % str(exc)) 700 sys.stderr.write("warning: cannot read exception file: %s\n" % 756 """ % sys.argv[0] 764 sys.stderr.write("%s: %s\n" % (sys.argv[0], msg)) 765 sys.stderr.write(USAGE) 766 sys.exit(2) 854 sys [all...] |
H A D | wsdiff.py | 73 import re, resource, select, shutil, signal, string, struct, sys, tempfile namespace 125 print >> sys.stdout, msg 126 sys.stdout.flush() 138 print >> sys.stdout, msg 139 sys.stdout.flush() 151 print >> sys.stderr, "ERROR:", msg 152 sys.stderr.flush() 182 print >> sys.stdout, f 183 sys.stdout.flush() 325 sys [all...] |
/illumos-gate/usr/src/lib/libcpc/sparc/ |
H A D | event_ultra.c | 30 #include <sys/types.h> 47 * [,nouser][,sys] 52 * pic0=Instr_cnt,pic1=Cycle_cnt,nouser,sys 76 "[,sys] " 156 "sys", /* enables system counts */ 167 { "sys", bitset, 178 { "sys", bitset, 350 int usr, sys; member in struct:xpcr 377 xpcr->sys = (pcr >> kv[D_sys].kv_shift) & 416 if (xpcr.sys) [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | uname.c | 90 #include <sys/utsname.h> 149 char* sys = 0; local 157 sys = buf; 158 if (arch = strchr(sys, '.')) 164 if (!*sys) 165 sys = 0; 175 if (!(ut->sysname = sys))
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctcon1.c | 44 #include <sys/types.h> 71 struct sys { struct
|
H A D | acctcon.c | 41 #include <sys/types.h> 42 #include <sys/param.h> 79 struct sys { struct
|
H A D | acctcom.c | 36 #include <sys/types.h> 37 #include <sys/param.h> 40 #include <sys/acct.h> 42 #include <sys/stat.h> 69 sys, variable 394 sys = expand(a->ac_stime); 396 cpu = sys + user; 405 if(syscut && syscut >= SECS(sys)) 440 systot += (double)sys; 571 pf((double)sys / H [all...] |
/illumos-gate/usr/src/cmd/prtdiag/i386/ |
H A D | smbios.c | 37 * Access to the data is provided by libsmbios: see <sys/smbios.h> for info. 72 #include <sys/fm/protocol.h> 305 smbios_system_t sys; local 323 if ((id = smbios_info_system(shp, &sys)) != SMB_ERR &&
|
/illumos-gate/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 40 #include <sys/types.h> 41 #include <sys/time.h> 197 timestruc_t real, user, sys; local 221 sys = pup->pr_stime; 223 tsadd(&sys, &sys, &pup->pr_ttime); 232 prtime("sys", &sys);
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | highlevel.c | 38 #include <sys/systeminfo.h> 39 #include <sys/uadmin.h> 40 #include <sys/utsname.h> 41 #include <sys/secflags.h> 54 smbios_system_t sys; local 76 if ((id = smbios_info_system(shp, &sys)) == SMB_ERR ||
|
/illumos-gate/usr/src/tools/onbld/hgext/ |
H A D | cdm.py | 72 import atexit, os, re, sys, stat, termios namespace 84 # python2.Y in sys.path. 86 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "..", "..", 87 "python%d.%d" % sys.version_info[:2])) 94 sys.path.insert(2, os.path.join(os.path.dirname(__file__), "..", "..")) 212 if ui.interactive() and sys.stdin.isatty(): 219 termios.tcsetattr(sys.stdin.fileno(), termios.TCSANOW, settings) 225 settings = termios.tcgetattr(sys.stdin.fileno()) 229 termios.tcsetattr(sys.stdin.fileno(), termios.TCSANOW, settings)
|
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 30 #include <sys/types.h> 51 * [,sys[0|1]][,nouser[0|1]] 54 * pic0=data_mem_refs,pic1=l2_ld,sys 78 "[,sys[0|1]] " 89 "[,sys[0|1]] " 226 "sys", /* enables system counts */ 280 { "sys", nextpair }, 329 { "sys", nextpair }, 538 int usr, sys, edge, inv, irupt, pc; member in struct:xpes 550 xpes->sys 558 int usr[2], sys[2], clk[2], pc[2]; member in struct:xcesr [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | optim.c | 53 static char *tackon(char *sys, char *rest); 151 tackon(char *sys, char *rest) argument 155 if (!ishost(sys, rest)) { 156 char *r = (char *)salloc(strlen(sys) + strlen(rest) + 2); 157 sprintf(r, "%s!%s", sys, rest); 167 ishost(char *sys, char *rest) argument 169 while (*sys && *sys == *rest) 170 sys++, rest++; 171 return(*sys [all...] |
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | setlocale.c | 149 char* sys; local 161 sys = uwin_setlocale(category, usr); 163 sfprintf(sfstderr, "locale uwin %17s %-24s %-24s\n", lc_categories[lcindex(category, 0)].name, usr, sys); 164 return sys; 819 const char* sys; local 831 sys = 0; 839 sys = (char*)lc->name; 844 sys = setlocale(lc_categories[category].external, lcmake(NiL)->name); 845 else if (!(sys = setlocale(lc_categories[category].external, lc->name)) && 846 (streq(lc->name, lc->code) || !(sys [all...] |
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 28 #include <sys/cpuvar.h> 29 #include <sys/systm.h> 30 #include <sys/traptrace.h> 31 #include <sys/x_call.h> 32 #include <sys/xc_levels.h> 33 #include <sys/avintr.h> 34 #include <sys/systm.h> 35 #include <sys/trap.h> 36 #include <sys/mutex.h> 37 #include <sys/mutex_imp 196 struct sysent sys; local [all...] |
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rstat_proc.c | 45 #include <sys/socket.h> 46 #include <sys/cpuvar.h> 47 #include <sys/sysinfo.h> 48 #include <sys/systm.h> 50 #include <sys/stropts.h> 51 #include <sys/tihdr.h> 52 #include <sys/sysmacros.h> 61 kstat_t sys; member in struct:__anon1336 333 CPU_STAT(&cpu_stats_all.sys, "cpu_ticks_user"); 337 CPU_STAT(&cpu_stats_all.sys, "cpu_ticks_wai [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sysinfo.h | 33 #include <sys/types.h> 34 #include <sys/t_lock.h> 35 #include <sys/kstat.h> 36 #include <sys/machlock.h> 283 cpu_sys_stats_t sys; member in struct:cpu_stats
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | trap.c | 38 #include <sys/types.h> 39 #include <sys/sysmacros.h> 40 #include <sys/param.h> 41 #include <sys/signal.h> 42 #include <sys/systm.h> 43 #include <sys/user.h> 44 #include <sys/proc.h> 45 #include <sys/disp.h> 46 #include <sys/class.h> 47 #include <sys/cor 2116 struct sysent *sys; local [all...] |