Loading drivers/char/adsprpc.c +6 −4 Original line number Diff line number Diff line Loading @@ -1599,10 +1599,11 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx) PERF_END); for (i = bufs; i < bufs + handles; ++i) { struct fastrpc_mmap *map = ctx->maps[i]; if (map) { pages[i].addr = map->phys; pages[i].size = map->size; } } fdlist = (uint64_t *)&pages[bufs + handles]; for (i = 0; i < M_FDLIST; i++) fdlist[i] = 0; Loading Loading @@ -1679,6 +1680,7 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx) } PERF_END); for (i = bufs; rpra && lrpra && i < bufs + handles; i++) { if (ctx->fds) rpra[i].dma.fd = lrpra[i].dma.fd = ctx->fds[i]; rpra[i].dma.len = lrpra[i].dma.len = (uint32_t)lpra[i].buf.len; rpra[i].dma.offset = lrpra[i].dma.offset = Loading Loading
drivers/char/adsprpc.c +6 −4 Original line number Diff line number Diff line Loading @@ -1599,10 +1599,11 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx) PERF_END); for (i = bufs; i < bufs + handles; ++i) { struct fastrpc_mmap *map = ctx->maps[i]; if (map) { pages[i].addr = map->phys; pages[i].size = map->size; } } fdlist = (uint64_t *)&pages[bufs + handles]; for (i = 0; i < M_FDLIST; i++) fdlist[i] = 0; Loading Loading @@ -1679,6 +1680,7 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx) } PERF_END); for (i = bufs; rpra && lrpra && i < bufs + handles; i++) { if (ctx->fds) rpra[i].dma.fd = lrpra[i].dma.fd = ctx->fds[i]; rpra[i].dma.len = lrpra[i].dma.len = (uint32_t)lpra[i].buf.len; rpra[i].dma.offset = lrpra[i].dma.offset = Loading