• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/xnu-2782.1.97/bsd/kern/

Lines Matching defs:proc

97 #include <sys/proc.h>
148 int rd_uio(struct proc *p, int fdes, uio_t uio, user_ssize_t *retval);
149 int wr_uio(struct proc *p, struct fileproc *fp, uio_t uio, user_ssize_t *retval);
157 __private_extern__ int preparefileread(struct proc *p, struct fileproc **fp_ret, int fd, int check_for_vnode);
158 __private_extern__ void donefileread(struct proc *p, struct fileproc *fp_ret, int fd);
193 read(struct proc *p, struct read_args *uap, user_ssize_t *retval)
200 read_nocancel(struct proc *p, struct read_nocancel_args *uap, user_ssize_t *retval)
232 pread(struct proc *p, struct pread_args *uap, user_ssize_t *retval)
239 pread_nocancel(struct proc *p, struct pread_nocancel_args *uap, user_ssize_t *retval)
269 donefileread(struct proc *p, struct fileproc *fp, int fd)
285 preparefileread(struct proc *p, struct fileproc **fp_ret, int fd, int check_for_pread)
385 readv(struct proc *p, struct readv_args *uap, user_ssize_t *retval)
392 readv_nocancel(struct proc *p, struct readv_nocancel_args *uap, user_ssize_t *retval)
446 write(struct proc *p, struct write_args *uap, user_ssize_t *retval)
454 write_nocancel(struct proc *p, struct write_nocancel_args *uap, user_ssize_t *retval)
500 pwrite(struct proc *p, struct pwrite_args *uap, user_ssize_t *retval)
507 pwrite_nocancel(struct proc *p, struct pwrite_nocancel_args *uap, user_ssize_t *retval)
617 writev(struct proc *p, struct writev_args *uap, user_ssize_t *retval)
624 writev_nocancel(struct proc *p, struct writev_nocancel_args *uap, user_ssize_t *retval)
694 wr_uio(struct proc *p, struct fileproc *fp, uio_t uio, user_ssize_t *retval)
720 rd_uio(struct proc *p, int fdes, uio_t uio, user_ssize_t *retval)
762 ioctl(struct proc *p, struct ioctl_args *uap, __unused int32_t *retval)
890 struct proc *p1 = proc_find(tmp);
935 static int selscan(struct proc *p, struct _select * sel, struct _select_data * seldata,
937 static int selcount(struct proc *p, u_int32_t *ibits, int nfd, int *count);
938 static int seldrop_locked(struct proc *p, u_int32_t *ibits, int nfd, int lim, int *need_wakeup, int fromselcount);
939 static int seldrop(struct proc *p, u_int32_t *ibits, int nfd);
950 select(struct proc *p, struct select_args *uap, int32_t *retval)
957 select_nocancel(struct proc *p, struct select_nocancel_args *uap, int32_t *retval)
1135 struct proc *p;
1296 selscan(struct proc *p, struct _select *sel, struct _select_data * seldata, int nfd, int32_t *retval,
1401 poll(struct proc *p, struct poll_args *uap, int32_t *retval)
1409 poll_nocancel(struct proc *p, struct poll_nocancel_args *uap, int32_t *retval)
1606 seltrue(__unused dev_t dev, __unused int flag, __unused struct proc *p)
1637 selcount(struct proc *p, u_int32_t *ibits, int nfd, int *countp)
1732 seldrop_locked(struct proc *p, u_int32_t *ibits, int nfd, int lim, int *need_wakeup, int fromselcount)
1812 seldrop(struct proc *p, u_int32_t *ibits, int nfd)
1830 selrecord(__unused struct proc *selector, struct selinfo *sip, void * p_wql)
1980 * the proc if we do queue this event to it...
1981 * entered with proc lock held... we drop it before
2076 * inserted this event into the proc queue...
2080 * of the proc lock, which it will hold
2257 * inserted this event into the proc queue...
2262 * of the proc lock, which it will hold
2278 * will enque it back to our proc where we can retrieve it
2363 * only allow one watch per file per proc
2409 * grabs the next waiting event for this proc and returns
2481 * don't want to hold the proc lock across a copyout because
2678 * so do a quick check for EV_QUEUED w/o holding the proc lock
2689 * while the event is off the proc queue and
2713 waitevent_close(struct proc *p, struct fileproc *fp)
2791 gethostuuid(struct proc *p, struct gethostuuid_args *uap, __unused int32_t *retval)
2841 ledger(struct proc *p, struct ledger_args *args, __unused int32_t *retval)
2851 proc_t proc;
2853 /* Finish copying in the necessary args before taking the proc lock */
2872 proc = proc_find(pid);
2873 if (proc == NULL)
2877 error = mac_proc_check_ledger(p, proc, args->cmd);
2879 proc_rele(proc);
2884 task = proc->task;
2893 proc_rele(proc);
2901 proc_rele(proc);
2913 proc_rele(proc);
2947 telemetry(__unused struct proc *p, struct telemetry_args *args, __unused int32_t *retval)