/openbmc/linux/fs/ocfs2/ |
H A D | extent_map.c | 49 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 …]
|
H A D | refcounttree.h | 35 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 D | refcounttree.c | 963 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 3281 cpos += set_len; in ocfs2_make_clusters_writable() 3807 cpos = 0; in ocfs2_attach_refcount_tree() [all …]
|
H A D | alloc.h | 83 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);
|
H A D | move_extents.c | 51 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 D | ocfs2_trace.h | 517 __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 D | alloc.c | 2217 *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 …]
|
H A D | file.c | 356 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() 1437 u32 cpos, phys_cpos, clusters, alloc_size; in ocfs2_allocate_unwritten_extents() local 1465 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_allocate_unwritten_extents() 1467 clusters -= cpos; in ocfs2_allocate_unwritten_extents() 1470 ret = ocfs2_get_clusters(inode, cpos, &phys_cpos, in ocfs2_allocate_unwritten_extents() 1500 cpos += alloc_size; in ocfs2_allocate_unwritten_extents() 2135 u32 cpos, clusters, extent_len, phys_cpos; in ocfs2_check_range_for_refcount() local 2143 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_refcount() 2163 cpos += extent_len; in ocfs2_check_range_for_refcount() [all …]
|
H A D | aops.c | 507 u32 cpos, in ocfs2_figure_cluster_boundaries() argument 518 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries() 542 struct ocfs2_super *osb, u32 cpos, in ocfs2_clear_page_regions() argument 942 struct page *page, u32 cpos, in ocfs2_prepare_page_for_write() argument 1013 cpos, user_data_from, user_data_to); in ocfs2_prepare_page_for_write() 1026 u32 cpos, loff_t user_pos, in ocfs2_grab_pages_for_write() argument 1120 struct ocfs2_write_ctxt *wc, u32 cpos, in ocfs2_write_cluster() argument 1136 tmp_pos = cpos; in ocfs2_write_cluster() 1161 wc->w_handle, cpos, 1, *phys, in ocfs2_write_cluster() 1173 ret = ocfs2_get_clusters(inode, cpos, phys, NULL, NULL); in ocfs2_write_cluster() [all …]
|
H A D | xattr.c | 280 u32 cpos, 818 cpos = new_clusters; in ocfs2_xattr_shrink_size() 843 cpos += alloc_size; in ocfs2_xattr_shrink_size() 1112 cpos = 0; in ocfs2_xattr_get_value_outside() 1141 cpos += num_clusters; in ocfs2_xattr_get_value_outside() 5414 u32 cpos, in ocfs2_rm_xattr_cluster() argument 5897 cpos = 0; in ocfs2_xattr_value_attach_refcount() 6412 cpos = 0; in ocfs2_reflink_xattr_header() 6415 cpos, in ocfs2_reflink_xattr_header() 6429 &data_et, cpos, in ocfs2_reflink_xattr_header() [all …]
|
H A D | dir.c | 850 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() 2429 u32 cpos, handle_t *handle, in __ocfs2_dx_dir_new_cluster() argument 2470 u32 cpos, handle_t *handle, in ocfs2_dx_dir_new_cluster() argument 3821 cpos = split_hash; in ocfs2_dx_dir_rebalance() 4440 if (cpos == 0) in ocfs2_dx_dir_truncate() [all …]
|
/openbmc/u-boot/fs/ubifs/ |
H A D | lprops.c | 123 cpos = hpos * 2 + 1; in adjust_lpt_heap() 124 if (cpos >= heap->cnt) in adjust_lpt_heap() 138 lprops->hpos = cpos; in adjust_lpt_heap() 139 hpos = cpos; in adjust_lpt_heap() 143 cpos += 1; in adjust_lpt_heap() 144 if (cpos >= heap->cnt) in adjust_lpt_heap() 152 lprops->hpos = cpos; in adjust_lpt_heap() 153 hpos = cpos; in adjust_lpt_heap() 176 int cpos, val1, val2; in add_to_lpt_heap() local 190 lp = heap->arr[cpos]; in add_to_lpt_heap() [all …]
|
/openbmc/linux/fs/ubifs/ |
H A D | lprops.c | 120 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 …]
|
/openbmc/linux/fs/fat/ |
H A D | dir.c | 473 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 …]
|
/openbmc/linux/fs/exfat/ |
H A D | dir.c | 193 *cpos = EXFAT_DEN_TO_B(dentry); in exfat_readdir() 235 loff_t cpos, i_pos; in exfat_iterate() local 240 cpos = ctx->pos; in exfat_iterate() 245 cpos = 0; in exfat_iterate() 249 cpos = round_up(cpos, DENTRY_SIZE); in exfat_iterate() 268 cpos += 1 << (sb->s_blocksize_bits); in exfat_iterate() 269 cpos &= ~(sb->s_blocksize - 1); in exfat_iterate() 292 ctx->pos = cpos; in exfat_iterate() 296 if (!cpos && fake_offset) in exfat_iterate() 297 cpos = ITER_POS_FILLED_DOTS; in exfat_iterate() [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | config_parser.cpp | 163 auto cpos = line.find(']'); in pumpSection() local 164 if (cpos == line.npos) in pumpSection() 171 for (auto c : line.substr(cpos + 1)) in pumpSection() 182 auto s = line.substr(0, cpos); in pumpSection()
|
/openbmc/qemu/target/hppa/ |
H A D | insns.decode | 387 shrp_imm 110100 r2:5 r1:5 c:3 01 0 cpos:5 t:5 d=0 389 d=1 cpos=%cpos6_11 399 dep_imm 110101 t:5 r:5 c:3 01 nz:1 cpos:5 ..... d=0 len=%len5 401 d=1 len=%len6_12 cpos=%cpos6_11 404 depi_imm 110101 t:5 ..... c:3 11 nz:1 cpos:5 ..... \ 407 d=1 i=%im5_16 len=%len6_12 cpos=%cpos6_11
|
H A D | translate.c | 3477 sa = width - 1 - a->cpos; in trans_shrp_imm() 3554 unsigned len, cpos, width; in trans_extr_imm() local 3566 cpos = width - 1 - a->pos; in trans_extr_imm() 3567 if (cpos + len > width) { in trans_extr_imm() 3568 len = width - cpos; in trans_extr_imm() 3603 if (a->cpos + len > width) { in trans_depi_imm() 3604 len = width - a->cpos; in trans_depi_imm() 3608 mask0 = deposit64(0, a->cpos, len, a->i); in trans_depi_imm() 3609 mask1 = deposit64(-1, a->cpos, len, a->i); in trans_depi_imm() 3643 if (a->cpos + len > width) { in trans_dep_imm() [all …]
|
/openbmc/linux/drivers/gpu/drm/ingenic/ |
H A D | ingenic-drm-drv.c | 56 u32 cpos; member 693 hwdesc->cpos = 0; in ingenic_drm_plane_atomic_update() 699 hwdesc->cpos |= JZ_LCD_CPOS_RGB555; in ingenic_drm_plane_atomic_update() 702 hwdesc->cpos |= JZ_LCD_CPOS_BPP_15_16; in ingenic_drm_plane_atomic_update() 705 hwdesc->cpos |= JZ_LCD_CPOS_BPP_18_24; in ingenic_drm_plane_atomic_update() 708 hwdesc->cpos |= (JZ_LCD_CPOS_COEFFICIENT_1 << in ingenic_drm_plane_atomic_update()
|
/openbmc/linux/fs/ntfs/ |
H A D | file.c | 566 VCN vcn, highest_vcn = 0, cpos, cend, bh_cpos, bh_cend; in ntfs_prepare_pages_for_non_resident_write() local 625 cpos = pos >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write() 926 if ((bh_cend <= cpos || bh_cpos >= cend)) { in ntfs_prepare_pages_for_non_resident_write()
|
/openbmc/linux/block/ |
H A D | sed-opal.c | 573 const u8 *epos = dev->resp, *cpos = dev->resp; in opal_discovery0_end() local 596 cpos += sizeof(*hdr); /* current position on buffer */ in opal_discovery0_end() 598 while (cpos < epos && supported) { in opal_discovery0_end() 600 (const struct d0_features *)cpos; in opal_discovery0_end() 648 cpos += body->length + 4; in opal_discovery0_end()
|