/linux/net/sunrpc/ |
A D | sched.c | 772 trace_rpc_task_timeout(task, task->tk_action); in __rpc_queue_timer_fn() 805 task->tk_ops->rpc_call_prepare(task, task->tk_calldata); in rpc_prepare_task() 833 trace_rpc_task_end(task, task->tk_action); in rpc_exit_task() 836 task->tk_ops->rpc_count_stats(task, task->tk_calldata); in rpc_exit_task() 841 task->tk_ops->rpc_call_done(task, task->tk_calldata); in rpc_exit_task() 857 trace_rpc_task_signalled(task, task->tk_action); in rpc_signal_task() 965 trace_rpc_task_sync_wake(task, task->tk_action); in __rpc_execute() 1071 memset(task, 0, sizeof(*task)); in rpc_init_task() 1106 struct rpc_task *task = setup_data->task; in rpc_new_task() local 1194 rpc_do_put_task(task, task->tk_workqueue); in rpc_put_task_async() [all …]
|
A D | clnt.c | 1142 return task; in rpc_run_task() 1171 if (IS_ERR(task)) in rpc_call_sync() 1238 return task; in rpc_run_bc_task() 1842 task->tk_status = rpcauth_wrap_req(task, &xdr); in rpc_xdr_encode() 1868 rpc_exit(task, task->tk_status); in call_encode() 1876 rpc_call_rpcerror(task, task->tk_status); in call_encode() 2218 rpc_call_rpcerror(task, task->tk_status); in call_transmit_status() 2327 trace_xprt_ping(task->tk_xprt, task->tk_status); in call_status() 2504 task->tk_status = rpcauth_unwrap_resp(task, &xdr); in call_decode() 3027 task->tk_pid, task->tk_flags, task->tk_status, in rpc_show_task() [all …]
|
A D | xprt.c | 275 xprt->snd_task = task; in xprt_reserve_xprt() 285 if (RPC_IS_SOFT(task)) in xprt_reserve_xprt() 351 if (RPC_IS_SOFT(task)) in xprt_reserve_xprt_cong() 379 xprt->snd_task = task; in __xprt_lock_write_func() 1502 task, 0); in xprt_prepare_transmit() 1638 if (task->tk_rqstp) in xprt_complete_request_init() 1748 task->tk_status = 0; in xprt_alloc_slot() 1875 req->rq_task = task; in xprt_request_init() 1912 task->tk_status = 0; in xprt_reserve() 1934 task->tk_status = 0; in xprt_retry_reserve() [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_task.c | 18 while ((ret = task->func(task->arg)) == 0) in __rxe_do_task() 21 task->ret = ret; in __rxe_do_task() 36 struct rxe_task *task = from_tasklet(task, t, tasklet); in rxe_do_task() local 39 switch (task->state) { in rxe_do_task() 60 ret = task->func(task->arg); in rxe_do_task() 82 task->state); in rxe_do_task() 87 task->ret = ret; in rxe_do_task() 93 task->obj = obj; in rxe_init_task() 94 task->arg = arg; in rxe_init_task() 95 task->func = func; in rxe_init_task() [all …]
|
/linux/kernel/livepatch/ |
A D | transition.c | 73 struct task_struct *g, *task; in klp_complete_transition() local 117 task = idle_task(cpu); in klp_complete_transition() 273 if (task_curr(task) && task != current) in klp_check_and_switch_task() 318 __func__, task->comm, task->pid); in klp_try_switch_task() 322 __func__, task->comm, task->pid); in klp_try_switch_task() 326 __func__, task->comm, task->pid, old_name); in klp_try_switch_task() 331 __func__, ret, task->comm, task->pid); in klp_try_switch_task() 371 set_notify_signal(task); in klp_send_signals() 414 task = idle_task(cpu); in klp_try_complete_transition() 491 task = idle_task(cpu); in klp_start_transition() [all …]
|
/linux/drivers/gpu/drm/exynos/ |
A D | exynos_drm_ipp.c | 261 task = kzalloc(sizeof(*task), GFP_KERNEL); in exynos_drm_ipp_task_alloc() 262 if (!task) in exynos_drm_ipp_task_alloc() 269 task->src.rect.w = task->dst.rect.w = UINT_MAX; in exynos_drm_ipp_task_alloc() 270 task->src.rect.h = task->dst.rect.h = UINT_MAX; in exynos_drm_ipp_task_alloc() 275 return task; in exynos_drm_ipp_task_alloc() 742 exynos_drm_ipp_task_free(task->ipp, task); in exynos_drm_ipp_task_cleanup() 770 if (ipp->task == task) in exynos_drm_ipp_task_done() 804 ipp->task = task; in exynos_drm_ipp_next_task() 838 } else if (ipp->task != task) { in exynos_drm_ipp_task_abort() 891 if (!task) in exynos_drm_ipp_commit_ioctl() [all …]
|
/linux/drivers/scsi/aic94xx/ |
A D | aic94xx_task.c | 49 void *p = task->scatter; in asd_map_scatterlist() 51 task->total_xfer_len, in asd_map_scatterlist() 52 task->data_dir); in asd_map_scatterlist() 62 num_sg = task->num_scatter; in asd_map_scatterlist() 65 task->num_scatter, task->data_dir); in asd_map_scatterlist() 112 task->num_scatter, task->data_dir); in asd_map_scatterlist() 128 task->total_xfer_len, task->data_dir); in asd_unmap_scatterlist() 135 task->num_scatter, task->data_dir); in asd_unmap_scatterlist() 337 task->lldd_task = NULL; in asd_task_tasklet_complete() 340 task->task_done(task); in asd_task_tasklet_complete() [all …]
|
/linux/drivers/scsi/pm8001/ |
A D | pm8001_sas.c | 535 task->num_scatter, task->data_dir); in pm8001_ccb_task_free() 694 struct sas_task *task = slow->task; in pm8001_tmf_timedout() local 728 if (!task) in pm8001_exec_internal_tmf_task() 787 task = NULL; in pm8001_exec_internal_tmf_task() 808 if (!task) in pm8001_exec_internal_task_abort() 824 ccb->task = task; in pm8001_exec_internal_task_abort() 951 task = ccb->task; in pm8001_open_reject_retry() 952 if (!task || !task->task_done) in pm8001_open_reject_retry() 978 task->task_done(task); in pm8001_open_reject_retry() 1137 if (unlikely(!task || !task->lldd_task || !task->dev)) in pm8001_query_task() [all …]
|
/linux/drivers/video/fbdev/ |
A D | uvesafb.c | 86 if (!task || msg->ack != task->ack) { in uvesafb_cn_callback() 105 if (task->t.buf_len && task->buf) in uvesafb_cn_callback() 106 memcpy(task->buf, utask + 1, task->t.buf_len); in uvesafb_cn_callback() 149 int len = sizeof(task->t) + task->t.buf_len; in uvesafb_exec() 173 memcpy(m + 1, &task->t, sizeof(task->t)); in uvesafb_exec() 176 memcpy((u8 *)(m + 1) + sizeof(task->t), task->buf, task->t.buf_len); in uvesafb_exec() 250 memset(task, 0, sizeof(*task)); in uvesafb_reset() 261 task = kzalloc(sizeof(*task), GFP_KERNEL); in uvesafb_prep() 399 if (!task) in uvesafb_vbe_state_restore() 574 (u16)task->t.regs.es, (u16)task->t.regs.edi); in uvesafb_vbe_getpmi() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | signal.h | 39 struct task_struct *task); 41 struct task_struct *task); 52 struct task_struct *__t = task; \ 62 struct task_struct *__t = task; \ 72 struct task_struct *__t = task; \ 82 struct task_struct *__t = task; \ 93 struct task_struct *__t = task; \ 103 struct task_struct *__t = task; \ 113 struct task_struct *__t = task; \ 123 struct task_struct *__t = task; \ [all …]
|
/linux/drivers/scsi/ |
A D | libiscsi.c | 450 task->itt, task->state, task->sc); in iscsi_free_task() 512 task->itt, task->state, task->sc); in iscsi_complete_task() 581 if (conn->task == task) { in cleanup_queued_task() 1344 if (!task || !task->sc) in iscsi_itt_to_ctask() 1462 conn->task = task; in iscsi_xmit_task() 1483 conn->task = task; in iscsi_xmit_task() 1911 task->sc, task->itt, task->state); in fail_scsi_tasks() 2286 if (!task || !task->sc) { in iscsi_eh_abort() 2375 task ? task->itt : 0); in iscsi_eh_abort() 2969 task->dd_data = &task[1]; in iscsi_session_setup() [all …]
|
/linux/fs/proc/ |
A D | base.c | 191 if (task) { in proc_cwd_link() 208 if (task) { in proc_root_link() 498 if (!task) in lstats_show_proc() 532 if (!task) in lstats_write() 739 if (!task) in proc_pid_permission() 775 if (!task) in proc_single_show() 1047 if (!task) in oom_adj_read() 1068 if (!task) in __set_oom_adj() 1206 if (!task) in oom_score_adj_read() 3745 pos = task = task->group_leader; in first_tid() [all …]
|
A D | fd.c | 26 struct task_struct *task; in seq_show() local 29 if (!task) in seq_show() 32 task_lock(task); in seq_show() 33 files = task->files; in seq_show() 51 task_unlock(task); in seq_show() 52 put_task_struct(task); in seq_show() 80 if (!task) in seq_fdinfo_open() 84 put_task_struct(task); in seq_fdinfo_open() 140 if (task) { in tid_fd_revalidate() 163 if (task) { in proc_fd_link() [all …]
|
A D | array.c | 443 task_sig(m, task); in proc_pid_status() 444 task_cap(m, task); in proc_pid_status() 445 task_seccomp(m, task); in proc_pid_status() 475 mm = get_task_mm(task); in do_task_stat() 489 eip = KSTK_EIP(task); in do_task_stat() 490 esp = KSTK_ESP(task); in do_task_stat() 491 put_task_stack(task); in do_task_stat() 546 min_flt = task->min_flt; in do_task_stat() 555 nice = task_nice(task); in do_task_stat() 709 if (task && task->real_parent == start && in get_children_pid() [all …]
|
/linux/drivers/scsi/isci/ |
A D | task.c | 90 task->task_status.stat = status; in isci_task_refuse() 96 task->lldd_task = NULL; in isci_task_refuse() 99 task->task_done(task); in isci_task_refuse() 104 task = list_entry(task->list.next, struct sas_task, list)) 108 struct sas_task *task) in isci_device_io_ready() argument 141 task, task->dev, idev, idev ? idev->flags : 0, in isci_task_execute_task() 142 task->uldd_task); in isci_task_execute_task() 161 isci_task_refuse(ihost, task, in isci_task_execute_task() 521 task, old_request); in isci_task_abort_task() 543 __func__, task); in isci_task_abort_task() [all …]
|
/linux/kernel/bpf/ |
A D | task_iter.c | 37 if (!task) { in task_seq_get_next() 41 task->files == task->group_leader->files) { in task_seq_get_next() 43 task = NULL; in task_seq_get_next() 50 return task; in task_seq_get_next() 59 if (!task) in task_seq_start() 64 return task; in task_seq_start() 76 if (!task) in task_seq_next() 79 return task; in task_seq_next() 103 ctx.task = task; in DEFINE_BPF_ITER_FUNC() 243 ctx.task = info->task; in DEFINE_BPF_ITER_FUNC() [all …]
|
/linux/include/linux/ |
A D | cn_proc.h | 23 void proc_fork_connector(struct task_struct *task); 24 void proc_exec_connector(struct task_struct *task); 25 void proc_id_connector(struct task_struct *task, int which_id); 26 void proc_sid_connector(struct task_struct *task); 28 void proc_comm_connector(struct task_struct *task); 29 void proc_coredump_connector(struct task_struct *task); 30 void proc_exit_connector(struct task_struct *task); 32 static inline void proc_fork_connector(struct task_struct *task) in proc_fork_connector() argument 35 static inline void proc_exec_connector(struct task_struct *task) in proc_exec_connector() argument 38 static inline void proc_id_connector(struct task_struct *task, in proc_id_connector() argument [all …]
|
/linux/drivers/gpu/drm/lima/ |
A D | lima_sched.c | 120 if (!task->bos) in lima_sched_task_init() 128 kfree(task->bos); in lima_sched_task_init() 134 task->num_bos = num_bos; in lima_sched_task_init() 135 task->vm = lima_vm_get(vm); in lima_sched_task_init() 146 if (task->bos) { in lima_sched_task_fini() 149 kfree(task->bos); in lima_sched_task_fini() 152 lima_vm_put(task->vm); in lima_sched_task_fini() 231 pipe->current_task = task; in lima_sched_run_job() 261 trace_lima_task_run(task); in lima_sched_run_job() 266 return task->fence; in lima_sched_run_job() [all …]
|
/linux/drivers/scsi/mvsas/ |
A D | mv_sas.c | 302 struct sas_task *task = tei->task; in mvs_task_prep_smp() local 429 struct sas_task *task = tei->task; in mvs_task_prep_ata() local 556 struct sas_task *task = tei->task; in mvs_task_prep_ssp() local 713 task->task_done(task); in mvs_task_prep() 737 task->task_done(task); in mvs_task_prep() 745 task->task_done(task); in mvs_task_prep() 781 tei.task = task; in mvs_task_prep() 809 slot->task = task; in mvs_task_prep() 1711 if (unlikely(!task || !task->lldd_task || !task->dev)) in mvs_slot_complete() 1818 task->task_done(task); in mvs_slot_complete() [all …]
|
/linux/scripts/gdb/linux/ |
A D | tasks.py | 43 for task in task_lists(): 44 if int(task['pid']) == pid: 45 return task 59 task = get_task_by_pid(pid) 60 if task: 61 return task.dereference() 77 for task in task_lists(): 92 def get_thread_info(task): argument 116 def invoke(self, task): argument 133 task = get_task_by_pid(pid) [all …]
|
/linux/arch/mips/include/asm/ |
A D | syscall.h | 34 test_tsk_thread_flag(task, TIF_32BIT_REGS)) && in mips_syscall_is_indirect() 38 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() argument 51 if (mips_syscall_is_indirect(task, regs)) in mips_syscall_update_nr() 52 task_thread_info(task)->syscall = regs->regs[4]; in mips_syscall_update_nr() 54 task_thread_info(task)->syscall = regs->regs[2]; in mips_syscall_update_nr() 77 if (test_tsk_thread_flag(task, TIF_32BIT_REGS)) in mips_get_syscall_arg() 132 if (mips_syscall_is_indirect(task, regs)) in syscall_get_arguments() 136 mips_get_syscall_arg(args++, task, regs, i++); in syscall_get_arguments() 143 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch() argument 147 if (!test_tsk_thread_flag(task, TIF_32BIT_REGS)) { in syscall_get_arch() [all …]
|
/linux/arch/riscv/kernel/ |
A D | stacktrace.c | 30 } else if (task == NULL || task == current) { in walk_stackframe() 36 fp = task->thread.s[0]; in walk_stackframe() 37 sp = task->thread.sp; in walk_stackframe() 38 pc = task->thread.ra; in walk_stackframe() 79 } else if (task == NULL || task == current) { in walk_stackframe() 84 sp = task->thread.sp; in walk_stackframe() 85 pc = task->thread.ra; in walk_stackframe() 118 dump_backtrace(NULL, task, loglvl); in show_stack() 135 if (!try_get_task_stack(task)) in __get_wchan() 137 walk_stackframe(task, NULL, save_wchan, &pc); in __get_wchan() [all …]
|
/linux/drivers/scsi/libsas/ |
A D | sas_scsi_host.c | 110 task = NULL; in sas_scsi_task_done() 138 if (!task) in sas_create_task() 144 task->dev = dev; in sas_create_task() 145 task->task_proto = task->dev->tproto; /* BUG_ON(!SSP) */ in sas_create_task() 160 return task; in sas_create_task() 184 if (!task) in sas_queuecommand() 308 task); in sas_scsi_find_task() 481 if (task) in sas_eh_abort_handler() 582 if (!task) in sas_eh_handle_sas_errors() 608 task); in sas_eh_handle_sas_errors() [all …]
|
/linux/kernel/ |
A D | task_work.c | 41 head = READ_ONCE(task->task_works); in task_work_add() 51 set_notify_resume(task); in task_work_add() 54 set_notify_signal(task); in task_work_add() 73 task_work_cancel_match(struct task_struct *task, in task_work_cancel_match() argument 81 if (likely(!task->task_works)) in task_work_cancel_match() 89 raw_spin_lock_irqsave(&task->pi_lock, flags); in task_work_cancel_match() 133 struct task_struct *task = current; in task_work_run() local 143 work = READ_ONCE(task->task_works); in task_work_run() 145 if (task->flags & PF_EXITING) in task_work_run() 159 raw_spin_lock_irq(&task->pi_lock); in task_work_run() [all …]
|
/linux/kernel/locking/ |
A D | rtmutex.c | 289 int prio = task->prio; in __waiter_prio() 456 get_task_struct(task); in rt_mutex_wake_q_add_task() 457 wqh->rtlock_task = task; in rt_mutex_wake_q_add_task() 613 put_task_struct(task); in rt_mutex_adjust_prio_chain() 781 put_task_struct(task); in rt_mutex_adjust_prio_chain() 850 put_task_struct(task); in rt_mutex_adjust_prio_chain() 885 rt_mutex_adjust_prio(task); in rt_mutex_adjust_prio_chain() 953 put_task_struct(task); in rt_mutex_adjust_prio_chain() 1058 task->pi_blocked_on = NULL; in try_to_take_rt_mutex() 1107 if (owner == task) in task_blocks_on_rt_mutex() [all …]
|