Lines Matching refs:fst
293 struct filestat *fst; in procstat_files() local
311 STAILQ_FOREACH(fst, head, next) { in procstat_files()
312 width = width_capability(&fst->fs_cap_rights); in procstat_files()
337 STAILQ_FOREACH(fst, head, next) { in procstat_files()
341 if (fst->fs_uflags & PS_FST_UFLAG_CTTY) in procstat_files()
343 else if (fst->fs_uflags & PS_FST_UFLAG_CDIR) in procstat_files()
345 else if (fst->fs_uflags & PS_FST_UFLAG_JAIL) in procstat_files()
347 else if (fst->fs_uflags & PS_FST_UFLAG_RDIR) in procstat_files()
349 else if (fst->fs_uflags & PS_FST_UFLAG_TEXT) in procstat_files()
351 else if (fst->fs_uflags & PS_FST_UFLAG_TRACE) in procstat_files()
354 xo_emit("{:fd/%5d} ", fst->fs_fd); in procstat_files()
356 switch (fst->fs_type) { in procstat_files()
431 if (fst->fs_type == PS_FST_TYPE_VNODE) { in procstat_files()
432 error = procstat_get_vnode_info(procstat, fst, in procstat_files()
490 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_READ ? in procstat_files()
492 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_WRITE ? in procstat_files()
494 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_APPEND ? in procstat_files()
496 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_ASYNC ? in procstat_files()
498 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_SYNC ? in procstat_files()
500 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_NONBLOCK ? in procstat_files()
502 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_DIRECT ? in procstat_files()
504 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_HASLOCK ? in procstat_files()
508 if (fst->fs_fflags & PS_FST_FFLAG_READ) in procstat_files()
510 if (fst->fs_fflags & PS_FST_FFLAG_WRITE) in procstat_files()
512 if (fst->fs_fflags & PS_FST_FFLAG_APPEND) in procstat_files()
514 if (fst->fs_fflags & PS_FST_FFLAG_ASYNC) in procstat_files()
516 if (fst->fs_fflags & PS_FST_FFLAG_SYNC) in procstat_files()
518 if (fst->fs_fflags & PS_FST_FFLAG_NONBLOCK) in procstat_files()
520 if (fst->fs_fflags & PS_FST_FFLAG_DIRECT) in procstat_files()
522 if (fst->fs_fflags & PS_FST_FFLAG_HASLOCK) in procstat_files()
527 if (fst->fs_ref_count > -1) in procstat_files()
529 fst->fs_ref_count); in procstat_files()
532 if (fst->fs_offset > -1) in procstat_files()
534 (intmax_t)fst->fs_offset); in procstat_files()
539 print_capability(&fst->fs_cap_rights, capwidth); in procstat_files()
542 switch (fst->fs_type) { in procstat_files()
544 error = procstat_get_socket_info(procstat, fst, &sock, in procstat_files()
586 xo_emit("{:path/%-18s/%s}", fst->fs_path != NULL ? in procstat_files()
587 fst->fs_path : "-"); in procstat_files()