Lines Matching refs:tsk
549 struct task_struct *tsk; member
946 return get_files_struct(proc->tsk); in binder_get_files_struct()
960 if (!lock_task_sighand(proc->tsk, &irqs)) { in task_get_unused_fd_flags()
965 rlim_cur = task_rlimit(proc->tsk, RLIMIT_NOFILE); in task_get_unused_fd_flags()
966 unlock_task_sighand(proc->tsk, &irqs); in task_get_unused_fd_flags()
2509 if (security_binder_transfer_binder(proc->tsk, target_proc->tsk)) { in binder_translate_binder()
2555 if (security_binder_transfer_binder(proc->tsk, target_proc->tsk)) { in binder_translate_handle()
2639 ret = security_binder_transfer_file(proc->tsk, target_proc->tsk, file); in binder_translate_fd()
3014 if (security_binder_transaction(proc->tsk, in binder_transaction()
3015 target_proc->tsk) < 0) { in binder_transaction()
3106 t->sender_euid = task_euid(proc->tsk); in binder_transaction()
4267 struct task_struct *sender = t_from->proc->tsk; in binder_thread_read()
4474 put_task_struct(proc->tsk); in binder_free_proc()
4679 ret = security_binder_set_context_mgr(proc->tsk); in binder_ioctl_set_ctx_mgr()
4879 if (proc->tsk != current->group_leader) in binder_mmap()
4924 proc->tsk = current->group_leader; in binder_open()