Lines Matching defs:array
39 * and the data payload for short messages), and then an array of
41 * The tail iovec allows you to append data after the page array. Its
60 #define XDRBUF_SPARSE_PAGES 0x04 /* Page array is sparse */
457 * xdr_stream_encode_uint32_array - Encode variable length array of integers
459 * @array: array of integers
460 * @array_size: number of elements in @array
468 const __u32 *array, size_t array_size)
476 for (; array_size > 0; p++, array++, array_size--)
477 *p = cpu_to_be32p(array);
586 * xdr_stream_decode_uint32_array - Decode variable length array of integers
588 * @array: location to store the integer array or NULL
592 * On success, returns number of elements stored in @array
594 * %-EMSGSIZE if the size of the array exceeds @array_size
598 __u32 *array, size_t array_size)
611 if (array == NULL)
615 memset(array+len, 0, (array_size-len)*sizeof(*array));
620 for (; array_size > 0; p++, array++, array_size--)
621 *array = be32_to_cpup(p);