/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | halt.c | 30 /* don't assume init's pid == 1 */ 31 pid_t *pid = find_pid_by_name("init"); local 32 if (!pid || *pid<=0) 34 return(kill(*pid, SIGUSR1));
|
H A D | poweroff.c | 30 /* don't assume init's pid == 1 */ 31 pid_t *pid = find_pid_by_name("init"); local 32 if (!pid || *pid<=0) 34 return(kill(*pid, SIGUSR2));
|
H A D | reboot.c | 30 /* don't assume init's pid == 1 */ 31 pid_t *pid = find_pid_by_name("init"); local 32 if (!pid || *pid<=0) 34 return(kill(*pid, SIGTERM));
|
H A D | update.c | 50 int pid; local 73 for (pid = 0; pid < OPEN_MAX; pid++) close(pid); 76 for (pid = 0; pid < sysconf(_SC_OPEN_MAX); pid++) close(pid);
|
/asus-wl-520gu-7.0.1.45/src/router/ppp/scripts/ |
H A D | ppp-off | 14 # If the ppp0 pid file is present then the program is running. Stop it. 15 if [ -r /var/run/$DEVICE.pid ]; then 16 kill -INT `cat /var/run/$DEVICE.pid` 19 # pid. It may also mean that the lock file will be left. You may wish 22 rm -f /var/run/$DEVICE.pid 23 echo "ERROR: Removed stale pid file"
|
/asus-wl-520gu-7.0.1.45/src/router/pppd/scripts/ |
H A D | ppp-off | 14 # If the ppp0 pid file is present then the program is running. Stop it. 15 if [ -r /var/run/$DEVICE.pid ]; then 16 kill -INT `cat /var/run/$DEVICE.pid` 19 # pid. It may also mean that the lock file will be left. You may wish 22 rm -f /var/run/$DEVICE.pid 23 echo "ERROR: Removed stale pid file"
|
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/scripts/ |
H A D | ppp-off | 14 # If the ppp0 pid file is present then the program is running. Stop it. 15 if [ -r /var/run/$DEVICE.pid ]; then 16 kill -INT `cat /var/run/$DEVICE.pid` 19 # pid. It may also mean that the lock file will be left. You may wish 22 rm -f /var/run/$DEVICE.pid 23 echo "ERROR: Removed stale pid file"
|
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/Example/ |
H A D | samba.init | 9 pid=`/bin/ps ax | grep -w $1 | sed -e 's/^ *//' -e 's/ .*//'` 11 [ "$pid" != "" ] && kill -15 $pid 12 echo $pid
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/web/ |
H A D | startstop.c | 90 pid_t pid = pidfile_pid("smbd"); local 94 if (pid <= 0) return; 96 kill(pid, SIGTERM); 102 pid_t pid = pidfile_pid("nmbd"); local 106 if (pid <= 0) return; 108 kill(pid, SIGTERM); 114 pid_t pid = pidfile_pid("winbindd"); local 118 if (pid <= 0) return; 120 kill(pid, SIGTERM); 124 void kill_pid(pid_t pid) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/packaging/Solaris/ |
H A D | preremove | 6 SMBD=`ps -e -o pid,comm | grep smbd | awk '{print $1}'` 7 NMBD=`ps -e -o pid,comm | grep nmbd | awk '{print $1}'`
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/kernel/ |
H A D | capability.c | 24 int error, pid; local 40 if (get_user(pid, &header->pid)) 43 if (pid < 0) 50 if (pid && pid != current->pid) { 52 target = find_task_by_pid(pid); /* identify target of query */ 108 if (target == current || target->pid == 1) 120 * [pid i 132 int error, pid; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/ |
H A D | smbcontrol.c | 35 /* Send a message to a destination pid. Zero means broadcast smbd. */ 37 static BOOL send_message(pid_t pid, int msg_type, const void *buf, int len, argument 47 if (pid != 0) 48 return message_send_pid(pid, msg_type, buf, len, duplicates); 87 static void print_string_cb(int msg_type, pid_t pid, void *buf, size_t len) argument 95 static BOOL do_noop(const pid_t pid, const int argc, const char **argv) argument 109 static BOOL do_debug(const pid_t pid, const int argc, const char **argv) argument 118 pid, MSG_DEBUG, argv[1], strlen(argv[1]) + 1, False); 123 static BOOL do_election(const pid_t pid, const int argc, const char **argv) argument 131 pid, MSG_FORCE_ELECTIO 136 pong_cb(int msg_type, pid_t pid, void *buf, size_t len) argument 142 do_ping(const pid_t pid, const int argc, const char **argv) argument 170 do_profile(const pid_t pid, const int argc, const char **argv) argument 198 profilelevel_cb(int msg_type, pid_t pid, void *buf, size_t len) argument 234 profilelevel_rqst(int msg_type, pid_t pid, void *buf, size_t len) argument 243 do_profilelevel(const pid_t pid, const int argc, const char **argv) argument 272 do_debuglevel(const pid_t pid, const int argc, const char **argv) argument 300 do_printnotify(const pid_t pid, const int argc, const char **argv) argument 438 do_closeshare(const pid_t pid, const int argc, const char **argv) argument 452 do_samsync(const pid_t pid, const int argc, const char **argv) argument 465 do_samrepl(const pid_t pid, const int argc, const char **argv) argument 478 do_poolusage(const pid_t pid, const int argc, const char **argv) argument 506 do_dmalloc_mark(const pid_t pid, const int argc, const char **argv) argument 519 do_dmalloc_changed(const pid_t pid, const int argc, const char **argv) argument 533 do_shutdown(const pid_t pid, const int argc, const char **argv) argument 545 do_drvupgrade(const pid_t pid, const int argc, const char **argv) argument 557 do_reload_config(const pid_t pid, const int argc, const char **argv) argument 623 pid_t pid; local 655 pid_t pid; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/common/ |
H A D | child.c | 50 pid_t plp_waitpid (pid_t pid, plp_status_t *statusPtr, int options) argument 54 DEBUG2("plp_waitpid: pid %d, options %d", pid, options ); 55 report = waitpid(pid, statusPtr, options ); 79 int i, pid; local 82 pid = Cast_ptr_to_int(p->list[i]); 83 LOGDEBUG(" pid %d", pid ); 91 int i, j, pid; local 97 pid 112 int pid, i, j; local 141 pid_t pid; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/ |
H A D | gz_open.c | 9 extern FILE *gz_open(FILE *compressed_file, int *pid) argument 17 if ((*pid = fork()) == -1) { 21 if (*pid==0) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/mm/ |
H A D | 4xx_tlb.h | 31 extern void PPC4xx_tlb_flush(unsigned long va, int pid);
|
/asus-wl-520gu-7.0.1.45/src/router/samba/examples/svr4-startup/ |
H A D | samba.server | 14 pid=`/usr/bin/ps -e | 17 [ "$pid" != "" ] && kill $pid
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/ |
H A D | smbrun.c | 60 pid_t pid; local 85 if ((pid=sys_fork()) < 0) { 95 if (pid) { 104 while((wpid = sys_waitpid(pid,&status,0)) < 0) { 114 if (wpid != pid) { 115 DEBUG(2,("waitpid(%d) : %s\n",(int)pid,strerror(errno)));
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/tests/ |
H A D | fcntl_lock64.c | 21 static int sys_waitpid(pid_t pid,int *status,int options) argument 24 return waitpid(pid,status,options); 26 return wait4(pid, status, options, NULL); 37 pid_t pid; local 39 if (!(pid=fork())) { 81 sys_waitpid(pid, &status, 0);
|
H A D | fcntl_lock.c | 25 static int sys_waitpid(pid_t pid,int *status,int options) argument 28 return waitpid(pid,status,options); 30 return wait4(pid, status, options, NULL); 45 pid_t pid; local 53 if (!(pid=fork())) { 101 sys_waitpid(pid, &status, 0);
|
/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/libevent/ |
H A D | event_sig.c | 50 void (*handler)(pid_t pid, int status, void *data); 51 pid_t pid; member in struct:ChildEntry 63 return (unsigned int) ((struct ChildEntry *) data)->pid; 68 return ((struct ChildEntry *)d1)->pid != ((struct ChildEntry *)d2)->pid; 143 int pid; local 147 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { 148 candidate.pid = (pid_t) pid; 152 ce->handler(pid, statu 250 Event_HandleChildExit(EventSelector *es, pid_t pid, void (*handler)(pid_t, int, void *), void *data) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ax25/ |
H A D | ax25_iface.c | 40 unsigned int pid; member in struct:protocol_struct 55 int ax25_protocol_register(unsigned int pid, int (*func)(struct sk_buff *, ax25_cb *)) argument 60 if (pid == AX25_P_TEXT || pid == AX25_P_SEGMENT) 63 if (pid == AX25_P_IP || pid == AX25_P_ARP) 69 protocol->pid = pid; 83 void ax25_protocol_release(unsigned int pid) argument 94 if (protocol->pid 228 ax25_protocol_function(unsigned int pid) argument 258 ax25_protocol_is_registered(unsigned int pid) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | intermezzo_psdev.h | 22 int uc_pid; /* Lento's pid */ 33 #define ISLENTO(minor) (current->pid == izo_channels[minor].uc_pid \ 34 || current->p_pptr->pid == izo_channels[minor].uc_pid \ 35 || current->p_pptr->p_pptr->pid == izo_channels[minor].uc_pid)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | intermezzo_psdev.h | 22 int uc_pid; /* Lento's pid */ 33 #define ISLENTO(minor) (current->pid == izo_channels[minor].uc_pid \ 34 || current->p_pptr->pid == izo_channels[minor].uc_pid \ 35 || current->p_pptr->p_pptr->pid == izo_channels[minor].uc_pid)
|
/asus-wl-520gu-7.0.1.45/src/router/samba/testsuite/nsswitch/ |
H A D | getgrent_r.c | 48 pid_t pid; local 59 if ((pid = fork()) == -1) { 66 if (pid > 0) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/ |
H A D | semaphore.c | 62 current->comm, current->pid, sem); 102 current->comm, current->pid, sem); 114 current->comm, current->pid, sem); 190 current->comm, current->pid, 212 current->comm, current->pid, sem, 226 current->comm, current->pid, sem, 245 current->comm, current->pid, 261 current->comm, current->pid, sem,
|