Home
last modified time | relevance | path

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

/linux/fs/ocfs2/
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()
738 u32 mapping_end, cpos; in ocfs2_fiemap() local
781 cpos += hole_size; in ocfs2_fiemap()
823 u32 mapping_end, cpos; in ocfs2_overwrite_io() local
856 if (cpos < mapping_end) in ocfs2_overwrite_io()
906 extoff = cpos; in ocfs2_seek_data_hole_offset()
926 cpos += clen; in ocfs2_seek_data_hole_offset()
[all …]
A Drefcounttree.c963 u32 cpos; in ocfs2_get_refcount_cpos_end() local
1451 u32 cpos = 0; in ocfs2_divide_leaf_refcount_block() local
1508 *split_cpos = cpos; in ocfs2_divide_leaf_refcount_block()
2061 cpos += set_len; in __ocfs2_increase_refcount()
2160 cpos, len, 1, in ocfs2_increase_refcount()
2274 cpos += r_len; in __ocfs2_decrease_refcount()
2458 cpos += len; in ocfs2_calc_refcount_meta_credits()
2629 u32 cpos, in ocfs2_refcount_cal_cow_clusters() argument
3308 cpos += set_len; in ocfs2_make_clusters_writable()
3834 cpos = 0; in ocfs2_attach_refcount_tree()
[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,
293 u32 cpos);
304 struct ocfs2_path *path, u32 *cpos);
306 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()
572 u32 cpos, u32 phys_cpos, u32 *new_phys_cpos, in ocfs2_move_extent() argument
826 cpos = move_start; in __ocfs2_move_extents_range()
864 cpos, phys_cpos, alloc_size, len_defraged); in __ocfs2_move_extents_range()
866 ret = ocfs2_defrag_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
869 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.c2217 *cpos = 0; in ocfs2_find_cpos_for_left_leaf()
2251 *cpos = *cpos + ocfs2_rec_clusters(el, in ocfs2_find_cpos_for_left_leaf()
2253 *cpos = *cpos - 1; in ocfs2_find_cpos_for_left_leaf()
2339 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in ocfs2_leftmost_rec_contains()
2368 u32 cpos; in ocfs2_rotate_tree_right() local
2417 while (cpos && insert_cpos <= cpos) { in ocfs2_rotate_tree_right()
2810 *cpos = 0; in ocfs2_find_cpos_for_right_leaf()
3020 u32 cpos; in ocfs2_remove_rightmost_path() local
3042 if (cpos) { in ocfs2_remove_rightmost_path()
4242 u32 cpos; in ocfs2_do_insert_extent() local
[all …]
A Dfile.c352 status = ocfs2_get_clusters(inode, cpos, &phys, in ocfs2_cow_file_pos()
362 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()
2131 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local
2139 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_refcount()
2159 cpos += extent_len; in ocfs2_check_range_for_refcount()
[all …]
A Daops.c508 u32 cpos, in ocfs2_figure_cluster_boundaries() argument
519 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries()
543 struct ocfs2_super *osb, u32 cpos, in ocfs2_clear_page_regions() argument
943 struct page *page, u32 cpos, in ocfs2_prepare_page_for_write() argument
1014 cpos, user_data_from, user_data_to); in ocfs2_prepare_page_for_write()
1027 u32 cpos, loff_t user_pos, in ocfs2_grab_pages_for_write() argument
1121 struct ocfs2_write_ctxt *wc, u32 cpos, in ocfs2_write_cluster() argument
1137 tmp_pos = cpos; in ocfs2_write_cluster()
1162 wc->w_handle, cpos, 1, *phys, in ocfs2_write_cluster()
1174 ret = ocfs2_get_clusters(inode, cpos, phys, NULL, NULL); in ocfs2_write_cluster()
[all …]
A Dxattr.c284 u32 cpos,
822 cpos = new_clusters; in ocfs2_xattr_shrink_size()
847 cpos += alloc_size; in ocfs2_xattr_shrink_size()
1116 cpos = 0; in ocfs2_xattr_get_value_outside()
1145 cpos += num_clusters; in ocfs2_xattr_get_value_outside()
5418 u32 cpos, in ocfs2_rm_xattr_cluster() argument
5901 cpos = 0; in ocfs2_xattr_value_attach_refcount()
6416 cpos = 0; in ocfs2_reflink_xattr_header()
6419 cpos, in ocfs2_reflink_xattr_header()
6433 &data_et, cpos, in ocfs2_reflink_xattr_header()
[all …]
A Ddir.c850 u32 cpos; in ocfs2_dx_dir_lookup() local
861 cend = cpos + clen; in ocfs2_dx_dir_lookup()
865 cpos += clen - 1; in ocfs2_dx_dir_lookup()
868 name_hash - cpos); in ocfs2_dx_dir_lookup()
869 cpos = name_hash; in ocfs2_dx_dir_lookup()
882 *ret_cpos = cpos; in ocfs2_dx_dir_lookup()
2428 u32 cpos, handle_t *handle, in __ocfs2_dx_dir_new_cluster() argument
2469 u32 cpos, handle_t *handle, in ocfs2_dx_dir_new_cluster() argument
3820 cpos = split_hash; in ocfs2_dx_dir_rebalance()
4439 if (cpos == 0) in ocfs2_dx_dir_truncate()
[all …]
/linux/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 …]
/linux/fs/fat/
A Ddir.c473 loff_t cpos = 0; in fat_search_long() local
567 loff_t cpos; in __fat_readdir() local
573 cpos = ctx->pos; in __fat_readdir()
580 cpos = 0; in __fat_readdir()
684 ctx->pos = cpos; in __fat_readdir()
688 if (fake_offset && cpos < 2) in __fat_readdir()
691 ctx->pos = cpos; in __fat_readdir()
909 loff_t cpos; in fat_dir_empty() local
913 cpos = 0; in fat_dir_empty()
934 loff_t cpos; in fat_subdirs() local
[all …]
/linux/fs/exfat/
A Ddir.c186 *cpos = EXFAT_DEN_TO_B(dentry); in exfat_readdir()
225 loff_t cpos, i_pos; in exfat_iterate() local
231 cpos = ctx->pos; in exfat_iterate()
236 cpos = 0; in exfat_iterate()
240 if (cpos & (DENTRY_SIZE - 1)) { in exfat_iterate()
260 cpos += 1 << (sb->s_blocksize_bits); in exfat_iterate()
261 cpos &= ~(sb->s_blocksize - 1); in exfat_iterate()
290 ctx->pos = cpos; in exfat_iterate()
294 if (!cpos && fake_offset) in exfat_iterate()
295 cpos = ITER_POS_FILLED_DOTS; in exfat_iterate()
[all …]
/linux/block/
A Dsed-opal.c433 const u8 *epos = dev->resp, *cpos = dev->resp; in opal_discovery0_end() local
447 cpos += sizeof(*hdr); /* current position on buffer */ in opal_discovery0_end()
449 while (cpos < epos && supported) { in opal_discovery0_end()
451 (const struct d0_features *)cpos; in opal_discovery0_end()
488 cpos += body->length + 4; in opal_discovery0_end()
/linux/fs/ntfs/
A Dfile.c571 VCN vcn, highest_vcn = 0, cpos, cend, bh_cpos, bh_cend; in ntfs_prepare_pages_for_non_resident_write() local
630 cpos = pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
931 if ((bh_cend <= cpos || bh_cpos >= cend)) { in ntfs_prepare_pages_for_non_resident_write()

Completed in 86 milliseconds