/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | fs3d.h | 52 #define iview(p) ((S_ISBLK((p)->st_mode)||S_ISCHR((p)->st_mode))?0:(p)->st_rdev) 53 #define IVIEW(p,v) do{if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v);}while(0)
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | mode.c | 60 #ifdef S_ISCHR in main() 61 if (!S_ISCHR(X_IFCHR)) idtype = 0; in main()
|
/illumos-gate/usr/src/lib/libdevid/ |
H A D | deviceid.c | 60 if (!S_ISCHR(statb.st_mode) && !S_ISBLK(statb.st_mode)) in devid_get() 99 if (!S_ISCHR(statb.st_mode) && !S_ISBLK(statb.st_mode)) in devid_get_minor_name() 164 (S_ISCHR(statb.st_mode) || S_ISBLK(statb.st_mode))) in nmlist_add()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | fulldevnm.c | 180 if (!S_ISCHR(buf.st_mode)) in test_if_raw() 362 if (!S_ISCHR(buf.st_mode)) { in getfullblkname() 441 if (S_ISCHR(buf.st_mode)) in getfullrawname()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | fmtdev.c | 43 mm = (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) ? idevice(st) : st->st_dev; in fmtdev()
|
H A D | modex.c | 64 else if (S_ISCHR(i)) x |= X_IFCHR; in modex()
|
H A D | fmtls.c | 83 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) in fmtls()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | block_if.c | 672 if (S_ISCHR(sbuf.st_mode)) { in blockif_open() 695 if (S_ISCHR(sbuf.st_mode)) { in blockif_open() 789 if (S_ISCHR(sbuf.st_mode)) { in blockif_open() 811 bc->bc_ischr = S_ISCHR(sbuf.st_mode); in blockif_open() 857 if (S_ISCHR(sb.st_mode)) { in blockif_resized() 867 if (S_ISCHR(sb.st_mode)) { in blockif_resized()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 233 (!S_ISCHR(statbuff.st_mode)) || (statbuff.st_rdev != LogDev)) { in vsyslog() 446 (S_ISCHR(statbuff.st_mode)) && (statbuff.st_rdev == LogDev)) in openlog()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | makebuf.c | 107 *couldbetty = S_ISCHR(st.st_mode);
|
/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | _soutil.c | 155 if (!S_ISCHR(stats.st_mode)) { in _s_netconfig_path()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chipset/ |
H A D | chipset.c | 69 S_ISCHR(st.st_mode)) { in topo_chipset_present()
|
/illumos-gate/usr/src/cmd/consadm/ |
H A D | consadm.c | 488 if (stat(adev, &st1) != 0 || !S_ISCHR(st1.st_mode)) in pathcmp() 491 if (stat(bdev, &st2) != 0 || !S_ISCHR(st2.st_mode)) in pathcmp() 890 if (stat(dev, &st) || ! S_ISCHR(st.st_mode)) { in verifyarg()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 387 !S_ISCHR(statbuf.st_mode)) { in c_fdisk() 696 !S_ISCHR(statbuf.st_mode) || 969 !S_ISCHR(statbuf.st_mode) ||
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-int.h | 292 #define S_ISCHR(m) ((m & 0170000) == 0020000) /* char special */ macro
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lofi.h | 187 (S_ISREG(mode) || S_ISBLK(mode) || S_ISCHR(mode))
|
H A D | stat.h | 445 #define S_ISCHR(mode) (((mode)&0xF000) == 0x2000) macro
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctdusg.c | 240 if (S_ISCHR(statb.st_mode) || S_ISBLK(statb.st_mode)) in charge()
|
/illumos-gate/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 419 if (stat(adev, &st1) || !S_ISCHR(st1.st_mode)) in pathcmp() 422 if (stat(bdev, &st2) || !S_ISCHR(st2.st_mode)) in pathcmp()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | stat.h | 238 #define S_ISCHR(m) (((m) & 0170000) == 0020000) /* char special */ macro
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fsck_main.c | 178 if (!(S_ISCHR(dinfo.st_mode))) { in openFS()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_fdio.c | 318 if (fstat64(fd, &st) == 0 && S_ISCHR(st.st_mode) && in mdb_fdio_create()
|
/illumos-gate/usr/src/cmd/cat/ |
H A D | cat.c | 273 if (!S_ISCHR(target.st_mode) && in main()
|
/illumos-gate/usr/src/cmd/utmp_update/ |
H A D | utmp_update.c | 502 if ((fstat(fd, &statbuf) < 0) || !S_ISCHR(statbuf.st_mode)) { in bad_line()
|
/illumos-gate/usr/src/lib/libsmbios/common/ |
H A D | smb_lib.c | 243 S_ISCHR(st2.st_mode) && st1.st_rdev == st2.st_rdev) in smbios_fdopen()
|