Home
last modified time | relevance | path

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

1234

/openbsd/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()
739 s->sli_dev = sb.st_dev; in sltab_add_sym()
1151 if (chk_dev(arcn->sb.st_dev, 1) == NULL) in add_dev()
1244 if ((arcn->sb.st_dev & (dev_t)dev_mask) != arcn->sb.st_dev) in map_dev()
1268 arcn->sb.st_dev = dpt->dev; in map_dev()
1299 dpt->dev = arcn->sb.st_dev; in map_dev()
1334 arcn->sb.st_dev = lastdev; in map_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()
H A Dftree.c408 do_atdir(ftent->fts_path, ftent->fts_statp->st_dev, in next_file()
457 add_atdir(ftent->fts_path, arcn->sb.st_dev, in next_file()
/openbsd/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/libexec/rpc.rquotad/
H A Drquotad.c46 dev_t st_dev; /* device of the filesystem */ member
214 fs_current->st_dev = st.st_dev; in initfs()
240 if (fs->st_dev != st_path.st_dev) in getfsquota()
/openbsd/gnu/usr.bin/perl/lib/File/
H A Dstat.pm17 our ( $st_dev, $st_ino, $st_mode,
27 @fields = qw( $st_dev $st_ino $st_mode
203 $st_dev, $st_ino, $st_mode, $st_nlink, $st_uid, $st_gid, $st_rdev,
/openbsd/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/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/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/bin/ln/
H A Dln.c167 if (tsb.st_dev == sb.st_dev && tsb.st_ino == sb.st_ino) { in linkit()
/openbsd/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/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/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/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/lib/libc/gen/
H A Dftok.c42 ((u_id & 0xff) << 24 | (st.st_dev & 0xff) << 16 | (st.st_ino & 0xffff)); in ftok()
/openbsd/usr.bin/du/
H A Ddu.c253 ltmp.dev = st->st_dev; in linkchk()
292 le->dev = st->st_dev; in linkchk()
/openbsd/gnu/usr.bin/binutils/include/mpw/sys/
H A Dstat.h10 dev_t st_dev; member
/openbsd/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/gnu/usr.bin/perl/dist/PathTools/
H A DCwd.xs331 orig_cdev = statbuf.st_dev; in Perl_getcwd_sv()
347 cdev = statbuf.st_dev; in Perl_getcwd_sv()
372 tdev = statbuf.st_dev; in Perl_getcwd_sv()
421 cdev = statbuf.st_dev; in Perl_getcwd_sv()
/openbsd/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/usr.bin/lndir/
H A Dlndir.c194 if (fs->st_dev == ts->st_dev && fs->st_ino == ts->st_ino) { in dodir()
/openbsd/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/gnu/usr.bin/binutils/include/mpw/
H A Dstat.h14 dev_t st_dev; /* major/minor device number */ member

1234