Lines Matching full:array
12 The XArray is an abstract data type which behaves like a very large array
14 resizable array. Unlike a hash, it allows you to sensibly go to the
16 resizable array, there is no need to copy data or change MMU mappings in
17 order to grow the array. It is more memory-efficient, parallelisable
28 Each non-``NULL`` entry in the array has three bits associated with
96 You can copy entries out of the XArray into a plain array by calling
119 If all entries in the array are ``NULL``, the xa_empty() function
135 in the XArray. If you need to modify the array from interrupt context,
225 prevent stores from removing the object from the array between looking
231 the array. It is safe to read the XArray from interrupt or softirq
239 xa_init_flags(&foo->array, XA_FLAGS_LOCK_BH);
246 xa_lock_bh(&foo->array);
247 err = xa_err(__xa_store(&foo->array, index, entry, GFP_KERNEL));
250 xa_unlock_bh(&foo->array);
257 xa_lock(&foo->array);
258 __xa_erase(&foo->array, index);
260 xa_unlock(&foo->array);
264 you need to initialise the array using xa_init_flags(), passing
269 associated with the array.
296 to use the xa_lock while modifying the array. You can choose whether
298 the array. You can mix advanced and normal operations on the same array;
359 of the array.
395 not walk the cursor around the array so does not require a lock to be