/openbsd/bin/pax/ |
H A D | tables.c | 280 (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 D | file_subs.c | 255 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 D | cpio.c | 287 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 D | ftree.c | 408 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 D | fdmatch.c | 59 (sbuf1.st_dev == sbuf2.st_dev) && in fdmatch()
|
H A D | getpwd.c | 84 && dotstat.st_dev == pwdstat.st_dev)) in getpwd()
|
/openbsd/libexec/rpc.rquotad/ |
H A D | rquotad.c | 46 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 D | stat.pm | 17 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 D | pwd.c | 110 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 D | ex_init.c | 213 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 D | rm.c | 319 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 D | ln.c | 167 if (tsb.st_dev == sb.st_dev && tsb.st_ino == sb.st_ino) { in linkit()
|
/openbsd/bin/csh/ |
H A D | dir.c | 94 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 D | walk.c | 347 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 D | mkstemp_test.c | 57 if (sb.st_dev != fsb.st_dev || sb.st_ino != fsb.st_ino) in check()
|
/openbsd/gnu/usr.bin/cvs/diff/ |
H A D | system.h | 252 #define same_file(s,t) ((s)->st_ino==(t)->st_ino && (s)->st_dev==(t)->st_dev)
|
/openbsd/lib/libc/gen/ |
H A D | ftok.c | 42 ((u_id & 0xff) << 24 | (st.st_dev & 0xff) << 16 | (st.st_ino & 0xffff)); in ftok()
|
/openbsd/usr.bin/du/ |
H A D | du.c | 253 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 D | stat.h | 10 dev_t st_dev; member
|
/openbsd/gnu/usr.bin/texinfo/info/ |
H A D | dir.c | 62 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 D | Cwd.xs | 331 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 D | filesys.c | 176 if (filest->st_dev == mi->mi_dev) in findmnt() 257 newmi->mi_dev = mntstat.st_dev; in makemntinfo()
|
/openbsd/usr.bin/lndir/ |
H A D | lndir.c | 194 if (fs->st_dev == ts->st_dev && fs->st_ino == ts->st_ino) { in dodir()
|
/openbsd/gnu/usr.sbin/mkhybrid/src/ |
H A D | tree.c | 1083 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 D | stat.h | 14 dev_t st_dev; /* major/minor device number */ member
|