Home
last modified time | relevance | path

Searched full:syscall (Results 51 – 75 of 591) sorted by relevance

12345678910>>...24

/titanic_53/usr/src/cmd/dtrace/test/tst/common/docsExamples/
H A Dtrussrw.d40 syscall::read:entry,
41 syscall::write:entry
47 syscall::read:return,
48 syscall::write:return
H A Drwinfo.d49 syscall::read:entry,
50 syscall::write:entry
59 syscall::read:return,
60 syscall::write:return
/titanic_53/usr/src/lib/libc/sparc/inc/
H A DSYS.h40 #include <sys/syscall.h>
70 * of the form SYS_name exists (probably from sys/syscall.h).
164 * SYSCALL provides the standard (i.e.: most common) system call sequence.
166 #define SYSCALL(name) \ macro
243 * Standard syscall return sequence, return code equal to rval1.
250 * Syscall return sequence, return code equal to rval2.
257 * Syscall return sequence with return code forced to zero.
/titanic_53/usr/src/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_SPEC_DREC.SpecAftDataRec.d42 syscall:::entry
47 syscall:::
50 printf("Entering syscall clause\n");
56 syscall:::
/titanic_53/usr/src/cmd/dtrace/demo/agg/
H A Ddateprof.d27 syscall::exec:return,
28 syscall::exece:return
34 syscall:::entry
48 syscall::rexit:entry
/titanic_53/usr/src/lib/libc/port/sys/
H A Ducontext.c34 #include <sys/syscall.h>
45 return (syscall(SYS_context, 1, ucp)); in __setcontext()
51 return (syscall(SYS_context, 2, spp)); in getustack()
57 return (syscall(SYS_context, 3, sp)); in setustack()
H A Dunlink.c29 #include <sys/syscall.h>
36 return (syscall(SYS_unlinkat, fd, name, flags)); in unlinkat()
44 return (syscall(SYS_unlink, name)); in unlink()
55 return (syscall(SYS_rmdir, name)); in rmdir()
H A Dsidsys.c33 #include <sys/syscall.h>
60 return (syscall(SYS_sidsys, SIDSYS_IDMAP_REG, fd)); in __idmap_reg()
66 return (syscall(SYS_sidsys, SIDSYS_IDMAP_UNREG, fd)); in __idmap_unreg()
72 return (syscall(SYS_sidsys, SIDSYS_IDMAP_FLUSH_KCACHE)); in __idmap_flush_kcache()
H A Dchmod.c31 #include <sys/syscall.h>
37 return (syscall(SYS_fchmodat, fd, path, mode, flag)); in fchmodat()
45 return (syscall(SYS_chmod, path, mode)); in chmod()
56 return (syscall(SYS_fchmod, fd, mode)); in fchmod()
H A Dtasksys.c35 #include <sys/syscall.h>
45 while ((newtaskid = syscall(SYS_tasksys, 0, project, flags, NULL, 0)) in settaskid()
55 return ((taskid_t)syscall(SYS_tasksys, 1, 0, 0, NULL, 0)); in gettaskid()
61 return ((projid_t)syscall(SYS_tasksys, 2, 0, 0, NULL, 0)); in getprojid()
H A Dgetpagesizes.c32 #include <sys/syscall.h>
45 * The first parameter to the SYS_getpagesizes syscall is effectively
51 return (syscall(SYS_getpagesizes, 1, pagesize, nelem)); in getpagesizes()
57 return (syscall(SYS_getpagesizes, 0, pagesize, nelem)); in getpagesizes2()
H A Dopen.c42 #include <sys/syscall.h>
53 int fd = syscall(SYS_openat, dfd, path, oflag, mode); in __openat()
61 int fd = syscall(SYS_open, path, oflag, mode); in __open()
73 int fd = syscall(SYS_openat64, dfd, path, oflag, mode); in __openat64()
81 int fd = syscall(SYS_open64, path, oflag, mode); in __open64()
/titanic_53/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dman.CoalesceTrace.d41 * Verify that the for the indent characters are -> <- for non-syscall
42 * entry/return pairs (e.g. fbt ones) and => <= for syscall ones and
54 syscall::read:
56 printf("syscall: %d\n", i++);
/titanic_53/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.copyin2.d45 syscall:::
51 syscall:::
57 syscall:::
63 syscall:::
/titanic_53/usr/src/cmd/dtrace/test/tst/common/java_api/
H A Dtst.ProbeDescription.ksh.out1 syscall:::entry
7 :syscall::entry
8 ::syscall:entry
/titanic_53/usr/src/uts/i86pc/ml/
H A Dsyscall_asm.s99 * - code contains the syscall number
172 * aka CPU_STATS_ADDQ(CPU, sys.syscall, 1)
240 * - %eax contains the syscall number
245 * - %esp is SYS_DROPped ready for the syscall
339 * Stack frame description in syscall() and callees.
465 * Here's how syscall entry usually works (see sys_call for details).
469 * - %eax contains the syscall number
470 * - the user stack contains the args to the syscall
488 * - %eax contains the syscall number
491 * - the user stack contains the args to the syscall
[all …]
/titanic_53/usr/src/cmd/truss/
H A Dramdata.h95 int Errno; /* errno for controlled process's syscall */
96 int ErrPriv; /* privilege missing for last syscall */
97 long Rval1; /* rval1 (%r0) for syscall */
98 long Rval2; /* rval2 (%r1) for syscall */
101 long sys_args[9]; /* the arguments to the last syscall */
102 int sys_nargs; /* number of arguments to the last syscall */
108 char *sys_path; /* pathname given to syscall */
111 char *sys_string; /* buffer for formatted syscall string */
299 extern int exit_called; /* _exit() syscall was seen */
/titanic_53/usr/src/uts/common/sys/
H A Dklwp.h58 #define MAXSYSARGS 8 /* Maximum # of arguments passed to a syscall */
95 int lwp_errno; /* error for current syscall (private) */
100 char lwp_eosys; /* special action on end of syscall */
103 long lwp_arg[MAXSYSARGS]; /* args to current syscall */
113 uchar_t lwp_sysabort; /* if set, abort syscall */
114 uchar_t lwp_asleep; /* lwp asleep in syscall */
H A Dprocfs.h61 #include <sys/syscall.h>
89 #define PCSENTRY 14L /* set traced syscall entry set from sysset_t arg */
90 #define PCSEXIT 15L /* set traced syscall exit set from sysset_t arg */
113 #define PRSABORT 0x08 /* abort syscall, if in syscall */
120 #define PRSYSARGS 8 /* maximum number of syscall arguments */
134 short pr_syscall; /* system call number (if in syscall) */
135 short pr_nsysarg; /* number of arguments to this syscall */
136 int pr_errno; /* errno for failed syscall, 0 if successful */
137 long pr_sysarg[PRSYSARGS]; /* arguments to this syscall */
138 long pr_rval1; /* primary syscall return value */
[all …]
/titanic_53/usr/src/grub/grub-0.97/stage2/
H A Dcontrolregs.h118 /* AMD's syscall/sysret MSRs */
120 #define MSR_AMD_STAR 0xc0000081 /* %cs:%ss:%cs:%ss:%eip for syscall */
121 #define MSR_AMD_LSTAR 0xc0000082 /* target %rip of 64-bit syscall */
122 #define MSR_AMD_CSTAR 0xc0000083 /* target %rip of 32-bit syscall */
123 #define MSR_AMD_SFMASK 0xc0000084 /* syscall flag mask */
/titanic_53/usr/src/uts/intel/brand/common/
H A Dbrand_asm.h53 * %rax - syscall number
102 * When our syscall interposition callback entry point gets invoked the
168 * Each of the following macros returns to the standard syscall codepath if
203 * jump back into the normal syscall path and pretend nothing happened.
208 cmp $NSYSCALL, call; /* is 0 <= syscall <= MAX? */ \
225 * Rather than returning to the instruction after the syscall, we need to
230 * This macro assumes the syscall number is in SYSCALL_REG and it clobbers
/titanic_53/usr/src/cmd/nohup/
H A Dnohup.c325 lwp_restartable(short syscall) in lwp_restartable() argument
327 switch (syscall) { in lwp_restartable()
362 * Continue if this lwp isn't asleep in a restartable syscall. in lwp_abort()
372 * Indicate that we have aborted a syscall. in lwp_abort()
387 * If any lwp is still sleeping in a restartable syscall, it means in lwp_restart()
394 "to abort syscall (%d) in process %d\n"), in lwp_restart()
479 * a syscall using that fd, then we have a problem. The normal in do_pnohup()
480 * sequence of events is the close syscall wakes up any threads in do_pnohup()
484 * EBADF from the syscall). However, recall that if the agent lwp in do_pnohup()
489 * asleep in a syscall on the off chance that it may be using one in do_pnohup()
[all …]
/titanic_53/usr/src/uts/sparc/sys/
H A Dold_procfs.h44 #include <sys/syscall.h>
103 #define PIOCGENTRY (PIOC|17) /* get syscall entry set */
104 #define PIOCSENTRY (PIOC|18) /* set syscall entry set */
105 #define PIOCGEXIT (PIOC|19) /* get syscall exit set */
106 #define PIOCSEXIT (PIOC|20) /* set syscall exit set */
167 #define PRSYSARGS 8 /* maximum number of syscall arguments */
191 short pr_syscall; /* System call number (if in syscall) */
192 short pr_nsysarg; /* Number of arguments to this syscall */
193 long pr_sysarg[PRSYSARGS]; /* Arguments to this syscall */
272 short pr_syscall; /* system call number (if in syscall) */
[all …]
/titanic_53/usr/src/uts/intel/sys/
H A Dold_procfs.h44 #include <sys/syscall.h>
103 #define PIOCGENTRY (PIOC|17) /* get syscall entry set */
104 #define PIOCSENTRY (PIOC|18) /* set syscall entry set */
105 #define PIOCGEXIT (PIOC|19) /* get syscall exit set */
106 #define PIOCSEXIT (PIOC|20) /* set syscall exit set */
168 #define PRSYSARGS 8 /* maximum number of syscall arguments */
192 short pr_syscall; /* System call number (if in syscall) */
193 short pr_nsysarg; /* Number of arguments to this syscall */
194 long pr_sysarg[PRSYSARGS]; /* Arguments to this syscall */
273 short pr_syscall; /* system call number (if in syscall) */
[all …]
/titanic_53/usr/src/man/man3tnf/
H A Dtracing.3tnf244 prex> list probes syscall # list syscall probes
245 # (keys=syscall)
247 prex> enable syscall # enable only syscall probes

12345678910>>...24