Home
last modified time | relevance | path

Searched refs:pget (Results 1 – 13 of 13) sorted by relevance

/freebsd/usr.sbin/nvmfd/
H A Dcontroller.c62 const struct nvmf_fabric_prop_get_cmd *pget) in handle_property_get() argument
68 switch (le32toh(pget->ofst)) { in handle_property_get()
70 if (pget->attrib.size != NVMF_PROP_SIZE_8) in handle_property_get()
75 if (pget->attrib.size != NVMF_PROP_SIZE_4) in handle_property_get()
80 if (pget->attrib.size != NVMF_PROP_SIZE_4) in handle_property_get()
85 if (pget->attrib.size != NVMF_PROP_SIZE_4) in handle_property_get()
/freebsd/sys/kern/
H A Dkern_proc.c509 pget(pid_t pid, int flags, struct proc **pp) in pget() function
1750 error = pget((pid_t)name[0], PGET_CANSEE, &p); in sysctl_kern_proc()
2138 error = pget(pid, flags, &p); in sysctl_kern_proc_args()
2205 error = pget((pid_t)name[0], PGET_WANTREAD, &p); in sysctl_kern_proc_env()
2238 error = pget((pid_t)name[0], PGET_WANTREAD, &p); in sysctl_kern_proc_auxv()
2347 error = pget(*pidp, PGET_CANSEE, &p); in sysctl_kern_proc_pathname()
2374 error = pget((pid_t)name[0], PGET_CANSEE, &p); in sysctl_kern_proc_sv_name()
2407 error = pget((pid_t)name[0], PGET_WANTREAD, &p); in sysctl_kern_proc_ovmmap()
2826 error = pget((pid_t)name[0], PGET_CANDEBUG | PGET_NOTWEXIT, &p); in sysctl_kern_proc_vmmap()
2855 error = pget((pid_t)name[0], PGET_NOTINEXEC | PGET_WANTREAD, &p); in sysctl_kern_proc_kstack()
[all …]
H A Dkern_time.c204 error = pget(id, PGET_CANSEE | PGET_NOTID, &p); in kern_clock_getcpuclockid2()
308 error = pget(pid, PGET_CANSEE, &p2); in get_cputime()
H A Dkern_descrip.c1214 ret = pget(pgid, PGET_NOTWEXIT | PGET_NOTID | PGET_HOLD, &proc); in fsetown()
4773 error = pget((pid_t)name[0], PGET_CANDEBUG | PGET_NOTWEXIT, &p); in sysctl_kern_proc_filedesc()
4856 error = pget((pid_t)name[0], PGET_CANDEBUG | PGET_NOTWEXIT, &p); in sysctl_kern_proc_ofiledesc()
5009 error = pget((pid_t)name[0], PGET_CANDEBUG | PGET_NOTWEXIT, &p); in sysctl_kern_proc_cwd()
H A Dkern_resource.c1759 error = pget((pid_t)name[0], PGET_WANTREAD, &p); in sysctl_kern_proc_rlimit_usage()
H A Dsys_generic.c2101 error = pget(pid, PGET_NOTID | PGET_CANDEBUG | PGET_NOTWEXIT |
/freebsd/sys/dev/nvmf/controller/
H A Dnvmft_controller.c847 const struct nvmf_fabric_prop_get_cmd *pget) in handle_property_get() argument
853 switch (le32toh(pget->ofst)) { in handle_property_get()
855 if (pget->attrib.size != NVMF_PROP_SIZE_8) in handle_property_get()
860 if (pget->attrib.size != NVMF_PROP_SIZE_4) in handle_property_get()
865 if (pget->attrib.size != NVMF_PROP_SIZE_4) in handle_property_get()
870 if (pget->attrib.size != NVMF_PROP_SIZE_4) in handle_property_get()
/freebsd/sys/compat/linux/
H A Dlinux_time.c370 error = pget(pid, PGET_CANSEE, &p); in linux_common_clock_gettime()
587 error = pget(pid, PGET_CANSEE, &p); in linux_common_clock_getres()
H A Dlinux_misc.c2072 error = pget(args->pid, flags, &p); in linux_prlimit64()
/freebsd/sys/dev/filemon/
H A Dfilemon.c399 error = pget(*((pid_t *)data), in filemon_ioctl()
/freebsd/sys/amd64/amd64/
H A Dvm_machdep.c515 error = pget(id, PGET_CANSEE | PGET_NOTWEXIT | PGET_NOTID, &p); in cpu_procctl()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dfasttrap.c1220 if (pget(probe->ftp_pid, PGET_HOLD | PGET_NOTWEXIT, &p) != 0) in fasttrap_pid_enable()
1300 if (pget(probe->ftp_pid, PGET_HOLD | PGET_NOTWEXIT, &p) != 0) in fasttrap_pid_disable()
/freebsd/sys/sys/
H A Dproc.h1127 int pget(pid_t pid, int flags, struct proc **pp);