Lines Matching refs:mode
388 short mode;
1277 if ((mode = icheck(addr)) == 0)
1279 if ((mode & IFMT) != IFDIR) {
1399 if ((mode = icheck(addr)) == 0)
1402 switch (mode & IFMT) {
1616 if ((mode = icheck(addr)) == 0)
1627 if (match("md", 2)) { /* mode */
1639 if (devcheck(mode))
1654 if (devcheck(mode))
2148 short mode;
2172 if ((mode = icheck(addr)) == 0)
2174 if ((mode & IFMT) != IFDIR) {
2457 short mode;
2461 if ((mode = icheck(addr)) == 0)
2463 if ((mode & IFMT) != IFDIR)
2610 if ((mode = icheck(cur_ino)) == 0)
2612 if ((mode & IFMT) == IFDIR || level < input_pathp) {
2952 * 0 if error otherwise return the mode.
2990 short bod = 0, mode, temp;
3049 if ((mode = icheck(addr)) == 0)
3051 if (!override && (mode & IFDIR) == 0) {
3107 short bod = 0, mode;
3122 if ((mode = icheck(addr)) == 0)
3124 if (!override && (mode & IFMT) != IFSHAD) {
3402 * devcheck - check that the given mode represents a
3619 short offset, mode, end = 0, eof = 0, eof_flag;
3940 if ((mode = icheck(addr)) == 0)
3945 switch (mode & IFMT) {
3980 for (mode = mode << 4; *++p; mode = mode << 1) {
3981 if (mode & IFREG)
4496 char mode = BASE[base - OCTAL];
4514 "%c", '-', 0, digits, lead, mode);
4520 "%c", 0, digits, lead, mode);
4527 "%c", '-', digits, mode);
4533 "%c", digits, mode);