/linux/fs/nilfs2/ |
A D | mdt.c | 114 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() 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() 250 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block() 285 unsigned long end, unsigned long *blkoff, in nilfs_mdt_find_block() argument 296 *blkoff = start; in nilfs_mdt_find_block() [all …]
|
A D | inode.c | 110 (unsigned long long)blkoff); in nilfs_get_block() 716 unsigned long blkoff; in nilfs_truncate() local 733 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate() 996 sector_t blkoff, end_blkoff; in nilfs_fiemap() local 1010 blkoff = start >> blkbits; in nilfs_fiemap() 1028 if (blkoff > end_blkoff) in nilfs_fiemap() 1032 logical = blkoff << blkbits; in nilfs_fiemap() 1064 blkoff++; in nilfs_fiemap() 1096 logical = blkoff << blkbits; in nilfs_fiemap() 1103 logical = blkoff << blkbits; in nilfs_fiemap() [all …]
|
A D | alloc.c | 196 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()
|
A D | sufile.c | 163 unsigned long blkoff, prev_blkoff; in nilfs_sufile_updatev() local 190 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); 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() 895 unsigned long blkoff, prev_blkoff; in nilfs_sufile_set_suinfo() local 920 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo() 921 ret = nilfs_mdt_get_block(sufile, blkoff, 1, NULL, &bh); in nilfs_sufile_set_suinfo() 969 prev_blkoff = blkoff; in nilfs_sufile_set_suinfo() 971 if (blkoff == prev_blkoff) in nilfs_sufile_set_suinfo() [all …]
|
A D | page.c | 49 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() 491 sector_t *blkoff) in nilfs_find_uncommitted_extent() argument 533 *blkoff = b; in nilfs_find_uncommitted_extent()
|
A D | gcinode.c | 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()
|
A D | cpfile.c | 45 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()
|
A D | page.h | 51 sector_t *blkoff);
|
A D | alloc.h | 74 unsigned long blkoff; member
|
A D | recovery.c | 43 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()
|
A D | mdt.h | 74 unsigned long end, unsigned long *blkoff,
|
A D | segment.c | 647 __le64 *blkoff = nilfs_segctor_map_segsum_entry(sci, ssp, in nilfs_write_dat_data_binfo() local 648 sizeof(*blkoff)); in nilfs_write_dat_data_binfo() 649 *blkoff = binfo->bi_dat.bi_blkoff; in nilfs_write_dat_data_binfo()
|
/linux/include/trace/events/ |
A D | nilfs2.h | 194 unsigned long blkoff, 197 TP_ARGS(inode, ino, blkoff, mode), 202 __field(unsigned long, blkoff) 209 __entry->blkoff = blkoff; 216 __entry->blkoff,
|
/linux/block/partitions/ |
A D | sysv68.c | 45 __be32 blkoff; /* block offset of slice */ member 85 be32_to_cpu(slice->blkoff), in sysv68_partition()
|
/linux/fs/afs/ |
A D | dir.c | 396 unsigned blkoff) in afs_dir_iterate_block() argument 403 _enter("%llx,%x", ctx->pos, blkoff); in afs_dir_iterate_block() 405 curr = (ctx->pos - blkoff) / sizeof(union afs_xdr_dirent); in afs_dir_iterate_block() 408 for (offset = (blkoff == 0 ? AFS_DIR_RESV_BLOCKS0 : AFS_DIR_RESV_BLOCKS); in afs_dir_iterate_block() 416 blkoff / sizeof(union afs_xdr_dir_block), offset); in afs_dir_iterate_block() 419 ctx->pos = blkoff + in afs_dir_iterate_block() 431 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block() 437 blkoff / sizeof(union afs_xdr_dir_block), offset, in afs_dir_iterate_block() 447 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block() 458 blkoff / sizeof(union afs_xdr_dir_block), in afs_dir_iterate_block() [all …]
|
/linux/fs/f2fs/ |
A D | recovery.c | 448 unsigned short blkoff = GET_BLKOFF_FROM_SEG0(sbi, blkaddr); in check_index_in_prev_nodes() local 460 if (!f2fs_test_bit(blkoff, sentry->cur_valid_map)) in check_index_in_prev_nodes() 468 sum = curseg->sum_blk->entries[blkoff]; in check_index_in_prev_nodes() 477 sum = sum_node->entries[blkoff]; in check_index_in_prev_nodes()
|
A D | segment.c | 4051 unsigned short blkoff; in write_compacted_summaries() local 4055 blkoff = sbi->blocks_per_seg; in write_compacted_summaries() 4057 blkoff = curseg_blkoff(sbi, i); in write_compacted_summaries() 4059 for (j = 0; j < blkoff; j++) { in write_compacted_summaries()
|
/linux/fs/ocfs2/ |
A D | suballoc.c | 1485 u64 blkoff; in ocfs2_cluster_group_search() local 1519 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search() 1524 (unsigned long long)blkoff, in ocfs2_cluster_group_search() 1526 if (blkoff > max_block) in ocfs2_cluster_group_search() 1555 u64 blkoff; in ocfs2_block_group_search() local 1567 blkoff = le64_to_cpu(bg->bg_blkno) + in ocfs2_block_group_search() 1570 (unsigned long long)blkoff, in ocfs2_block_group_search() 1572 if (blkoff > max_block) in ocfs2_block_group_search()
|
/linux/fs/ext4/ |
A D | mballoc.c | 3901 ext4_grpblk_t blkoff; in ext4_mb_mark_bb() local 3907 ext4_get_group_no_and_offset(sb, block, &group, &blkoff); in ext4_mb_mark_bb() 3927 ext4_set_bits(bitmap_bh->b_data, blkoff, clen); in ext4_mb_mark_bb() 3929 mb_test_and_clear_bits(bitmap_bh->b_data, blkoff, clen); in ext4_mb_mark_bb() 5759 ext4_grpblk_t blkoff; in ext4_mb_new_blocks_simple() local 5770 ext4_get_group_no_and_offset(sb, goal, &group, &blkoff); in ext4_mb_new_blocks_simple() 5781 NULL, &blkoff); in ext4_mb_new_blocks_simple() 5783 blkoff); in ext4_mb_new_blocks_simple() 5811 ext4_grpblk_t blkoff; in ext4_free_blocks_simple() local 5826 if (!mb_test_bit(blkoff + i, bitmap_bh->b_data)) in ext4_free_blocks_simple() [all …]
|