Lines Matching refs:size
485 unsigned size, const void *data,
508 storage->pool->size(storage) < size ||
509 storage->pool->size(storage) >
510 size + WSBM_BODATA_SIZE_ACCEPT);
521 if (size == 0) {
529 newPool->create(newPool, size, placement, buf->alignment);
549 curPool->create(curPool, size, placement, buf->alignment);
601 memcpy(virtual, data, size);
615 unsigned size, const void *data, struct _WsbmBufferPool *newPool,
626 unsigned long size, uint32_t placement, unsigned alignment,
641 storage->pool->size(storage) < size ||
642 storage->pool->size(storage) >
643 size + WSBM_BODATA_SIZE_ACCEPT);
654 if (size == 0) {
662 ttm_pool_ub_create(newPool, size, placement, buf->alignment, user_ptr, fd);
684 ttm_pool_ub_create(curPool, size, placement, buf->alignment, user_ptr, fd);
732 memcpy((unsigned long *) user_ptr, data, size);
749 return pool->create(pool, pool->size(storage), buf->placement,
789 memcpy(nVirtual, virtual, pool->size(storage));
809 unsigned long offset, unsigned long size, const void *data,
818 if (size && data) {
867 memcpy((unsigned char *)virtual + offset, data, size);
877 unsigned long offset, unsigned long size, void *data)
881 if (size && data) {
894 memcpy(data, (unsigned char *)virtual + offset, size);
930 unsigned long size,
947 storage = pool->create(pool, size, placement, alignment);
1285 unsigned long size;
1289 size = storage->pool->size(storage);
1291 return size;