Home
last modified time | relevance | path

Searched refs:rdirp (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/backup/restore/
H A Ddirs.c607 rst_readdir(RST_DIR *rdirp) in rst_readdir() argument
612 if (rdirp->dd_loc == 0) { in rst_readdir()
613 rdirp->dd_size = read(rdirp->dd_fd, rdirp->dd_buf, in rst_readdir()
615 if (rdirp->dd_size <= 0) { in rst_readdir()
621 if (rdirp->dd_loc >= rdirp->dd_size) { in rst_readdir()
622 rdirp->dd_loc = 0; in rst_readdir()
626 dp = (struct direct *)(rdirp->dd_buf + rdirp->dd_loc); in rst_readdir()
628 (long)dp->d_reclen > (DIRBLKSIZ + 1 - rdirp->dd_loc)) { in rst_readdir()
634 rdirp->dd_loc += dp->d_reclen; in rst_readdir()
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c3080 uchar_t *fatp, *rdirp; in write_fat() local
3124 rdirp = build_rootdir(wbpb, ffn, fffd, ffsize, ffsc, &rdirsize); in write_fat()
3134 if (write(fd, rdirp, rdirsize) != rdirsize) { in write_fat()
3139 free(rdirp); in write_fat()
3158 if (write(fd, rdirp, rdirsize) != rdirsize) { in write_fat()
3163 free(rdirp); in write_fat()