Home
last modified time | relevance | path

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

/Linux-v5.4/fs/nilfs2/
Dmdt.c114 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, in nilfs_mdt_submit_block() argument
121 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_mdt_submit_block()
142 ret = nilfs_bmap_lookup(NILFS_I(inode)->i_bmap, blkoff, &blknum); in nilfs_mdt_submit_block()
154 trace_nilfs2_mdt_submit_block(inode, inode->i_ino, blkoff, mode); in nilfs_mdt_submit_block()
171 unsigned long blkoff; in nilfs_mdt_read_block() local
183 blkoff = block + 1; in nilfs_mdt_read_block()
184 for (i = 0; i < nr_ra_blocks; i++, blkoff++) { in nilfs_mdt_read_block()
185 err = nilfs_mdt_submit_block(inode, blkoff, REQ_OP_READ, in nilfs_mdt_read_block()
241 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() argument
250 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block()
[all …]
Dinode.c70 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
80 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
96 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
109 (unsigned long long)blkoff); in nilfs_get_block()
724 unsigned long blkoff; in nilfs_truncate() local
736 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
741 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1002 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1016 blkoff = start >> blkbits; in nilfs_fiemap()
1019 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap()
[all …]
Dalloc.c196 static int nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_get_block() argument
208 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_get_block()
216 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block()
226 prev->blkoff = blkoff; in nilfs_palloc_get_block()
239 static int nilfs_palloc_delete_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_delete_block() argument
244 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_delete_block()
249 return nilfs_mdt_delete_block(inode, blkoff); in nilfs_palloc_delete_block()
Dsufile.c163 unsigned long blkoff, prev_blkoff; in nilfs_sufile_updatev() local
190 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev()
191 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev()
200 prev_blkoff = blkoff; in nilfs_sufile_updatev()
201 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev()
202 if (blkoff == prev_blkoff) in nilfs_sufile_updatev()
207 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev()
898 unsigned long blkoff, prev_blkoff; in nilfs_sufile_set_suinfo() local
923 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo()
924 ret = nilfs_mdt_get_block(sufile, blkoff, 1, NULL, &bh); in nilfs_sufile_set_suinfo()
[all …]
Dgcinode.c58 int nilfs_gccache_submit_read_data(struct inode *inode, sector_t blkoff, in nilfs_gccache_submit_read_data() argument
65 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_gccache_submit_read_data()
Dpage.c49 unsigned long blkoff, in nilfs_grab_buffer() argument
53 pgoff_t index = blkoff >> (PAGE_SHIFT - blkbits); in nilfs_grab_buffer()
61 bh = __nilfs_get_page_block(page, blkoff, index, blkbits, b_state); in nilfs_grab_buffer()
493 sector_t *blkoff) in nilfs_find_uncommitted_extent() argument
535 *blkoff = b; in nilfs_find_uncommitted_extent()
Dpage.h51 sector_t *blkoff);
Dcpfile.c45 unsigned long blkoff) in nilfs_cpfile_first_checkpoint_in_block() argument
47 return (__u64)nilfs_cpfile_checkpoints_per_block(cpfile) * blkoff in nilfs_cpfile_first_checkpoint_in_block()
166 unsigned long start, end, blkoff; in nilfs_cpfile_find_checkpoint_block() local
175 ret = nilfs_mdt_find_block(cpfile, start, end, &blkoff, bhp); in nilfs_cpfile_find_checkpoint_block()
177 *cnop = (blkoff == start) ? start_cno : in nilfs_cpfile_find_checkpoint_block()
178 nilfs_cpfile_first_checkpoint_in_block(cpfile, blkoff); in nilfs_cpfile_find_checkpoint_block()
Dalloc.h74 unsigned long blkoff; member
Dmdt.h74 unsigned long end, unsigned long *blkoff,
Drecovery.c43 unsigned long blkoff; /* File offset of the data block (per block) */ member
357 rb->blkoff = le64_to_cpu(binfo->bi_blkoff); in nilfs_scan_dsync_log()
512 pos = rb->blkoff << inode->i_blkbits; in nilfs_recover_dsync_blocks()
549 (unsigned long long)rb->blkoff); in nilfs_recover_dsync_blocks()
Dsegment.c652 __le64 *blkoff = nilfs_segctor_map_segsum_entry(sci, ssp, in nilfs_write_dat_data_binfo() local
653 sizeof(*blkoff)); in nilfs_write_dat_data_binfo()
654 *blkoff = binfo->bi_dat.bi_blkoff; in nilfs_write_dat_data_binfo()
/Linux-v5.4/include/trace/events/
Dnilfs2.h194 unsigned long blkoff,
197 TP_ARGS(inode, ino, blkoff, mode),
202 __field(unsigned long, blkoff)
209 __entry->blkoff = blkoff;
216 __entry->blkoff,
/Linux-v5.4/block/partitions/
Dsysv68.c46 __be32 blkoff; /* block offset of slice */ member
86 be32_to_cpu(slice->blkoff), in sysv68_partition()
/Linux-v5.4/fs/afs/
Ddir.c353 unsigned blkoff) in afs_dir_iterate_block() argument
360 _enter("%u,%x,%p,,",(unsigned)ctx->pos,blkoff,block); in afs_dir_iterate_block()
362 curr = (ctx->pos - blkoff) / sizeof(union afs_xdr_dirent); in afs_dir_iterate_block()
365 for (offset = (blkoff == 0 ? AFS_DIR_RESV_BLOCKS0 : AFS_DIR_RESV_BLOCKS); in afs_dir_iterate_block()
375 blkoff / sizeof(union afs_xdr_dir_block), offset); in afs_dir_iterate_block()
377 ctx->pos = blkoff + in afs_dir_iterate_block()
389 blkoff / sizeof(union afs_xdr_dir_block), offset, in afs_dir_iterate_block()
399 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
407 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
413 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
[all …]
/Linux-v5.4/fs/erofs/
Ddata.c160 unsigned int blkoff; in erofs_read_raw_page() local
179 blkoff = erofs_blkoff(map.m_pa); in erofs_read_raw_page()
197 memcpy(vto, vsrc + blkoff, map.m_plen); in erofs_read_raw_page()
/Linux-v5.4/fs/f2fs/
Drecovery.c402 unsigned short blkoff = GET_BLKOFF_FROM_SEG0(sbi, blkaddr); in check_index_in_prev_nodes() local
414 if (!f2fs_test_bit(blkoff, sentry->cur_valid_map)) in check_index_in_prev_nodes()
421 sum = curseg->sum_blk->entries[blkoff]; in check_index_in_prev_nodes()
430 sum = sum_node->entries[blkoff]; in check_index_in_prev_nodes()
Dsegment.c3623 unsigned short blkoff; in write_compacted_summaries() local
3626 blkoff = sbi->blocks_per_seg; in write_compacted_summaries()
3628 blkoff = curseg_blkoff(sbi, i); in write_compacted_summaries()
3630 for (j = 0; j < blkoff; j++) { in write_compacted_summaries()
/Linux-v5.4/fs/ocfs2/
Dsuballoc.c1481 u64 blkoff; in ocfs2_cluster_group_search() local
1515 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search()
1520 (unsigned long long)blkoff, in ocfs2_cluster_group_search()
1522 if (blkoff > max_block) in ocfs2_cluster_group_search()
1551 u64 blkoff; in ocfs2_block_group_search() local
1563 blkoff = le64_to_cpu(bg->bg_blkno) + in ocfs2_block_group_search()
1566 (unsigned long long)blkoff, in ocfs2_block_group_search()
1568 if (blkoff > max_block) in ocfs2_block_group_search()