| /linux/fs/nilfs2/ |
| H A D | mdt.c | 116 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() 245 int nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, in nilfs_mdt_get_block() argument 254 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block() [all …]
|
| H A D | inode.c | 74 int nilfs_get_block(struct inode *inode, sector_t blkoff, in nilfs_get_block() argument 84 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block() 100 err = nilfs_bmap_insert(ii->i_bmap, blkoff, in nilfs_get_block() 113 (unsigned long long)blkoff); in nilfs_get_block() 798 unsigned long blkoff; in nilfs_truncate() local 810 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits; in nilfs_truncate() 815 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate() 1109 sector_t blkoff, end_blkoff; in nilfs_fiemap() local 1123 blkoff = start >> blkbits; in nilfs_fiemap() 1126 delalloc_blklen = nilfs_find_uncommitted_extent(inode, blkoff, in nilfs_fiemap() [all …]
|
| H A D | sufile.c | 175 unsigned long blkoff, prev_blkoff; in nilfs_sufile_updatev() local 202 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev() 203 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev() 212 prev_blkoff = blkoff; in nilfs_sufile_updatev() 213 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); in nilfs_sufile_updatev() 214 if (blkoff == prev_blkoff) in nilfs_sufile_updatev() 219 ret = nilfs_mdt_get_block(sufile, blkoff, create, NULL, &bh); in nilfs_sufile_updatev() 941 unsigned long blkoff, prev_blkoff; in nilfs_sufile_set_suinfo() local 966 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo() 967 ret = nilfs_mdt_get_block(sufile, blkoff, 1, NULL, &bh); in nilfs_sufile_set_suinfo() [all …]
|
| H A D | page.c | 48 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() 508 sector_t *blkoff) in nilfs_find_uncommitted_extent() argument 545 *blkoff = b; in nilfs_find_uncommitted_extent()
|
| H A D | gcinode.c | 55 int nilfs_gccache_submit_read_data(struct inode *inode, sector_t blkoff, in nilfs_gccache_submit_read_data() argument 62 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); in nilfs_gccache_submit_read_data()
|
| H A D | page.h | 50 sector_t *blkoff);
|
| H 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() 205 unsigned long start, end, blkoff; in nilfs_cpfile_find_checkpoint_block() local 214 ret = nilfs_mdt_find_block(cpfile, start, end, &blkoff, bhp); in nilfs_cpfile_find_checkpoint_block() 216 *cnop = (blkoff == start) ? start_cno : in nilfs_cpfile_find_checkpoint_block() 217 nilfs_cpfile_first_checkpoint_in_block(cpfile, blkoff); in nilfs_cpfile_find_checkpoint_block()
|
| H A D | mdt.h | 72 unsigned long end, unsigned long *blkoff,
|
| H A D | recovery.c | 43 unsigned long blkoff; /* File offset of the data block (per block) */ member 381 rb->blkoff = le64_to_cpu(binfo->bi_blkoff); in nilfs_scan_dsync_log() 543 pos = rb->blkoff << inode->i_blkbits; in nilfs_recover_dsync_blocks() 579 (unsigned long long)rb->blkoff); in nilfs_recover_dsync_blocks()
|
| H A D | segment.c | 668 __le64 *blkoff = nilfs_segctor_map_segsum_entry(sci, ssp, in nilfs_write_dat_data_binfo() local 669 sizeof(*blkoff)); in nilfs_write_dat_data_binfo() 670 *blkoff = binfo->bi_dat.bi_blkoff; in nilfs_write_dat_data_binfo()
|
| /linux/include/trace/events/ |
| H A D | nilfs2.h | 194 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/fs/ceph/ |
| H A D | crypto.c | 480 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_decrypt_pages() local 481 int pgidx = blkoff >> PAGE_SHIFT; in ceph_fscrypt_decrypt_pages() 482 unsigned int pgoffs = offset_in_page(blkoff); in ceph_fscrypt_decrypt_pages() 588 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_encrypt_pages() local 589 int pgidx = blkoff >> PAGE_SHIFT; in ceph_fscrypt_encrypt_pages() 590 unsigned int pgoffs = offset_in_page(blkoff); in ceph_fscrypt_encrypt_pages()
|
| /linux/block/partitions/ |
| H A D | sysv68.c | 45 __be32 blkoff; /* block offset of slice */ member 85 be32_to_cpu(slice->blkoff), in sysv68_partition()
|
| /linux/fs/f2fs/ |
| H A D | debug.c | 254 si->blkoff[i] = curseg->next_blkoff; in update_general_status() 515 si->blkoff[CURSEG_COLD_DATA], in stat_show() 523 si->blkoff[CURSEG_WARM_DATA], in stat_show() 531 si->blkoff[CURSEG_HOT_DATA], in stat_show() 539 si->blkoff[CURSEG_HOT_NODE], in stat_show() 547 si->blkoff[CURSEG_WARM_NODE], in stat_show() 555 si->blkoff[CURSEG_COLD_NODE], in stat_show() 563 si->blkoff[CURSEG_COLD_DATA_PINNED], in stat_show() 568 si->blkoff[CURSEG_ALL_DATA_ATGC], in stat_show()
|
| H A D | recovery.c | 497 unsigned short blkoff = GET_BLKOFF_FROM_SEG0(sbi, blkaddr); in check_index_in_prev_nodes() local 509 if (!f2fs_test_bit(blkoff, sentry->cur_valid_map)) in check_index_in_prev_nodes() 517 sum = curseg->sum_blk->entries[blkoff]; in check_index_in_prev_nodes() 526 sum = sum_node->entries[blkoff]; in check_index_in_prev_nodes()
|
| H A D | f2fs.h | 4197 int blkoff[NR_CURSEG_TYPE]; member
|
| /linux/fs/ocfs2/ |
| H A D | suballoc.c | 1539 u64 blkoff; in ocfs2_cluster_group_search() local 1578 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search() 1583 (unsigned long long)blkoff, in ocfs2_cluster_group_search() 1585 if (blkoff > max_block) in ocfs2_cluster_group_search() 1607 u64 blkoff; in ocfs2_block_group_search() local 1619 blkoff = le64_to_cpu(bg->bg_blkno) + in ocfs2_block_group_search() 1622 (unsigned long long)blkoff, in ocfs2_block_group_search() 1624 if (blkoff > max_block) in ocfs2_block_group_search()
|