Lines Matching refs:size

112 	u64 size;		/* size of contiguous region */
160 u64 size;
177 u64 size; /* size of contiguous region */
200 u64 size;
223 u64 size;
326 err = qcom_scm_assign_mem(map->phys, map->size,
329 dev_err(map->fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d",
330 map->phys, map->size, err);
397 dma_free_coherent(buf->dev, buf->size, buf->virt,
403 u64 size, struct fastrpc_buf **obuf)
418 buf->size = size;
422 buf->virt = dma_alloc_coherent(dev, buf->size, (dma_addr_t *)&buf->phys,
436 u64 size, struct fastrpc_buf **obuf)
441 ret = __fastrpc_buf_alloc(fl, dev, size, obuf);
454 u64 size, struct fastrpc_buf **obuf)
458 return __fastrpc_buf_alloc(fl, rdev, size, obuf);
693 FASTRPC_PHYS(buffer->phys), buffer->size);
737 size_t size = vma->vm_end - vma->vm_start;
742 FASTRPC_PHYS(buf->phys), size);
801 map->size = len;
818 err = qcom_scm_assign_mem(map->phys, (u64)map->size, &src_perms, dst_perms, 2);
820 dev_err(sess->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d",
821 map->phys, map->size, err);
871 int size = 0;
873 size = (sizeof(struct fastrpc_remote_buf) +
879 return size;
884 u64 size = 0;
887 size = ALIGN(metalen, FASTRPC_ALIGN);
894 size = ALIGN(size, FASTRPC_ALIGN);
896 size += (ctx->olaps[oix].mend - ctx->olaps[oix].mstart);
900 return size;
999 pages[i].size = (pg_end - pg_start + 1) * PAGE_SIZE;
1021 pages[i].size = (pg_end - pg_start + 1) * PAGE_SIZE;
1047 pages[i].size = ctx->maps[i]->size;
1125 msg->size = roundup(ctx->msg_sz, PAGE_SIZE);
1283 (u64)fl->cctx->remote_heap->size,
1287 dev_err(fl->sctx->dev, "Failed to assign memory with phys 0x%llx size 0x%llx err %d",
1288 fl->cctx->remote_heap->phys, fl->cctx->remote_heap->size, err);
1308 pages[0].size = fl->cctx->remote_heap->size;
1336 (u64)fl->cctx->remote_heap->size,
1339 dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d",
1340 fl->cctx->remote_heap->phys, fl->cctx->remote_heap->size, err);
1430 pages[0].size = imem->size;
1609 err = fastrpc_buf_alloc(fl, fl->sctx->dev, bp.size, &buf);
1613 exp_info.size = bp.size;
1800 req_msg.size = buf->size;
1833 if ((iter->raddr == req.vaddrout) && (iter->size == req.size)) {
1842 req.vaddrout, req.size);
1876 err = fastrpc_remote_heap_alloc(fl, dev, req.size, &buf);
1878 err = fastrpc_buf_alloc(fl, dev, req.size, &buf);
1894 pages.size = buf->size;
1906 dev_err(dev, "mmap error (len 0x%08llx)\n", buf->size);
1918 err = qcom_scm_assign_mem(buf->phys, (u64)buf->size,
1921 dev_err(fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d",
1922 buf->phys, buf->size, err);
1937 buf->raddr, buf->size);
2039 pages.size = map->size;
2053 dev_err(dev, "mem mmap error, fd %d, vaddr %llx, size %lld\n",
2054 req.fd, req.vaddrin, map->size);
2067 req_unmap.length = map->size;