Home
last modified time | relevance | path

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

123456

/freebsd/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()
/freebsd/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()
/freebsd/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 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()
/freebsd/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()
/freebsd/lib/libc/gen/
H A Dgetcwd.c110 root_dev = s.st_dev; in __ssp_real()
122 dev = s.st_dev; in __ssp_real()
156 if (s.st_dev == dev) { in __ssp_real()
178 if (s.st_dev == dev && s.st_ino == ino) in __ssp_real()
/freebsd/sys/contrib/openzfs/lib/libspl/os/linux/
H A Dgetmntany.c99 mp->mnt_major = major(st.st_dev); in getextmntent_impl()
100 mp->mnt_minor = minor(st.st_dev); in getextmntent_impl()
143 statbuf->st_dev) { in getextmntent()
/freebsd/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()
/freebsd/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()
/freebsd/bin/pwd/
H A Dpwd.c105 if (lg.st_dev == phy.st_dev && lg.st_ino == phy.st_ino) in getcwd_logical()
/freebsd/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
193 __uint32_t st_dev; /* inode's device */ member
/freebsd/contrib/openbsm/compat/
H A Dflopen.h87 if (sb.st_dev != fsb.st_dev || in flopen()
/freebsd/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()
/freebsd/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()
/freebsd/lib/libutil/
H A Dflopen.c94 if (sb.st_dev != fsb.st_dev || in vflopenat()
/freebsd/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()
/freebsd/bin/cp/
H A Dcp.c374 root_stat->st_dev == curr->fts_statp->st_dev && in copy()
439 to_stat.st_dev == curr->fts_statp->st_dev && in copy()
/freebsd/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()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32.h169 __uint32_t st_dev; /* inode's device */ member
213 dev_t st_dev; member
246 uint32_t st_dev; member
268 __uint16_t st_dev; member
/freebsd/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()
/freebsd/sys/i386/linux/
H A Dlinux.h156 l_ulong st_dev; member
175 l_ushort st_dev; member
193 l_ulonglong st_dev; member
/freebsd/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()
/freebsd/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)
/freebsd/sys/amd64/linux32/
H A Dlinux.h184 l_ulong st_dev; member
203 l_ushort st_dev; member
221 l_ulonglong st_dev; member
/freebsd/contrib/diff/src/
H A Dsystem.h288 ((((s)->st_ino == (t)->st_ino) && ((s)->st_dev == (t)->st_dev)) \

123456