Searched refs:ufs_rw32 (Results 1 - 6 of 6) sorted by relevance
/freebsd-13-stable/usr.sbin/makefs/ffs/ |
H A D | ufs_bswap.h | 61 ufs_rw32(u_int32_t a, int ns) function 72 #define ufs_rw32(a, ns) ((uint32_t)(a)) macro 79 (a) = ufs_rw32(ufs_rw32((a), (ns)) + (b), (ns))
|
H A D | ffs_alloc.c | 175 ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + 1); 189 return ufs_rw32(bap[indx - 1], UFS_FSNEEDSWAP(fs)) + fs->fs_frag; 391 if (bpref == 0 || (uint32_t)dtog(fs, bpref) != ufs_rw32(cgp->cg_cgx, needswap)) { 392 bpref = ufs_rw32(cgp->cg_rotor, needswap); 408 cgp->cg_rotor = ufs_rw32(bno, needswap); 415 fs->fs_cs(fs, ufs_rw32(cgp->cg_cgx, needswap)).cs_nbfree--; 417 blkno = ufs_rw32(cgp->cg_cgx, needswap) * fs->fs_fpg + bno; 549 start = ufs_rw32(cgp->cg_frotor, needswap) / NBBY; 568 ufs_rw32(cgp->cg_freeoff, needswap), 574 cgp->cg_frotor = ufs_rw32(bn [all...] |
H A D | ffs_subr.c | 67 fraglist[siz] = ufs_rw32( 68 ufs_rw32(fraglist[siz], needswap) + cnt,
|
H A D | ffs_balloc.c | 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);
|
/freebsd-13-stable/usr.sbin/makefs/ |
H A D | makefs.h | 291 (ufs_rw32((cgp)->cg_magic, (ns)) == CG_MAGIC) 293 ((u_int8_t *)((u_int8_t *)(cgp) + ufs_rw32((cgp)->cg_iusedoff, (ns)))) 295 ((u_int8_t *)((u_int8_t *)(cgp) + ufs_rw32((cgp)->cg_freeoff, (ns)))) 297 ((u_int8_t *)((u_int8_t *)(cgp) + ufs_rw32((cgp)->cg_clusteroff, (ns)))) 299 ((int32_t *)((uintptr_t)(cgp) + ufs_rw32((cgp)->cg_clustersumoff, ns)))
|
H A D | ffs.c | 703 ufs_rw32(cur->inode->st.st_rdev, fsopts->needswap); 1026 ufs_rw32(de->d_ino, needswap), 1046 de.d_ino = ufs_rw32(node->inode->ino, needswap); 1063 ufs_rw32(de.d_ino, needswap), de.d_type, reclen, 1146 initediblk = ufs_rw32(cgp->cg_initediblk, fsopts->needswap); 1148 initediblk < ufs_rw32(cgp->cg_niblk, fsopts->needswap)) { 1159 cgp->cg_initediblk = ufs_rw32(initediblk, fsopts->needswap);
|
Completed in 118 milliseconds