Lines Matching full:array

14  * The dm-array is a persistent version of an array.  It packs the data
25 * size along with the array root in your encompassing data.
27 * Array entries are indexed via an unsigned integer starting from zero.
28 * Arrays are not sparse; if you resize an array to have 'n' entries then
33 * a) initialise a dm_array_info structure. This describes the array
39 * disk that holds a particular instance of an array. You may have a
41 * want to create a brand new, empty array with dm_array_empty().
45 * root for a _new_ array. If you've incremented the old root, via
49 * c) resize an array with dm_array_resize().
51 * d) Get a value from the array with dm_array_get_value().
53 * e) Set a value in the array with dm_array_set_value().
55 * f) Walk an array of values in index order with dm_array_walk(). More
58 * g) Destroy the array with dm_array_del(). This tells the transaction
65 * Describes an array. Don't initialise this structure yourself, use the
87 * Create an empty, zero length array.
89 * info - describes the array
95 * Resizes the array.
97 * info - describes the array
98 * root - the root block of the array on disk
100 * the array
102 * value - if we're growing the array the new entries will have this value
115 * Creates a new array populated with values provided by a callback
116 * function. This is more efficient than creating an empty array,
121 * array.
123 * info - describes the array
124 * root - the root block of the array on disk
125 * size - the number of entries in the array
134 * Frees a whole array. The value_type's decrement operation will be called
135 * for all values in the array
140 * Lookup a value in the array
142 * info - describes the array
143 * root - root block of the array
144 * index - array index
153 * Set an entry in the array.
155 * info - describes the array
156 * root - root block of the array
157 * index - array index
172 * Walk through all the entries in an array.
174 * info - describes the array
175 * root - root block of the array
188 * This lets you iterate through all the entries in an array efficiently