Searched refs:bufferPtr (Results 1 - 6 of 6) sorted by relevance

/gem5/src/sim/
H A Dsyscall_emul_buf.hh117 void *bufferPtr() { return bufPtr; } function in class:BufferArg
H A Dsyscall_emul.cc91 long *ctid = (long *)ctidBuf.bufferPtr();
356 memcpy(result_buf.bufferPtr(), &result, sizeof(result));
383 strncpy((char *)name.bufferPtr(), hostname, name_len);
407 strncpy((char *)buf.bufferPtr(), cwd.c_str(), size);
410 if (getcwd((char *)buf.bufferPtr(), size)) {
411 result = strlen((char *)buf.bufferPtr());
447 result = readlink(path.c_str(), (char *)buf.bufferPtr(), bufsiz);
467 strncpy((char*)buf.bufferPtr(), real_path, bufsiz);
480 (char*)buf.bufferPtr());
919 int *buf_ptr = (int*)tgt_handle.bufferPtr();
[all...]
H A Dsyscall_emul.hh361 int mem_val = *(int*)buf.bufferPtr();
388 int mem_val = *(int*)buf.bufferPtr();
421 int oldval = *(int*)buf.bufferPtr();
443 *(int*)buf.bufferPtr() = newval;
710 ifconf *conf = (ifconf*)conf_arg.bufferPtr();
715 conf->ifc_buf = (char*)ifc_buf_arg.bufferPtr();
717 status = ioctl(sfdp->getSimFD(), req, conf_arg.bufferPtr());
740 status = ioctl(sfdp->getSimFD(), req, req_arg.bufferPtr());
1079 temp_tgt_fds[index] = ((struct pollfd *)fdsBuf.bufferPtr())[index].fd;
1085 ((struct pollfd *)fdsBuf.bufferPtr())[inde
[all...]
/gem5/src/gpu-compute/
H A Dcl_driver.cc174 char *bufp = (char*)buf.bufferPtr();
184 assert(bufp - (char *)buf.bufferPtr() == string_table_size);
197 char *datap = (char *)data.bufferPtr();
237 *((uint32_t*)buf.bufferPtr()) = dispatcher->getNumCUs();
245 *((uint32_t*)buf.bufferPtr()) = dispatcher->wfSize();
252 *((uint32_t*)buf.bufferPtr()) = dispatcher->getStaticContextSize();
/gem5/src/arch/arm/freebsd/
H A Dprocess.cc119 hnewp = (void *)buf4.bufferPtr();
122 uint32_t *hnamep = (uint32_t *)buf.bufferPtr();
123 void *holdp = (void *)buf2.bufferPtr();
124 size_t *holdlenp = (size_t *)buf3.bufferPtr();
/gem5/src/arch/sparc/linux/
H A Dsyscalls.cc73 memcpy(ruidBuff.bufferPtr(), &id, sizeof(uint64_t));
79 memcpy(euidBuff.bufferPtr(), &id, sizeof(uint64_t));
85 memcpy(suidBuff.bufferPtr(), &id, sizeof(uint64_t));

Completed in 14 milliseconds