Home
last modified time | relevance | path

Searched refs:blkoff (Results 1 – 16 of 16) sorted by relevance

/fs/nilfs2/
Dmdt.c123 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, in nilfs_mdt_submit_block() argument
130 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_mdt_submit_block()
151 ret = nilfs_bmap_lookup(NILFS_I(inode)->i_bmap, blkoff, &blknum); in nilfs_mdt_submit_block()
163 trace_nilfs2_mdt_submit_block(inode, inode->i_ino, blkoff, mode); in nilfs_mdt_submit_block()
180 unsigned long blkoff; in nilfs_mdt_read_block() local
192 blkoff = block + 1; in nilfs_mdt_read_block()
193 for (i = 0; i < nr_ra_blocks; i++, blkoff++) { in nilfs_mdt_read_block()
194 err = nilfs_mdt_submit_block(inode, blkoff, REQ_OP_READ, in nilfs_mdt_read_block()
250 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() argument
259 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block()
[all …]
Dinode.c79 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
89 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
105 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
118 (unsigned long long)blkoff); in nilfs_get_block()
733 unsigned long blkoff; in nilfs_truncate() local
745 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
750 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1011 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1025 blkoff = start >> blkbits; in nilfs_fiemap()
1028 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap()
[all …]
Dalloc.c205 static int nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_get_block() argument
217 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_get_block()
225 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block()
235 prev->blkoff = blkoff; in nilfs_palloc_get_block()
248 static int nilfs_palloc_delete_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_delete_block() argument
253 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_delete_block()
258 return nilfs_mdt_delete_block(inode, blkoff); in nilfs_palloc_delete_block()
Dsufile.c172 unsigned long blkoff, prev_blkoff; in nilfs_sufile_updatev() local
199 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev()
200 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev()
209 prev_blkoff = blkoff; in nilfs_sufile_updatev()
210 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev()
211 if (blkoff == prev_blkoff) in nilfs_sufile_updatev()
216 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev()
907 unsigned long blkoff, prev_blkoff; in nilfs_sufile_set_suinfo() local
932 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo()
933 ret = nilfs_mdt_get_block(sufile, blkoff, 1, NULL, &bh); in nilfs_sufile_set_suinfo()
[all …]
Dpage.c58 unsigned long blkoff, in nilfs_grab_buffer() argument
62 pgoff_t index = blkoff >> (PAGE_SHIFT - blkbits); in nilfs_grab_buffer()
70 bh = __nilfs_get_page_block(page, blkoff, index, blkbits, b_state); in nilfs_grab_buffer()
505 sector_t *blkoff) in nilfs_find_uncommitted_extent() argument
547 *blkoff = b; in nilfs_find_uncommitted_extent()
Dgcinode.c67 int nilfs_gccache_submit_read_data(struct inode *inode, sector_t blkoff, in nilfs_gccache_submit_read_data() argument
74 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_gccache_submit_read_data()
Dcpfile.c54 unsigned long blkoff) in nilfs_cpfile_first_checkpoint_in_block() argument
56 return (__u64)nilfs_cpfile_checkpoints_per_block(cpfile) * blkoff in nilfs_cpfile_first_checkpoint_in_block()
175 unsigned long start, end, blkoff; in nilfs_cpfile_find_checkpoint_block() local
184 ret = nilfs_mdt_find_block(cpfile, start, end, &blkoff, bhp); in nilfs_cpfile_find_checkpoint_block()
186 *cnop = (blkoff == start) ? start_cno : in nilfs_cpfile_find_checkpoint_block()
187 nilfs_cpfile_first_checkpoint_in_block(cpfile, blkoff); in nilfs_cpfile_find_checkpoint_block()
Dpage.h60 sector_t *blkoff);
Drecovery.c52 unsigned long blkoff; /* File offset of the data block (per block) */ member
366 rb->blkoff = le64_to_cpu(binfo->bi_blkoff); in nilfs_scan_dsync_log()
521 pos = rb->blkoff << inode->i_blkbits; in nilfs_recover_dsync_blocks()
558 (unsigned long long)rb->blkoff); in nilfs_recover_dsync_blocks()
Dalloc.h83 unsigned long blkoff; member
Dmdt.h83 unsigned long end, unsigned long *blkoff,
Dsegment.c661 __le64 *blkoff = nilfs_segctor_map_segsum_entry(sci, ssp, in nilfs_write_dat_data_binfo() local
662 sizeof(*blkoff)); in nilfs_write_dat_data_binfo()
663 *blkoff = binfo->bi_dat.bi_blkoff; in nilfs_write_dat_data_binfo()
/fs/afs/
Ddir.c235 unsigned blkoff) in afs_dir_iterate_block() argument
242 _enter("%u,%x,%p,,",(unsigned)ctx->pos,blkoff,block); in afs_dir_iterate_block()
244 curr = (ctx->pos - blkoff) / sizeof(union afs_dirent); in afs_dir_iterate_block()
257 blkoff / sizeof(union afs_dir_block), offset); in afs_dir_iterate_block()
259 ctx->pos = blkoff + in afs_dir_iterate_block()
271 blkoff / sizeof(union afs_dir_block), offset, in afs_dir_iterate_block()
281 blkoff / sizeof(union afs_dir_block), in afs_dir_iterate_block()
289 blkoff / sizeof(union afs_dir_block), in afs_dir_iterate_block()
295 blkoff / sizeof(union afs_dir_block), in afs_dir_iterate_block()
313 ctx->pos = blkoff + next * sizeof(union afs_dirent); in afs_dir_iterate_block()
[all …]
/fs/f2fs/
Drecovery.c400 unsigned short blkoff = GET_BLKOFF_FROM_SEG0(sbi, blkaddr); in check_index_in_prev_nodes() local
412 if (!f2fs_test_bit(blkoff, sentry->cur_valid_map)) in check_index_in_prev_nodes()
419 sum = curseg->sum_blk->entries[blkoff]; in check_index_in_prev_nodes()
428 sum = sum_node->entries[blkoff]; in check_index_in_prev_nodes()
Dsegment.c3559 unsigned short blkoff; in write_compacted_summaries() local
3562 blkoff = sbi->blocks_per_seg; in write_compacted_summaries()
3564 blkoff = curseg_blkoff(sbi, i); in write_compacted_summaries()
3566 for (j = 0; j < blkoff; j++) { in write_compacted_summaries()
/fs/ocfs2/
Dsuballoc.c1500 u64 blkoff; in ocfs2_cluster_group_search() local
1534 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search()
1539 (unsigned long long)blkoff, in ocfs2_cluster_group_search()
1541 if (blkoff > max_block) in ocfs2_cluster_group_search()
1570 u64 blkoff; in ocfs2_block_group_search() local
1582 blkoff = le64_to_cpu(bg->bg_blkno) + in ocfs2_block_group_search()
1585 (unsigned long long)blkoff, in ocfs2_block_group_search()
1587 if (blkoff > max_block) in ocfs2_block_group_search()