/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | pid.h | 15 * What is struct pid? 17 * A struct pid is the kernel's internal notion of a process identifier. 19 * there are processes attached to it the struct pid lives in a hash 21 * quickly from the numeric pid value. The attached processes may be 22 * quickly accessed by following pointers from struct pid. 25 * problem. The process originally with that pid may have exited and the 26 * pid allocator wrapped, and another process could have come along 27 * and been assigned that pid. 34 * a struct pid is about 64 bytes. 36 * Holding a reference to struct pid solve 57 struct pid struct 72 struct pid *pid; member in struct:pid_link 75 get_pid(struct pid *pid) argument 135 ns_of_pid(struct pid *pid) argument 154 pid_nr(struct pid *pid) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/include/shared/ |
H A D | registers.h | 12 extern int save_fp_registers(int pid, unsigned long *fp_regs); 13 extern int restore_fp_registers(int pid, unsigned long *fp_regs); 14 extern int save_fpx_registers(int pid, unsigned long *fp_regs); 15 extern int restore_fpx_registers(int pid, unsigned long *fp_regs); 16 extern int save_registers(int pid, struct uml_pt_regs *regs); 17 extern int restore_registers(int pid, struct uml_pt_regs *regs); 18 extern int init_registers(int pid); 21 extern int get_fp_registers(int pid, unsigned long *regs); 22 extern int put_fp_registers(int pid, unsigned long *regs);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/sys-x86_64/ |
H A D | ptrace_user.c | 10 int ptrace_getregs(long pid, unsigned long *regs_out) argument 12 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0) 17 int ptrace_setregs(long pid, unsigned long *regs_out) argument 19 if (ptrace(PTRACE_SETREGS, pid, 0, regs_out) < 0)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/ |
H A D | ftp.pm | 33 # pidfromfile returns the pid stored in the given pidfile. The value 34 # of the returned pid will never be a negative value. It will be zero 35 # on any file related error or if a pid can not be extracted from the 40 my $pid = 0; 43 $pid = 0 + <PIDFH>; 45 $pid = 0 unless($pid > 0); 47 return $pid; 51 # pidexists checks if a process with a given pid exists and is alive. 52 # This will return the positive pid i [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/lib/ |
H A D | daemon.c | 31 pid_t pid; local 33 pid = fork (); 36 if (pid < 0) 43 if (pid != 0) 46 /* Become session leader and get pid. */ 47 pid = setsid(); 49 if (pid < -1)
|
H A D | pid_output.c | 29 pid_t pid; local 31 pid = getpid(); 36 fprintf (fp, "%d\n", (int) pid); 40 return pid; 48 pid_t pid; local 51 pid = getpid (); 58 fprintf (stderr, "Can't creat pid lock file, exit\n"); 70 sprintf (buf, "%d\n", (int) pid); 75 return pid;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/sys-x86_64/ |
H A D | registers.c | 14 int save_fp_registers(int pid, unsigned long *fp_regs) argument 16 if (ptrace(PTRACE_GETFPREGS, pid, 0, fp_regs) < 0) 21 int restore_fp_registers(int pid, unsigned long *fp_regs) argument 23 if (ptrace(PTRACE_SETFPREGS, pid, 0, fp_regs) < 0) 44 int get_fp_registers(int pid, unsigned long *regs) argument 46 return save_fp_registers(pid, regs); 49 int put_fp_registers(int pid, unsigned long *regs) argument 51 return restore_fp_registers(pid, regs);
|
H A D | prctl.c | 9 int os_arch_prctl(int pid, int code, unsigned long *addr) argument 11 return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code);
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/ipsvd/ |
H A D | ipsvd_perhost.h | 12 int pid; member in struct:hcc 21 * (useful for storing pid later). 25 /* Finds and frees element with pid */ 26 void ipsvd_perhost_remove(int pid); 28 //unsigned ipsvd_perhost_setpid(int pid);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/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
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/include/shared/skas/ |
H A D | mm_id.h | 12 int pid; member in union:mm_id::__anon10455
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/sys-i386/ |
H A D | registers.c | 15 int save_fp_registers(int pid, unsigned long *fp_regs) argument 17 if (ptrace(PTRACE_GETFPREGS, pid, 0, fp_regs) < 0) 22 int restore_fp_registers(int pid, unsigned long *fp_regs) argument 24 if (ptrace(PTRACE_SETFPREGS, pid, 0, fp_regs) < 0) 29 int save_fpx_registers(int pid, unsigned long *fp_regs) argument 31 if (ptrace(PTRACE_GETFPXREGS, pid, 0, fp_regs) < 0) 36 int restore_fpx_registers(int pid, unsigned long *fp_regs) argument 38 if (ptrace(PTRACE_SETFPXREGS, pid, 0, fp_regs) < 0) 61 int get_fp_registers(int pid, unsigned long *regs) argument 64 return save_fpx_registers(pid, reg 69 put_fp_registers(int pid, unsigned long *regs) argument 77 arch_init_registers(int pid) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/sys-i386/ |
H A D | ptrace_user.c | 9 int ptrace_getregs(long pid, unsigned long *regs_out) argument 11 if (ptrace(PTRACE_GETREGS, pid, 0, regs_out) < 0) 16 int ptrace_setregs(long pid, unsigned long *regs) argument 18 if (ptrace(PTRACE_SETREGS, pid, 0, regs) < 0)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/hello-sh/ |
H A D | hello.sh | 16 pid=$$ 17 eval_gettext "This program is running as process number \$pid."; echo
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/ |
H A D | registers.c | 12 int save_registers(int pid, struct uml_pt_regs *regs) argument 16 err = ptrace(PTRACE_GETREGS, pid, 0, regs->gp); 22 int restore_registers(int pid, struct uml_pt_regs *regs) argument 26 err = ptrace(PTRACE_SETREGS, pid, 0, regs->gp); 36 int init_registers(int pid) argument 40 err = ptrace(PTRACE_GETREGS, pid, 0, exec_regs); 44 arch_init_registers(pid);
|
H A D | tls.c | 15 int os_set_thread_area(user_desc_t *info, int pid) argument 19 ret = ptrace(PTRACE_SET_THREAD_AREA, pid, info->entry_number, 26 int os_get_thread_area(user_desc_t *info, int pid) argument 30 ret = ptrace(PTRACE_GET_THREAD_AREA, pid, info->entry_number,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/ |
H A D | pid.c | 8 * pid-structures are backing objects for tasks sharing a given ID to chain 44 struct pid init_struct_pid = INIT_STRUCT_PID; 87 struct pid *pid; local 90 pid = task_pid(tsk); 91 if (pid != NULL && pid->numbers[pid->level].nr == 1) 142 * "earlier" value prevails, then a pid may get reused immediately. 148 * we started looking for a pid 152 set_last_pid(struct pid_namespace *pid_ns, int base, int pid) argument 164 int i, offset, max_scan, pid, last = pid_ns->last_pid; local 238 put_pid(struct pid *pid) argument 256 struct pid *pid = container_of(rhp, struct pid, rcu); local 260 free_pid(struct pid *pid) argument 279 struct pid *pid; local 349 attach_pid(struct task_struct *task, enum pid_type type, struct pid *pid) argument 363 struct pid *pid; local 384 change_pid(struct task_struct *task, enum pid_type type, struct pid *pid) argument 399 pid_task(struct pid *pid, enum pid_type type) argument 429 struct pid *pid; local 438 get_pid_task(struct pid *pid, enum pid_type type) argument 451 struct pid *pid; local 461 pid_nr_ns(struct pid *pid, struct pid_namespace *ns) argument 474 pid_vnr(struct pid *pid) argument 518 struct pid *pid; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/rc/ |
H A D | pmon.c | 34 pid_t pid; member in struct:pmon_info 46 bool pmon_register(pid_t pid, pmon_func_t func) argument 51 assert(pid != 0); 56 ptable[i].pid = pid; 65 bool pmon_unregister(pid_t pid) argument 69 assert(pid != 0); 72 if (ptable[i].pid == pid) { 74 ptable[i].pid 82 pmon_get_func(pid_t pid) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna-1.1.5/ |
H A D | process.c | 50 add_process_info(pid_t pid, struct client_cache_s *client) argument 58 if (child->pid) 60 child->pid = pid; 68 remove_process_info(pid_t pid) argument 76 if (child->pid != pid) 78 child->pid = 0; 96 pid_t pid = fork(); local 97 if (pid > 111 pid_t pid; local 130 int pid; local 182 pid_t pid; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/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"
|
/netgear-R7000-V1.0.7.12_1.2.5/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"
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/ |
H A D | TerminationProcessAmuleweb.cpp | 40 void CTerminationProcessAmuleweb::OnTerminate(int pid, int status) argument 46 CTerminationProcess::OnTerminate(pid, status);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/dnsmasq/contrib/dnsmasq_MacOSX-pre10.4/ |
H A D | DNSmasq | 11 pid=`GetPID dnsmasq` 13 kill $pid
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna/ |
H A D | daemonize.h | 15 * returns: pid of the daemon, exits upon failure */ 21 * write the pid to a file */ 23 writepidfile(const char * fname, int pid);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/kernel/ |
H A D | reboot.c | 20 int pid, me; local 27 pid = p->mm->context.id.u.pid; 28 os_kill_ptraced_process(pid, 1);
|