Lines Matching refs:off_t
23 int z_impl_flash_fill(const struct device *dev, uint8_t val, off_t offset, in z_impl_flash_fill()
71 int z_impl_flash_flatten(const struct device *dev, off_t offset, size_t size) in z_impl_flash_flatten()
92 static inline bool off_add_overflow(off_t offset, off_t size, off_t *result) in off_add_overflow()
94 BUILD_ASSERT((sizeof(off_t) == sizeof(uint32_t)) || (sizeof(off_t) == sizeof(uint64_t))); in off_add_overflow()
96 if (sizeof(off_t) == sizeof(uint32_t)) { in off_add_overflow()
103 } else if (sizeof(off_t) == sizeof(uint64_t)) { in off_add_overflow()
116 static inline bool flash_ranges_overlap(off_t a_start, off_t a_size, off_t b_start, off_t b_size) in flash_ranges_overlap()
118 off_t a_end = a_start + a_size; in flash_ranges_overlap()
119 off_t b_end = b_start + b_size; in flash_ranges_overlap()
124 int z_impl_flash_copy(const struct device *src_dev, off_t src_offset, const struct device *dst_dev, in z_impl_flash_copy()
125 off_t dst_offset, off_t size, uint8_t *buf, size_t buf_size) in z_impl_flash_copy()
128 off_t end; in z_impl_flash_copy()
195 int z_vrfy_flash_copy(const struct device *src_dev, off_t src_offset, const struct device *dst_dev, in z_vrfy_flash_copy()
196 off_t dst_offset, off_t size, uint8_t *buf, size_t buf_size) in z_vrfy_flash_copy()