Home
last modified time | relevance | path

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

1234567

/freebsd-14.2/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-14.2/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-14.2/bin/pax/
H A Dtables.c154 (pt->dev == arcn->sb.st_dev)) in chk_lnk()
194 pt->dev = arcn->sb.st_dev; in chk_lnk()
245 (pt->dev == arcn->sb.st_dev)) in purg_lnk()
684 if (chk_dev(arcn->sb.st_dev, 1) == NULL) in add_dev()
777 if ((arcn->sb.st_dev & (dev_t)dev_mask) != arcn->sb.st_dev) in map_dev()
788 if ((pt = chk_dev(arcn->sb.st_dev, 0)) != NULL) { in map_dev()
801 arcn->sb.st_dev = dpt->dev; in map_dev()
816 if ((pt = chk_dev(arcn->sb.st_dev, 1)) == NULL) in map_dev()
832 dpt->dev = arcn->sb.st_dev; in map_dev()
867 arcn->sb.st_dev = lastdev; in map_dev()
H A Dcpio.c290 arcn->sb.st_dev = (dev_t)asc_ul(hd->c_dev, sizeof(hd->c_dev), OCT); in cpio_rd()
424 ul_asc((u_long)arcn->sb.st_dev, hd->c_dev, sizeof(hd->c_dev), in cpio_wr()
580 arcn->sb.st_dev = TODEV(devmajor, devminor); in vcpio_rd()
751 ul_asc((u_long)MAJOR(arcn->sb.st_dev),hd->c_maj, sizeof(hd->c_maj), in vcpio_wr()
753 ul_asc((u_long)MINOR(arcn->sb.st_dev),hd->c_min, sizeof(hd->c_min), in vcpio_wr()
862 arcn->sb.st_dev = (dev_t)(RSHRT_EXT(hd->h_dev)); in bcpio_rd()
877 arcn->sb.st_dev = (dev_t)(SHRT_EXT(hd->h_dev)); in bcpio_rd()
1031 hd->h_dev[0] = CHR_WR_2(arcn->sb.st_dev); in bcpio_wr()
1032 hd->h_dev[1] = CHR_WR_3(arcn->sb.st_dev); in bcpio_wr()
1033 if (arcn->sb.st_dev != (dev_t)(SHRT_EXT(hd->h_dev))) in bcpio_wr()
H A Dfile_subs.c246 if ((arcn->sb.st_dev == sb.st_dev) && (arcn->sb.st_ino == sb.st_ino)) { in chk_same()
284 if ((to_sb->st_dev==sb.st_dev)&&(to_sb->st_ino == sb.st_ino)) { in mk_link()
/freebsd-14.2/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-14.2/lib/libc/gen/
H A Dgetcwd.c111 root_dev = s.st_dev; in getcwd()
123 dev = s.st_dev; in getcwd()
157 if (s.st_dev == dev) { in getcwd()
179 if (s.st_dev == dev && s.st_ino == ino) in getcwd()
H A Dftok.c42 return ((key_t)((unsigned int)id << 24 | (st.st_dev & 0xff) << 16 | in ftok()
/freebsd-14.2/sys/contrib/openzfs/lib/libspl/os/linux/
H A Dgetmntany.c98 mp->mnt_major = major(st.st_dev); in getextmntent_impl()
99 mp->mnt_minor = minor(st.st_dev); in getextmntent_impl()
142 statbuf->st_dev) { in getextmntent()
/freebsd-14.2/sbin/kldload/
H A Dkldload.c69 dev = sb.st_dev; in path_check()
97 if (sb.st_dev != dev || sb.st_ino != ino) { in path_check()
102 } else if (sb.st_dev == dev && sb.st_ino == ino) in path_check()
/freebsd-14.2/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-14.2/bin/pwd/
H A Dpwd.c117 if (lg.st_dev == phy.st_dev && lg.st_ino == phy.st_ino) in getcwd_logical()
/freebsd-14.2/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-14.2/sys/sys/
H A Dstat.h105 __uint16_t st_dev; /* inode's device */ member
125 __uint32_t st_dev; /* inode's device */ member
160 dev_t st_dev; /* inode's device */ member
195 __uint32_t st_dev; /* inode's device */ member
/freebsd-14.2/contrib/openbsm/compat/
H A Dflopen.h87 if (sb.st_dev != fsb.st_dev || in flopen()
/freebsd-14.2/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-14.2/lib/libutil/
H A Dflopen.c94 if (sb.st_dev != fsb.st_dev || in vflopenat()
/freebsd-14.2/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-14.2/bin/cp/
H A Dcp.c403 root_stat->st_dev == curr->fts_statp->st_dev && in copy()
471 if (to_stat.st_dev == curr->fts_statp->st_dev && in copy()
/freebsd-14.2/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-14.2/lib/libc/sys/
H A Dcompat-ino64.h46 sb->st_dev = sb11->st_dev; in __stat11_to_stat()
/freebsd-14.2/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-14.2/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-14.2/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-14.2/bin/chmod/
H A Dchmod.c245 if (previous_dev != ent->fts_statp->st_dev) { in may_have_nfs4acl()
246 previous_dev = ent->fts_statp->st_dev; in may_have_nfs4acl()

1234567