Home
last modified time | relevance | path

Searched refs:S_ISBLK (Results 1 – 25 of 42) sorted by relevance

12

/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.c51 #ifdef S_ISBLK in main()
52 if (!S_ISBLK(X_IFBLK)) 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.c159 if (!S_ISBLK(buf.st_mode)) in test_if_blk()
359 if (S_ISBLK(buf.st_mode)) in getfullblkname()
444 if (!S_ISBLK(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.c63 else if (S_ISBLK(i)) x |= X_IFBLK; in modex()
H A Dfmtls.c83 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) in fmtls()
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c328 if (S_ISBLK(st1.st_mode) == S_ISBLK(st2.st_mode)) { in dconf_swap_compare()
337 if (S_ISBLK(st2.st_mode)) in dconf_swap_compare()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h293 #define S_ISBLK(m) ((m & 0170000) == 0060000) /* block special */ macro
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c452 if (S_ISBLK(statbuf.st_mode) || in list()
676 S_ISBLK(f.st_mode))) { in valid()
/illumos-gate/usr/src/uts/common/sys/
H A Dlofi.h187 (S_ISREG(mode) || S_ISBLK(mode) || S_ISCHR(mode))
H A Dstat.h447 #define S_ISBLK(mode) (((mode)&0xF000) == 0x6000) 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/grub/grub-0.97/lib/
H A Ddevice.c494 if (S_ISBLK (st.st_mode) in check_device()
866 return S_ISBLK (st.st_mode); in is_disk_device()
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h239 #define S_ISBLK(m) (((m) & 0170000) == 0060000) /* block special */ macro
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c274 !S_ISBLK(target.st_mode) && in main()
/illumos-gate/usr/src/cmd/fuser/
H A Dfuser.c122 if ((stat(specname, &st) == 0) && S_ISBLK(st.st_mode)) in spec_to_mount()
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dmain.c560 if (S_ISDIR(st.st_mode) || S_ISBLK(st.st_mode)) { in setpathlist()
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c318 if (!S_ISBLK(sb.st_mode) && !S_ISCHR(sb.st_mode)) { in vol_getmntdev()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c743 if (S_ISBLK(stbd.st_mode)) { in check_sanity()
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c459 if (wholedisk || S_ISBLK(statbuf.st_mode)) { in make_leaf_vdev()
510 if (S_ISBLK(statbuf.st_mode) && !wholedisk) { in make_leaf_vdev()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c78 #define S_ISPECIAL(a) (S_ISLNK(a) || S_ISFIFO(a) || S_ISBLK(a) || \
512 if (S_ISBLK(attr->st_mode)) in output_file_header()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtest.c347 return(test_stat(arg,&statb)>=0 && S_ISBLK(statb.st_mode)); in test_unop()
/illumos-gate/usr/src/cmd/filesync/
H A Dbase.c861 if (S_ISBLK(ip->f_type) || S_ISCHR(ip->f_type)) in bw_file()
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c1169 } else if (S_ISBLK(stbuf.st_mode)) { in sfpath()

12