pstat.c (6c3f552a31dd0a0c8c59a028fd9bc507d43ec5cc) pstat.c (fdaad796ed2738847aaf2bdc2bfbbfe427e353e1)
1/*-
2 * Copyright (c) 1980, 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 428 unchanged lines hidden (view full) ---

437 */
438 flag = vp->v_flag;
439 if (flag & VROOT)
440 *fp++ = 'R';
441 if (flag & VTEXT)
442 *fp++ = 'T';
443 if (flag & VSYSTEM)
444 *fp++ = 'S';
1/*-
2 * Copyright (c) 1980, 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 428 unchanged lines hidden (view full) ---

437 */
438 flag = vp->v_flag;
439 if (flag & VROOT)
440 *fp++ = 'R';
441 if (flag & VTEXT)
442 *fp++ = 'T';
443 if (flag & VSYSTEM)
444 *fp++ = 'S';
445 if (flag & VISTTY)
446 *fp++ = 't';
445 if (flag & VXLOCK)
446 *fp++ = 'L';
447 if (flag & VXWANT)
448 *fp++ = 'W';
449 if (flag & VBWAIT)
450 *fp++ = 'B';
451 if (flag & VALIASED)
452 *fp++ = 'A';
447 if (flag & VXLOCK)
448 *fp++ = 'L';
449 if (flag & VXWANT)
450 *fp++ = 'W';
451 if (flag & VBWAIT)
452 *fp++ = 'B';
453 if (flag & VALIASED)
454 *fp++ = 'A';
455 if (flag & VVMIO)
456 *fp++ = 'V';
457 if (flag & VAGE)
458 *fp++ = 'a';
459 if (flag & VOLOCK)
460 *fp++ = 'l';
461 if (flag & VOWANT)
462 *fp++ = 'w';
453 if (flag == 0)
454 *fp++ = '-';
455 *fp = '\0';
456 (void)printf("%8x %s %5s %4d %4d",
457 avnode, type, flags, vp->v_usecount, vp->v_holdcnt);
458}
459
460void

--- 667 unchanged lines hidden ---
463 if (flag == 0)
464 *fp++ = '-';
465 *fp = '\0';
466 (void)printf("%8x %s %5s %4d %4d",
467 avnode, type, flags, vp->v_usecount, vp->v_holdcnt);
468}
469
470void

--- 667 unchanged lines hidden ---