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