Home
last modified time | relevance | path

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

/linux-6.15/net/xfrm/
H A Dtrace_iptfs.h24 TP_ARGS(skb, xtfs, blkoff),
39 __field(u16, blkoff)),
51 __entry->blkoff = blkoff;
110 TP_ARGS(skb, mtu, blkoff, iph),
116 __field(u16, blkoff)
122 __entry->blkoff = blkoff;
131 TP_PROTO(struct sk_buff *skb, u32 mtu, u16 blkoff,
133 TP_ARGS(skb, mtu, blkoff, iph));
138 TP_ARGS(skb, mtu, blkoff, iph));
143 TP_ARGS(skb, mtu, blkoff, iph));
[all …]
H A Dxfrm_iptfs.c781 if (blkoff == 0) { in iptfs_reassem_cont()
854 if (blkoff < ipremain) { in iptfs_reassem_cont()
863 if (blkoff < iphremain) { in iptfs_reassem_cont()
883 blkoff -= copylen; in iptfs_reassem_cont()
888 fraglen = min(blkoff, remaining); in iptfs_reassem_cont()
1212 u32 blkoff, data, remaining; in iptfs_input_ordered() local
1267 blkoff, &sublist); in iptfs_input_ordered()
1926 if (blkoff) in iptfs_output_prepare_skb()
1927 h->block_offset = htons(blkoff); in iptfs_output_prepare_skb()
1991 u32 blkoff = 0; in iptfs_copy_create_frags() local
[all …]
/linux-6.15/fs/nilfs2/
H A Dmdt.c123 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()
254 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.c113 (unsigned long long)blkoff); in nilfs_get_block()
789 unsigned long blkoff; in nilfs_truncate() local
806 nilfs_truncate_bmap(ii, blkoff); in nilfs_truncate()
1100 sector_t blkoff, end_blkoff; in nilfs_fiemap() local
1114 blkoff = start >> blkbits; in nilfs_fiemap()
1132 if (blkoff > end_blkoff) in nilfs_fiemap()
1136 logical = blkoff << blkbits; in nilfs_fiemap()
1168 blkoff++; in nilfs_fiemap()
1200 logical = blkoff << blkbits; in nilfs_fiemap()
1207 logical = blkoff << blkbits; in nilfs_fiemap()
[all …]
H A Dalloc.c218 static int nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_get_block() argument
230 if (prev->bh && blkoff == prev->blkoff && in nilfs_palloc_get_block()
239 ret = nilfs_mdt_get_block(inode, blkoff, create, init_block, bhp); in nilfs_palloc_get_block()
249 prev->blkoff = blkoff; in nilfs_palloc_get_block()
268 static int nilfs_palloc_delete_block(struct inode *inode, unsigned long blkoff, in nilfs_palloc_delete_block() argument
273 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_delete_block()
278 return nilfs_mdt_delete_block(inode, blkoff); in nilfs_palloc_delete_block()
H A Dsufile.c175 unsigned long blkoff, prev_blkoff; in nilfs_sufile_updatev() local
202 blkoff = nilfs_sufile_get_blkoff(sufile, *seg); 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()
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()
1015 prev_blkoff = blkoff; in nilfs_sufile_set_suinfo()
1017 if (blkoff == prev_blkoff) in nilfs_sufile_set_suinfo()
[all …]
H A Dpage.c48 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 Dgcinode.c55 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 Dpage.h50 sector_t *blkoff);
H A Dalloc.h76 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()
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 Dmdt.h72 unsigned long end, unsigned long *blkoff,
H A Drecovery.c43 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()
580 (unsigned long long)rb->blkoff); in nilfs_recover_dsync_blocks()
H A Dsegment.c668 __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-6.15/include/trace/events/
H A Dnilfs2.h194 unsigned long blkoff,
197 TP_ARGS(inode, ino, blkoff, mode),
202 __field(unsigned long, blkoff)
213 __entry->blkoff = blkoff;
220 __entry->blkoff,
/linux-6.15/block/partitions/
H A Dsysv68.c45 __be32 blkoff; /* block offset of slice */ member
85 be32_to_cpu(slice->blkoff), in sysv68_partition()
/linux-6.15/fs/ceph/
H A Dcrypto.c560 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_decrypt_pages() local
561 int pgidx = blkoff >> PAGE_SHIFT; in ceph_fscrypt_decrypt_pages()
562 unsigned int pgoffs = offset_in_page(blkoff); in ceph_fscrypt_decrypt_pages()
669 int blkoff = i << CEPH_FSCRYPT_BLOCK_SHIFT; in ceph_fscrypt_encrypt_pages() local
670 int pgidx = blkoff >> PAGE_SHIFT; in ceph_fscrypt_encrypt_pages()
671 unsigned int pgoffs = offset_in_page(blkoff); in ceph_fscrypt_encrypt_pages()
/linux-6.15/fs/f2fs/
H A Drecovery.c492 unsigned short blkoff = GET_BLKOFF_FROM_SEG0(sbi, blkaddr); in check_index_in_prev_nodes() local
504 if (!f2fs_test_bit(blkoff, sentry->cur_valid_map)) in check_index_in_prev_nodes()
512 sum = curseg->sum_blk->entries[blkoff]; in check_index_in_prev_nodes()
521 sum = sum_node->entries[blkoff]; in check_index_in_prev_nodes()
/linux-6.15/fs/ocfs2/
H A Dsuballoc.c1538 u64 blkoff; in ocfs2_cluster_group_search() local
1577 blkoff = ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_cluster_group_search()
1582 (unsigned long long)blkoff, in ocfs2_cluster_group_search()
1584 if (blkoff > max_block) in ocfs2_cluster_group_search()
1606 u64 blkoff; in ocfs2_block_group_search() local
1618 blkoff = le64_to_cpu(bg->bg_blkno) + in ocfs2_block_group_search()
1621 (unsigned long long)blkoff, in ocfs2_block_group_search()
1623 if (blkoff > max_block) in ocfs2_block_group_search()
/linux-6.15/fs/ext4/
H A Dmballoc.c3979 ext4_group_t group, ext4_grpblk_t blkoff, in ext4_mb_mark_context() argument
3990 handle, sb, state, group, blkoff, len, in ext4_mb_mark_context()
4038 mb_set_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context()
4042 mb_clear_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context()
4162 ext4_grpblk_t blkoff; in ext4_mb_mark_bb() local
4189 group, blkoff, clen, in ext4_mb_mark_bb()
6073 ext4_grpblk_t blkoff; in ext4_mb_new_blocks_simple() local
6096 blkoff); in ext4_mb_new_blocks_simple()
6102 blkoff = i + 1; in ext4_mb_new_blocks_simple()
6113 blkoff = 0; in ext4_mb_new_blocks_simple()
[all …]
H A Dmballoc-test.c329 ext4_group_t group, ext4_grpblk_t blkoff, in ext4_mb_mark_context_stub() argument
337 mb_set_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context_stub()
339 mb_clear_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context_stub()