| /freebsd-14.2/contrib/netbsd-tests/lib/libc/ttyio/ |
| H A D | t_ptm.c | 74 ATF_REQUIRE_EQ(major(stm.st_rdev), 165); in ATF_TC_BODY() 88 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev); in ATF_TC_BODY() 93 ATF_REQUIRE_EQ(stm.st_rdev, sts.st_rdev); in ATF_TC_BODY() 144 ATF_REQUIRE_EQ_MSG(major(stm.st_rdev), major(sts.st_rdev), in ATF_TC_BODY() 156 ATF_REQUIRE_EQ_MSG(minor(stm.st_rdev), minor(sts.st_rdev), in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/file/src/ |
| H A D | fsmagic.c | 219 COMMA, major(sb->st_rdev), dv_unit(sb->st_rdev), in file_fsmagic() 220 dv_subunit(sb->st_rdev)) == -1) in file_fsmagic() 224 COMMA, (long)major(sb->st_rdev), in file_fsmagic() 225 (long)minor(sb->st_rdev)) == -1) in file_fsmagic() 254 COMMA, major(sb->st_rdev), dv_unit(sb->st_rdev), in file_fsmagic() 255 dv_subunit(sb->st_rdev)) == -1) in file_fsmagic() 259 COMMA, (long)major(sb->st_rdev), in file_fsmagic() 260 (long)minor(sb->st_rdev)) == -1) in file_fsmagic()
|
| /freebsd-14.2/bin/stty/ |
| H A D | util.c | 58 (sb1.st_rdev != sb2.st_rdev)) in checkredirect()
|
| /freebsd-14.2/bin/pax/ |
| H A D | cpio.c | 297 arcn->sb.st_rdev = (dev_t)asc_ul(hd->c_rdev, sizeof(hd->c_rdev), OCT); in cpio_rd() 386 arcn->sb.st_rdev = 0; in cpio_wr() 436 ul_asc((u_long)arcn->sb.st_rdev, hd->c_rdev, sizeof(hd->c_rdev), in cpio_wr() 583 arcn->sb.st_rdev = TODEV(devmajor, devminor); in vcpio_rd() 680 arcn->sb.st_rdev = 0; in vcpio_wr() 868 arcn->sb.st_rdev = (dev_t)(RSHRT_EXT(hd->h_rdev)); in bcpio_rd() 883 arcn->sb.st_rdev = (dev_t)(SHRT_EXT(hd->h_rdev)); in bcpio_rd() 975 arcn->sb.st_rdev = 0; in bcpio_wr() 1055 hd->h_rdev[0] = CHR_WR_2(arcn->sb.st_rdev); in bcpio_wr() 1056 hd->h_rdev[1] = CHR_WR_3(arcn->sb.st_rdev); in bcpio_wr() [all …]
|
| H A D | gen_subs.c | 120 (void)fprintf(fp, "%4lu,%4lu ", (unsigned long)MAJOR(sbp->st_rdev), in ls_list() 121 (unsigned long)MINOR(sbp->st_rdev)); in ls_list()
|
| /freebsd-14.2/lib/libc/gen/ |
| H A D | ctermid.c | 59 &dlen, &sb.st_rdev, sizeof(sb.st_rdev)); in ctermid()
|
| /freebsd-14.2/sys/sys/ |
| H A D | stat.h | 111 __uint16_t st_rdev; /* device type */ member 131 __uint32_t st_rdev; /* device type */ member 168 dev_t st_rdev; /* device type */ member 201 __uint32_t st_rdev; /* device type */ member
|
| /freebsd-14.2/contrib/tcp_wrappers/ |
| H A D | tli.c | 213 if (major(from_config.st_rdev) == major(from_client.st_rdev)) 215 if (minor(from_config.st_rdev) == major(from_client.st_rdev))
|
| /freebsd-14.2/contrib/netbsd-tests/fs/tmpfs/ |
| H A D | t_mknod.sh | 44 [ ${st_rdev} -eq 512 ] || atf_fail "Invalid device" 78 [ ${st_rdev} -eq 514 ] || atf_fail "Invalid device"
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_stats.c | 152 tbuf.st_rdev = linux_new_encode_dev(buf->st_rdev); in newstat_copyout() 227 lbuf.st_rdev = linux_old_encode_dev(buf->st_rdev); in old_stat_copyout() 527 lbuf.st_rdev = linux_new_encode_dev(buf->st_rdev); in stat64_copyout() 694 tbuf.stx_rdev_major = linux_encode_major(buf->st_rdev); in statx_copyout() 695 tbuf.stx_rdev_minor = linux_encode_minor(buf->st_rdev); in statx_copyout()
|
| /freebsd-14.2/contrib/diff/lib/ |
| H A D | file-type.h | 152 # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) 160 # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD)
|
| /freebsd-14.2/lib/libc/sys/ |
| H A D | compat-ino64.h | 52 sb->st_rdev = sb11->st_rdev; in __stat11_to_stat()
|
| /freebsd-14.2/contrib/mtree/ |
| H A D | compare.c | 200 s->st_rdev != p->fts_statp->st_rdev) { in compare() 205 tab, (uintmax_t)s->st_rdev, in compare() 206 (uintmax_t)p->fts_statp->st_rdev); in compare() 211 s->st_rdev) == -1) || in compare()
|
| /freebsd-14.2/sys/compat/freebsd32/ |
| H A D | freebsd32.h | 175 __uint32_t st_rdev; /* device type */ member 221 dev_t st_rdev; member 252 uint32_t st_rdev; member 274 __uint16_t st_rdev; member
|
| /freebsd-14.2/contrib/ntp/ntpd/ |
| H A D | ntp_ppsdev.c | 172 if (sb.st_rdev == rdev) { in findDevByDevId() 200 *out = psb->st_rdev; in getCharDevId() 229 *pTty = sb.st_rdev; in getPpsTuple()
|
| /freebsd-14.2/sys/i386/linux/ |
| H A D | linux.h | 162 l_ulong st_rdev; member 181 l_ushort st_rdev; member 200 l_ulonglong st_rdev; member
|
| /freebsd-14.2/sys/amd64/linux32/ |
| H A D | linux.h | 190 l_ulong st_rdev; member 209 l_ushort st_rdev; member 228 l_ulonglong st_rdev; member
|
| /freebsd-14.2/contrib/diff/src/ |
| H A D | system.h | 279 && (s)->st_rdev == (t)->st_rdev)
|
| /freebsd-14.2/stand/kboot/include/arch/powerpc64/ |
| H A D | stat_arch.h | 18 host_dev_t st_rdev; member
|
| /freebsd-14.2/stand/kboot/include/arch/amd64/ |
| H A D | stat_arch.h | 20 host_dev_t st_rdev; member
|
| /freebsd-14.2/stand/kboot/include/arch/aarch64/ |
| H A D | stat_arch.h | 18 host_dev_t st_rdev; member
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/string/ |
| H A D | t_memset.c | 198 st.st_rdev = 6; in ATF_TC_BODY() 211 ATF_CHECK(st.st_rdev == 0); in ATF_TC_BODY()
|
| /freebsd-14.2/sbin/mount/ |
| H A D | getmntopts.c | 195 mntdevstat.st_rdev == devstat.st_rdev) in getmntpoint()
|
| /freebsd-14.2/stand/kboot/kboot/ |
| H A D | hostfs.c | 171 sb->st_rdev = ksb.st_rdev; in hostfs_stat()
|
| /freebsd-14.2/usr.bin/find/ |
| H A D | ls.c | 72 (void)printf("%#8jx ", (uintmax_t)sb->st_rdev); in printlong()
|