Lines Matching defs:arg
91 int proc_info_internal(int callnum, int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t * retval);
95 int proc_pidinfo(int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t * retval);
98 int proc_setcontrol(int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t * retval);
100 int proc_dirtycontrol(int pid, int flavor, uint64_t arg, int32_t * retval);
108 int proc_pidallinfo(proc_t p, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t *retval);
109 int proc_pidthreadinfo(proc_t p, uint64_t arg, int thuniqueid, struct proc_threadinfo *pthinfo);
110 int proc_pidthreadpathinfo(proc_t p, uint64_t arg, struct proc_threadwithpathinfo *pinfo);
112 int proc_pidregioninfo(proc_t p, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t *retval);
113 int proc_pidregionpathinfo(proc_t p, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t *retval);
114 int proc_pidvnodepathinfo(proc_t p, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t *retval);
115 int proc_pidpathinfo(proc_t p, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t *retval);
158 return(proc_info_internal(uap->callnum, uap->pid, uap->flavor, uap->arg, uap->buffer, uap->buffersize, retval));
163 proc_info_internal(int callnum, int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t * retval)
171 return(proc_pidinfo(pid, flavor, arg, buffer, buffersize, retval));
173 return(proc_pidfdinfo(pid, flavor, (int)arg, buffer, buffersize, retval));
177 return(proc_setcontrol(pid, flavor, arg, buffer, buffersize, retval));
179 return(proc_pidfileportinfo(pid, flavor, (mach_port_name_t)arg, buffer, buffersize, retval));
183 return(proc_dirtycontrol(pid, flavor, arg, retval));
370 __unused struct fileglob *fg, void *arg)
372 uint32_t *counter = arg;
384 proc_fileport_fdtype(mach_port_name_t name, struct fileglob *fg, void *arg)
386 struct fileport_fdtype_args *ffa = arg;
676 proc_pidthreadinfo(proc_t p, uint64_t arg, int thuniqueid, struct proc_threadinfo *pthinfo)
679 uint64_t threadaddr = (uint64_t)arg;
718 proc_pidthreadpathinfo(proc_t p, uint64_t arg, struct proc_threadwithpathinfo *pinfo)
723 uint64_t threadaddr = (uint64_t)arg;
781 proc_pidregioninfo(proc_t p, uint64_t arg, user_addr_t buffer, __unused uint32_t buffersize, int32_t *retval)
787 ret = fill_procregioninfo( p->task, arg, (struct proc_regioninfo_internal *)&preginfo, (uintptr_t *)0, (uint32_t *)0);
798 proc_pidregionpathinfo(proc_t p, uint64_t arg, user_addr_t buffer, __unused uint32_t buffersize, int32_t *retval)
809 ret = fill_procregioninfo( p->task, arg, (struct proc_regioninfo_internal *)&preginfo.prp_prinfo, (uintptr_t *)&vnodeaddr, (uint32_t *)&vnodeid);
835 proc_pidvnodepathinfo(proc_t p, __unused uint64_t arg, user_addr_t buffer, __unused uint32_t buffersize, int32_t *retval)
897 proc_pidpathinfo(proc_t p, __unused uint64_t arg, user_addr_t buffer, uint32_t buffersize, __unused int32_t *retval)
952 proc_pidinfo(int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, int32_t * retval)
1054 if (arg)
1132 error = proc_pidthreadinfo(p, arg, thuniqueid, &pthinfo);
1147 error = proc_pidregioninfo(p, arg, buffer, buffersize, retval);
1153 error = proc_pidregionpathinfo(p, arg, buffer, buffersize, retval);
1158 error = proc_pidvnodepathinfo(p, arg, buffer, buffersize, retval);
1166 error = proc_pidthreadpathinfo(p, arg, &pinfo);
1182 error = proc_pidpathinfo(p, arg, buffer, buffersize, retval);
1581 struct fileglob *fg, void *arg)
1583 struct fileport_info_args *fia = arg;
1729 proc_setcontrol(int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, __unused int32_t * retval)
1733 uint32_t pcontrol = (uint32_t)arg;
1841 proc_dirtycontrol(int pid, int flavor, uint64_t arg, int32_t *retval) {
1844 uint32_t pcontrol = (uint32_t)arg;