Searched refs:fragment (Results 1 – 11 of 11) sorted by relevance
/fs/ufs/ |
D | balloc.c | 37 void ufs_free_fragments(struct inode *inode, u64 fragment, unsigned count) in ufs_free_fragments() argument 50 (unsigned long long)fragment, count); in ufs_free_fragments() 52 if (ufs_fragnum(fragment) + count > uspi->s_fpg) in ufs_free_fragments() 57 cgno = ufs_dtog(uspi, fragment); in ufs_free_fragments() 58 bit = ufs_dtogd(uspi, fragment); in ufs_free_fragments() 133 void ufs_free_blocks(struct inode *inode, u64 fragment, unsigned count) in ufs_free_blocks() argument 146 (unsigned long long)fragment, count); in ufs_free_blocks() 148 if ((fragment & uspi->s_fpbmask) || (count & uspi->s_fpbmask)) { in ufs_free_blocks() 151 (unsigned long long)fragment, count); in ufs_free_blocks() 159 cgno = ufs_dtog(uspi, fragment); in ufs_free_blocks() [all …]
|
D | util.c | 19 struct super_block *sb, u64 fragment, u64 size) in _ubh_bread_() argument 32 ubh->fragment = fragment; in _ubh_bread_() 35 if (!(ubh->bh[i] = sb_bread(sb, fragment + i))) in _ubh_bread_() 48 struct super_block *sb, u64 fragment, u64 size) in ubh_bread_uspi() argument 57 USPI_UBH(uspi)->fragment = fragment; in ubh_bread_uspi() 60 if (!(USPI_UBH(uspi)->bh[i] = sb_bread(sb, fragment + i))) in ubh_bread_uspi()
|
D | inode.c | 394 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result,… in ufs_getfrag_block() argument 400 int depth = ufs_block_to_path(inode, fragment >> uspi->s_fpbshift, offsets); in ufs_getfrag_block() 402 unsigned frag = fragment & uspi->s_fpbmask; in ufs_getfrag_block() 415 UFSD("ENTER, ino %lu, fragment %llu\n", inode->i_ino, (unsigned long long)fragment); in ufs_getfrag_block() 425 if (tailfrags && fragment >= lastfrag) { in ufs_getfrag_block() 426 if (!ufs_extend_tail(inode, fragment, in ufs_getfrag_block() 433 phys64 = ufs_inode_getfrag(inode, offsets[0], fragment, in ufs_getfrag_block() 437 phys64 = ufs_inode_getfrag(inode, offsets[0], fragment, in ufs_getfrag_block() 441 fragment, &err, NULL, NULL); in ufs_getfrag_block() 443 fragment, &err, &new, bh_result->b_page); in ufs_getfrag_block()
|
D | cylinder.c | 42 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()
|
D | util.h | 265 #define ubh_bread(sb,fragment,size) _ubh_bread_(uspi,sb,fragment,size) argument
|
D | ufs_fs.h | 702 __u64 fragment; /* first fragment */ member
|
/fs/squashfs/ |
D | fragment.c | 48 int squashfs_frag_lookup(struct super_block *sb, unsigned int fragment, in squashfs_frag_lookup() argument 52 int block = SQUASHFS_FRAGMENT_INDEX(fragment); in squashfs_frag_lookup() 53 int offset = SQUASHFS_FRAGMENT_INDEX_OFFSET(fragment); in squashfs_frag_lookup()
|
D | Makefile | 6 squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o
|
D | squashfs_fs.h | 347 __le32 fragment; member 364 __le32 fragment; member
|
D | inode.c | 153 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 196 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
|
D | Kconfig | 181 Note there must be at least one cached fragment. Anything
|