olaps             168 drivers/misc/fastrpc.c 	struct fastrpc_buf_overlap *olaps;
olaps             336 drivers/misc/fastrpc.c 	kfree(ctx->olaps);
olaps             379 drivers/misc/fastrpc.c 		ctx->olaps[i].start = ctx->args[i].ptr;
olaps             380 drivers/misc/fastrpc.c 		ctx->olaps[i].end = ctx->olaps[i].start + ctx->args[i].length;
olaps             381 drivers/misc/fastrpc.c 		ctx->olaps[i].raix = i;
olaps             384 drivers/misc/fastrpc.c 	sort(ctx->olaps, ctx->nbufs, sizeof(*ctx->olaps), olaps_cmp, NULL);
olaps             388 drivers/misc/fastrpc.c 		if (ctx->olaps[i].start < max_end) {
olaps             389 drivers/misc/fastrpc.c 			ctx->olaps[i].mstart = max_end;
olaps             390 drivers/misc/fastrpc.c 			ctx->olaps[i].mend = ctx->olaps[i].end;
olaps             391 drivers/misc/fastrpc.c 			ctx->olaps[i].offset = max_end - ctx->olaps[i].start;
olaps             393 drivers/misc/fastrpc.c 			if (ctx->olaps[i].end > max_end) {
olaps             394 drivers/misc/fastrpc.c 				max_end = ctx->olaps[i].end;
olaps             396 drivers/misc/fastrpc.c 				ctx->olaps[i].mend = 0;
olaps             397 drivers/misc/fastrpc.c 				ctx->olaps[i].mstart = 0;
olaps             401 drivers/misc/fastrpc.c 			ctx->olaps[i].mend = ctx->olaps[i].end;
olaps             402 drivers/misc/fastrpc.c 			ctx->olaps[i].mstart = ctx->olaps[i].start;
olaps             403 drivers/misc/fastrpc.c 			ctx->olaps[i].offset = 0;
olaps             404 drivers/misc/fastrpc.c 			max_end = ctx->olaps[i].end;
olaps             435 drivers/misc/fastrpc.c 		ctx->olaps = kcalloc(ctx->nscalars,
olaps             436 drivers/misc/fastrpc.c 				    sizeof(*ctx->olaps), GFP_KERNEL);
olaps             437 drivers/misc/fastrpc.c 		if (!ctx->olaps) {
olaps             480 drivers/misc/fastrpc.c 	kfree(ctx->olaps);
olaps             702 drivers/misc/fastrpc.c 			if (ctx->olaps[i].offset == 0)
olaps             705 drivers/misc/fastrpc.c 			size += (ctx->olaps[i].mend - ctx->olaps[i].mstart);
olaps             774 drivers/misc/fastrpc.c 		i = ctx->olaps[oix].raix;
olaps             803 drivers/misc/fastrpc.c 			if (ctx->olaps[oix].offset == 0) {
olaps             808 drivers/misc/fastrpc.c 			mlen = ctx->olaps[oix].mend - ctx->olaps[oix].mstart;
olaps             813 drivers/misc/fastrpc.c 			rpra[i].pv = args - ctx->olaps[oix].offset;
olaps             815 drivers/misc/fastrpc.c 					ctx->olaps[oix].offset +