Home
last modified time | relevance | path

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

/linux/fs/nilfs2/
H A Dmdt.c116 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, blk_opf_t opf, in nilfs_mdt_submit_block() argument
123 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_mdt_submit_block()
144 ret = nilfs_bmap_lookup(NILFS_I(inode)->i_bmap, blkoff, &blknum); in nilfs_mdt_submit_block()
156 trace_nilfs2_mdt_submit_block(inode, inode->i_ino, blkoff, in nilfs_mdt_submit_block()
174 unsigned long blkoff; in nilfs_mdt_read_block() local
186 blkoff = block + 1; in nilfs_mdt_read_block()
187 for (i = 0; i < nr_ra_blocks; i++, blkoff++) { in nilfs_mdt_read_block()
188 err = nilfs_mdt_submit_block(inode, blkoff, in nilfs_mdt_read_block()
244 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() argument
253 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block()
[all …]
H A Dinode.c72 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
82 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
98 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
111 (unsigned long long)blkoff); in nilfs_get_block()
791 unsigned long blkoff; in nilfs_truncate() local
803 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
808 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1102 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1116 blkoff = start >> blkbits; in nilfs_fiemap()
1119 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap()
[all …]
H A Dalloc.c198 static int nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_get_block() argument
210 if (prev->bh && blkoff == prev->blkoff && in nilfs_palloc_get_block()
219 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block()
229 prev->blkoff = blkoff; in nilfs_palloc_get_block()
242 static int nilfs_palloc_delete_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_delete_block() argument
247 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_delete_block()
252 return nilfs_mdt_delete_block(inode, blkoff); in nilfs_palloc_delete_block()
H A Dsufile.c177 unsigned long blkoff, prev_blkoff; in nilfs_sufile_updatev() local
204 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev()
205 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev()
214 prev_blkoff = blkoff; in nilfs_sufile_updatev()
215 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev()
216 if (blkoff == prev_blkoff) in nilfs_sufile_updatev()
221 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev()
959 unsigned long blkoff, prev_blkoff; in nilfs_sufile_set_suinfo() local
984 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo()
985 ret = nilfs_mdt_get_block(sufile, blkoff, 1, NULL, &bh); in nilfs_sufile_set_suinfo()
[all …]
H A Dpage.c48 unsigned long blkoff, in nilfs_grab_buffer() argument
52 pgoff_t index = blkoff >> (PAGE_SHIFT - blkbits); in nilfs_grab_buffer()
60 bh = __nilfs_get_folio_block(folio, blkoff, index, blkbits, b_state); in nilfs_grab_buffer()
485 sector_t *blkoff) in nilfs_find_uncommitted_extent() argument
522 *blkoff = b; in nilfs_find_uncommitted_extent()
H A 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()
H A 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()
208 unsigned long start, end, blkoff; in nilfs_cpfile_find_checkpoint_block() local
217 ret = nilfs_mdt_find_block(cpfile, start, end, &blkoff, bhp); in nilfs_cpfile_find_checkpoint_block()
219 *cnop = (blkoff == start) ? start_cno : in nilfs_cpfile_find_checkpoint_block()
220 nilfs_cpfile_first_checkpoint_in_block(cpfile, blkoff); in nilfs_cpfile_find_checkpoint_block()
H A Dpage.h50 sector_t *blkoff);
H A Dalloc.h74 unsigned long blkoff; member
H A Dmdt.h72 unsigned long end, unsigned long *blkoff,
H A 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()
519 pos = rb->blkoff << inode->i_blkbits; in nilfs_recover_dsync_blocks()
556 (unsigned long long)rb->blkoff); in nilfs_recover_dsync_blocks()
H A Dsegment.c666 __le64 *blkoff = nilfs_segctor_map_segsum_entry(sci, ssp, in nilfs_write_dat_data_binfo() local
667 sizeof(*blkoff)); in nilfs_write_dat_data_binfo()
668 *blkoff = binfo->bi_dat.bi_blkoff; in nilfs_write_dat_data_binfo()
/linux/include/trace/events/
H A Dnilfs2.h194 unsigned long blkoff,
197 TP_ARGS(inode, ino, blkoff, mode),
202 __field(unsigned long, blkoff)
213 __entry->blkoff = blkoff;
217 TP_printk("inode = %p ino = %lu blkoff = %lu mode = %x",
220 __entry->blkoff,
/linux/block/partitions/
H A Dsysv68.c45 __be32 blkoff; /* block offset of slice */ member
85 be32_to_cpu(slice->blkoff), in sysv68_partition()
/linux/fs/ceph/
H A Dcrypto.c560 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_decrypt_pages() local
561 int pgidx = blkoff >> PAGE_SHIFT; in ceph_fscrypt_decrypt_pages()
562 unsigned int pgoffs = offset_in_page(blkoff); in ceph_fscrypt_decrypt_pages()
669 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_encrypt_pages() local
670 int pgidx = blkoff >> PAGE_SHIFT; in ceph_fscrypt_encrypt_pages()
671 unsigned int pgoffs = offset_in_page(blkoff); in ceph_fscrypt_encrypt_pages()
/linux/fs/afs/
H A Ddir.c403 unsigned blkoff) in afs_dir_iterate_block() argument
410 _enter("%llx,%x", ctx->pos, blkoff); in afs_dir_iterate_block()
412 curr = (ctx->pos - blkoff) / sizeof(union afs_xdr_dirent); in afs_dir_iterate_block()
415 for (offset = (blkoff == 0 ? AFS_DIR_RESV_BLOCKS0 : AFS_DIR_RESV_BLOCKS); in afs_dir_iterate_block()
423 blkoff / sizeof(union afs_xdr_dir_block), offset); in afs_dir_iterate_block()
426 ctx->pos = blkoff + in afs_dir_iterate_block()
438 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
444 blkoff / sizeof(union afs_xdr_dir_block), offset, in afs_dir_iterate_block()
454 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
465 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
[all …]
/linux/fs/ext4/
H A Dmballoc.c3981 ext4_group_t group, ext4_grpblk_t blkoff, in ext4_mb_mark_context() argument
3992 handle, sb, state, group, blkoff, len, in ext4_mb_mark_context()
4033 if (mb_test_bit(blkoff + i, bitmap_bh->b_data) == in ext4_mb_mark_context()
4040 mb_set_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context()
4044 mb_clear_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context()
4164 ext4_grpblk_t blkoff; in ext4_mb_mark_bb() local
4169 ext4_get_group_no_and_offset(sb, block, &group, &blkoff); in ext4_mb_mark_bb()
4180 EXT4_BLOCKS_PER_GROUP(sb) - EXT4_C2B(sbi, blkoff)); in ext4_mb_mark_bb()
4191 group, blkoff, clen, in ext4_mb_mark_bb()
6075 ext4_grpblk_t blkoff; in ext4_mb_new_blocks_simple() local
[all …]
H A Dmballoc-test.c329 ext4_group_t group, ext4_grpblk_t blkoff, in ext4_mb_mark_context_stub() argument
337 mb_set_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context_stub()
339 mb_clear_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context_stub()