Home
last modified time | relevance | path

Searched refs:e_cpos (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/fs/ocfs2/
H A Dextent_map.c223 ins.ei_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_extent_map_insert_rec()
327 if (v_cluster < le32_to_cpu(rec->e_cpos)) in ocfs2_search_for_hole_index()
389 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; in ocfs2_figure_hole_clusters()
463 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_get_clusters_nocache()
469 le32_to_cpu(rec->e_cpos), in ocfs2_get_clusters_nocache()
523 u32 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_relative_extent_offsets()
571 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_xattr_get_clusters()
577 le32_to_cpu(rec->e_cpos), in ocfs2_xattr_get_clusters()
582 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_clusters()
796 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << os in ocfs2_fiemap()
[all...]
H A Dalloc.c225 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), in ocfs2_dinode_insert_check()
230 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check()
778 rec_start = le32_to_cpu(rec->e_cpos); in ocfs2_search_extent_list()
813 left_range = le32_to_cpu(left->e_cpos) + in ocfs2_extents_adjacent()
816 return (left_range == le32_to_cpu(right->e_cpos)); in ocfs2_extents_adjacent()
1085 return le32_to_cpu(el->l_recs[i].e_cpos) + in ocfs2_sum_rightmost_rec()
1263 eb_el->l_recs[0].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch()
1309 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch()
1411 root_el->l_recs[0].e_cpos = 0; in ocfs2_shift_tree_depth()
1614 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf()
[all...]
H A Dfile.c1690 if (le32_to_cpu(rec->e_cpos) < pos) in ocfs2_find_rec()
1715 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_calc_trunc_pos()
1717 if (le32_to_cpu(rec->e_cpos) >= trunc_start) { in ocfs2_calc_trunc_pos()
1721 *trunc_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1727 *trunc_len = *trunc_end - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1729 *trunc_end = le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1742 coff = trunc_start - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
H A Drefcounttree.c974 * We have a extent rec after index, so just use the e_cpos in ocfs2_get_refcount_cpos_end()
977 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
993 * leaf extent block and get the corresponding e_cpos from in ocfs2_get_refcount_cpos_end()
1005 cpos = le32_to_cpu(eb->h_list.l_recs[index].e_cpos); in ocfs2_get_refcount_cpos_end()
1038 *cpos_end = le32_to_cpu(tmp_el->l_recs[i+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1109 if (le32_to_cpu(rec->e_cpos) <= low_cpos) { in ocfs2_get_refcount_rec()
1406 * But we will use the low 32 bit to be the e_cpos in the b-tree.
1650 * which means ocfs2_extent_rec.e_cpos may need some change.
1718 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec()
1723 el->l_recs[i].e_cpos in ocfs2_adjust_refcount_rec()
[all...]
H A Docfs2_trace.h505 unsigned int e_cpos, unsigned int clusters),
506 TP_ARGS(owner, cpos, len, index, e_cpos, clusters),
512 __field(unsigned int, e_cpos)
520 __entry->e_cpos = e_cpos;
525 __entry->e_cpos, __entry->clusters)
H A Dxattr.c3682 * e_cpos will be the first name hash of the xattr rec.
3688 u32 *e_cpos, in ocfs2_xattr_get_rec()
3721 if (le32_to_cpu(rec->e_cpos) <= name_hash) { in ocfs2_xattr_get_rec()
3730 le32_to_cpu(rec->e_cpos), in ocfs2_xattr_get_rec()
3737 if (e_cpos) in ocfs2_xattr_get_rec()
3738 *e_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_rec()
4090 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0; in ocfs2_iterate_xattr_index_block() local
4098 &e_cpos, &num_clusters, el); in ocfs2_iterate_xattr_index_block()
4104 ret = rec_func(inode, blk_bh, p_blkno, e_cpos, in ocfs2_iterate_xattr_index_block()
3685 ocfs2_xattr_get_rec(struct inode *inode, u32 name_hash, u64 *p_blkno, u32 *e_cpos, u32 *num_clusters, struct ocfs2_extent_list *el) ocfs2_xattr_get_rec() argument
5283 u32 e_cpos, num_clusters; ocfs2_add_new_xattr_bucket() local
[all...]
H A Docfs2_fs.h429 /*00*/ __le32 e_cpos; /* Offset into the file, in clusters */ member
H A Dmove_extents.c73 replace_rec.e_cpos = cpu_to_le32(cpos); in __ocfs2_move_extent()
H A Ddir.c807 if (le32_to_cpu(rec->e_cpos) <= major_hash) { in ocfs2_dx_dir_lookup_rec()
817 le32_to_cpu(rec->e_cpos), in ocfs2_dx_dir_lookup_rec()
825 *ret_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_dx_dir_lookup_rec()
H A Dsuballoc.c333 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent()
1626 unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; in ocfs2_bg_discontig_fix_by_rec()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dextent_map.c221 ins.ei_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_extent_map_insert_rec()
325 if (v_cluster < le32_to_cpu(rec->e_cpos)) in ocfs2_search_for_hole_index()
387 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; in ocfs2_figure_hole_clusters()
461 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_get_clusters_nocache()
467 le32_to_cpu(rec->e_cpos), in ocfs2_get_clusters_nocache()
521 u32 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_relative_extent_offsets()
569 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_xattr_get_clusters()
575 le32_to_cpu(rec->e_cpos), in ocfs2_xattr_get_clusters()
580 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_clusters()
794 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << os in ocfs2_fiemap()
[all...]
H A Dalloc.c223 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), in ocfs2_dinode_insert_check()
228 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check()
776 rec_start = le32_to_cpu(rec->e_cpos); in ocfs2_search_extent_list()
811 left_range = le32_to_cpu(left->e_cpos) + in ocfs2_extents_adjacent()
814 return (left_range == le32_to_cpu(right->e_cpos)); in ocfs2_extents_adjacent()
1083 return le32_to_cpu(el->l_recs[i].e_cpos) + in ocfs2_sum_rightmost_rec()
1261 eb_el->l_recs[0].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch()
1307 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch()
1409 root_el->l_recs[0].e_cpos = 0; in ocfs2_shift_tree_depth()
1612 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf()
[all...]
H A Dfile.c1684 if (le32_to_cpu(rec->e_cpos) < pos) in ocfs2_find_rec()
1709 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_calc_trunc_pos()
1711 if (le32_to_cpu(rec->e_cpos) >= trunc_start) { in ocfs2_calc_trunc_pos()
1715 *trunc_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1721 *trunc_len = *trunc_end - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1723 *trunc_end = le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
1736 coff = trunc_start - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
H A Drefcounttree.c972 * We have a extent rec after index, so just use the e_cpos in ocfs2_get_refcount_cpos_end()
975 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
991 * leaf extent block and get the corresponding e_cpos from in ocfs2_get_refcount_cpos_end()
1003 cpos = le32_to_cpu(eb->h_list.l_recs[index].e_cpos); in ocfs2_get_refcount_cpos_end()
1036 *cpos_end = le32_to_cpu(tmp_el->l_recs[i+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1107 if (le32_to_cpu(rec->e_cpos) <= low_cpos) { in ocfs2_get_refcount_rec()
1404 * But we will use the low 32 bit to be the e_cpos in the b-tree.
1648 * which means ocfs2_extent_rec.e_cpos may need some change.
1716 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec()
1721 el->l_recs[i].e_cpos in ocfs2_adjust_refcount_rec()
[all...]
H A Docfs2_trace.h505 unsigned int e_cpos, unsigned int clusters),
506 TP_ARGS(owner, cpos, len, index, e_cpos, clusters),
512 __field(unsigned int, e_cpos)
520 __entry->e_cpos = e_cpos;
525 __entry->e_cpos, __entry->clusters)
H A Dxattr.c3676 * e_cpos will be the first name hash of the xattr rec.
3682 u32 *e_cpos, in ocfs2_xattr_get_rec()
3715 if (le32_to_cpu(rec->e_cpos) <= name_hash) { in ocfs2_xattr_get_rec()
3724 le32_to_cpu(rec->e_cpos), in ocfs2_xattr_get_rec()
3731 if (e_cpos) in ocfs2_xattr_get_rec()
3732 *e_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_rec()
4084 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0; in ocfs2_iterate_xattr_index_block() local
4092 &e_cpos, &num_clusters, el); in ocfs2_iterate_xattr_index_block()
4098 ret = rec_func(inode, blk_bh, p_blkno, e_cpos, in ocfs2_iterate_xattr_index_block()
3679 ocfs2_xattr_get_rec(struct inode *inode, u32 name_hash, u64 *p_blkno, u32 *e_cpos, u32 *num_clusters, struct ocfs2_extent_list *el) ocfs2_xattr_get_rec() argument
5277 u32 e_cpos, num_clusters; ocfs2_add_new_xattr_bucket() local
[all...]
H A Dmove_extents.c71 replace_rec.e_cpos = cpu_to_le32(cpos); in __ocfs2_move_extent()
H A Docfs2_fs.h427 /*00*/ __le32 e_cpos; /* Offset into the file, in clusters */ member
H A Ddir.c799 if (le32_to_cpu(rec->e_cpos) <= major_hash) { in ocfs2_dx_dir_lookup_rec()
809 le32_to_cpu(rec->e_cpos), in ocfs2_dx_dir_lookup_rec()
817 *ret_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_dx_dir_lookup_rec()
H A Dsuballoc.c331 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent()
1624 unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; in ocfs2_bg_discontig_fix_by_rec()

Completed in 69 milliseconds