Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_descrip.c
| Show First 20 Lines • Show All 4,933 Lines • ▼ Show 20 Lines | file_type_to_name(short type) | ||||
| case DTYPE_PTS: | case DTYPE_PTS: | ||||
| return ("pts"); | return ("pts"); | ||||
| case DTYPE_DEV: | case DTYPE_DEV: | ||||
| return ("dev"); | return ("dev"); | ||||
| case DTYPE_PROCDESC: | case DTYPE_PROCDESC: | ||||
| return ("proc"); | return ("proc"); | ||||
| case DTYPE_EVENTFD: | case DTYPE_EVENTFD: | ||||
| return ("eventfd"); | return ("eventfd"); | ||||
| case DTYPE_LINUXTFD: | case DTYPE_TIMERFD: | ||||
| return ("ltimer"); | return ("timerfd"); | ||||
| default: | default: | ||||
| return ("unkn"); | return ("unkn"); | ||||
| } | } | ||||
| } | } | ||||
| /* | /* | ||||
| * For the purposes of debugging, identify a process (if any, perhaps one of | * For the purposes of debugging, identify a process (if any, perhaps one of | ||||
| * many) that references the passed file in its file descriptor array. Return | * many) that references the passed file in its file descriptor array. Return | ||||
| ▲ Show 20 Lines • Show All 359 Lines • Show Last 20 Lines | |||||