Searched refs:e_cpos (Results 1 – 10 of 10) sorted by relevance
| /linux-4.4.14/fs/ocfs2/ |
| D | alloc.c | 231 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), in ocfs2_dinode_insert_check() 236 rec->e_cpos, oi->ip_clusters); in ocfs2_dinode_insert_check() 783 rec_start = le32_to_cpu(rec->e_cpos); in ocfs2_search_extent_list() 818 left_range = le32_to_cpu(left->e_cpos) + in ocfs2_extents_adjacent() 821 return (left_range == le32_to_cpu(right->e_cpos)); in ocfs2_extents_adjacent() 1094 return le32_to_cpu(el->l_recs[i].e_cpos) + in ocfs2_sum_rightmost_rec() 1252 eb_el->l_recs[0].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch() 1298 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_add_branch() 1390 root_el->l_recs[0].e_cpos = 0; in ocfs2_shift_tree_depth() 1597 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf() [all …]
|
| D | extent_map.c | 235 ins.ei_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_extent_map_insert_rec() 339 if (v_cluster < le32_to_cpu(rec->e_cpos)) in ocfs2_search_for_hole_index() 401 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; in ocfs2_figure_hole_clusters() 475 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_get_clusters_nocache() 481 le32_to_cpu(rec->e_cpos), in ocfs2_get_clusters_nocache() 535 u32 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_relative_extent_offsets() 583 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_xattr_get_clusters() 589 le32_to_cpu(rec->e_cpos), in ocfs2_xattr_get_clusters() 594 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_clusters() 811 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; in ocfs2_fiemap() [all …]
|
| D | refcounttree.c | 983 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end() 1011 cpos = le32_to_cpu(eb->h_list.l_recs[index].e_cpos); in ocfs2_get_refcount_cpos_end() 1044 *cpos_end = le32_to_cpu(tmp_el->l_recs[i+1].e_cpos); in ocfs2_get_refcount_cpos_end() 1115 if (le32_to_cpu(rec->e_cpos) <= low_cpos) { in ocfs2_get_refcount_rec() 1724 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) in ocfs2_adjust_refcount_rec() 1729 el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); in ocfs2_adjust_refcount_rec() 2685 if (le32_to_cpu(rec->e_cpos) + in ocfs2_refcount_cal_cow_clusters() 2695 *cow_start = le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters() 2703 (*cow_len && rec_end != le32_to_cpu(rec->e_cpos)) || in ocfs2_refcount_cal_cow_clusters() 2704 (max_cpos <= le32_to_cpu(rec->e_cpos))) in ocfs2_refcount_cal_cow_clusters() [all …]
|
| D | file.c | 1615 if (le32_to_cpu(rec->e_cpos) < pos) in ocfs2_find_rec() 1640 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); in ocfs2_calc_trunc_pos() 1642 if (le32_to_cpu(rec->e_cpos) >= trunc_start) { in ocfs2_calc_trunc_pos() 1646 *trunc_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos() 1652 *trunc_len = *trunc_end - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos() 1654 *trunc_end = le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos() 1667 coff = trunc_start - le32_to_cpu(rec->e_cpos); in ocfs2_calc_trunc_pos()
|
| D | xattr.c | 3669 u32 *e_cpos, in ocfs2_xattr_get_rec() argument 3702 if (le32_to_cpu(rec->e_cpos) <= name_hash) { in ocfs2_xattr_get_rec() 3711 le32_to_cpu(rec->e_cpos), in ocfs2_xattr_get_rec() 3718 if (e_cpos) in ocfs2_xattr_get_rec() 3719 *e_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_rec() 4076 u32 name_hash = UINT_MAX, e_cpos = 0, num_clusters = 0; in ocfs2_iterate_xattr_index_block() local 4084 &e_cpos, &num_clusters, el); in ocfs2_iterate_xattr_index_block() 4090 ret = rec_func(inode, blk_bh, p_blkno, e_cpos, in ocfs2_iterate_xattr_index_block() 4098 if (e_cpos == 0) in ocfs2_iterate_xattr_index_block() 4101 name_hash = e_cpos - 1; in ocfs2_iterate_xattr_index_block() [all …]
|
| D | ocfs2_trace.h | 504 unsigned int e_cpos, unsigned int clusters), 505 TP_ARGS(owner, cpos, len, index, e_cpos, clusters), 511 __field(unsigned int, e_cpos) 519 __entry->e_cpos = e_cpos; 524 __entry->e_cpos, __entry->clusters)
|
| D | ocfs2_fs.h | 469 /*00*/ __le32 e_cpos; /* Offset into the file, in clusters */ member
|
| D | move_extents.c | 80 replace_rec.e_cpos = cpu_to_le32(cpos); in __ocfs2_move_extent()
|
| D | dir.c | 818 if (le32_to_cpu(rec->e_cpos) <= major_hash) { in ocfs2_dx_dir_lookup_rec() 828 le32_to_cpu(rec->e_cpos), in ocfs2_dx_dir_lookup_rec() 836 *ret_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_dx_dir_lookup_rec()
|
| D | suballoc.c | 349 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent() 1614 unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; in ocfs2_bg_discontig_fix_by_rec()
|