Home
last modified time | relevance | path

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

/linux-6.15/fs/ocfs2/
H 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 …]
H 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 …]
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 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);
H 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
817 cpos = move_start; in __ocfs2_move_extents_range()
855 cpos, phys_cpos, alloc_size, len_defraged); in __ocfs2_move_extents_range()
857 ret = ocfs2_defrag_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
860 ret = ocfs2_move_extent(context, cpos, phys_cpos, in __ocfs2_move_extents_range()
[all …]
H 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 …]
H A Dalloc.c2232 *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
3057 if (cpos) { in ocfs2_remove_rightmost_path()
4257 u32 cpos; in ocfs2_do_insert_extent() local
[all …]
H 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 …]
H 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
1097 struct ocfs2_write_ctxt *wc, u32 cpos, in ocfs2_write_cluster() argument
1113 tmp_pos = cpos; in ocfs2_write_cluster()
1138 wc->w_handle, cpos, 1, *phys, in ocfs2_write_cluster()
1150 ret = ocfs2_get_clusters(inode, cpos, phys, NULL, NULL); in ocfs2_write_cluster()
1154 (unsigned long long)OCFS2_I(inode)->ip_blkno, cpos); in ocfs2_write_cluster()
[all …]
H 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 …]
H A Ddir.c856 u32 cpos; in ocfs2_dx_dir_lookup() local
867 cend = cpos + clen; in ocfs2_dx_dir_lookup()
871 cpos += clen - 1; in ocfs2_dx_dir_lookup()
874 name_hash - cpos); in ocfs2_dx_dir_lookup()
875 cpos = name_hash; in ocfs2_dx_dir_lookup()
888 *ret_cpos = cpos; in ocfs2_dx_dir_lookup()
2453 u32 cpos, handle_t *handle, in __ocfs2_dx_dir_new_cluster() argument
2494 u32 cpos, handle_t *handle, in ocfs2_dx_dir_new_cluster() argument
3838 cpos = split_hash; in ocfs2_dx_dir_rebalance()
4451 if (cpos == 0) in ocfs2_dx_dir_truncate()
[all …]
/linux-6.15/fs/ubifs/
H 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-6.15/fs/exfat/
H 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 …]
/linux-6.15/fs/fat/
H 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 …]
/linux-6.15/drivers/gpu/drm/ingenic/
H A Dingenic-drm-drv.c57 u32 cpos; member
694 hwdesc->cpos = 0; in ingenic_drm_plane_atomic_update()
700 hwdesc->cpos |= JZ_LCD_CPOS_RGB555; in ingenic_drm_plane_atomic_update()
703 hwdesc->cpos |= JZ_LCD_CPOS_BPP_15_16; in ingenic_drm_plane_atomic_update()
706 hwdesc->cpos |= JZ_LCD_CPOS_BPP_18_24; in ingenic_drm_plane_atomic_update()
709 hwdesc->cpos |= (JZ_LCD_CPOS_COEFFICIENT_1 << in ingenic_drm_plane_atomic_update()
/linux-6.15/block/
H A Dsed-opal.c574 const u8 *epos = dev->resp, *cpos = dev->resp; in opal_discovery0_end() local
597 cpos += sizeof(*hdr); /* current position on buffer */ in opal_discovery0_end()
599 while (cpos < epos && supported) { in opal_discovery0_end()
601 (const struct d0_features *)cpos; in opal_discovery0_end()
649 cpos += body->length + 4; in opal_discovery0_end()