Lines Matching refs:flags
786 * Translate target flags into host flags. Flags exist which are not
797 warn("open%s: cannot decode flags 0x%x",
1044 // XXX translate mode flags via OS::something???
1166 uint64_t flags = process->getSyscallArg(tc, index);
1168 bool use_provided_address = flags & OS::TGT_MREMAP_FIXED;
1194 if (!use_provided_address && !(flags & OS::TGT_MREMAP_MAYMOVE)) {
1500 RegVal flags = p->getSyscallArg(tc, index);
1508 * order: flags -> newStack -> ptidPtr -> tlsPtr -> ctidPtr
1517 if (((flags & OS::TGT_CLONE_SIGHAND)&& !(flags & OS::TGT_CLONE_VM)) ||
1518 ((flags & OS::TGT_CLONE_THREAD) && !(flags & OS::TGT_CLONE_SIGHAND)) ||
1519 ((flags & OS::TGT_CLONE_FS) && (flags & OS::TGT_CLONE_NEWNS)) ||
1520 ((flags & OS::TGT_CLONE_NEWIPC) && (flags & OS::TGT_CLONE_SYSVSEM)) ||
1521 ((flags & OS::TGT_CLONE_NEWPID) && (flags & OS::TGT_CLONE_THREAD)) ||
1522 ((flags & OS::TGT_CLONE_VM) && !(newStack)))
1561 pp->ppid = (flags & OS::TGT_CLONE_THREAD) ? p->ppid() : p->pid();
1572 if (flags & OS::TGT_CLONE_PARENT_SETTID) {
1579 if (flags & OS::TGT_CLONE_THREAD) {
1584 p->clone(tc, ctc, cp, flags);
1586 if (flags & OS::TGT_CLONE_THREAD) {
1589 } else if (flags & OS::TGT_SIGCHLD) {
1593 if (flags & OS::TGT_CLONE_CHILD_SETTID) {
1600 if (flags & OS::TGT_CLONE_CHILD_CLEARTID)
1605 OS::archClone(flags, p, cp, tc, ctc, newStack, tlsPtr);
2836 int flags = cloexec ? OS::TGT_O_CLOEXEC : 0;
2837 flags |= (in_flags & OS::TGT_O_NONBLOCK) ? OS::TGT_O_NONBLOCK : 0;
2839 auto hbfdp = std::make_shared<HBFDEntry>(flags, sim_fd, cloexec);