Home
last modified time | relevance | path

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

/fs/ocfs2/
A Drefcounttree.c964 u32 cpos; in ocfs2_get_refcount_cpos_end() local
1445 u32 cpos = 0; in ocfs2_divide_leaf_refcount_block() local
1502 *split_cpos = cpos; in ocfs2_divide_leaf_refcount_block()
2055 cpos += set_len; in __ocfs2_increase_refcount()
2154 cpos, len, 1, in ocfs2_increase_refcount()
2268 cpos += r_len; in __ocfs2_decrease_refcount()
2452 cpos += len; in ocfs2_calc_refcount_meta_credits()
2623 u32 cpos, in ocfs2_refcount_cal_cow_clusters() argument
3272 cpos += set_len; in ocfs2_make_clusters_writable()
3798 cpos = 0; in ocfs2_attach_refcount_tree()
[all …]
A Dextent_map.c49 unsigned int cpos, in __ocfs2_extent_map_lookup() argument
60 if (cpos >= emi->ei_cpos && cpos < range) { in __ocfs2_extent_map_lookup()
81 coff = cpos - emi->ei_cpos; in ocfs2_extent_map_lookup()
119 if (range > cpos) { in ocfs2_extent_map_trunc()
748 u32 mapping_end, cpos; in ocfs2_fiemap() local
791 cpos += hole_size; in ocfs2_fiemap()
833 u32 mapping_end, cpos; in ocfs2_overwrite_io() local
866 if (cpos < mapping_end) in ocfs2_overwrite_io()
916 extoff = cpos; in ocfs2_seek_data_hole_offset()
936 cpos += clen; in ocfs2_seek_data_hole_offset()
[all …]
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,
A Dalloc.h83 u32 cpos,
113 handle_t *handle, u32 cpos, u32 len, u32 phys,
118 u32 cpos, u32 len, u32 phys,
123 u32 cpos, u32 len,
128 u32 cpos, u32 phys_cpos, u32 len, int flags,
224 struct ocfs2_extent_list *root_el, u32 cpos,
291 u32 cpos);
302 struct ocfs2_path *path, u32 *cpos);
304 struct ocfs2_path *path, u32 *cpos);
A Dmove_extents.c51 u32 cpos, u32 len, u32 p_cpos, u32 new_p_cpos, in __ocfs2_move_extent() argument
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()
563 u32 cpos, u32 phys_cpos, u32 *new_phys_cpos, in ocfs2_move_extent() argument
816 cpos = move_start; in __ocfs2_move_extents_range()
854 cpos, phys_cpos, alloc_size, len_defraged); in __ocfs2_move_extents_range()
856 ret = ocfs2_defrag_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
859 ret = ocfs2_move_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
[all …]
A Docfs2_trace.h517 __entry->cpos = cpos;
615 __entry->cpos = cpos;
904 unsigned long long cpos,
917 __entry->cpos = cpos;
950 __entry->cpos = cpos;
981 unsigned long long cpos,
992 __entry->cpos = cpos;
1020 __entry->cpos = cpos;
1057 __entry->cpos = cpos;
1082 __entry->cpos = cpos;
[all …]
A Dalloc.c1834 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in __ocfs2_find_path()
2232 *cpos = 0; in ocfs2_find_cpos_for_left_leaf()
2266 *cpos = *cpos + ocfs2_rec_clusters(el, in ocfs2_find_cpos_for_left_leaf()
2268 *cpos = *cpos - 1; in ocfs2_find_cpos_for_left_leaf()
2354 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in ocfs2_leftmost_rec_contains()
2383 u32 cpos; in ocfs2_rotate_tree_right() local
2432 while (cpos && insert_cpos <= cpos) { in ocfs2_rotate_tree_right()
2825 *cpos = 0; in ocfs2_find_cpos_for_right_leaf()
3035 u32 cpos; in ocfs2_remove_rightmost_path() local
4257 u32 cpos; in ocfs2_do_insert_extent() local
[all …]
A Dfile.c356 status = ocfs2_get_clusters(inode, cpos, &phys, in ocfs2_cow_file_pos()
366 return ocfs2_refcount_cow(inode, fe_bh, cpos, 1, cpos+1); in ocfs2_cow_file_pos()
1441 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local
1469 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_allocate_unwritten_extents()
1471 clusters -= cpos; in ocfs2_allocate_unwritten_extents()
1474 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, in ocfs2_allocate_unwritten_extents()
1504 cpos += alloc_size; in ocfs2_allocate_unwritten_extents()
2147 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
2155 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_refcount()
2175 cpos += extent_len; in ocfs2_check_range_for_refcount()
[all …]
A Daops.c488 u32 cpos, in ocfs2_figure_cluster_boundaries() argument
499 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries()
523 struct ocfs2_super *osb, u32 cpos, in ocfs2_clear_folio_regions() argument
991 cpos, user_data_from, user_data_to); in ocfs2_prepare_folio_for_write()
1003 struct ocfs2_write_ctxt *wc, u32 cpos, loff_t user_pos, in ocfs2_grab_folios_for_write() argument
1098 struct ocfs2_write_ctxt *wc, u32 cpos, in ocfs2_write_cluster() argument
1114 tmp_pos = cpos; in ocfs2_write_cluster()
1139 wc->w_handle, cpos, 1, *phys, in ocfs2_write_cluster()
1151 ret = ocfs2_get_clusters(inode, cpos, phys, NULL, NULL); in ocfs2_write_cluster()
1155 (unsigned long long)OCFS2_I(inode)->ip_blkno, cpos); in ocfs2_write_cluster()
[all …]
A Dxattr.c280 u32 cpos,
818 cpos = new_clusters; in ocfs2_xattr_shrink_size()
843 cpos += alloc_size; in ocfs2_xattr_shrink_size()
1121 cpos = 0; in ocfs2_xattr_get_value_outside()
1150 cpos += num_clusters; in ocfs2_xattr_get_value_outside()
5413 u32 cpos, in ocfs2_rm_xattr_cluster() argument
5896 cpos = 0; in ocfs2_xattr_value_attach_refcount()
6411 cpos = 0; in ocfs2_reflink_xattr_header()
6414 cpos, in ocfs2_reflink_xattr_header()
6428 &data_et, cpos, in ocfs2_reflink_xattr_header()
[all …]
A Ddir.c864 u32 cpos; in ocfs2_dx_dir_lookup() local
875 cend = cpos + clen; in ocfs2_dx_dir_lookup()
879 cpos += clen - 1; in ocfs2_dx_dir_lookup()
882 name_hash - cpos); in ocfs2_dx_dir_lookup()
883 cpos = name_hash; in ocfs2_dx_dir_lookup()
896 *ret_cpos = cpos; in ocfs2_dx_dir_lookup()
2461 u32 cpos, handle_t *handle, in __ocfs2_dx_dir_new_cluster() argument
2502 u32 cpos, handle_t *handle, in ocfs2_dx_dir_new_cluster() argument
3846 cpos = split_hash; in ocfs2_dx_dir_rebalance()
4459 if (cpos == 0) in ocfs2_dx_dir_truncate()
[all …]
/fs/ubifs/
A Dlprops.c120 cpos = hpos * 2 + 1; in adjust_lpt_heap()
121 if (cpos >= heap->cnt) in adjust_lpt_heap()
135 lprops->hpos = cpos; in adjust_lpt_heap()
136 hpos = cpos; in adjust_lpt_heap()
140 cpos += 1; in adjust_lpt_heap()
141 if (cpos >= heap->cnt) in adjust_lpt_heap()
149 lprops->hpos = cpos; in adjust_lpt_heap()
150 hpos = cpos; in adjust_lpt_heap()
173 int cpos, val1, val2; in add_to_lpt_heap() local
187 lp = heap->arr[cpos]; in add_to_lpt_heap()
[all …]
/fs/fat/
A Ddir.c485 loff_t cpos = 0; in fat_search_long() local
579 loff_t cpos; in __fat_readdir() local
585 cpos = ctx->pos; in __fat_readdir()
592 cpos = 0; in __fat_readdir()
696 ctx->pos = cpos; in __fat_readdir()
700 if (fake_offset && cpos < 2) in __fat_readdir()
703 ctx->pos = cpos; in __fat_readdir()
921 loff_t cpos; in fat_dir_empty() local
925 cpos = 0; in fat_dir_empty()
946 loff_t cpos; in fat_subdirs() local
[all …]
/fs/exfat/
A Ddir.c175 *cpos = EXFAT_DEN_TO_B(dentry); in exfat_readdir()
217 loff_t cpos, i_pos; in exfat_iterate() local
222 cpos = ctx->pos; in exfat_iterate()
227 cpos = 0; in exfat_iterate()
231 cpos = round_up(cpos, DENTRY_SIZE); in exfat_iterate()
250 cpos += 1 << (sb->s_blocksize_bits); in exfat_iterate()
251 cpos &= ~(sb->s_blocksize - 1); in exfat_iterate()
274 ctx->pos = cpos; in exfat_iterate()
278 if (!cpos && fake_offset) in exfat_iterate()
279 cpos = ITER_POS_FILLED_DOTS; in exfat_iterate()
[all …]

Completed in 73 milliseconds