Home
last modified time | relevance | path

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

123456

/freebsd-12.1/tests/sys/kern/pipe/
H A Dpipe_ino_test.c55 if (st1.st_dev != st2.st_dev || st1.st_dev == 0 || st2.st_dev == 0) in main()
57 (uintmax_t)st1.st_dev, (uintmax_t)st2.st_dev); in main()
/freebsd-12.1/usr.sbin/lpr/chkprintcap/
H A Dchkprintcap.c215 if (a->stab.st_dev == b->stab.st_dev) in lessp()
217 return a->stab.st_dev < b->stab.st_dev; in lessp()
223 return ((a->stab.st_dev == b->stab.st_dev) in equal()
/freebsd-12.1/bin/pax/
H A Dtables.c156 (pt->dev == arcn->sb.st_dev)) in chk_lnk()
196 pt->dev = arcn->sb.st_dev; in chk_lnk()
247 (pt->dev == arcn->sb.st_dev)) in purg_lnk()
686 if (chk_dev(arcn->sb.st_dev, 1) == NULL) in add_dev()
779 if ((arcn->sb.st_dev & (dev_t)dev_mask) != arcn->sb.st_dev) in map_dev()
790 if ((pt = chk_dev(arcn->sb.st_dev, 0)) != NULL) { in map_dev()
803 arcn->sb.st_dev = dpt->dev; in map_dev()
818 if ((pt = chk_dev(arcn->sb.st_dev, 1)) == NULL) in map_dev()
834 dpt->dev = arcn->sb.st_dev; in map_dev()
869 arcn->sb.st_dev = lastdev; in map_dev()
H A Dcpio.c297 arcn->sb.st_dev = (dev_t)asc_ul(hd->c_dev, sizeof(hd->c_dev), OCT); in cpio_rd()
448 ul_asc((u_long)arcn->sb.st_dev, hd->c_dev, sizeof(hd->c_dev),
613 arcn->sb.st_dev = TODEV(devmajor, devminor);
791 ul_asc((u_long)MAJOR(arcn->sb.st_dev),hd->c_maj, sizeof(hd->c_maj),
793 ul_asc((u_long)MINOR(arcn->sb.st_dev),hd->c_min, sizeof(hd->c_min),
902 arcn->sb.st_dev = (dev_t)(RSHRT_EXT(hd->h_dev));
917 arcn->sb.st_dev = (dev_t)(SHRT_EXT(hd->h_dev));
1073 hd->h_dev[0] = CHR_WR_2(arcn->sb.st_dev);
1074 hd->h_dev[1] = CHR_WR_3(arcn->sb.st_dev);
1075 if (arcn->sb.st_dev != (dev_t)(SHRT_EXT(hd->h_dev)))
H A Dftree.c406 if (!tflag || (get_atdir(ftent->fts_statb.st_dev, in next_file()
409 if (!tflag || (get_atdir(ftent->fts_statp->st_dev, in next_file()
477 add_atdir(ftent->fts_path, arcn->sb.st_dev, in next_file()
H A Dfile_subs.c248 if ((arcn->sb.st_dev == sb.st_dev) && (arcn->sb.st_ino == sb.st_ino)) { in chk_same()
286 if ((to_sb->st_dev==sb.st_dev)&&(to_sb->st_ino == sb.st_ino)) { in mk_link()
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dgetcwd.c102 root_dev = s.st_dev; in getcwd()
114 dev = s.st_dev; in getcwd()
160 if (s.st_dev == dev) { in getcwd()
182 if (s.st_dev == dev && s.st_ino == ino) in getcwd()
/freebsd-12.1/lib/libc/gen/
H A Dgetcwd.c113 root_dev = s.st_dev; in getcwd()
125 dev = s.st_dev; in getcwd()
159 if (s.st_dev == dev) { in getcwd()
181 if (s.st_dev == dev && s.st_ino == ino) in getcwd()
/freebsd-12.1/sbin/kldload/
H A Dkldload.c71 dev = sb.st_dev; in path_check()
99 if (sb.st_dev != dev || sb.st_ino != ino) { in path_check()
104 } else if (sb.st_dev == dev && sb.st_ino == ino) in path_check()
/freebsd-12.1/contrib/gcclibs/libiberty/
H A Dfdmatch.c59 (sbuf1.st_dev == sbuf2.st_dev) && in fdmatch()
H A Dgetpwd.c84 && dotstat.st_dev == pwdstat.st_dev)) in getpwd()
/freebsd-12.1/contrib/binutils/libiberty/
H A Dfdmatch.c59 (sbuf1.st_dev == sbuf2.st_dev) && in fdmatch()
H A Dgetpwd.c84 && dotstat.st_dev == pwdstat.st_dev)) in getpwd()
/freebsd-12.1/contrib/bmake/
H A Dutil.c303 DEV_DEV_COMPARE(st_cur.st_dev, st_root.st_dev)) { in getwd()
323 if (DEV_DEV_COMPARE(st_dotdot.st_dev, st_cur.st_dev)) { in getwd()
347 DEV_DEV_COMPARE(st_next.st_dev, st_cur.st_dev)) in getwd()
/freebsd-12.1/sys/sys/
H A Dstat.h106 __uint16_t st_dev; /* inode's device */ member
126 __uint32_t st_dev; /* inode's device */ member
161 dev_t st_dev; /* inode's device */ member
196 __uint32_t st_dev; /* inode's device */ member
/freebsd-12.1/bin/pwd/
H A Dpwd.c119 if (lg.st_dev == phy.st_dev && lg.st_ino == phy.st_ino) in getcwd_logical()
/freebsd-12.1/contrib/openbsm/compat/
H A Dflopen.h87 if (sb.st_dev != fsb.st_dev || in flopen()
/freebsd-12.1/lib/libsecureboot/
H A Dverify_file.c119 if (stp->st_dev == vsp->vs_dev && in is_verified()
134 vsp->vs_dev = stp->st_dev; in add_verify_status()
353 fd, filename, (long long)off, (long long)st.st_dev, in verify_file()
380 (long long)st.st_dev, (long long)st.st_ino); in verify_file()
/freebsd-12.1/contrib/nvi/ex/
H A Dex_init.c239 (lsb.st_dev != hsb.st_dev || in ex_exrc()
247 if ((lsb.st_dev != hsb.st_dev || in ex_exrc()
/freebsd-12.1/lib/libutil/
H A Dflopen.c96 if (sb.st_dev != fsb.st_dev || in vflopenat()
/freebsd-12.1/lib/libc/tests/stdio/
H A Dmkostemp_test.c112 if (st1.st_dev != st2.st_dev || st1.st_ino != st2.st_ino) { in test_one()
/freebsd-12.1/lib/libc/sys/
H A Dcompat-ino64.h49 sb->st_dev = sb11->st_dev; in __stat11_to_stat()
/freebsd-12.1/contrib/tcsh/
H A Dtc.os.c1234 rdev = d.st_dev; in xgetcwd()
1243 if (d.st_ino == rino && d.st_dev == rdev && d.st_size == rsize) in xgetcwd()
1269 dd.st_dev != d.st_dev || in xgetcwd()
1338 DEV_DEV_COMPARE(st_cur.st_dev, st_root.st_dev)) { in xgetcwd()
1359 if (DEV_DEV_COMPARE(st_dotdot.st_dev, st_cur.st_dev)) { in xgetcwd()
1394 DEV_DEV_COMPARE(st_next.st_dev, st_cur.st_dev)) in xgetcwd()
/freebsd-12.1/contrib/xz/src/xz/
H A Dfile_io.c318 || new_st.st_dev != known_st->st_dev in io_unlink()
856 if (st.st_dev == -1) { in io_open_dest_real()
865 if (st.st_dev == pair->src_st.st_dev in io_open_dest_real()
911 pair->dest_st.st_dev = 0; in io_open_dest_real()
/freebsd-12.1/bin/chmod/
H A Dchmod.c247 if (previous_dev != ent->fts_statp->st_dev) { in may_have_nfs4acl()
248 previous_dev = ent->fts_statp->st_dev; in may_have_nfs4acl()

123456