/freebsd-current/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 88 ffs_alloc(struct inode *ip, daddr_t lbn __unused, daddr_t bpref, int size, argument 102 if (bpref >= fs->fs_size) 103 bpref = 0; 104 if (bpref == 0) 107 cg = dtog(fs, bpref); 108 bno = ffs_hashalloc(ip, cg, bpref, size, ffs_alloccg); 289 ffs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) argument 312 bno = ffs_alloccgblk(ip, bp, bpref); 334 bno = ffs_alloccgblk(ip, bp, bpref); 335 bpref 374 ffs_alloccgblk(struct inode *ip, struct m_buf *bp, daddr_t bpref) argument 527 ffs_mapsearch(struct fs *fs, struct cg *cgp, daddr_t bpref, int allocsiz) argument [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_alloc.c | 100 ext2_alloc(struct inode *ip, daddr_t lbn, e4fs_daddr_t bpref, int size, argument 126 if (bpref >= fs->e2fs_bcount) 127 bpref = 0; 128 if (bpref == 0) 131 cg = dtog(fs, bpref); 132 bno = (daddr_t)ext2_hashalloc(ip, cg, bpref, fs->e2fs_bsize, 1000 ext2_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) argument 1046 if (dtog(fs, bpref) != cg) 1047 bpref = 0; 1048 if (bpref ! 1150 ext2_clusteralloc(struct inode *ip, int cg, daddr_t bpref, int len) argument 1519 ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) argument [all...] |
H A D | ext2_extents.c | 1402 e4fs_daddr_t bpref, newblk = 0; local 1412 if ((bpref = ext4_ext_in_cache(ip, iblk, &newex))) { 1413 if (bpref == EXT4_EXT_CACHE_IN) { 1459 bpref = ext4_ext_blkpref(ip, path, iblk); 1461 newblk = ext4_new_blocks(ip, iblk, bpref, cred, &allocated, &error);
|
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 103 ufs2_daddr_t bpref, int size, int rsize); 152 ufs2_daddr_t bpref, 195 if (bpref >= fs->fs_size) 196 bpref = 0; 197 if (bpref == 0) 200 cg = dtog(fs, bpref); 201 bno = ffs_hashalloc(ip, cg, bpref, size, size, ffs_alloccg); 254 ufs2_daddr_t bpref, 355 if (bpref >= fs->fs_size) 356 bpref 150 ffs_alloc(struct inode *ip, ufs2_daddr_t lbn, ufs2_daddr_t bpref, int size, int flags, struct ucred *cred, ufs2_daddr_t *bnp) argument 251 ffs_realloccg(struct inode *ip, ufs2_daddr_t lbprev, ufs2_daddr_t bprev, ufs2_daddr_t bpref, int osize, int nsize, int flags, struct ucred *cred, struct buf **bpp) argument 1774 ffs_alloccg(struct inode *ip, uint64_t cg, ufs2_daddr_t bpref, int size, int rsize) argument 1872 ffs_alloccgblk(struct inode *ip, struct buf *bp, ufs2_daddr_t bpref, int size) argument 1954 ffs_clusteralloc(struct inode *ip, uint64_t cg, ufs2_daddr_t bpref, int len) argument 2939 ffs_mapsearch(struct fs *fs, struct cg *cgp, ufs2_daddr_t bpref, int allocsiz) argument [all...] |