| /kernel/liteos_a/kernel/include/ |
| D | los_task.h | 33 * @defgroup los_task Task 58 * Flag that indicates the task or task control block status. 60 * The task is automatically deleted. 66 * Flag that indicates the task or task control block status. 68 * The task is joinable. 74 * Task error code: Insufficient memory for task creation. 78 * Solution: Allocate bigger memory partition to task creation. 84 * Task error code: Null parameter. 94 * Task error code: The task stack is not aligned. 98 * Solution: Align the task stack. [all …]
|
| /kernel/linux/linux-5.10/net/sunrpc/ |
| D | sched.c | 45 static void rpc_release_task(struct rpc_task *task); 61 rpc_task_timeout(const struct rpc_task *task) in rpc_task_timeout() argument 63 unsigned long timeout = READ_ONCE(task->tk_timeout); in rpc_task_timeout() 75 * Disable the timer for a given RPC task. Should be called with 80 __rpc_disable_timer(struct rpc_wait_queue *queue, struct rpc_task *task) in __rpc_disable_timer() argument 82 if (list_empty(&task->u.tk_wait.timer_list)) in __rpc_disable_timer() 84 task->tk_timeout = 0; in __rpc_disable_timer() 85 list_del(&task->u.tk_wait.timer_list); in __rpc_disable_timer() 103 * Set up a timer for the current task. 106 __rpc_add_timer(struct rpc_wait_queue *queue, struct rpc_task *task, in __rpc_add_timer() argument [all …]
|
| D | clnt.c | 57 static void call_start(struct rpc_task *task); 58 static void call_reserve(struct rpc_task *task); 59 static void call_reserveresult(struct rpc_task *task); 60 static void call_allocate(struct rpc_task *task); 61 static void call_encode(struct rpc_task *task); 62 static void call_decode(struct rpc_task *task); 63 static void call_bind(struct rpc_task *task); 64 static void call_bind_status(struct rpc_task *task); 65 static void call_transmit(struct rpc_task *task); 66 static void call_status(struct rpc_task *task); [all …]
|
| D | xprt.c | 73 static void xprt_request_init(struct rpc_task *task); 229 * @task: task that is requesting access to the transport 236 int xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt() argument 238 struct rpc_rqst *req = task->tk_rqstp; in xprt_reserve_xprt() 241 if (task == xprt->snd_task) in xprt_reserve_xprt() 247 xprt->snd_task = task; in xprt_reserve_xprt() 250 trace_xprt_reserve_xprt(xprt, task); in xprt_reserve_xprt() 256 task->tk_status = -EAGAIN; in xprt_reserve_xprt() 257 if (RPC_IS_SOFT(task)) in xprt_reserve_xprt() 258 rpc_sleep_on_timeout(&xprt->sending, task, NULL, in xprt_reserve_xprt() [all …]
|
| /kernel/linux/linux-4.19/net/sunrpc/ |
| D | sched.c | 46 static void rpc_release_task(struct rpc_task *task); 61 * Disable the timer for a given RPC task. Should be called with 66 __rpc_disable_timer(struct rpc_wait_queue *queue, struct rpc_task *task) in __rpc_disable_timer() argument 68 if (task->tk_timeout == 0) in __rpc_disable_timer() 70 dprintk("RPC: %5u disabling timer\n", task->tk_pid); in __rpc_disable_timer() 71 task->tk_timeout = 0; in __rpc_disable_timer() 72 list_del(&task->u.tk_wait.timer_list); in __rpc_disable_timer() 85 * Set up a timer for the current task. 88 __rpc_add_timer(struct rpc_wait_queue *queue, struct rpc_task *task) in __rpc_add_timer() argument 90 if (!task->tk_timeout) in __rpc_add_timer() [all …]
|
| D | clnt.c | 60 static void call_start(struct rpc_task *task); 61 static void call_reserve(struct rpc_task *task); 62 static void call_reserveresult(struct rpc_task *task); 63 static void call_allocate(struct rpc_task *task); 64 static void call_decode(struct rpc_task *task); 65 static void call_bind(struct rpc_task *task); 66 static void call_bind_status(struct rpc_task *task); 67 static void call_transmit(struct rpc_task *task); 69 static void call_bc_transmit(struct rpc_task *task); 71 static void call_status(struct rpc_task *task); [all …]
|
| D | xprt.c | 70 static void xprt_connect_status(struct rpc_task *task); 176 * @task: task that is requesting access to the transport 183 int xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt() argument 185 struct rpc_rqst *req = task->tk_rqstp; in xprt_reserve_xprt() 189 if (task == xprt->snd_task) in xprt_reserve_xprt() 193 xprt->snd_task = task; in xprt_reserve_xprt() 201 task->tk_pid, xprt); in xprt_reserve_xprt() 202 task->tk_timeout = 0; in xprt_reserve_xprt() 203 task->tk_status = -EAGAIN; in xprt_reserve_xprt() 210 rpc_sleep_on_priority(&xprt->sending, task, NULL, priority); in xprt_reserve_xprt() [all …]
|
| /kernel/liteos_m/kernel/include/ |
| D | los_task.h | 33 * @defgroup los_task Task 54 * Task error code: Insufficient memory for task creation. 58 * Solution: Allocate bigger memory partition to task creation. 64 * Task error code: Null parameter. 74 * Task error code: The task stack is not aligned. 78 * Solution: Align the task stack. 84 * Task error code: Incorrect task priority. 88 * Solution: Re-configure the task priority by referring to the priority range. 94 * Task error code: The task entrance is NULL. 98 * Solution: Define the task entrance function. [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
| D | rxe_task.c | 13 int __rxe_do_task(struct rxe_task *task) in __rxe_do_task() argument 18 while ((ret = task->func(task->arg)) == 0) in __rxe_do_task() 21 task->ret = ret; in __rxe_do_task() 28 * a second caller finds the task already running 36 struct rxe_task *task = from_tasklet(task, t, tasklet); in rxe_do_task() local 38 spin_lock_irqsave(&task->state_lock, flags); in rxe_do_task() 39 switch (task->state) { in rxe_do_task() 41 task->state = TASK_STATE_BUSY; in rxe_do_task() 42 spin_unlock_irqrestore(&task->state_lock, flags); in rxe_do_task() 46 task->state = TASK_STATE_ARMED; in rxe_do_task() [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/sw/rxe/ |
| D | rxe_task.c | 40 int __rxe_do_task(struct rxe_task *task) in __rxe_do_task() argument 45 while ((ret = task->func(task->arg)) == 0) in __rxe_do_task() 48 task->ret = ret; in __rxe_do_task() 55 * a second caller finds the task already running 63 struct rxe_task *task = (struct rxe_task *)data; in rxe_do_task() local 65 spin_lock_irqsave(&task->state_lock, flags); in rxe_do_task() 66 switch (task->state) { in rxe_do_task() 68 task->state = TASK_STATE_BUSY; in rxe_do_task() 69 spin_unlock_irqrestore(&task->state_lock, flags); in rxe_do_task() 73 task->state = TASK_STATE_ARMED; in rxe_do_task() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
| D | exynos_drm_ipp.c | 85 WARN_ON(ipp->task); in exynos_drm_ipp_unregister() 259 struct exynos_drm_ipp_task *task; in exynos_drm_ipp_task_alloc() local 261 task = kzalloc(sizeof(*task), GFP_KERNEL); in exynos_drm_ipp_task_alloc() 262 if (!task) in exynos_drm_ipp_task_alloc() 265 task->dev = ipp->dev; in exynos_drm_ipp_task_alloc() 266 task->ipp = ipp; 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() 271 task->transform.rotation = DRM_MODE_ROTATE_0; in exynos_drm_ipp_task_alloc() 273 DRM_DEV_DEBUG_DRIVER(task->dev, "Allocated task %pK\n", task); in exynos_drm_ipp_task_alloc() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/exynos/ |
| D | exynos_drm_ipp.c | 83 WARN_ON(ipp->task); in exynos_drm_ipp_unregister() 257 struct exynos_drm_ipp_task *task; in exynos_drm_ipp_task_alloc() local 259 task = kzalloc(sizeof(*task), GFP_KERNEL); in exynos_drm_ipp_task_alloc() 260 if (!task) in exynos_drm_ipp_task_alloc() 263 task->dev = ipp->dev; in exynos_drm_ipp_task_alloc() 264 task->ipp = ipp; in exynos_drm_ipp_task_alloc() 267 task->src.rect.w = task->dst.rect.w = UINT_MAX; in exynos_drm_ipp_task_alloc() 268 task->src.rect.h = task->dst.rect.h = UINT_MAX; in exynos_drm_ipp_task_alloc() 269 task->transform.rotation = DRM_MODE_ROTATE_0; in exynos_drm_ipp_task_alloc() 271 DRM_DEBUG_DRIVER("Allocated task %pK\n", task); in exynos_drm_ipp_task_alloc() [all …]
|
| /kernel/linux/linux-5.10/include/asm-generic/ |
| D | syscall.h | 12 * and only when the caller is sure that the task of interest 23 * syscall_get_nr - find what system call a task is executing 24 * @task: task of interest, must be blocked 25 * @regs: task_pt_regs() of @task 27 * If @task is executing a system call or is at system call 29 * If @task is not executing a system call, i.e. it's blocked 36 * It's only valid to call this when @task is known to be blocked. 38 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs); 42 * @task: task of interest, must be in system call exit tracing 43 * @regs: task_pt_regs() of @task [all …]
|
| /kernel/linux/linux-4.19/drivers/scsi/pm8001/ |
| D | pm8001_sas.c | 45 * pm8001_find_tag - from sas task to find out tag that belongs to this task 46 * @task: the task sent to the LLDD 47 * @tag: the found tag associated with the task 49 static int pm8001_find_tag(struct sas_task *task, u32 *tag) in pm8001_find_tag() argument 51 if (task->lldd_task) { in pm8001_find_tag() 53 ccb = task->lldd_task; in pm8001_find_tag() 63 * @tag: the found tag associated with the task 72 * pm8001_tag_alloc - allocate a empty tag for task used. 268 * pm8001_task_prep_smp - the dispatcher function, prepare data for smp task 270 * @ccb: the ccb which attached to smp task [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
| D | pm8001_sas.c | 45 * pm8001_find_tag - from sas task to find out tag that belongs to this task 46 * @task: the task sent to the LLDD 47 * @tag: the found tag associated with the task 49 static int pm8001_find_tag(struct sas_task *task, u32 *tag) in pm8001_find_tag() argument 51 if (task->lldd_task) { in pm8001_find_tag() 53 ccb = task->lldd_task; in pm8001_find_tag() 63 * @tag: the found tag associated with the task 72 * pm8001_tag_alloc - allocate a empty tag for task used. 294 * pm8001_task_prep_smp - the dispatcher function, prepare data for smp task 296 * @ccb: the ccb which attached to smp task [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
| D | aic94xx_tmf.c | 3 * Aic94xx Task Management Functions 214 static int asd_clear_nexus_tag(struct sas_task *task) in asd_clear_nexus_tag() argument 216 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_tag() 217 struct asd_ascb *tascb = task->lldd_task; in asd_clear_nexus_tag() 221 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8); in asd_clear_nexus_tag() 223 if (task->dev->tproto) in asd_clear_nexus_tag() 225 task->dev->lldd_dev); in asd_clear_nexus_tag() 229 static int asd_clear_nexus_index(struct sas_task *task) in asd_clear_nexus_index() argument 231 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_index() 232 struct asd_ascb *tascb = task->lldd_task; in asd_clear_nexus_index() [all …]
|
| D | aic94xx_task.c | 36 static int asd_map_scatterlist(struct sas_task *task, in asd_map_scatterlist() argument 40 struct asd_ascb *ascb = task->lldd_task; in asd_map_scatterlist() 45 if (task->data_dir == DMA_NONE) in asd_map_scatterlist() 48 if (task->num_scatter == 0) { in asd_map_scatterlist() 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() 54 sg_arr[0].size = cpu_to_le32(task->total_xfer_len); in asd_map_scatterlist() 61 if (sas_protocol_ata(task->task_proto)) in asd_map_scatterlist() 62 num_sg = task->num_scatter; in asd_map_scatterlist() [all …]
|
| /kernel/linux/linux-4.19/drivers/scsi/aic94xx/ |
| D | aic94xx_tmf.c | 2 * Aic94xx Task Management Functions 232 static int asd_clear_nexus_tag(struct sas_task *task) in asd_clear_nexus_tag() argument 234 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_tag() 235 struct asd_ascb *tascb = task->lldd_task; in asd_clear_nexus_tag() 239 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8); in asd_clear_nexus_tag() 241 if (task->dev->tproto) in asd_clear_nexus_tag() 243 task->dev->lldd_dev); in asd_clear_nexus_tag() 247 static int asd_clear_nexus_index(struct sas_task *task) in asd_clear_nexus_index() argument 249 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_index() 250 struct asd_ascb *tascb = task->lldd_task; in asd_clear_nexus_index() [all …]
|
| D | aic94xx_task.c | 54 static int asd_map_scatterlist(struct sas_task *task, in asd_map_scatterlist() argument 58 struct asd_ascb *ascb = task->lldd_task; in asd_map_scatterlist() 63 if (task->data_dir == PCI_DMA_NONE) in asd_map_scatterlist() 66 if (task->num_scatter == 0) { in asd_map_scatterlist() 67 void *p = task->scatter; in asd_map_scatterlist() 69 task->total_xfer_len, in asd_map_scatterlist() 70 task->data_dir); in asd_map_scatterlist() 72 sg_arr[0].size = cpu_to_le32(task->total_xfer_len); in asd_map_scatterlist() 79 if (sas_protocol_ata(task->task_proto)) in asd_map_scatterlist() 80 num_sg = task->num_scatter; in asd_map_scatterlist() [all …]
|
| /kernel/linux/linux-5.10/arch/nds32/include/asm/ |
| D | syscall.h | 14 * syscall_get_nr - find what system call a task is executing 15 * @task: task of interest, must be blocked 16 * @regs: task_pt_regs() of @task 18 * If @task is executing a system call or is at system call 20 * If @task is not executing a system call, i.e. it's blocked 27 * It's only valid to call this when @task is known to be blocked. 30 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr() argument 37 * @task: task of interest, must be in system call exit tracing 38 * @regs: task_pt_regs() of @task 40 * It's only valid to call this when @task is stopped for system [all …]
|
| /kernel/linux/linux-5.10/scripts/gdb/linux/ |
| D | tasks.py | 4 # task & thread tools 43 for task in task_lists(): 44 if int(task['pid']) == pid: 45 return task 50 """Find Linux task by PID and return the task_struct variable. 59 task = get_task_by_pid(pid) 60 if task: 61 return task.dereference() 63 raise gdb.GdbError("No task of PID " + str(pid)) 76 gdb.write("{:>10} {:>12} {:>7}\n".format("TASK", "PID", "COMM")) [all …]
|
| /kernel/linux/linux-4.19/drivers/media/i2c/ |
| D | saa711x_regs.h | 77 /* Task independent global settings */ 87 /* Task A definition */ 134 /* Task B definition */ 361 /* Task independent global settings: R_80_GLOBAL_CNTL_1 to R_8F_STATUS_INFO_SCALER */ 383 /* Task A definition: R_90_A_TASK_HANDLING_CNTL to R_BF_A_VERT_LUMA_PHASE_OFF_11 */ 384 /* Task A: Basic settings and acquisition window definition */ 386 "Task A: Task handling control"}, 388 "Task A: X port formats and configuration"}, 390 "Task A: X port input reference signal definition"}, 392 "Task A: I port output formats and configuration"}, [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | saa711x_regs.h | 77 /* Task independent global settings */ 87 /* Task A definition */ 134 /* Task B definition */ 361 /* Task independent global settings: R_80_GLOBAL_CNTL_1 to R_8F_STATUS_INFO_SCALER */ 383 /* Task A definition: R_90_A_TASK_HANDLING_CNTL to R_BF_A_VERT_LUMA_PHASE_OFF_11 */ 384 /* Task A: Basic settings and acquisition window definition */ 386 "Task A: Task handling control"}, 388 "Task A: X port formats and configuration"}, 390 "Task A: X port input reference signal definition"}, 392 "Task A: I port output formats and configuration"}, [all …]
|
| /kernel/linux/linux-4.19/scripts/gdb/linux/ |
| D | tasks.py | 4 # task & thread tools 43 for task in task_lists(): 44 if int(task['pid']) == pid: 45 return task 50 """Find Linux task by PID and return the task_struct variable. 59 task = get_task_by_pid(pid) 60 if task: 61 return task.dereference() 63 raise gdb.GdbError("No task of PID " + str(pid)) 76 for task in task_lists(): [all …]
|
| /kernel/linux/linux-4.19/include/asm-generic/ |
| D | syscall.h | 15 * and only when the caller is sure that the task of interest 26 * syscall_get_nr - find what system call a task is executing 27 * @task: task of interest, must be blocked 28 * @regs: task_pt_regs() of @task 30 * If @task is executing a system call or is at system call 32 * If @task is not executing a system call, i.e. it's blocked 39 * It's only valid to call this when @task is known to be blocked. 41 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs); 45 * @task: task of interest, must be in system call exit tracing 46 * @regs: task_pt_regs() of @task [all …]
|