Home
last modified time | relevance | path

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

/openbmc/linux/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;
216 __entry->blkoff,
/openbmc/linux/fs/nilfs2/
H A Dmdt.c121 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()
251 ret = nilfs_mdt_read_block(inode, blkoff, !create, out_bh); in nilfs_mdt_get_block()
286 unsigned long end, unsigned long *blkoff, in nilfs_mdt_find_block() argument
297 *blkoff = start; in nilfs_mdt_find_block()
[all …]
H A Dinode.c114 (unsigned long long)blkoff); in nilfs_get_block()
859 unsigned long blkoff; in nilfs_truncate() local
876 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1170 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1184 blkoff = start >> blkbits; in nilfs_fiemap()
1202 if (blkoff > end_blkoff) in nilfs_fiemap()
1206 logical = blkoff << blkbits; in nilfs_fiemap()
1238 blkoff++; in nilfs_fiemap()
1270 logical = blkoff << blkbits; in nilfs_fiemap()
1277 logical = blkoff << blkbits; 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()
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()
250 return nilfs_mdt_delete_block(inode, blkoff); in nilfs_palloc_delete_block()
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()
940 unsigned long blkoff, prev_blkoff; in nilfs_sufile_set_suinfo() local
966 ret = nilfs_mdt_get_block(sufile, blkoff, 1, NULL, &bh); in nilfs_sufile_set_suinfo()
1014 prev_blkoff = blkoff; in nilfs_sufile_set_suinfo()
1016 if (blkoff == prev_blkoff) in nilfs_sufile_set_suinfo()
[all …]
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 Dpage.c49 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()
493 sector_t *blkoff) in nilfs_find_uncommitted_extent() argument
530 *blkoff = b; in nilfs_find_uncommitted_extent()
H A Dpage.h50 sector_t *blkoff);
H A Dalloc.h74 unsigned long blkoff; member
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()
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()
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()
513 pos = rb->blkoff << inode->i_blkbits; in nilfs_recover_dsync_blocks()
550 (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()
/openbmc/linux/block/partitions/
H A Dsysv68.c45 __be32 blkoff; /* block offset of slice */ member
85 be32_to_cpu(slice->blkoff), in sysv68_partition()
/openbmc/linux/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()
/openbmc/u-boot/fs/ext4/
H A Dext4_write.c450 unsigned int blkoff; in ext4fs_delete_file() local
528 blkoff = ((inodeno) % inodes_per_block) * fs->inodesz; in ext4fs_delete_file()
543 read_buffer = read_buffer + blkoff; in ext4fs_delete_file()
850 long int blkoff; in ext4fs_write() local
942 blkoff = (inodeno % inodes_per_block) * fs->inodesz; in ext4fs_write()
948 memcpy(temp_ptr + blkoff, inode_buffer, fs->inodesz); in ext4fs_write()
963 blkoff = (parent_inodeno % inodes_per_block) * fs->inodesz; in ext4fs_write()
971 memcpy(temp_ptr + blkoff, g_parent_inode, fs->inodesz); in ext4fs_write()
979 memcpy(temp_ptr + blkoff, g_parent_inode, fs->inodesz); in ext4fs_write()
H A Dext4_common.c1567 unsigned int blkoff, desc_per_blk; in ext4fs_blockgroup() local
1575 blkoff = (group % desc_per_blk) * desc_size; in ext4fs_blockgroup()
1578 group, blkno, blkoff); in ext4fs_blockgroup()
1582 blkoff, desc_size, (char *)blkgrp); in ext4fs_blockgroup()
1593 unsigned int blkoff; in ext4fs_read_inode() local
1605 blkoff = (ino % inodes_per_block) * fs->inodesz; in ext4fs_read_inode()
1608 log2blksz), blkoff, in ext4fs_read_inode()
/openbmc/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()
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()
474 ctx->pos = blkoff + next * sizeof(union afs_xdr_dirent); in afs_dir_iterate_block()
[all …]
/openbmc/linux/fs/f2fs/
H A Drecovery.c499 unsigned short blkoff = GET_BLKOFF_FROM_SEG0(sbi, blkaddr); in check_index_in_prev_nodes() local
511 if (!f2fs_test_bit(blkoff, sentry->cur_valid_map)) in check_index_in_prev_nodes()
519 sum = curseg->sum_blk->entries[blkoff]; in check_index_in_prev_nodes()
528 sum = sum_node->entries[blkoff]; in check_index_in_prev_nodes()
/openbmc/linux/fs/ocfs2/
H A Dsuballoc.c1482 u64 blkoff; in ocfs2_cluster_group_search() local
1516 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search()
1521 (unsigned long long)blkoff, in ocfs2_cluster_group_search()
1523 if (blkoff > max_block) in ocfs2_cluster_group_search()
1552 u64 blkoff; in ocfs2_block_group_search() local
1564 blkoff = le64_to_cpu(bg->bg_blkno) + in ocfs2_block_group_search()
1567 (unsigned long long)blkoff, in ocfs2_block_group_search()
1569 if (blkoff > max_block) in ocfs2_block_group_search()
/openbmc/linux/fs/ext4/
H A Dmballoc.c4115 ext4_grpblk_t blkoff; in ext4_mb_mark_bb() local
4158 if (!mb_test_bit(blkoff + i, bitmap_bh->b_data) == in ext4_mb_mark_bb()
4164 mb_set_bits(bitmap_bh->b_data, blkoff, clen); in ext4_mb_mark_bb()
4166 mb_clear_bits(bitmap_bh->b_data, blkoff, clen); in ext4_mb_mark_bb()
6096 ext4_grpblk_t blkoff; in ext4_mb_new_blocks_simple() local
6119 blkoff); in ext4_mb_new_blocks_simple()
6125 blkoff = i + 1; in ext4_mb_new_blocks_simple()
6136 blkoff = 0; in ext4_mb_new_blocks_simple()
6407 ext4_grpblk_t blkoff; in ext4_free_blocks_simple() local
6421 if (!mb_test_bit(blkoff + i, bitmap_bh->b_data)) in ext4_free_blocks_simple()
[all …]