Home
last modified time | relevance | path

Searched refs:cpos (Results 1 – 4 of 4) sorted by relevance

/linux/fs/ocfs2/
H A Drefcounttree.h35 handle_t *handle, u32 cpos, u32 len,
47 u32 cpos, u32 write_len, u32 max_cpos);
75 u32 cpos, u32 write_len,
79 u32 cpos, u32 old_cluster,
83 u32 cpos, u32 old_cluster,
87 u32 cpos, u32 num_clusters);
92 u32 cpos, u32 p_cluster, u32 num_clusters,
101 u64 cpos, u32 len,
H A Dmove_extents.c51 u32 cpos, u32 len, u32 p_cpos, u32 new_p_cpos, in __ocfs2_move_extent() argument
63 ret = ocfs2_duplicate_clusters_by_page(handle, inode, cpos, in __ocfs2_move_extent()
71 replace_rec.e_cpos = cpu_to_le32(cpos); in __ocfs2_move_extent()
83 ret = ocfs2_find_path(INODE_CACHE(inode), path, cpos); in __ocfs2_move_extent()
91 index = ocfs2_search_extent_list(el, cpos); in __ocfs2_move_extent()
95 (unsigned long long)ino, cpos); in __ocfs2_move_extent()
104 (unsigned long long)ino, index, rec->e_flags, cpos); in __ocfs2_move_extent()
202 u32 cpos, u32 phys_cpos, u32 *len, int ext_flags) in ocfs2_defrag_extent() argument
308 mlog(0, "cpos: %u, phys_cpos: %u, new_phys_cpos: %u\n", cpos, in ocfs2_defrag_extent()
311 ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos, in ocfs2_defrag_extent()
[all …]
H A Dfile.c345 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos() local
357 status = ocfs2_get_clusters(inode, cpos, &phys, in ocfs2_cow_file_pos()
367 return ocfs2_refcount_cow(inode, fe_bh, cpos, 1, cpos+1); in ocfs2_cow_file_pos()
1448 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local
1476 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_allocate_unwritten_extents()
1478 clusters -= cpos; in ocfs2_allocate_unwritten_extents()
1481 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, in ocfs2_allocate_unwritten_extents()
1503 ret = ocfs2_extend_allocation(inode, cpos, alloc_size, 1); in ocfs2_allocate_unwritten_extents()
1511 cpos += alloc_size; in ocfs2_allocate_unwritten_extents()
2154 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
[all …]
/linux/fs/ubifs/
H A Dlprops.c90 int val1, val2, val3, cpos; in adjust_lpt_heap() local
120 cpos = hpos * 2 + 1; in adjust_lpt_heap()
121 if (cpos >= heap->cnt) in adjust_lpt_heap()
123 val2 = get_heap_comp_val(heap->arr[cpos], cat); in adjust_lpt_heap()
126 if (cpos + 1 < heap->cnt) { in adjust_lpt_heap()
127 val3 = get_heap_comp_val(heap->arr[cpos + 1], in adjust_lpt_heap()
130 cpos += 1; /* Right child is bigger */ in adjust_lpt_heap()
132 heap->arr[cpos]->hpos = hpos; in adjust_lpt_heap()
133 heap->arr[hpos] = heap->arr[cpos]; in adjust_lpt_heap()
134 heap->arr[cpos] = lprops; in adjust_lpt_heap()
[all …]