Lines Matching refs:lwp

62     struct rt_lwp *lwp = RT_NULL;  in stat_single_show()  local
69 lwp = lwp_from_pid_locked(dentry->pid); in stat_single_show()
70 argv = lwp_get_command_line_args(lwp); in stat_single_show()
72 if (lwp) in stat_single_show()
110 if (lwp->terminated) in stat_single_show()
116 list = lwp->t_grp.next; in stat_single_show()
117 while (list != &lwp->t_grp) in stat_single_show()
152 if (lwp->parent != NULL) in stat_single_show()
153 dfs_seq_printf(seq,"%d ",lwp->parent->pid); in stat_single_show()
161 dfs_seq_printf(seq, "%d ",rt_aspace_count_vsz(lwp->aspace));//VSZ in stat_single_show()
179 struct rt_lwp *lwp; in cmdline_single_show() local
183 lwp = lwp_from_pid_locked(dentry->pid); in cmdline_single_show()
184 argv = lwp_get_command_line_args(lwp); in cmdline_single_show()
209 struct rt_lwp *lwp; in proc_pid_fd_lookup() local
213 lwp = lwp_from_pid_locked(parent->pid); in proc_pid_fd_lookup()
214 table = lwp ? &lwp->fdt : RT_NULL; in proc_pid_fd_lookup()
267 struct rt_lwp *lwp; in proc_pid_fd_getdents() local
271 lwp = lwp_from_pid_locked(entry->pid); in proc_pid_fd_getdents()
272 LWP_LOCK(lwp); in proc_pid_fd_getdents()
273 table = lwp ? &lwp->fdt : RT_NULL; in proc_pid_fd_getdents()
277 LWP_UNLOCK(lwp); in proc_pid_fd_getdents()
285 LWP_UNLOCK(lwp); in proc_pid_fd_getdents()
316 LWP_UNLOCK(lwp); in proc_pid_fd_getdents()
338 struct rt_lwp *lwp; in proc_pid_exe_readlink() local
340 lwp = lwp_self(); in proc_pid_exe_readlink()
341 len = rt_snprintf(buf, len, "%s", lwp ? lwp->exe_file : "null"); in proc_pid_exe_readlink()
352 struct rt_lwp *lwp; in proc_pid_cwd_readlink() local
354 lwp = lwp_self(); in proc_pid_cwd_readlink()
355 len = rt_snprintf(buf, len, "%s", lwp ? lwp->working_directory : "null"); in proc_pid_cwd_readlink()