Home
last modified time | relevance | path

Searched refs:align_offset (Results 1 – 6 of 6) sorted by relevance

/openbmc/hiomapd/
H A Dbackend.h136 int (*align_offset)(struct backend *backend, uint32_t *offset, member
241 if (backend->ops->align_offset){ in backend_align_offset()
242 return backend->ops->align_offset(backend, offset, window_size); in backend_align_offset()
/openbmc/qemu/block/
H A Dio.c741 int64_t *align_offset, int64_t *align_bytes) in bdrv_round_to_subclusters() argument
746 *align_offset = offset; in bdrv_round_to_subclusters()
750 *align_offset = QEMU_ALIGN_DOWN(offset, c); in bdrv_round_to_subclusters()
751 *align_bytes = QEMU_ALIGN_UP(offset - *align_offset + bytes, c); in bdrv_round_to_subclusters()
1181 int64_t align_offset; in bdrv_co_do_copy_on_readv() local
1216 bdrv_round_to_subclusters(bs, offset, bytes, &align_offset, &align_bytes); in bdrv_co_do_copy_on_readv()
1217 skip_bytes = offset - align_offset; in bdrv_co_do_copy_on_readv()
1220 align_offset, align_bytes); in bdrv_co_do_copy_on_readv()
1229 ret = bdrv_co_is_allocated(bs, align_offset, in bdrv_co_do_copy_on_readv()
1267 ret = bdrv_driver_preadv(bs, align_offset, pnum, in bdrv_co_do_copy_on_readv()
[all …]
H A Dmirror.c291 int64_t align_offset = *offset; in mirror_cow_align() local
300 &align_offset, &align_bytes); in mirror_cow_align()
311 align_bytes = mirror_clip_bytes(s, align_offset, align_bytes); in mirror_cow_align()
313 ret = align_offset + align_bytes - (*offset + *bytes); in mirror_cow_align()
314 *offset = align_offset; in mirror_cow_align()
/openbmc/hiomapd/file/
H A Dbackend.c266 .align_offset = NULL,
/openbmc/hiomapd/mtd/
H A Dbackend.c357 .align_offset = NULL,
/openbmc/hiomapd/vpnor/
H A Dbackend.cpp525 .align_offset = vpnor_align_offset,