Home
last modified time | relevance | path

Searched refs:cow_start (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/ocfs2/
H A Drefcounttree.c45 u32 cow_start; member
2633 u32 *cow_start, in ocfs2_refcount_cal_cow_clusters() argument
2686 *cow_start = le32_to_cpu(rec->e_cpos); in ocfs2_refcount_cal_cow_clusters()
2715 (*cow_start + *cow_len); in ocfs2_refcount_cal_cow_clusters()
2729 else if (*cow_len || (*cow_start == cpos)) { in ocfs2_refcount_cal_cow_clusters()
2744 } else if ((*cow_start + contig_clusters) >= in ocfs2_refcount_cal_cow_clusters()
2757 *cow_start = rec_end - contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2770 *cow_start = ocfs2_cow_align_start(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2771 *cow_start, cpos); in ocfs2_refcount_cal_cow_clusters()
2772 *cow_len = rec_end - *cow_start; in ocfs2_refcount_cal_cow_clusters()
[all …]
H A Docfs2_trace.h1098 unsigned int cow_start, unsigned int cow_len),
1099 TP_ARGS(ino, cpos, write_len, max_cpos, cow_start, cow_len),
1105 __field(unsigned int, cow_start)
1113 __entry->cow_start = cow_start;
1118 __entry->max_cpos, __entry->cow_start, __entry->cow_len)
/openbmc/qemu/block/
H A Dqcow2.h468 Qcow2COWRegion cow_start; member
813 return m->offset + m->cow_start.offset; in l2meta_cow_start()
H A Dqcow2.c2459 if (m->cow_start.nb_bytes == 0 && m->cow_end.nb_bytes == 0) { in merge_cow()
2476 if (l2meta_cow_start(m) + m->cow_start.nb_bytes != offset) { in merge_cow()
2479 assert(m->cow_start.nb_bytes == 0); in merge_cow()
2518 int ret = bdrv_co_is_zero_fast(bs, m->offset + m->cow_start.offset, in is_zero_cow()
2519 m->cow_start.nb_bytes); in is_zero_cow()
2544 uint64_t start_offset = m->alloc_offset + m->cow_start.offset; in handle_alloc_space()
2546 m->cow_start.offset; in handle_alloc_space()
2548 if (!m->cow_start.nb_bytes && !m->cow_end.nb_bytes) { in handle_alloc_space()
4570 .cow_start = { in qcow2_co_truncate()
H A Dqcow2-cluster.c891 Qcow2COWRegion *start = &m->cow_start; in perform_cow()
1089 unsigned written_from = m->cow_start.offset; in qcow2_alloc_cluster_link_l2()
1311 .cow_start = { in calculate_l2_meta()
/openbmc/linux/fs/btrfs/
H A Dinode.c1971 u64 cow_start = (u64)-1; in run_delalloc_nocow() local
2110 if (cow_start == (u64)-1) in run_delalloc_nocow()
2111 cow_start = cur_offset; in run_delalloc_nocow()
2126 if (cow_start != (u64)-1) { in run_delalloc_nocow()
2128 cow_start, found_key.offset - 1); in run_delalloc_nocow()
2129 cow_start = (u64)-1; in run_delalloc_nocow()
2203 if (cur_offset <= end && cow_start == (u64)-1) in run_delalloc_nocow()
2204 cow_start = cur_offset; in run_delalloc_nocow()
2206 if (cow_start != (u64)-1) { in run_delalloc_nocow()
2208 ret = fallback_to_cow(inode, locked_page, cow_start, end); in run_delalloc_nocow()
[all …]
/openbmc/linux/include/trace/events/
H A Dbtrfs.h1122 __field( u64, cow_start )
1131 __entry->cow_start = cow->start;
1142 __entry->cow_start,