Lines Matching +full:zero +full:- +full:initialised

1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include "dm-array.h"
12 /*----------------------------------------------------------------*/
19 * Like the dm-array that it's based on, the caller needs to keep track of
20 * the size of the bitset separately. The underlying dm-array implicitly
21 * knows how many words it's storing and will return -ENODATA if you try
25 * Bits are indexed from zero.
82 * tm - the transaction manager that should supervise this structure
83 * info - the structure being initialised
89 * Create an empty, zero length bitset.
91 * info - describes the bitset
92 * new_root - on success, points to the new root block
102 * info - describes the array
103 * root - the root block of the array on disk
104 * size - the number of entries in the array
105 * fn - the callback
106 * context - passed to the callback
115 * info - describes the bitset
116 * old_root - the root block of the array on disk
117 * old_nr_entries - the number of bits in the old bitset
118 * new_nr_entries - the number of bits you want in the new bitset
119 * default_value - the value for any new bits
120 * new_root - on success, points to the new root block
134 * info - describes the bitset
135 * root - the root block of the bitset
136 * index - the bit index
137 * new_root - on success, points to the new root block
139 * -ENODATA will be returned if the index is out of bounds.
147 * info - describes the bitset
148 * root - the root block of the bitset
149 * index - the bit index
150 * new_root - on success, points to the new root block
152 * -ENODATA will be returned if the index is out of bounds.
160 * info - describes the bitset
161 * root - the root block of the bitset
162 * index - the bit index
163 * new_root - on success, points to the new root block (cached values may have been written)
164 * result - the bit value you're after
166 * -ENODATA will be returned if the index is out of bounds.
174 * info - describes the bitset
175 * root - the root block of the bitset
176 * new_root - on success, points to the new root block
204 /*----------------------------------------------------------------*/