HomeSort by: relevance | last modified time | path
    Searched refs:pid (Results 1 - 25 of 548) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/arch/hpc/hpc/
platid_test.c 43 platid_t pid; local in function:platid_bit_test
47 memset((char*)&pid, 0, sizeof(pid));
48 pid.s.cpu_arch = ~0;
49 if (pid.dw.dw0 != PLATID_CPU_ARCH_MASK && err_count++ || verbose) {
50 platid_hton(&pid);
51 platid_dump("cpu_arch", &pid);
55 memset((char*)&pid, 0, sizeof(pid));
56 pid.s.cpu_series = ~0
243 platid_t pid = platid_unknown; local in function:main
    [all...]
platid.c 53 platid_ntoh(platid_t *pid)
56 pid->dw.dw0 = ntohl(pid->dw.dw0);
57 pid->dw.dw1 = ntohl(pid->dw.dw1);
61 platid_hton(platid_t *pid)
64 pid->dw.dw0 = htonl(pid->dw.dw0);
65 pid->dw.dw1 = htonl(pid->dw.dw1)
    [all...]
  /src/sys/arch/arm/at91/
at91pmcvar.h 32 void at91pmc_peripheral_clock(int pid, int enable);
at91busvar.h 87 void (*peripheral_clock)(int pid, int enable);
90 at91pio_port (*pio_port)(int pid);
91 uint32_t (*gpio_mask)(int pid);
95 void *(*intr_establish)(int pid, int ipl, int type, int (*ih_func)(void *), void *arg);
101 const char *(*peripheral_name)(int pid);
103 device_t (*found_func)(device_t, bus_addr_t, int pid));
130 at91_peripheral_clock(int pid, int enable)
132 return (*at91bus_tag->peripheral_clock)(pid, enable);
136 at91_peripheral_name(int pid)
138 return (*at91bus_tag->peripheral_name)(pid);
    [all...]
