Lines Matching refs:ctl
144 ctl_t ctl; in attach() local
145 ctl.cmd = PCSET; in attach()
146 ctl.arg.flags = PR_RLC; in attach()
147 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags); in attach()
148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes); in attach()
157 ctl.cmd = PCSTOP; in attach()
158 bytes = sizeof(ctl.cmd); in attach()
159 written = write(ctl_fd, (void *) &ctl, bytes); in attach()
378 ctl_t ctl; in invoke_agent() local
379 ctl.cmd = PCAGENT; in invoke_agent()
380 memcpy(&ctl.arg.regs, regs, sizeof(prgregset_t)); in invoke_agent()
381 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.regs); in invoke_agent()
382 ssize_t written = write(ctl_fd, (void *) &ctl, bytes); in invoke_agent()
427 ctl.cmd = PCRUN; in invoke_agent()
428 ctl.arg.flags = 0; in invoke_agent()
429 bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags); in invoke_agent()
430 written = write(agent_ctl_fd, (void *) &ctl, bytes); in invoke_agent()
468 ctl_t ctl; in wait_for_agent_exit() local
469 ctl.cmd = PCWSTOP; in wait_for_agent_exit()
470 size_t bytes = sizeof(ctl.cmd); in wait_for_agent_exit()
471 ssize_t written = write(agent_ctl_fd, (void *) &ctl, bytes); in wait_for_agent_exit()