Searched refs:itemsize (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_array.c | 42 static kern_return_t array_init(KXLDArray *array, size_t itemsize, u_int nitems); 50 kxld_array_init(KXLDArray *array, size_t itemsize, u_int nitems) argument 66 require_action(itemsize, finish, rval=KERN_INVALID_ARGUMENT); 76 /* Update the array's maxitems based on the new itemsize */ 77 array->pool_maxitems = (u_int) (array->pool_capacity / itemsize); 100 array->itemsize = itemsize; 110 rval = array_init(array, itemsize, nitems); 138 array_init(KXLDArray *array, size_t itemsize, u_int nitems) argument 143 require_action(itemsize, finis [all...] |
H A D | kxld_array.h | 80 size_t itemsize; /* The size of the items that the array contains */ member in struct:kxld_array 104 /* Initializes the array's capacity to a minimum of nitems * itemsize */ 105 kern_return_t kxld_array_init(KXLDArray *array, size_t itemsize, u_int nitems)
|
Completed in 18 milliseconds