at91rm9200bus.c 60 void at91rm9200bus_peripheral_clock(int pid, int enable)
62 switch (pid) {
70 at91pmc_peripheral_clock(pid, enable);
73 at91pio_port at91rm9200bus_pio_port(int pid)
75 switch (pid) {
80 default: panic("%s: pid %d not valid", __FUNCTION__, pid);
85 uint32_t at91rm9200bus_gpio_mask(int pid)
90 const char *at91rm9200bus_peripheral_name(int pid)
92 switch (pid) {
134 int pid; member in struct:at91rm9200bus_search_peripherals::__anonb27d3ec90108
    [all...]
at91sam9260bus.c 67 void at91sam9260bus_peripheral_clock(int pid, int enable) {
68 switch (pid) {
76 at91pmc_peripheral_clock(pid, enable);
79 at91pio_port at91sam9260bus_pio_port(int pid) {
80 switch (pid) {
84 default: panic("%s: pid %d not valid", __FUNCTION__, pid);
89 uint32_t at91sam9260bus_gpio_mask(int pid) {
93 const char *at91sam9260bus_peripheral_name(int pid) {
94 switch (pid) {
131 int pid; member in struct:at91sam9260bus_search_peripherals::__anon24b615110108
    [all...]
at91sam9261bus.c 60 void at91sam9261bus_peripheral_clock(int pid, int enable)
62 switch (pid) {
70 at91pmc_peripheral_clock(pid, enable);
73 at91pio_port at91sam9261bus_pio_port(int pid)
75 switch (pid) {
79 default: panic("%s: pid %d not valid", __FUNCTION__, pid);
84 uint32_t at91sam9261bus_gpio_mask(int pid)
89 const char *at91sam9261bus_peripheral_name(int pid)
91 switch (pid) {
125 int pid; member in struct:at91sam9261bus_search_peripherals::__anon270b3db20108
    [all...]
  /src/lib/libc/compat-43/
setpgrp.c 45 setpgrp(pid_t pid, pid_t pgid)
47 return(setpgid(pid, pgid));
  /src/sys/dev/eisa/
eisareg.h 90 #define EISA_PRODID_0(pid) \
91 (HEXDIGITS[(((pid)[0] >> 4) & 0xf)])
92 #define EISA_PRODID_1(pid) \
93 (HEXDIGITS[(((pid)[0] >> 0) & 0xf)])
94 #define EISA_PRODID_2(pid) \
95 (HEXDIGITS[(((pid)[1] >> 4) & 0xf)])
96 #define EISA_PRODID_3(pid) \
97 (HEXDIGITS[(((pid)[1] >> 0) & 0xf)])
  /src/lib/libc/sys/
sched.c 49 sched_setparam(pid_t pid, const struct sched_param *param)
55 return _sched_setparam(pid, P_ALL_LWPS, SCHED_NONE, &sp);
59 sched_getparam(pid_t pid, struct sched_param *param)
62 return _sched_getparam(pid, P_ALL_LWPS, NULL, param);
66 sched_setscheduler(pid_t pid, int policy, const struct sched_param *param)
71 ret = _sched_getparam(pid, P_ALL_LWPS, &old_policy, &sp);
77 ret = _sched_setparam(pid, P_ALL_LWPS, policy, &sp);
85 sched_getscheduler(pid_t pid)
90 ret = _sched_getparam(pid, P_ALL_LWPS, &policy, &sp);
135 sched_rr_get_interval(pid_t pid, struct timespec *interval
    [all...]
Lint_ptrace.c 14 ptrace(int request, pid_t pid, void *addr, int data)
clock_getcpuclockid.c 41 clock_getcpuclockid(pid_t pid, clockid_t *clock_id)
46 if (clock_getcpuclockid2(P_PID, (id_t)pid, clock_id) == -1)
  /src/tests/lib/libc/sys/
t_ptrace_kill.c 78 pid_t rpid, pid; local in function:waitthread
80 pid = *(pid_t *)pidp;
81 printf("waiting for %d\n", pid);
82 while ((rpid = waitpid(pid, &status, 0)) != pid) {
83 printf("waitpid %d = %d status = %#x", pid, rpid, status);
85 printf("done waitpid %d = %d status = %#x", pid, rpid, status);
91 pid_t pid; local in function:ATF_TC_BODY
99 switch (pid = fork()) {
106 SYSCALL(pthread_create(&thread, NULL, waitthread, &pid), 0)
    [all...]
t_wait.c 76 pid_t pid; local in function:ATF_TC_BODY
78 switch (pid = fork()) {
83 ATF_REQUIRE(pid > 0);
86 ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid);
89 ATF_REQUIRE(si.si_pid == pid);
110 pid_t pid; local in function:ATF_TC_BODY
112 switch (pid = fork()) {
117 ATF_REQUIRE(pid > 0);
120 ATF_REQUIRE(kill(pid, SIGTERM) == 0)
145 pid_t pid; local in function:ATF_TC_BODY
182 pid_t pid; local in function:ATF_TC_BODY
248 pid_t pid; local in function:ATF_TC_BODY
    [all...]
t_sigaction.c 69 wait_and_check_child(const pid_t pid, const char *fail_message)
73 (void)waitpid(pid, &status, 0);
115 const pid_t pid = fork(); local in function:ATF_TC_BODY
116 if (pid == -1)
118 else if (pid == 0)
121 wait_and_check_child(pid, "Child process did not exit cleanly;"
133 const pid_t pid = fork(); local in function:ATF_TC_BODY
134 if (pid == -1)
136 else if (pid == 0)
139 wait_and_check_child(pid, "Child process did not exit cleanly;
    [all...]
  /src/tests/kernel/
h_getprocpath.c 36 getprocpath(char *path, size_t len, pid_t pid)
39 CTL_KERN, KERN_PROC_ARGS, pid, KERN_PROC_PATHNAME,
48 fprintf(stderr, "Usage: %s <pid>\n", getprogname());
53 pid_t pid = atoi(argv[1]); local in function:main
55 if (getprocpath(buf, sizeof(buf), pid) == -1)
56 err(EXIT_FAILURE, "sysctl: %d", pid);
t_ps_strings.sh 42 local pid seq arg
44 pid="$1" ; shift
46 while [ "$1" != "$pid" ] ; do
77 parse=$(parse_ps $h_pid $(ps -wwo pid,args -p $h_pid) )
h_fpufork.c 42 pid_t child, pid; local in function:main
47 pid = fork();
48 switch (pid) {
  /src/games/cribbage/
instr.c 63 pid_t pid; local in function:instructions
66 switch (pid = vfork()) {
93 pid = waitpid(pid, &pstat, 0);
94 } while (pid == -1 && errno == EINTR);
95 if (pid == -1 || WEXITSTATUS(pstat))
  /src/etc/rc.d/
ppp 51 for pid in $pids; do
52 kill $sig_hup $pid
61 for pid in $pids; do
62 kill $sig_stop $pid
  /src/tests/lib/libc/stdlib/
t_exit.c 59 pid_t pid; local in function:ATF_TC_BODY
62 pid = fork();
63 ATF_REQUIRE(pid >= 0);
65 if (pid == 0) {
92 pid_t pid; local in function:ATF_TC_BODY
95 pid = fork();
96 ATF_REQUIRE(pid >= 0);
98 if (pid == 0) {
119 pid_t pid; local in function:ATF_TC_BODY
123 pid = fork()
148 pid_t pid; local in function:ATF_TC_BODY
    [all...]
  /src/usr.sbin/autofs/
popen.c 64 struct pid { struct
65 SLIST_ENTRY(pid) next;
67 pid_t pid; member in struct:pid
70 static SLIST_HEAD(, pid) pidlist = SLIST_HEAD_INITIALIZER(pidlist);
83 struct pid *cur, *p;
84 pid_t pid; local in function:auto_popen
96 cur = malloc(sizeof(struct pid));
118 switch (pid = fork()) {
137 log_debugx("executing \"%s\" as pid %d", command, pid);
156 pid_t pid; local in function:auto_pclose
    [all...]
  /src/tests/kernel/kqueue/
t_proc2.c 61 pid_t pid; local in function:child_one
72 pid = fork();
73 if (pid == -1)
76 if (pid == 0)
92 pid_t pid = 0; local in function:ATF_TC_BODY
102 RL(pid = fork());
103 if (pid == 0) {
109 EV_SET(&ke, (uintptr_t)pid, EVFILT_PROC, EV_ADD, NOTE_FORK|NOTE_TRACK,
123 RL(waitpid(pid, &status, 0));
  /src/usr.bin/gcore/
gcore.c 55 (void)fprintf(stderr, "Usage: %s [-c <corename>] <pid> [<pid> ...]\n",
87 pid_t pid, cpid; local in function:main
95 err(1, "Pid `%s'", argv[c]);
97 pid = (pid_t)lval;
99 if (ptrace(PT_ATTACH, pid, 0, 0) == -1)
102 if ((cpid = waitpid(pid, &status, 0)) != pid) {
104 (void)ptrace(PT_DETACH, pid, (void *)1, 0);
113 if (ptrace(PT_DUMPCORE, pid, corename, corelen) == -1)
    [all...]
  /src/tests/lib/libc/gen/posix_spawn/
t_spawnattr.c 108 int pid, scheduler, child_scheduler, priority, status, pfd[2]; local in function:ATF_TC_BODY
144 RZ(posix_spawn(&pid, helper, NULL, &attr, args, NULL));
145 ATF_REQUIRE_MSG(pid > 0, "pid=%lld", (long long)pid);
147 RL(child_scheduler = sched_getscheduler(pid));
149 "scheduler = %d, child_scheduler = %d, pid %d, errno %d",
150 scheduler, child_scheduler, pid, errno);
152 RL(sched_getparam(pid, &child_sp));
157 ATF_REQUIRE_MSG(pid == getpgid(pid), "child pid: %d, child pgid: %d"
188 pid_t pid; local in function:ATF_TC_BODY
    [all...]

Completed in 135 milliseconds

1 2 3 4 5 6 7 8 91011>>