Home
last modified time | relevance | path

Searched refs:S_ISCHR (Results 1 – 25 of 72) sorted by relevance

123

/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dfs3d.h52 #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 Dmode.c60 #ifdef S_ISCHR in main()
61 if (!S_ISCHR(X_IFCHR)) idtype = 0; in main()
/illumos-gate/usr/src/lib/libdevid/
H A Ddeviceid.c60 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 Dfulldevnm.c180 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 Dfmtdev.c43 mm = (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) ? idevice(st) : st->st_dev; in fmtdev()
H A Dmodex.c64 else if (S_ISCHR(i)) x |= X_IFCHR; in modex()
H A Dfmtls.c83 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) in fmtls()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dblock_if.c672 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 Dsyslog.c233 (!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 Dmakebuf.c107 *couldbetty = S_ISCHR(st.st_mode);
/illumos-gate/usr/src/lib/libsocket/socket/
H A D_soutil.c155 if (!S_ISCHR(stats.st_mode)) { in _s_netconfig_path()
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chipset/
H A Dchipset.c69 S_ISCHR(st.st_mode)) { in topo_chipset_present()
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c488 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 Dmenu_fdisk.c387 !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 Ddb-int.h292 #define S_ISCHR(m) ((m & 0170000) == 0020000) /* char special */ macro
/illumos-gate/usr/src/uts/common/sys/
H A Dlofi.h187 (S_ISREG(mode) || S_ISBLK(mode) || S_ISCHR(mode))
H A Dstat.h445 #define S_ISCHR(mode) (((mode)&0xF000) == 0x2000) macro
/illumos-gate/usr/src/cmd/acct/
H A Dacctdusg.c240 if (S_ISCHR(statb.st_mode) || S_ISBLK(statb.st_mode)) in charge()
/illumos-gate/usr/src/cmd/sulogin/
H A Dsulogin.c419 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 Dstat.h238 #define S_ISCHR(m) (((m) & 0170000) == 0020000) /* char special */ macro
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfsck_main.c178 if (!(S_ISCHR(dinfo.st_mode))) { in openFS()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c318 if (fstat64(fd, &st) == 0 && S_ISCHR(st.st_mode) && in mdb_fdio_create()
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c273 if (!S_ISCHR(target.st_mode) && in main()
/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c502 if ((fstat(fd, &statbuf) < 0) || !S_ISCHR(statbuf.st_mode)) { in bad_line()
/illumos-gate/usr/src/lib/libsmbios/common/
H A Dsmb_lib.c243 S_ISCHR(st2.st_mode) && st1.st_rdev == st2.st_rdev) in smbios_fdopen()

123