Home
last modified time | relevance | path

Searched refs:fragment (Results 1 – 13 of 13) sorted by relevance

/fs/ufs/
Dballoc.c38 void ufs_free_fragments(struct inode *inode, u64 fragment, unsigned count) in ufs_free_fragments() argument
53 (unsigned long long)fragment, count); in ufs_free_fragments()
55 if (ufs_fragnum(fragment) + count > uspi->s_fpg) in ufs_free_fragments()
60 cgno = ufs_dtog(uspi, fragment); in ufs_free_fragments()
61 bit = ufs_dtogd(uspi, fragment); in ufs_free_fragments()
140 void ufs_free_blocks(struct inode *inode, u64 fragment, unsigned count) in ufs_free_blocks() argument
155 (unsigned long long)fragment, count); in ufs_free_blocks()
157 if ((fragment & uspi->s_fpbmask) || (count & uspi->s_fpbmask)) { in ufs_free_blocks()
160 (unsigned long long)fragment, count); in ufs_free_blocks()
168 cgno = ufs_dtog(uspi, fragment); in ufs_free_blocks()
[all …]
Dinode.c174 ufs_inode_getfrag(struct inode *inode, u64 fragment, in ufs_inode_getfrag() argument
187 "metadata %d\n", inode->i_ino, (unsigned long long)fragment, in ufs_inode_getfrag()
195 block = ufs_fragstoblks (fragment); in ufs_inode_getfrag()
196 blockoff = ufs_fragnum (fragment); in ufs_inode_getfrag()
205 if (tmp && fragment < lastfrag) { in ufs_inode_getfrag()
250 tmp = ufs_new_fragments (inode, p, fragment - blockoff, in ufs_inode_getfrag()
258 tmp = ufs_new_fragments(inode, p, fragment - in ufs_inode_getfrag()
273 tmp = ufs_new_fragments(inode, p, fragment - blockoff, in ufs_inode_getfrag()
332 u64 fragment, sector_t new_fragment, int *err, in ufs_inode_getblock() argument
342 block = ufs_fragstoblks (fragment); in ufs_inode_getblock()
[all …]
Dutil.c19 struct super_block *sb, u64 fragment, u64 size) in _ubh_bread_() argument
33 ubh->fragment = fragment; in _ubh_bread_()
36 if (!(ubh->bh[i] = sb_bread(sb, fragment + i))) in _ubh_bread_()
49 struct super_block *sb, u64 fragment, u64 size) in ubh_bread_uspi() argument
58 USPI_UBH(uspi)->fragment = fragment; in ubh_bread_uspi()
61 if (!(USPI_UBH(uspi)->bh[i] = sb_bread(sb, fragment + i))) in ubh_bread_uspi()
Dcylinder.c42 UCPI_UBH(ucpi)->fragment = ufs_cgcmin(cgno); in ufs_read_cylinder()
49 if (!(UCPI_UBH(ucpi)->bh[i] = sb_bread(sb, UCPI_UBH(ucpi)->fragment + i))) in ufs_read_cylinder()
Dufs.h114 extern int ufs_getfrag_block (struct inode *inode, sector_t fragment, struct buffer_head *bh_result…
Dutil.h267 #define ubh_bread(sb,fragment,size) _ubh_bread_(uspi,sb,fragment,size) argument
Dufs_fs.h689 __u64 fragment; /* first fragment */ member
/fs/squashfs/
Dfragment.c50 int squashfs_frag_lookup(struct super_block *sb, unsigned int fragment, in squashfs_frag_lookup() argument
54 int block = SQUASHFS_FRAGMENT_INDEX(fragment); in squashfs_frag_lookup()
55 int offset = SQUASHFS_FRAGMENT_INDEX_OFFSET(fragment); in squashfs_frag_lookup()
DMakefile6 squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o
Dsquashfs_fs.h295 __le32 fragment; member
312 __le32 fragment; member
Dinode.c146 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
189 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
DKconfig50 Note there must be at least one cached fragment. Anything
/fs/ntfs/
DChangeLog338 the already mapped runlist fragment which causes