| /OK3568_Linux_fs/kernel/net/sunrpc/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templates/ |
| H A D | task.html | 6 {% block title %} {{task.recipe.name}}_{{task.recipe.version}} {{task.task_name}} - {{build.target_… 9 <li>{{task.recipe.name}}_{{task.recipe.version}} {{task.task_name}}</li> 17 …<h1><a href="{%url 'recipe' build.pk task.recipe.pk %}">{{task.recipe.name}}_{{task.recipe.version… 21 <h2 {{ task|task_color:True }}> 22 {{task.get_outcome_display}} 23 <span class="glyphicon glyphicon-question-sign get-help" title="{{task.get_outcome_help}}"></i> 25 {%if task.task_executed %} 27 {% if task.logfile %} 29 href="{% url 'build_artifact' build.id 'tasklogfile' task.pk %}"> 30 Download task log [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/ |
| H A 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 39 spin_lock_irqsave(&task->state_lock, flags); in rxe_do_task() 40 switch (task->state) { in rxe_do_task() 42 task->state = TASK_STATE_BUSY; in rxe_do_task() 43 spin_unlock_irqrestore(&task->state_lock, flags); in rxe_do_task() 47 task->state = TASK_STATE_ARMED; in rxe_do_task() [all …]
|
| /OK3568_Linux_fs/external/mpp/inc/ |
| H A D | mpp_task.h | 23 * Advanced task flow 24 * Advanced task flow introduces three concepts: port, task and item 28 * Port work like a queue. task will be dequeue from or enqueue to one port. 29 * On input side user will dequeue task from input port, setup task and enqueue task 31 * On output side user will dequeue task from output port, get the information from 32 * and then enqueue task back to output port. 34 * Task indicates one transaction on the port. 35 * Task has two working mode: async mode and sync mode 36 * If mpp is work in sync mode on task enqueue function return the task has been done 37 * If mpp is work in async mode on task enqueue function return the task is just put [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/mpp/include/rockchip/ |
| H A D | mpp_task.h | 23 * Advanced task flow 24 * Advanced task flow introduces three concepts: port, task and item 28 * Port work like a queue. task will be dequeue from or enqueue to one port. 29 * On input side user will dequeue task from input port, setup task and enqueue task 31 * On output side user will dequeue task from output port, get the information from 32 * and then enqueue task back to output port. 34 * Task indicates one transaction on the port. 35 * Task has two working mode: async mode and sync mode 36 * If mpp is work in sync mode on task enqueue function return the task has been done 37 * If mpp is work in async mode on task enqueue function return the task is just put [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/ |
| H A 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 …]
|
| /OK3568_Linux_fs/buildroot/package/directfb/ |
| H A D | 0001-fix-missing-davinci-voodoo-header.patch | 115 + c64xTask *task = &c64x->QueueL[idx]; 120 + while (task->c64x_flags & C64X_FLAG_TODO || ctl->QL_dsp == next) { 129 + (task->c64x_function >> 2) & 0x3fff, 130 + state_names[task->c64x_function & 3] ); 142 + return task; 146 +c64x_submit_task( DavinciC64x *c64x, c64xTask *task ) 167 + c64xTask *task = c64x_get_task( c64x ); 169 + task->c64x_arg[0] = start; 170 + task->c64x_arg[1] = length; 171 + task->c64x_arg[2] = func; [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/inc/ |
| H A D | mpp_task_impl.h | 27 * mpp task status transaction 29 * mpp task is generated from mpp port. When create a mpp port the corresponding task 30 * will be created, too. Then external user will dequeue task from port and enqueue to 33 * input port task work flow: 38 * 3. user setup task for processing| | 41 * 6. mpp process task | | 42 * 7. input port mpp task finish | enqueue(internal) | internal_hold -> external_queue 45 * output port task work flow: 48 * 2. output port mpp task dequeue | dequeue(internal) | internal_queue -> internal_hold 49 * 3. mpp setup task by processed frame/packet | [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/pm8001/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/ |
| H A D | mpp_dec_normal.cpp | 42 static MPP_RET check_task_wait(MppDecImpl *dec, DecTask *task) in check_task_wait() argument 47 RK_U32 curr_wait = task->wait.val; in check_task_wait() 72 dec->parser_status_flag = task->status.val; in check_task_wait() 73 dec->parser_wait_flag = task->wait.val; in check_task_wait() 133 static RK_U32 reset_parser_thread(Mpp *mpp, DecTask *task) in reset_parser_thread() argument 140 HalDecTask *task_dec = &task->info.dec; in reset_parser_thread() 156 dec_dbg_reset("reset: parser check hal proc task empty start\n"); in reset_parser_thread() 159 mpp_err_f("found task not processed put %d get %d\n", in reset_parser_thread() 164 dec_dbg_reset("reset: parser check hal proc task empty done\n"); in reset_parser_thread() 169 task->status.curr_task_rdy = 0; in reset_parser_thread() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/aic94xx/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | build.py | 4 # Core code for function execution and task handling in the 62 """Base class for task events""" 76 self._message = "recipe %s: task %s: %s" % (d.getVar("PF"), t, self.getDisplayName()) 81 def setTask(self, task): argument 82 self._task = task 87 task = property(getTask, setTask, None, "task property") variable in TaskBase 90 """Task execution started""" 96 """Task execution completed""" 99 """Task execution failed""" 101 def __init__(self, task, fn, logfile, metadata, errprinted = False): argument [all …]
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_task.cpp | 24 MPP_RET mpp_task_meta_set_s32(MppTask task, MppMetaKey key, RK_S32 val) in mpp_task_meta_set_s32() argument 26 if (check_mpp_task_name(task)) in mpp_task_meta_set_s32() 29 MppTaskImpl *impl = (MppTaskImpl *)task; in mpp_task_meta_set_s32() 33 MPP_RET mpp_task_meta_set_s64(MppTask task, MppMetaKey key, RK_S64 val) in mpp_task_meta_set_s64() argument 35 if (check_mpp_task_name(task)) in mpp_task_meta_set_s64() 38 MppTaskImpl *impl = (MppTaskImpl *)task; in mpp_task_meta_set_s64() 42 MPP_RET mpp_task_meta_set_ptr(MppTask task, MppMetaKey key, void *val) in mpp_task_meta_set_ptr() argument 44 if (check_mpp_task_name(task)) in mpp_task_meta_set_ptr() 47 MppTaskImpl *impl = (MppTaskImpl *)task; in mpp_task_meta_set_ptr() 51 MPP_RET mpp_task_meta_set_frame(MppTask task, MppMetaKey key, MppFrame frame) in mpp_task_meta_set_frame() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_common.c | 105 struct mpp_task *task) in mpp_taskqueue_pop_pending() argument 107 if (!task->session || !task->session->mpp) in mpp_taskqueue_pop_pending() 111 list_del_init(&task->queue_link); in mpp_taskqueue_pop_pending() 113 kref_put(&task->ref, mpp_free_task); in mpp_taskqueue_pop_pending() 121 struct mpp_task *task = NULL; in mpp_taskqueue_get_pending_task() local 124 task = list_first_entry_or_null(&queue->pending_list, in mpp_taskqueue_get_pending_task() 129 return task; in mpp_taskqueue_get_pending_task() 145 int mpp_taskqueue_pending_to_run(struct mpp_taskqueue *queue, struct mpp_task *task) in mpp_taskqueue_pending_to_run() argument 151 list_move_tail(&task->queue_link, &queue->running_list); in mpp_taskqueue_pending_to_run() 163 struct mpp_task *task = NULL; in mpp_taskqueue_get_running_task() local [all …]
|
| /OK3568_Linux_fs/kernel/kernel/livepatch/ |
| H A D | transition.c | 73 struct task_struct *g, *task; in klp_complete_transition() local 110 for_each_process_thread(g, task) { in klp_complete_transition() 111 WARN_ON_ONCE(test_tsk_thread_flag(task, TIF_PATCH_PENDING)); in klp_complete_transition() 112 task->patch_state = KLP_UNDEFINED; in klp_complete_transition() 117 task = idle_task(cpu); in klp_complete_transition() 118 WARN_ON_ONCE(test_tsk_thread_flag(task, TIF_PATCH_PENDING)); in klp_complete_transition() 119 task->patch_state = KLP_UNDEFINED; in klp_complete_transition() 157 * Switch the patched state of the task to the set of functions in the target 160 * NOTE: If task is not 'current', the caller must ensure the task is inactive. 163 void klp_update_patch_state(struct task_struct *task) in klp_update_patch_state() argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/nds32/include/asm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/isci/ |
| H A D | task.c | 64 #include "task.h" 71 * @task: request to complete 72 * @response: response code for the completed task. 73 * @status: status code for the completed task. 76 static void isci_task_refuse(struct isci_host *ihost, struct sas_task *task, in isci_task_refuse() argument 84 dev_dbg(&ihost->pdev->dev, "%s: task = %p, response=%d, status=%d\n", in isci_task_refuse() 85 __func__, task, response, status); in isci_task_refuse() 87 spin_lock_irqsave(&task->task_state_lock, flags); in isci_task_refuse() 89 task->task_status.resp = response; in isci_task_refuse() 90 task->task_status.stat = status; in isci_task_refuse() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/test/ |
| H A D | mpp_task_test.c | 16 MppTask task = NULL; in task_input() local 27 ret = mpp_port_dequeue(port, &task); in task_input() 29 mpp_assert(task); in task_input() 31 ret = mpp_port_enqueue(port, task); in task_input() 44 MppTask task = NULL; in task_output() local 55 ret = mpp_port_dequeue(port, &task); in task_output() 57 mpp_assert(task); in task_output() 59 ret = mpp_port_enqueue(port, task); in task_output() 72 MppTask task = NULL; in task_in_and_out() local 81 ret = mpp_port_dequeue(port_input, &task); in task_in_and_out() [all …]
|
| /OK3568_Linux_fs/kernel/scripts/gdb/linux/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H A D | base.c | 113 * in /proc for a task before it execs a suid executable. 173 static int get_task_root(struct task_struct *task, struct path *root) in get_task_root() argument 177 task_lock(task); in get_task_root() 178 if (task->fs) { in get_task_root() 179 get_fs_root(task->fs, root); in get_task_root() 182 task_unlock(task); in get_task_root() 188 struct task_struct *task = get_proc_task(d_inode(dentry)); in proc_cwd_link() local 191 if (task) { in proc_cwd_link() 192 task_lock(task); in proc_cwd_link() 193 if (task->fs) { in proc_cwd_link() [all …]
|