Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linprocfs/linprocfs.c
Show First 20 Lines • Show All 1,371 Lines • ▼ Show 20 Lines | if (lobj) { | ||||
if (vp != NULL) | if (vp != NULL) | ||||
vref(vp); | vref(vp); | ||||
if (lobj != obj) | if (lobj != obj) | ||||
VM_OBJECT_RUNLOCK(lobj); | VM_OBJECT_RUNLOCK(lobj); | ||||
VM_OBJECT_RUNLOCK(obj); | VM_OBJECT_RUNLOCK(obj); | ||||
if (vp != NULL) { | if (vp != NULL) { | ||||
vn_fullpath(vp, &name, &freename); | vn_fullpath(vp, &name, &freename); | ||||
vn_lock(vp, LK_SHARED | LK_RETRY); | vn_lock(vp, LK_SHARED | LK_RETRY); | ||||
VOP_GETATTR(vp, &vat, td->td_ucred); | VOP_GETATTR(vp, 0, &vat, td->td_ucred); | ||||
ino = vat.va_fileid; | ino = vat.va_fileid; | ||||
vput(vp); | vput(vp); | ||||
} else if (SV_PROC_ABI(p) == SV_ABI_LINUX) { | } else if (SV_PROC_ABI(p) == SV_ABI_LINUX) { | ||||
/* | /* | ||||
* sv_shared_page_base pointed out to the | * sv_shared_page_base pointed out to the | ||||
* FreeBSD sharedpage, PAGE_SIZE is a size | * FreeBSD sharedpage, PAGE_SIZE is a size | ||||
* of it. The vDSO page is above. | * of it. The vDSO page is above. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 1,123 Lines • Show Last 20 Lines |