Home | History | Annotate | Download | only in csource

Lines Matching defs:copyin

171 		// Copyin.
172 for _, copyin := range call.Copyin {
173 ctx.copyin(w, &csumSeq, copyin)
188 // TODO: if we don't emit the call we must also not emit copyin, copyout and fault injection.
275 func (ctx *context) copyin(w *bytes.Buffer, csumSeq *int, copyin prog.ExecCopyin) {
276 switch arg := copyin.Arg.(type) {
279 ctx.copyinVal(w, copyin.Addr, arg.Size, ctx.constArgToStr(arg), arg.Format)
285 arg.Size*8, copyin.Addr, ctx.constArgToStr(arg),
289 ctx.copyinVal(w, copyin.Addr, arg.Size, ctx.resultArgToStr(arg), arg.Format)
292 copyin.Addr, toCString(arg.Data), len(arg.Data))
297 ctx.generateCsumInet(w, copyin.Addr, arg, *csumSeq)