Lines Matching refs:fst

292 	struct filestat *fst;
309 STAILQ_FOREACH(fst, head, next) {
310 width = width_capability(&fst->fs_cap_rights);
335 STAILQ_FOREACH(fst, head, next) {
339 if (fst->fs_uflags & PS_FST_UFLAG_CTTY)
341 else if (fst->fs_uflags & PS_FST_UFLAG_CDIR)
343 else if (fst->fs_uflags & PS_FST_UFLAG_JAIL)
345 else if (fst->fs_uflags & PS_FST_UFLAG_RDIR)
347 else if (fst->fs_uflags & PS_FST_UFLAG_TEXT)
349 else if (fst->fs_uflags & PS_FST_UFLAG_TRACE)
352 xo_emit("{:fd/%5d} ", fst->fs_fd);
354 switch (fst->fs_type) {
429 if (fst->fs_type == PS_FST_TYPE_VNODE) {
430 error = procstat_get_vnode_info(procstat, fst,
488 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_READ ?
490 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_WRITE ?
492 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_APPEND ?
494 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_ASYNC ?
496 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_SYNC ?
498 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_NONBLOCK ?
500 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_DIRECT ?
502 xo_emit("{d:/%s}", fst->fs_fflags & PS_FST_FFLAG_HASLOCK ?
506 if (fst->fs_fflags & PS_FST_FFLAG_READ)
508 if (fst->fs_fflags & PS_FST_FFLAG_WRITE)
510 if (fst->fs_fflags & PS_FST_FFLAG_APPEND)
512 if (fst->fs_fflags & PS_FST_FFLAG_ASYNC)
514 if (fst->fs_fflags & PS_FST_FFLAG_SYNC)
516 if (fst->fs_fflags & PS_FST_FFLAG_NONBLOCK)
518 if (fst->fs_fflags & PS_FST_FFLAG_DIRECT)
520 if (fst->fs_fflags & PS_FST_FFLAG_HASLOCK)
525 if (fst->fs_ref_count > -1)
527 fst->fs_ref_count);
530 if (fst->fs_offset > -1)
532 (intmax_t)fst->fs_offset);
537 print_capability(&fst->fs_cap_rights, capwidth);
540 switch (fst->fs_type) {
542 error = procstat_get_socket_info(procstat, fst, &sock,
578 xo_emit("{:path/%-18s/%s}", fst->fs_path != NULL ?
579 fst->fs_path : "-");