Searched refs:protodir (Results 1 – 2 of 2) sorted by relevance
/original-bsd/sbin/newlfs/ |
H A D | lfs.c | 639 make_dir(bufp, protodir, entries) in make_dir() argument 641 register struct direct *protodir; 649 protodir[i].d_reclen = DIRSIZ(NEWDIRFMT, &protodir[i]); 650 memmove(cp, &protodir[i], protodir[i].d_reclen); 651 cp += protodir[i].d_reclen; 652 if ((spcleft -= protodir[i].d_reclen) < 0) 655 protodir[i].d_reclen = spcleft; 656 memmove(cp, &protodir[i], DIRSIZ(NEWDIRFMT, &protodir[i]));
|
/original-bsd/sbin/newfs/ |
H A D | mkfs.c | 862 makedir(protodir, entries) in makedir() argument 863 register struct direct *protodir; in makedir() 871 protodir[i].d_reclen = DIRSIZ(0, &protodir[i]); 872 memmove(cp, &protodir[i], protodir[i].d_reclen); 873 cp += protodir[i].d_reclen; 874 spcleft -= protodir[i].d_reclen; 876 protodir[i].d_reclen = spcleft; 877 memmove(cp, &protodir[i], DIRSIZ(0, &protodir[i]));
|