Lines Matching refs:fst
298 struct filestat *fst; in procstat_files() local
316 STAILQ_FOREACH(fst, head, next) { in procstat_files()
317 width = width_capability(&fst->fs_cap_rights); in procstat_files()
342 STAILQ_FOREACH(fst, head, next) { in procstat_files()
346 if (fst->fs_uflags & PS_FST_UFLAG_CTTY) in procstat_files()
348 else if (fst->fs_uflags & PS_FST_UFLAG_CDIR) in procstat_files()
350 else if (fst->fs_uflags & PS_FST_UFLAG_JAIL) in procstat_files()
352 else if (fst->fs_uflags & PS_FST_UFLAG_RDIR) in procstat_files()
354 else if (fst->fs_uflags & PS_FST_UFLAG_TEXT) in procstat_files()
356 else if (fst->fs_uflags & PS_FST_UFLAG_TRACE) in procstat_files()
359 xo_emit("{:fd/%5d} ", fst->fs_fd); in procstat_files()
361 switch (fst->fs_type) { in procstat_files()
436 if (fst->fs_type == PS_FST_TYPE_VNODE) { in procstat_files()
437 error = procstat_get_vnode_info(procstat, fst, in procstat_files()
495 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_READ ? in procstat_files()
497 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_WRITE ? in procstat_files()
499 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_APPEND ? in procstat_files()
501 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_ASYNC ? in procstat_files()
503 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_SYNC ? in procstat_files()
505 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_NONBLOCK ? in procstat_files()
507 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_DIRECT ? in procstat_files()
509 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_HASLOCK ? in procstat_files()
513 if (fst->fs_fflags & PS_FST_FFLAG_READ) in procstat_files()
515 if (fst->fs_fflags & PS_FST_FFLAG_WRITE) in procstat_files()
517 if (fst->fs_fflags & PS_FST_FFLAG_APPEND) in procstat_files()
519 if (fst->fs_fflags & PS_FST_FFLAG_ASYNC) in procstat_files()
521 if (fst->fs_fflags & PS_FST_FFLAG_SYNC) in procstat_files()
523 if (fst->fs_fflags & PS_FST_FFLAG_NONBLOCK) in procstat_files()
525 if (fst->fs_fflags & PS_FST_FFLAG_DIRECT) in procstat_files()
527 if (fst->fs_fflags & PS_FST_FFLAG_HASLOCK) in procstat_files()
532 if (fst->fs_ref_count > -1) in procstat_files()
534 fst->fs_ref_count); in procstat_files()
537 if (fst->fs_offset > -1) in procstat_files()
539 (intmax_t)fst->fs_offset); in procstat_files()
544 print_capability(&fst->fs_cap_rights, capwidth); in procstat_files()
547 switch (fst->fs_type) { in procstat_files()
549 error = procstat_get_socket_info(procstat, fst, &sock, in procstat_files()
591 xo_emit("{:path/%-18s/%s}", fst->fs_path != NULL ? in procstat_files()
592 fst->fs_path : "-"); in procstat_files()