Home
last modified time | relevance | path

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

/fs/ocfs2/
Dquota_local.c270 int chunk, in ocfs2_add_recovery_chunk() argument
278 rc->rc_chunk = chunk; in ocfs2_add_recovery_chunk()
441 int bit, chunk; in ocfs2_recover_local_quota_file() local
452 chunk = rchunk->rc_chunk; in ocfs2_recover_local_quota_file()
455 ol_quota_chunk_block(sb, chunk), in ocfs2_recover_local_quota_file()
465 ol_dqblk_block(sb, chunk, bit), in ocfs2_recover_local_quota_file()
472 ol_dqblk_block_off(sb, chunk, bit)); in ocfs2_recover_local_quota_file()
775 struct ocfs2_quota_chunk *chunk; in ocfs2_local_free_info() local
787 list_for_each_entry(chunk, &oinfo->dqi_chunk, qc_chunk) { in ocfs2_local_free_info()
789 (chunk->qc_headerbh->b_data); in ocfs2_local_free_info()
[all …]
/fs/btrfs/
Dprint-tree.c23 static void print_chunk(struct extent_buffer *eb, struct btrfs_chunk *chunk) in print_chunk() argument
25 int num_stripes = btrfs_chunk_num_stripes(eb, chunk); in print_chunk()
29 (unsigned long long)btrfs_chunk_length(eb, chunk), in print_chunk()
30 (unsigned long long)btrfs_chunk_owner(eb, chunk), in print_chunk()
31 (unsigned long long)btrfs_chunk_type(eb, chunk), in print_chunk()
35 (unsigned long long)btrfs_stripe_devid_nr(eb, chunk, i), in print_chunk()
36 (unsigned long long)btrfs_stripe_offset_nr(eb, chunk, i)); in print_chunk()
Dvolumes.c806 struct btrfs_chunk *chunk; in find_next_chunk() local
831 chunk = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_next_chunk()
834 btrfs_chunk_length(path->nodes[0], chunk); in find_next_chunk()
1516 struct btrfs_chunk *chunk; in btrfs_del_sys_chunk() local
1537 chunk = (struct btrfs_chunk *)(ptr + len); in btrfs_del_sys_chunk()
1538 num_stripes = btrfs_stack_chunk_num_stripes(chunk); in btrfs_del_sys_chunk()
1641 struct btrfs_chunk *chunk; in btrfs_relocate_sys_chunks() local
1672 chunk = btrfs_item_ptr(leaf, path->slots[0], in btrfs_relocate_sys_chunks()
1674 chunk_type = btrfs_chunk_type(leaf, chunk); in btrfs_relocate_sys_chunks()
1712 struct btrfs_chunk *chunk; in btrfs_balance() local
[all …]
/fs/yaffs2/
Dyaffs_checkptrw.c104 int chunk = i * dev->nChunksPerBlock; in yaffs_CheckpointFindNextCheckpointBlock() local
105 int realignedChunk = chunk - dev->chunkOffset; in yaffs_CheckpointFindNextCheckpointBlock()
194 int chunk; in yaffs_CheckpointFlushBuffer() local
220 chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + dev->checkpointCurrentChunk; in yaffs_CheckpointFlushBuffer()
224 chunk, dev->checkpointCurrentBlock, dev->checkpointCurrentChunk, tags.objectId, tags.chunkId)); in yaffs_CheckpointFlushBuffer()
226 realignedChunk = chunk - dev->chunkOffset; in yaffs_CheckpointFlushBuffer()
287 int chunk; in yaffs_CheckpointRead() local
312 chunk = dev->checkpointCurrentBlock * in yaffs_CheckpointRead()
316 realignedChunk = chunk - dev->chunkOffset; in yaffs_CheckpointRead()
Dyaffs_guts.c122 int chunk; in yaffs_AddrToChunk() local
125 chunk = (__u32)(addr >> dev->chunkShift); in yaffs_AddrToChunk()
135 chunk /= dev->chunkDiv; in yaffs_AddrToChunk()
137 chunkBase = ((loff_t)chunk) * dev->nDataBytesPerChunk; in yaffs_AddrToChunk()
141 *chunkOut = chunk; in yaffs_AddrToChunk()
321 static Y_INLINE void yaffs_VerifyChunkBitId(yaffs_Device *dev, int blk, int chunk) in yaffs_VerifyChunkBitId() argument
324 chunk < 0 || chunk >= dev->nChunksPerBlock) { in yaffs_VerifyChunkBitId()
327 blk, chunk)); in yaffs_VerifyChunkBitId()
339 static Y_INLINE void yaffs_ClearChunkBit(yaffs_Device *dev, int blk, int chunk) in yaffs_ClearChunkBit() argument
343 yaffs_VerifyChunkBitId(dev, blk, chunk); in yaffs_ClearChunkBit()
[all …]
DKconfig41 chunk/page state. This byte is zero when the page is discarded.
121 more RAM but are faster since they eliminate chunk group
130 bool "Force chunk erase check"
135 chunk is found. This helps to detect any partially written
/fs/reiserfs/
Dxattr.c468 size_t chunk; in reiserfs_xattr_set() local
472 chunk = PAGE_CACHE_SIZE; in reiserfs_xattr_set()
474 chunk = buffer_size - buffer_pos; in reiserfs_xattr_set()
488 if (chunk + skip > PAGE_CACHE_SIZE) in reiserfs_xattr_set()
489 chunk = PAGE_CACHE_SIZE - skip; in reiserfs_xattr_set()
496 page_offset + chunk + skip); in reiserfs_xattr_set()
499 memcpy(data + skip, buffer + buffer_pos, chunk); in reiserfs_xattr_set()
501 page_offset + chunk + in reiserfs_xattr_set()
506 buffer_pos += chunk; in reiserfs_xattr_set()
507 file_pos += chunk; in reiserfs_xattr_set()
[all …]
Djournal.c721 static void write_chunk(struct buffer_chunk *chunk) in write_chunk() argument
725 for (i = 0; i < chunk->nr; i++) { in write_chunk()
726 submit_logged_buffer(chunk->bh[i]); in write_chunk()
728 chunk->nr = 0; in write_chunk()
732 static void write_ordered_chunk(struct buffer_chunk *chunk) in write_ordered_chunk() argument
736 for (i = 0; i < chunk->nr; i++) { in write_ordered_chunk()
737 submit_ordered_buffer(chunk->bh[i]); in write_ordered_chunk()
739 chunk->nr = 0; in write_ordered_chunk()
743 static int add_to_chunk(struct buffer_chunk *chunk, struct buffer_head *bh, in add_to_chunk() argument
747 BUG_ON(chunk->nr >= CHUNK_SIZE); in add_to_chunk()
[all …]
/fs/ext4/
Dinode.c4721 int chunk) in ext4_indirect_trans_blocks() argument
4726 if (chunk) { in ext4_indirect_trans_blocks()
4745 static int ext4_index_trans_blocks(struct inode *inode, int nrblocks, int chunk) in ext4_index_trans_blocks() argument
4748 return ext4_indirect_trans_blocks(inode, nrblocks, chunk); in ext4_index_trans_blocks()
4749 return ext4_ext_index_trans_blocks(inode, nrblocks, chunk); in ext4_index_trans_blocks()
4763 int ext4_meta_trans_blocks(struct inode *inode, int nrblocks, int chunk) in ext4_meta_trans_blocks() argument
4777 idxblocks = ext4_index_trans_blocks(inode, nrblocks, chunk); in ext4_meta_trans_blocks()
4786 if (chunk) in ext4_meta_trans_blocks()
Dmballoc.c644 unsigned short chunk; in ext4_mb_mark_free_simple() local
660 chunk = 1 << min; in ext4_mb_mark_free_simple()
668 len -= chunk; in ext4_mb_mark_free_simple()
669 first += chunk; in ext4_mb_mark_free_simple()
Dext4.h1341 int chunk);
Dextents.c1903 int ext4_ext_index_trans_blocks(struct inode *inode, int nrblocks, int chunk) in ext4_ext_index_trans_blocks() argument
1908 if (chunk) in ext4_ext_index_trans_blocks()
/fs/cramfs/
DREADME58 applied to the i'th blksize-sized chunk of the input data.