Home
last modified time | relevance | path

Searched refs:npids (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/hurd/
Dhurdprio.c29 mach_msg_type_number_t npids = 64, i; in _hurd_priority_which_map() local
30 pid_t pidbuf[npids], *pids = pidbuf; in _hurd_priority_which_map()
46 err = __USEPORT (PROC, __proc_getpgrppids (port, who, &pids, &npids)); in _hurd_priority_which_map()
47 for (i = 0; !err && i < npids; ++i) in _hurd_priority_which_map()
54 err = __USEPORT (PROC, __proc_getallpids (port, &pids, &npids)); in _hurd_priority_which_map()
55 for (i = 0; !err && i < npids; ++i) in _hurd_priority_which_map()
83 __munmap (pids, npids * sizeof pids[0]); in _hurd_priority_which_map()
Dhurdkill.c54 mach_msg_type_number_t npids = 10, i; in _hurd_sig_post() local
57 err = __proc_getpgrppids (proc, - pid, &pids, &npids); in _hurd_sig_post()
61 for (i = 0; i < npids; ++i) in _hurd_sig_post()
75 (vm_address_t) pids, npids * sizeof (pids[0])); in _hurd_sig_post()
/glibc-2.36/sysdeps/mach/hurd/
Dsetpriority.c28 unsigned int npids, ntasks, nwin, nperm, nacces; in __setpriority() local
38 ++npids; in __setpriority()
69 --npids; in __setpriority()
79 npids = ntasks = nwin = nperm = nacces = 0; in __setpriority()
83 if (!err && npids == 0) in __setpriority()
86 else if (nperm == npids) in __setpriority()
Dkill.c120 mach_msg_type_number_t i, npids = sizeof (pidbuf) / sizeof (pidbuf[0]); in __kill() local
122 err = __proc_getpgrppids (proc, - pid, &pids, &npids); in __kill()
125 for (i = 0; i < npids; ++i) in __kill()
134 (vm_address_t) pids, npids * sizeof (pids[0])); in __kill()