Searched refs:needswap (Results 1 - 7 of 7) sorted by relevance
/freebsd-12-stable/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 301 const int needswap = UFS_FSNEEDSWAP(fs); local 312 if (!cg_chkmagic_swap(cgp, needswap) || 343 setbit(cg_blksfree_swap(cgp, needswap), bpref + i); 345 ufs_add32(cgp->cg_cs.cs_nffree, i, needswap); 349 ufs_add32(cgp->cg_frsum[i], 1, needswap); 355 clrbit(cg_blksfree_swap(cgp, needswap), bno + i); 356 ufs_add32(cgp->cg_cs.cs_nffree, -frags, needswap); 360 ufs_add32(cgp->cg_frsum[allocsiz], -1, needswap); 362 ufs_add32(cgp->cg_frsum[allocsiz - frags], 1, needswap); 386 const int needswap local 436 const int needswap = UFS_FSNEEDSWAP(fs); local 540 const int needswap = UFS_FSNEEDSWAP(fs); local 607 const int needswap = UFS_FSNEEDSWAP(fs); local [all...] |
H A D | ffs_balloc.c | 93 const int needswap = UFS_FSNEEDSWAP(fs); local 126 nb = ufs_rw32(ip->i_ffs1_db[lbn], needswap); 200 ip->i_ffs1_db[lbn] = ufs_rw32((int32_t)newb, needswap); 222 nb = ufs_rw32(ip->i_ffs1_ib[indirs[0].in_off], needswap); 242 *allocib = ufs_rw32((int32_t)nb, needswap); 257 nb = ufs_rw32(bap[indirs[i].in_off], needswap); 286 bap[indirs[i - 1].in_off] = ufs_rw32(nb, needswap); 310 bap[indirs[num].in_off] = ufs_rw32(nb, needswap); 344 const int needswap = UFS_FSNEEDSWAP(fs); local 377 nb = ufs_rw64(ip->i_ffs2_db[lbn], needswap); [all...] |
H A D | ffs_subr.c | 52 ffs_fragacct_swap(struct fs *fs, int fragmap, int32_t fraglist[], int cnt, int needswap) argument 68 ufs_rw32(fraglist[siz], needswap) + cnt, 69 needswap);
|
H A D | mkfs.c | 505 if (fsopts->needswap) 531 if (fsopts->needswap) 553 if (fsopts->needswap) 571 if (fsopts->needswap) 735 if (fsopts->needswap)
|
/freebsd-12-stable/usr.sbin/makefs/ |
H A D | makefs.h | 160 int needswap; /* non-zero if byte swapping needed */ member in struct:makefs_fsinfo 281 #define DIRSIZ_SWAP(oldfmt, dp, needswap) \ 282 (((oldfmt) && !(needswap)) ? \ 285 #define DIRSIZ_SWAP(oldfmt, dp, needswap) \ 286 (((oldfmt) && (needswap)) ? \
|
H A D | ffs.c | 462 printf("\tneedswap %d, sectorsize %d\n", f->needswap, f->sectorsize); 697 ufs_rw32(cur->inode->st.st_rdev, fsopts->needswap); 749 ufs_rw64(cur->inode->st.st_rdev, fsopts->needswap); 794 ffs_make_dirbuf(&dirbuf, cur->name, cur, fsopts->needswap); 798 fsopts->needswap); 811 ffs_dump_dirbuf(&dirbuf, dir, fsopts->needswap); 997 ffs_dump_dirbuf(dirbuf_t *dbuf, const char *dir, int needswap) argument 1010 reclen = ufs_rw16(de->d_reclen, needswap); 1013 ufs_rw32(de->d_ino, needswap), 1022 ffs_make_dirbuf(dirbuf_t *dbuf, const char *name, fsnode *node, int needswap) argument [all...] |
H A D | makefs.c | 138 fsoptions.needswap = 1; 144 fsoptions.needswap = 1;
|
Completed in 112 milliseconds