mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Allow to specify the wrap size in allocation
This commit is contained in:
parent
e0f7f9fa6f
commit
a457795e7c
3 changed files with 8 additions and 8 deletions
|
|
@ -89,7 +89,7 @@ void **raid_malloc_vector(int n, size_t size, void **freeptr);
|
|||
/**
|
||||
* Arbitrary aligned vector allocation.
|
||||
*/
|
||||
void **raid_malloc_vector_align(int n, size_t size, size_t align_size, ssize_t displacement_size, void **freeptr);
|
||||
void **raid_malloc_vector_align(int n, size_t size, size_t align_size, ssize_t displacement_size, ssize_t wrap_size, void **freeptr);
|
||||
|
||||
/**
|
||||
* Fills the memory vector with pseudo-random data based on the specified seed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue