Home
last modified time | relevance | path

Searched refs:blkoff (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/fs/nilfs2/
H A 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()
220 * @blkoff: block offset
241 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, in argument
284 nilfs_mdt_find_block(struct inode *inode, unsigned long start, unsigned long end, unsigned long *blkoff, struct buffer_head **out_bh) nilfs_mdt_find_block() argument
[all...]
H A Dinode.c67 * @blkoff - file block number
75 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
85 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
101 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
114 (unsigned long long)blkoff); in nilfs_get_block()
863 unsigned long blkoff; in nilfs_truncate() local
875 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
880 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1171 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1185 blkoff in nilfs_fiemap()
[all...]
H A 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()
217 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block()
227 prev->blkoff = blkoff; in nilfs_palloc_get_block()
236 * @blkoff: block offset
240 static int nilfs_palloc_delete_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_delete_block() argument
245 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_delete_block()
[all...]
H A 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()
940 unsigned long blkoff, prev_blkoff; in nilfs_sufile_set_suinfo() local
965 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo()
966 ret = nilfs_mdt_get_block(sufile, blkoff, in nilfs_sufile_set_suinfo()
[all...]
H A Dpage.c49 unsigned long blkoff, in nilfs_grab_buffer()
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()
488 * @blkoff: start offset of the found extent (out)
493 * @blkoff and return its length in blocks. Otherwise, zero is
498 sector_t *blkoff) in nilfs_find_uncommitted_extent()
540 *blkoff = b; in nilfs_find_uncommitted_extent()
47 nilfs_grab_buffer(struct inode *inode, struct address_space *mapping, unsigned long blkoff, unsigned long b_state) nilfs_grab_buffer() argument
496 nilfs_find_uncommitted_extent(struct inode *inode, sector_t start_blk, sector_t *blkoff) nilfs_find_uncommitted_extent() argument
H A Dgcinode.c40 * @blkoff - dummy offset treated as the key for the page cache
46 * specified by @pbn to the GC pagecache with the key @blkoff.
58 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()
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()
44 nilfs_cpfile_first_checkpoint_in_block(const struct inode *cpfile, unsigned long blkoff) nilfs_cpfile_first_checkpoint_in_block() argument
H A Dpage.h51 sector_t *blkoff);
H A Dalloc.h70 * @blkoff: block offset
74 unsigned long blkoff; member
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dmdt.c114 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, blk_opf_t opf, 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, in nilfs_mdt_submit_block()
172 unsigned long blkoff; in nilfs_mdt_read_block() local
184 blkoff = block + 1; in nilfs_mdt_read_block()
185 for (i = 0; i < nr_ra_blocks; i++, blkoff++) { in nilfs_mdt_read_block()
186 err = nilfs_mdt_submit_block(inode, blkoff, in nilfs_mdt_read_block()
221 * @blkoff: block offset
242 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, in argument
285 nilfs_mdt_find_block(struct inode *inode, unsigned long start, unsigned long end, unsigned long *blkoff, struct buffer_head **out_bh) nilfs_mdt_find_block() argument
[all...]
H A Dinode.c67 * @blkoff: file block number
75 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
85 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
101 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block()
114 (unsigned long long)blkoff); in nilfs_get_block()
859 unsigned long blkoff; in nilfs_truncate() local
871 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
876 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1170 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1184 blkoff in nilfs_fiemap()
[all...]
H A 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()
217 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block()
227 prev->blkoff = blkoff; in nilfs_palloc_get_block()
236 * @blkoff: block offset
240 static int nilfs_palloc_delete_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_delete_block() argument
245 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_delete_block()
[all...]
H A 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()
940 unsigned long blkoff, prev_blkoff; in nilfs_sufile_set_suinfo() local
965 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo()
966 ret = nilfs_mdt_get_block(sufile, blkoff, in nilfs_sufile_set_suinfo()
[all...]
H A Dpage.c49 unsigned long blkoff, in nilfs_grab_buffer()
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()
480 * @blkoff: start offset of the found extent (out)
485 * @blkoff and return its length in blocks. Otherwise, zero is
490 sector_t *blkoff) in nilfs_find_uncommitted_extent()
527 *blkoff = b; in nilfs_find_uncommitted_extent()
47 nilfs_grab_buffer(struct inode *inode, struct address_space *mapping, unsigned long blkoff, unsigned long b_state) nilfs_grab_buffer() argument
488 nilfs_find_uncommitted_extent(struct inode *inode, sector_t start_blk, sector_t *blkoff) nilfs_find_uncommitted_extent() argument
H A Dgcinode.c40 * @blkoff - dummy offset treated as the key for the page cache
46 * specified by @pbn to the GC pagecache with the key @blkoff.
58 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 Dpage.h50 sector_t *blkoff);
H A Dcpfile.c45 unsigned long blkoff) in nilfs_cpfile_first_checkpoint_in_block()
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()
44 nilfs_cpfile_first_checkpoint_in_block(const struct inode *cpfile, unsigned long blkoff) nilfs_cpfile_first_checkpoint_in_block() argument
/kernel/linux/linux-5.10/include/trace/events/
H A Dnilfs2.h194 unsigned long blkoff,
197 TP_ARGS(inode, ino, blkoff, mode),
202 __field(unsigned long, blkoff)
209 __entry->blkoff = blkoff;
213 TP_printk("inode = %p ino = %lu blkoff = %lu mode = %x",
216 __entry->blkoff,
/kernel/linux/linux-6.6/include/trace/events/
H A Dnilfs2.h194 unsigned long blkoff,
197 TP_ARGS(inode, ino, blkoff, mode),
202 __field(unsigned long, blkoff)
209 __entry->blkoff = blkoff;
213 TP_printk("inode = %p ino = %lu blkoff = %lu mode = %x",
216 __entry->blkoff,
/kernel/linux/linux-5.10/block/partitions/
H A Dsysv68.c45 __be32 blkoff; /* block offset of slice */ member
85 be32_to_cpu(slice->blkoff), in sysv68_partition()
/kernel/linux/linux-6.6/block/partitions/
H A Dsysv68.c45 __be32 blkoff; /* block offset of slice */ member
85 be32_to_cpu(slice->blkoff), in sysv68_partition()
/kernel/linux/linux-6.6/fs/ceph/
H A Dcrypto.c551 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_decrypt_pages() local
552 int pgidx = blkoff >> PAGE_SHIFT; in ceph_fscrypt_decrypt_pages()
553 unsigned int pgoffs = offset_in_page(blkoff); in ceph_fscrypt_decrypt_pages()
655 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_encrypt_pages() local
656 int pgidx = blkoff >> PAGE_SHIFT; in ceph_fscrypt_encrypt_pages()
657 unsigned int pgoffs = offset_in_page(blkoff); in ceph_fscrypt_encrypt_pages()
/kernel/linux/linux-5.10/fs/afs/
H A Ddir.c349 unsigned blkoff) in afs_dir_iterate_block()
356 _enter("%u,%x,%p,,",(unsigned)ctx->pos,blkoff,block); in afs_dir_iterate_block()
358 curr = (ctx->pos - blkoff) / sizeof(union afs_xdr_dirent); in afs_dir_iterate_block()
361 for (offset = (blkoff == 0 ? AFS_DIR_RESV_BLOCKS0 : AFS_DIR_RESV_BLOCKS); in afs_dir_iterate_block()
371 blkoff / sizeof(union afs_xdr_dir_block), offset); in afs_dir_iterate_block()
373 ctx->pos = blkoff + in afs_dir_iterate_block()
385 blkoff / sizeof(union afs_xdr_dir_block), offset, in afs_dir_iterate_block()
395 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
403 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
409 blkoff / sizeo in afs_dir_iterate_block()
346 afs_dir_iterate_block(struct afs_vnode *dvnode, struct dir_context *ctx, union afs_xdr_dir_block *block, unsigned blkoff) afs_dir_iterate_block() argument
457 unsigned blkoff, limit; afs_dir_iterate() local
[all...]
/kernel/linux/linux-5.10/fs/erofs/
H A 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()
/kernel/linux/linux-6.6/fs/afs/
H A Ddir.c402 unsigned blkoff) in afs_dir_iterate_block()
409 _enter("%llx,%x", ctx->pos, blkoff); in afs_dir_iterate_block()
411 curr = (ctx->pos - blkoff) / sizeof(union afs_xdr_dirent); in afs_dir_iterate_block()
414 for (offset = (blkoff == 0 ? AFS_DIR_RESV_BLOCKS0 : AFS_DIR_RESV_BLOCKS); in afs_dir_iterate_block()
422 blkoff / sizeof(union afs_xdr_dir_block), offset); in afs_dir_iterate_block()
425 ctx->pos = blkoff + in afs_dir_iterate_block()
437 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
443 blkoff / sizeof(union afs_xdr_dir_block), offset, in afs_dir_iterate_block()
453 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block()
464 blkoff / sizeo in afs_dir_iterate_block()
399 afs_dir_iterate_block(struct afs_vnode *dvnode, struct dir_context *ctx, union afs_xdr_dir_block *block, unsigned blkoff) afs_dir_iterate_block() argument
[all...]

Completed in 20 milliseconds

12