Home
last modified time | relevance | path

Searched refs:st_dev (Results 1 – 25 of 158) sorted by relevance

1234567

/src/tests/sys/kern/pipe/
H A Dpipe_ino_test.c54 if (st1.st_dev != st2.st_dev || st1.st_dev == 0 || st2.st_dev == 0) in main()
56 (uintmax_t)st1.st_dev, (uintmax_t)st2.st_dev); in main()
/src/usr.sbin/lpr/chkprintcap/
H A Dchkprintcap.c213 if (a->stab.st_dev == b->stab.st_dev) in lessp()
215 return a->stab.st_dev < b->stab.st_dev; in lessp()
221 return ((a->stab.st_dev == b->stab.st_dev) in equal()
/src/bin/pax/
H A Dtables.c148 (pt->dev == arcn->sb.st_dev)) in chk_lnk()
188 pt->dev = arcn->sb.st_dev; in chk_lnk()
239 (pt->dev == arcn->sb.st_dev)) in purg_lnk()
678 if (chk_dev(arcn->sb.st_dev, 1) == NULL) in add_dev()
771 if ((arcn->sb.st_dev & (dev_t)dev_mask) != arcn->sb.st_dev) in map_dev()
782 if ((pt = chk_dev(arcn->sb.st_dev, 0)) != NULL) { in map_dev()
795 arcn->sb.st_dev = dpt->dev; in map_dev()
810 if ((pt = chk_dev(arcn->sb.st_dev, 1)) == NULL) in map_dev()
826 dpt->dev = arcn->sb.st_dev; in map_dev()
861 arcn->sb.st_dev = lastdev; in map_dev()
H A Dcpio.c284 arcn->sb.st_dev = (dev_t)asc_ul(hd->c_dev, sizeof(hd->c_dev), OCT); in cpio_rd()
418 ul_asc((u_long)arcn->sb.st_dev, hd->c_dev, sizeof(hd->c_dev), in cpio_wr()
574 arcn->sb.st_dev = TODEV(devmajor, devminor); in vcpio_rd()
745 ul_asc((u_long)MAJOR(arcn->sb.st_dev),hd->c_maj, sizeof(hd->c_maj), in vcpio_wr()
747 ul_asc((u_long)MINOR(arcn->sb.st_dev),hd->c_min, sizeof(hd->c_min), in vcpio_wr()
856 arcn->sb.st_dev = (dev_t)(RSHRT_EXT(hd->h_dev)); in bcpio_rd()
871 arcn->sb.st_dev = (dev_t)(SHRT_EXT(hd->h_dev)); in bcpio_rd()
1025 hd->h_dev[0] = CHR_WR_2(arcn->sb.st_dev); in bcpio_wr()
1026 hd->h_dev[1] = CHR_WR_3(arcn->sb.st_dev); in bcpio_wr()
1027 if (arcn->sb.st_dev != (dev_t)(SHRT_EXT(hd->h_dev))) in bcpio_wr()
H A Dfile_subs.c240 if ((arcn->sb.st_dev == sb.st_dev) && (arcn->sb.st_ino == sb.st_ino)) { in chk_same()
278 if ((to_sb->st_dev==sb.st_dev)&&(to_sb->st_ino == sb.st_ino)) { in mk_link()
/src/crypto/openssh/openbsd-compat/
H A Dgetcwd.c104 root_dev = s.st_dev; in getcwd()
116 dev = s.st_dev; in getcwd()
162 if (s.st_dev == dev) { in getcwd()
184 if (s.st_dev == dev && s.st_ino == ino) in getcwd()
/src/lib/libc/gen/
H A Dgetcwd.c110 root_dev = s.st_dev; in getcwd()
122 dev = s.st_dev; in getcwd()
156 if (s.st_dev == dev) { in getcwd()
178 if (s.st_dev == dev && s.st_ino == ino) in getcwd()
/src/lib/libsecureboot/
H A Dverify_file.c138 if (stp->st_dev == vsp->vs_dev && in is_verified()
146 __func__, (long long)stp->st_dev, in is_verified()
160 vsp->vs_dev = stp->st_dev; in add_verify_status()
166 __func__, (long long)stp->st_dev, in add_verify_status()
420 (long long)stp->st_dev, in verify_report()
430 (long long)stp->st_dev, in verify_report()
476 caller, fd, filename, (long long)off, (long long)stp->st_dev, in verify_prep()
/src/sbin/kldload/
H A Dkldload.c68 dev = sb.st_dev; in path_check()
96 if (sb.st_dev != dev || sb.st_ino != ino) { in path_check()
101 } else if (sb.st_dev == dev && sb.st_ino == ino) in path_check()
/src/sys/contrib/openzfs/lib/libspl/os/linux/
H A Dgetmntany.c108 mp->mnt_major = major(st.st_dev); in getextmntent_impl()
109 mp->mnt_minor = minor(st.st_dev); in getextmntent_impl()
168 statbuf->st_dev; in getextmntent()
/src/sys/sys/
H A Dstat.h103 __uint16_t st_dev; /* inode's device */ member
123 __uint32_t st_dev; /* inode's device */ member
158 dev_t st_dev; /* inode's device */ member
194 __uint32_t st_dev; /* inode's device */ member
/src/contrib/openbsm/compat/
H A Dflopen.h87 if (sb.st_dev != fsb.st_dev || in flopen()
/src/bin/pwd/
H A Dpwd.c61 log.st_dev != phy.st_dev || log.st_ino != phy.st_ino) in getcwd_logical()
/src/contrib/nvi/ex/
H A Dex_init.c232 (lsb.st_dev != hsb.st_dev || in ex_exrc()
240 if ((lsb.st_dev != hsb.st_dev || in ex_exrc()
/src/contrib/bmake/
H A Dutil.c268 DEV_DEV_COMPARE(st_cur.st_dev, st_root.st_dev)) { in getwd()
288 if (DEV_DEV_COMPARE(st_dotdot.st_dev, st_cur.st_dev)) { in getwd()
311 DEV_DEV_COMPARE(st_next.st_dev, st_cur.st_dev)) in getwd()
/src/lib/libutil/
H A Dflopen.c94 if (sb.st_dev != fsb.st_dev || in vflopenat()
/src/sys/compat/linux/
H A Dlinux_stats.c146 tbuf.st_dev = linux_new_encode_dev(buf->st_dev); in newstat_copyout()
221 lbuf.st_dev = linux_old_encode_dev(buf->st_dev); in old_stat_copyout()
521 lbuf.st_dev = linux_new_encode_dev(buf->st_dev); in stat64_copyout()
696 tbuf.stx_dev_major = linux_encode_major(buf->st_dev); in statx_copyout()
697 tbuf.stx_dev_minor = linux_encode_minor(buf->st_dev); in statx_copyout()
/src/lib/libc/tests/stdio/
H A Dmkostemp_test.c109 if (st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino) { in test_one()
/src/contrib/tcsh/
H A Dtc.os.c1230 rdev = d.st_dev; in xgetcwd()
1239 if (d.st_ino == rino && d.st_dev == rdev && d.st_size == rsize) in xgetcwd()
1265 dd.st_dev != d.st_dev || in xgetcwd()
1334 DEV_DEV_COMPARE(st_cur.st_dev, st_root.st_dev)) { in xgetcwd()
1355 if (DEV_DEV_COMPARE(st_dotdot.st_dev, st_cur.st_dev)) { in xgetcwd()
1390 DEV_DEV_COMPARE(st_next.st_dev, st_cur.st_dev)) in xgetcwd()
/src/sys/i386/linux/
H A Dlinux.h156 l_ulong st_dev; member
175 l_ushort st_dev; member
193 l_ulonglong st_dev; member
/src/sys/compat/freebsd32/
H A Dfreebsd32.h161 __uint32_t st_dev; /* inode's device */ member
205 dev_t st_dev; member
239 uint32_t st_dev; member
261 __uint16_t st_dev; member
/src/bin/chmod/
H A Dchmod.c233 if (previous_dev != ent->fts_statp->st_dev) { in may_have_nfs4acl()
234 previous_dev = ent->fts_statp->st_dev; in may_have_nfs4acl()
/src/contrib/xz/src/xz/
H A Dfile_io.c285 || new_st.st_dev != known_st->st_dev in io_unlink()
937 if (st.st_dev == -1) { in io_open_dest_real()
946 if (st.st_dev == pair->src_st.st_dev in io_open_dest_real()
993 pair->dest_st.st_dev = 0; in io_open_dest_real()
/src/usr.sbin/cron/crontab/
H A Dcrontab.c368 if (statbuf.st_dev != fsbuf.st_dev || statbuf.st_ino != fsbuf.st_ino)
438 if (statbuf.st_dev != fsbuf.st_dev || statbuf.st_ino != fsbuf.st_ino)
/src/sys/amd64/linux32/
H A Dlinux.h184 l_ulong st_dev; member
203 l_ushort st_dev; member
221 l_ulonglong st_dev; member

1234567