Home
last modified time | relevance | path

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

1234

/openbsd-src/bin/pax/
H A Dtables.c280 (pt->dev == arcn->sb.st_dev)) in chk_lnk()
322 pt->dev = arcn->sb.st_dev; in chk_lnk()
373 (pt->dev == arcn->sb.st_dev)) in purg_lnk()
708 indx = (sb.st_ino ^ sb.st_dev) % SL_TAB_SZ; in sltab_add_sym()
710 if (s->sli_ino != sb.st_ino || s->sli_dev != sb.st_dev) in sltab_add_sym()
739 s->sli_dev = sb.st_dev; in sltab_add_sym()
770 indx = (sb->st_ino ^ sb->st_dev) % SL_TAB_SZ; in sltab_add_link()
772 if (s->sli_ino != sb->st_ino || s->sli_dev != sb->st_dev) in sltab_add_link()
818 sb.st_ino != s->sli_ino || sb.st_dev != s->sli_dev) in sltab_process_one()
1151 if (chk_dev(arcn->sb.st_dev, 1) == NULL) in add_dev()
[all …]
H A Dfile_subs.c255 if ((arcn->sb.st_dev == sb.st_dev) && (arcn->sb.st_ino == sb.st_ino)) { in chk_same()
292 if ((to_sb->st_dev==sb.st_dev)&&(to_sb->st_ino == sb.st_ino)) { in mk_link()
305 delete_dir(sb.st_dev, sb.st_ino); in mk_link()
520 arcn->sb.st_dev = sb.st_dev; in node_creat()
524 arcn->sb.st_dev = sb.st_dev; in node_creat()
569 delete_dir(sb.st_dev, sb.st_ino); in unlnk_exist()
846 } else if (ft->ft_ino != sb.st_ino || ft->ft_dev != sb.st_dev) { in set_attr()
H A Dcpio.c287 arcn->sb.st_dev = (dev_t)asc_ul(hd->c_dev, sizeof(hd->c_dev), OCT); in cpio_rd()
426 ul_asc(arcn->sb.st_dev, hd->c_dev, sizeof(hd->c_dev), OCT) || in cpio_wr()
575 arcn->sb.st_dev = TODEV(devmajor, devminor); in vcpio_rd()
739 ul_asc(MAJOR(arcn->sb.st_dev),hd->c_maj, sizeof(hd->c_maj), HEX) || in vcpio_wr()
740 ul_asc(MINOR(arcn->sb.st_dev),hd->c_min, sizeof(hd->c_min), HEX) || in vcpio_wr()
845 arcn->sb.st_dev = (dev_t)(RSHRT_EXT(hd->h_dev)); in bcpio_rd()
860 arcn->sb.st_dev = (dev_t)(SHRT_EXT(hd->h_dev)); in bcpio_rd()
1017 hd->h_dev[0] = CHR_WR_2(arcn->sb.st_dev); in bcpio_wr()
1018 hd->h_dev[1] = CHR_WR_3(arcn->sb.st_dev); in bcpio_wr()
1019 if (arcn->sb.st_dev != (dev_t)(SHRT_EXT(hd->h_dev))) in bcpio_wr()
/openbsd-src/libexec/rpc.rquotad/
H A Drquotad.c45 dev_t st_dev; /* device of the filesystem */ member
213 fs_current->st_dev = st.st_dev; in initfs()
239 if (fs->st_dev != st_path.st_dev) in getfsquota()
/openbsd-src/gnu/lib/libiberty/src/
H A Dfdmatch.c59 (sbuf1.st_dev == sbuf2.st_dev) && in fdmatch()
H A Dgetpwd.c84 && dotstat.st_dev == pwdstat.st_dev)) in getpwd()
/openbsd-src/gnu/usr.bin/perl/lib/File/
H A Dstat.pm10 our ( $st_dev, $st_ino, $st_mode,
19 our @fields = qw( $st_dev $st_ino $st_mode
191 $st_dev, $st_ino, $st_mode, $st_nlink, $st_uid, $st_gid, $st_rdev,
286 Thus, C<$stat_obj-E<gt>dev()> corresponds to $st_dev if you import
/openbsd-src/bin/pwd/
H A Dpwd.c110 if (s_pwd.st_dev != s_dot.st_dev || s_pwd.st_ino != s_dot.st_ino) in getcwd_logical()
/openbsd-src/usr.bin/vi/ex/
H A Dex_init.c213 if (lsb.st_dev != hsb.st_dev || in ex_exrc()
224 if (lsb.st_dev != hsb.st_dev || in ex_exrc()
/openbsd-src/bin/rm/
H A Drm.c319 if (sb2.st_dev != sbp->st_dev || sb2.st_ino != sbp->st_ino || in rm_overwrite()
413 root.st_ino == sb.st_ino && root.st_dev == sb.st_dev) { in checkdot()
/openbsd-src/bin/ln/
H A Dln.c167 if (tsb.st_dev == sb.st_dev && tsb.st_ino == sb.st_ino) { in linkit()
/openbsd-src/bin/csh/
H A Ddir.c94 swd.st_dev == shp.st_dev && swd.st_ino == shp.st_ino) in dinit()
103 if (stat(cwd, &shp) != -1 && swd.st_dev == shp.st_dev && in dinit()
853 home_dev = statbuf.st_dev; in dcanon()
863 if (statbuf.st_dev == home_dev && in dcanon()
/openbsd-src/usr.sbin/makefs/
H A Dwalk.c347 tmp = entry->st.st_dev; in link_check()
357 (htable[h].data->st.st_dev == entry->st.st_dev)) { in link_check()
/openbsd-src/regress/lib/libc/mkstemp/
H A Dmkstemp_test.c57 if (sb.st_dev != fsb.st_dev || sb.st_ino != fsb.st_ino) in check()
/openbsd-src/gnu/usr.bin/cvs/diff/
H A Dsystem.h252 #define same_file(s,t) ((s)->st_ino==(t)->st_ino && (s)->st_dev==(t)->st_dev)
/openbsd-src/lib/libc/gen/
H A Dftok.c42 ((u_id & 0xff) << 24 | (st.st_dev & 0xff) << 16 | (st.st_ino & 0xffff)); in ftok()
/openbsd-src/usr.bin/du/
H A Ddu.c253 ltmp.dev = st->st_dev; in linkchk()
292 le->dev = st->st_dev; in linkchk()
/openbsd-src/gnu/usr.bin/binutils/include/mpw/sys/
H A Dstat.h10 dev_t st_dev; member
/openbsd-src/gnu/usr.bin/texinfo/info/
H A Ddir.c62 if (entry.device == test->st_dev && entry.inode == test->st_ino) in new_dir_file_p()
69 dir_file_list[dir_file_list_len - 1].device = test->st_dev; in new_dir_file_p()
/openbsd-src/gnu/usr.bin/perl/dist/PathTools/
H A DCwd.xs330 orig_cdev = statbuf.st_dev; in Perl_getcwd_sv()
346 cdev = statbuf.st_dev; in Perl_getcwd_sv()
371 tdev = statbuf.st_dev; in Perl_getcwd_sv()
420 cdev = statbuf.st_dev; in Perl_getcwd_sv()
/openbsd-src/usr.bin/rdistd/
H A Dfilesys.c176 if (filest->st_dev == mi->mi_dev) in findmnt()
257 newmi->mi_dev = mntstat.st_dev; in makemntinfo()
/openbsd-src/usr.bin/lndir/
H A Dlndir.c194 if (fs->st_dev == ts->st_dev && fs->st_ino == ts->st_ino) { in dodir()
/openbsd-src/gnu/usr.sbin/mkhybrid/src/
H A Dtree.c1083 statbuf.st_dev = (dev_t) UNCACHED_DEVICE;
1116 if(find_directory_hash(statbuf.st_dev, STAT_INODE(statbuf)))
1126 statbuf.st_dev = (dev_t) UNCACHED_DEVICE;
1132 add_directory_hash(statbuf.st_dev, STAT_INODE(statbuf));
1157 add_directory_hash(statbuf.st_dev, STAT_INODE(statbuf));
1182 if(find_directory_hash(statbuf.st_dev, STAT_INODE(statbuf))) {
1188 whole_path, (unsigned long) statbuf.st_dev,
1193 add_directory_hash(statbuf.st_dev, STAT_INODE(statbuf));
1423 s_entry->dev = statbuf.st_dev;
/openbsd-src/gnu/usr.bin/binutils/include/mpw/
H A Dstat.h14 dev_t st_dev; /* major/minor device number */ member
/openbsd-src/usr.bin/patch/
H A Dutil.c101 orig_device = filestat.st_dev; in backup_file()
127 orig_device == filestat.st_dev && orig_inode == filestat.st_ino) { in backup_file()

1234