Home
last modified time | relevance | path

Searched refs:st_rdev (Results 1 – 25 of 126) sorted by relevance

123456

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c160 fsb.st_rdev = rdev; in _ttyname_dev()
228 spclp->spcl_rdev = tfsb.st_rdev; in _ttyname_common()
253 spclp->spcl_rdev = tfsb.st_rdev; in _ttyname_common()
370 if (stb.st_rdev == fsb->st_rdev) in ispts()
372 } else if (stb.st_rdev == fsb->st_rdev && stb.st_dev == fsb->st_dev && in ispts()
393 ptsldev = stb.st_rdev; in ispty()
404 ptcdev = stb.st_rdev; in ispty()
417 dmin = minor(fsb->st_rdev); in ispty()
431 if (stb.st_rdev == fsb->st_rdev) in ispty()
433 } else if (stb.st_rdev == fsb->st_rdev && in ispty()
[all …]
H A Dgetvfsent.c61 statb.st_rdev != typer)
81 brdev = statb.st_rdev; in getvfsspec()
93 statb.st_rdev != brdev)))) in getvfsspec()
142 brdev = statb.st_rdev; in getvfsany()
150 crdev = statb.st_rdev; in getvfsany()
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()
453 LogDev = statbuff.st_rdev; in openlog()
476 if ((fstat(LogFile, &statbuff) == 0) && (statbuff.st_rdev == LogDev)) { in closelog()
/illumos-gate/usr/src/uts/common/sys/
H A Dstat.h79 dev_t st_rdev; member
96 dev_t st_rdev; member
117 dev_t st_rdev;
139 dev_t st_rdev;
224 dev_t st_rdev;
250 dev_t st_rdev;
285 dev_t st_rdev;
311 dev_t st_rdev;
358 dev32_t st_rdev; member
383 dev32_t st_rdev; member
/illumos-gate/usr/src/cmd/ttymon/
H A Dulockf.c338 (unsigned long) major(_st_buf.st_rdev), in fd_mklock()
339 (unsigned long) minor(_st_buf.st_rdev)); in fd_mklock()
376 (unsigned long) major(_st_buf.st_rdev), in fn_cklock()
377 (unsigned long) minor(_st_buf.st_rdev)); in fn_cklock()
398 (unsigned long) major(_st_buf.st_rdev), in fd_cklock()
399 (unsigned long) minor(_st_buf.st_rdev)); in fd_cklock()
421 (unsigned long) major(_st_buf.st_rdev), in fd_rmlock()
422 (unsigned long) minor(_st_buf.st_rdev)); in fd_rmlock()
/illumos-gate/usr/src/lib/libadm/common/
H A Dfulldevnm.c163 if (raw_dev != buf.st_rdev) in test_if_blk()
184 if (blk_dev != buf.st_rdev) in test_if_raw()
214 if (test_if_blk(new_path, dat->st_rdev)) in getblkcomplete()
232 if (test_if_blk(new_path, dat->st_rdev)) in getblkcomplete()
269 if (test_if_raw(new_path, dat->st_rdev)) in getrawcomplete()
288 if (test_if_raw(new_path, dat->st_rdev)) in getrawcomplete()
373 raw_dev = buf.st_rdev; in getfullblkname()
450 blk_dev = buf.st_rdev; in getfullrawname()
H A Ddevtab.c135 if ((major(x.st_rdev) == major(y.st_rdev)) && in samedev()
136 (minor(x.st_rdev) == minor(y.st_rdev))) same = TRUE; in samedev()
/illumos-gate/usr/src/cmd/bnu/
H A Dulockf.c358 (unsigned long) major(_st_buf.st_rdev),
359 (unsigned long) minor(_st_buf.st_rdev));
397 (unsigned long) major(_st_buf.st_rdev),
398 (unsigned long) minor(_st_buf.st_rdev));
420 (unsigned long) major(_st_buf.st_rdev),
421 (unsigned long) minor(_st_buf.st_rdev));
444 (unsigned long) major(_st_buf.st_rdev),
445 (unsigned long) minor(_st_buf.st_rdev));
/illumos-gate/usr/src/tools/protolist/
H A Dprotolist.c106 (void) sprintf(maj, "%ld", major(st->st_rdev)); in visit_dir()
107 (void) sprintf(min, "%ld", minor(st->st_rdev)); in visit_dir()
114 (void) sprintf(maj, "%ld", major(st->st_rdev)); in visit_dir()
115 (void) sprintf(min, "%ld", minor(st->st_rdev)); in visit_dir()
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c287 if (major(sb.st_rdev) != slot || in getmntpt()
288 noparttn(minor(sb.st_rdev)) != nopartminor) { in getmntpt()
292 list[parttn(minor(sb.st_rdev))] = in getmntpt()
329 if (major(sb.st_rdev) != slot || in getmntpt()
330 noparttn(minor(sb.st_rdev)) != nopartminor) { in getmntpt()
337 if (list[parttn(minor(sb.st_rdev))] != NULL) in getmntpt()
340 list[parttn(minor(sb.st_rdev))] = SAFE_STRDUP(vtab.vfs_mountp); in getmntpt()
442 getmntpt(major(sb.st_rdev), in prtvtoc()
443 noparttn(minor(sb.st_rdev)))); in prtvtoc()
446 getmntpt(major(sb.st_rdev), in prtvtoc()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dmain.c348 if (stbr.st_rdev == stbd.st_rdev) in check_sanity()
357 if (stbr.st_rdev == stbd.st_rdev) in check_sanity()
367 if (is_root == 0 && is_usr == 0 && ustat(stbd.st_rdev, &usb) == 0) { in check_sanity()
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c238 sb.st_rdev = vattr.va_rdev; in cstat()
330 dev32_t st_dev, st_rdev; in cstat32() local
345 !cmpldev(&st_rdev, vattr.va_rdev) || in cstat32()
361 sb.st_rdev = st_rdev; in cstat32()
469 lsb.st_rdev = vattr.va_rdev; in cstat64()
568 dev32_t st_dev, st_rdev; in cstat64_32() local
575 !cmpldev(&st_rdev, vattr.va_rdev) || in cstat64_32()
588 lsb.st_rdev = st_rdev; in cstat64_32()
/illumos-gate/usr/src/cmd/tip/
H A Duucplock.c257 (unsigned long)major(sb.st_rdev), in delock()
258 (unsigned long)minor(sb.st_rdev)); in delock()
280 (unsigned long)major(sb.st_rdev), in tip_mlock()
281 (unsigned long)minor(sb.st_rdev)); in tip_mlock()
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dulockf.c260 (unsigned long)major(_st_buf.st_rdev), in fd_mklock()
261 (unsigned long)minor(_st_buf.st_rdev)); in fd_mklock()
297 (unsigned long)major(_st_buf.st_rdev), in fd_rmlock()
298 (unsigned long)minor(_st_buf.st_rdev)); in fd_rmlock()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpiostat.c62 TmpSt->st_rdev = convert(FromStat->st_rdev); in stat_to_svr32_stat()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dls.h49 #define idevice(p) ((p)->st_rdev)
50 #define IDEVICE(p,v) ((p)->st_rdev=(v))
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/lib/libkvm/common/
H A Dkvm.c120 if (corestat.st_rdev == memstat.st_rdev || in kvm_open()
121 corestat.st_rdev == kmemstat.st_rdev || in kvm_open()
122 corestat.st_rdev == allkmemstat.st_rdev) { in kvm_open()
123 char *kmem = (corestat.st_rdev == allkmemstat.st_rdev ? in kvm_open()
/illumos-gate/usr/src/lib/libwrap/
H A Dtli.c205 if (minor(from_config.st_rdev) == major(from_client.st_rdev) ||
207 major(from_config.st_rdev) == major(from_client.st_rdev))
/illumos-gate/usr/src/cmd/truss/
H A Dstat.c83 (void) printf(" rdev=0x%.8X\n", statb.st_rdev); in show_stat32()
128 (void) printf(" rdev=0x%.8X\n", statb.st_rdev); in show_stat64_32()
172 (void) printf(" rdev=0x%.16lX\n", statb.st_rdev); in show_stat64()
/illumos-gate/usr/src/lib/libshare/common/
H A Dissubdir.c100 child_rdev = st.st_rdev;
144 if (!deveq(parent_st.st_rdev, child_rdev)) {
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h110 __uint16_t st_rdev; /* device type */ member
129 __dev_t st_rdev; /* device type */ member
160 __dev_t st_rdev; /* device type */ member
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c107 if (vol_getmntdev(fp, &mnt, sb.st_rdev, &info) != 0) { in _dev_mounted()
325 if (sb.st_rdev == dev) { in vol_getmntdev()
338 if (major(sb.st_rdev) != major(dev)) { in vol_getmntdev()
447 if (vol_getmntdev(fp, &mnt, sb.st_rdev, &info) != 0) { in get_media_info()
/illumos-gate/usr/src/lib/libdevid/
H A Ddeviceid.c64 dev = statb.st_rdev; in devid_get()
103 dev = statb.st_rdev; in devid_get_minor_name()
165 dev = statb.st_rdev; in nmlist_add()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_generic.c428 fdmajor = major(statbuf.st_rdev); in __rpcfd_to_nconf()
461 if (fdmajor == major(statbuf.st_rdev)) in __rpcfd_to_nconf()
463 if (fdmajor == minor(statbuf.st_rdev)) in __rpcfd_to_nconf()

123456