Home
last modified time | relevance | path

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

/fs/nilfs2/
Dinode.c73 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument
83 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block()
99 err = nilfs_bmap_insert(ii->i_bmap, (unsigned long)blkoff, in nilfs_get_block()
115 (unsigned long long)blkoff); in nilfs_get_block()
692 unsigned long blkoff; in nilfs_truncate() local
704 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate()
709 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
963 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
977 blkoff = start >> blkbits; in nilfs_fiemap()
980 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap()
[all …]
Dmdt.c122 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, in nilfs_mdt_submit_block() argument
129 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_mdt_submit_block()
150 ret = nilfs_bmap_lookup(NILFS_I(inode)->i_bmap, blkoff, &blknum); in nilfs_mdt_submit_block()
177 unsigned long blkoff; in nilfs_mdt_read_block() local
189 blkoff = block + 1; in nilfs_mdt_read_block()
190 for (i = 0; i < nr_ra_blocks; i++, blkoff++) { in nilfs_mdt_read_block()
191 err = nilfs_mdt_submit_block(inode, blkoff, READA, &bh); in nilfs_mdt_read_block()
242 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() argument
251 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block()
255 ret = nilfs_mdt_create_block(inode, blkoff, out_bh, init_block); in nilfs_mdt_get_block()
Dalloc.c206 static int nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_get_block() argument
218 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_get_block()
226 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block()
236 prev->blkoff = blkoff; in nilfs_palloc_get_block()
Dpage.c63 unsigned long blkoff, in nilfs_grab_buffer() argument
67 pgoff_t index = blkoff >> (PAGE_CACHE_SHIFT - blkbits); in nilfs_grab_buffer()
75 bh = __nilfs_get_page_block(page, blkoff, index, blkbits, b_state); in nilfs_grab_buffer()
483 sector_t *blkoff) in nilfs_find_uncommitted_extent() argument
525 *blkoff = b; in nilfs_find_uncommitted_extent()
Dsufile.c167 unsigned long blkoff, prev_blkoff; in nilfs_sufile_updatev() local
194 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev()
195 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev()
204 prev_blkoff = blkoff; in nilfs_sufile_updatev()
205 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev()
206 if (blkoff == prev_blkoff) in nilfs_sufile_updatev()
211 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev()
Dgcinode.c72 int nilfs_gccache_submit_read_data(struct inode *inode, sector_t blkoff, in nilfs_gccache_submit_read_data() argument
79 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_gccache_submit_read_data()
Dalloc.h84 unsigned long blkoff; member
Dpage.h64 sector_t *blkoff);
Drecovery.c54 unsigned long blkoff; /* File offset of the data block (per block) */ member
369 rb->blkoff = le64_to_cpu(binfo->bi_blkoff); in nilfs_scan_dsync_log()
524 pos = rb->blkoff << inode->i_blkbits; in nilfs_recover_dsync_blocks()
560 (unsigned long long)rb->blkoff); in nilfs_recover_dsync_blocks()
Dsegment.c593 __le64 *blkoff = nilfs_segctor_map_segsum_entry(sci, ssp, in nilfs_write_dat_data_binfo() local
594 sizeof(*blkoff)); in nilfs_write_dat_data_binfo()
595 *blkoff = binfo->bi_dat.bi_blkoff; in nilfs_write_dat_data_binfo()
/fs/afs/
Ddir.c233 unsigned blkoff, in afs_dir_iterate_block() argument
242 _enter("%u,%x,%p,,",*fpos,blkoff,block); in afs_dir_iterate_block()
244 curr = (*fpos - blkoff) / sizeof(union afs_dirent); in afs_dir_iterate_block()
257 blkoff / sizeof(union afs_dir_block), offset); in afs_dir_iterate_block()
259 *fpos = 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()
308 blkoff + offset * sizeof(union afs_dirent), in afs_dir_iterate_block()
[all …]
/fs/ocfs2/
Dsuballoc.c1503 u64 blkoff; in ocfs2_cluster_group_search() local
1537 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search()
1542 (unsigned long long)blkoff, in ocfs2_cluster_group_search()
1544 if (blkoff > max_block) in ocfs2_cluster_group_search()
1573 u64 blkoff; in ocfs2_block_group_search() local
1585 blkoff = le64_to_cpu(bg->bg_blkno) + in ocfs2_block_group_search()
1588 (unsigned long long)blkoff, in ocfs2_block_group_search()
1590 if (blkoff > max_block) in ocfs2_block_group_search()