Lines Matching refs:nscalars
177 int nscalars;
365 for (i = 0; i < ctx->nscalars; i++)
464 ctx->nscalars = REMOTE_SCALARS_LENGTH(sc);
468 if (ctx->nscalars) {
469 ctx->maps = kcalloc(ctx->nscalars,
475 ctx->olaps = kcalloc(ctx->nscalars,
719 sizeof(struct fastrpc_phy_page)) * ctx->nscalars +
752 for (i = 0; i < ctx->nscalars; ++i) {
799 list = ctx->buf->virt + ctx->nscalars * sizeof(*rpra);
800 pages = ctx->buf->virt + ctx->nscalars * (sizeof(*list) +
879 for (i = ctx->nbufs; i < ctx->nscalars; ++i) {
973 if (ctx->nscalars) {
996 if (ctx->nscalars) {
1324 u32 nscalars;
1330 /* nscalars is truncated here to max supported value */
1331 nscalars = REMOTE_SCALARS_LENGTH(inv.sc);
1332 if (nscalars) {
1333 args = kcalloc(nscalars, sizeof(*args), GFP_KERNEL);
1338 nscalars * sizeof(*args))) {