| /linux/net/sunrpc/ |
| H A D | sched.c | 45 static void rpc_release_task(struct rpc_task *task); 68 bool rpc_task_set_rpc_status(struct rpc_task *task, int rpc_status) in rpc_task_set_rpc_status() argument 70 if (cmpxchg(&task->tk_rpc_status, 0, rpc_status) == 0) in rpc_task_set_rpc_status() 76 rpc_task_timeout(const struct rpc_task *task) in rpc_task_timeout() argument 78 unsigned long timeout = READ_ONCE(task->tk_timeout); in rpc_task_timeout() 90 * Disable the timer for a given RPC task. Should be called with 95 __rpc_disable_timer(struct rpc_wait_queue *queue, struct rpc_task *task) in __rpc_disable_timer() argument 97 if (list_empty(&task->u.tk_wait.timer_list)) in __rpc_disable_timer() 99 task->tk_timeout = 0; in __rpc_disable_timer() 100 list_del(&task->u.tk_wait.timer_list); in __rpc_disable_timer() [all …]
|
| H A D | clnt.c | 53 static void call_start(struct rpc_task *task); 54 static void call_reserve(struct rpc_task *task); 55 static void call_reserveresult(struct rpc_task *task); 56 static void call_allocate(struct rpc_task *task); 57 static void call_encode(struct rpc_task *task); 58 static void call_decode(struct rpc_task *task); 59 static void call_bind(struct rpc_task *task); 60 static void call_bind_status(struct rpc_task *task); 61 static void call_transmit(struct rpc_task *task); 62 static void call_status(struct rpc_task *task); [all …]
|
| H A D | xprt.c | 75 static void xprt_request_init(struct rpc_task *task); 258 * @task: task that is requesting access to the transport 265 int xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt() argument 267 struct rpc_rqst *req = task->tk_rqstp; in xprt_reserve_xprt() 270 if (task == xprt->snd_task) in xprt_reserve_xprt() 276 xprt->snd_task = task; in xprt_reserve_xprt() 279 trace_xprt_reserve_xprt(xprt, task); in xprt_reserve_xprt() 285 task->tk_status = -EAGAIN; in xprt_reserve_xprt() 286 if (RPC_IS_SOFT(task) || RPC_IS_SOFTCONN(task)) in xprt_reserve_xprt() 287 rpc_sleep_on_timeout(&xprt->sending, task, NULL, in xprt_reserve_xprt() [all …]
|
| /linux/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); 41 * syscall_set_nr - change the system call a task is executing 42 * @task: task of interest, must be blocked [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_ipp.c | 87 WARN_ON(ipp->task); in exynos_drm_ipp_unregister() 261 struct exynos_drm_ipp_task *task; in exynos_drm_ipp_task_alloc() local 263 task = kzalloc_obj(*task); in exynos_drm_ipp_task_alloc() 264 if (!task) in exynos_drm_ipp_task_alloc() 267 task->dev = ipp->dev; in exynos_drm_ipp_task_alloc() 268 task->ipp = ipp; in exynos_drm_ipp_task_alloc() 271 task->src.rect.w = task->dst.rect.w = UINT_MAX; in exynos_drm_ipp_task_alloc() 272 task in exynos_drm_ipp_task_alloc() 314 exynos_drm_ipp_task_set(struct exynos_drm_ipp_task * task,struct drm_exynos_ioctl_ipp_commit * arg) exynos_drm_ipp_task_set() argument 396 exynos_drm_ipp_task_free(struct exynos_drm_ipp * ipp,struct exynos_drm_ipp_task * task) exynos_drm_ipp_task_free() argument 549 exynos_drm_ipp_check_format(struct exynos_drm_ipp_task * task,struct exynos_drm_ipp_buffer * buf,struct exynos_drm_ipp_buffer * src,struct exynos_drm_ipp_buffer * dst,bool rotate,bool swap) exynos_drm_ipp_check_format() argument 603 exynos_drm_ipp_task_check(struct exynos_drm_ipp_task * task) exynos_drm_ipp_task_check() argument 665 exynos_drm_ipp_task_setup_buffers(struct exynos_drm_ipp_task * task,struct drm_file * filp) exynos_drm_ipp_task_setup_buffers() argument 696 exynos_drm_ipp_event_create(struct exynos_drm_ipp_task * task,struct drm_file * file_priv,uint64_t user_data) exynos_drm_ipp_event_create() argument 722 exynos_drm_ipp_event_send(struct exynos_drm_ipp_task * task) exynos_drm_ipp_event_send() argument 734 exynos_drm_ipp_task_cleanup(struct exynos_drm_ipp_task * task) exynos_drm_ipp_task_cleanup() argument 750 struct exynos_drm_ipp_task *task = container_of(work, exynos_drm_ipp_cleanup_work() local 763 exynos_drm_ipp_task_done(struct exynos_drm_ipp_task * task,int ret) exynos_drm_ipp_task_done() argument 789 struct exynos_drm_ipp_task *task; exynos_drm_ipp_next_task() local 820 exynos_drm_ipp_schedule_task(struct exynos_drm_ipp * ipp,struct exynos_drm_ipp_task * task) exynos_drm_ipp_schedule_task() argument 832 exynos_drm_ipp_task_abort(struct exynos_drm_ipp * ipp,struct exynos_drm_ipp_task * task) exynos_drm_ipp_task_abort() argument 877 struct exynos_drm_ipp_task *task; exynos_drm_ipp_commit_ioctl() local [all...] |
| /linux/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 …]
|
| /linux/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 …]
|
| /linux/Documentation/scheduler/ |
| H A D | sched-ext.rst | 20 a runnable task stalls, or on invoking the SysRq key sequence 49 If a task explicitly sets its scheduling policy to ``SCHED_EXT``, it will be 120 the task and the core scheduler silently picked a fallback CPU. 123 * ``SCX_EV_DISPATCH_KEEP_LAST``: a task continued running because no other 124 task was available (only when ``SCX_OPS_ENQ_LAST`` is not set). 125 * ``SCX_EV_ENQ_SKIP_EXITING``: an exiting task was dispatched to the local DSQ 127 * ``SCX_EV_ENQ_SKIP_MIGRATION_DISABLED``: a migration-disabled task was 130 * ``SCX_EV_REENQ_IMMED``: a task dispatched with ``SCX_ENQ_IMMED`` was 135 * ``SCX_EV_REFILL_SLICE_DFL``: a task's time slice was refilled with the 140 * ``SCX_EV_INSERT_NOT_OWNED``: attempted to insert a task no [all...] |
| /linux/drivers/scsi/pm8001/ |
| H A D | pm8001_sas.c | 46 * pm8001_find_tag - from sas task to find out tag that belongs to this task 47 * @task: the task sent to the LLDD 48 * @tag: the found tag associated with the task 50 static int pm8001_find_tag(struct sas_task *task, u32 *tag) in pm8001_find_tag() argument 52 if (task->lldd_task) { in pm8001_find_tag() 54 ccb = task->lldd_task; in pm8001_find_tag() 64 * @tag: the found tag associated with the task 80 * pm8001_tag_alloc - allocate a empty tag for task used. 104 static void pm80xx_get_tag_opcodes(struct sas_task *task, int *ata_op, in pm80xx_get_tag_opcodes() argument 114 if (!task) in pm80xx_get_tag_opcodes() [all …]
|
| /linux/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 …]
|
| /linux/scripts/gdb/linux/ |
| H A D | tasks.py | 4 # task & thread tools 39 for task in task_lists(): 40 if int(task['pid']) == pid: 41 return task 46 """Find Linux task by PID and return the task_struct variable. 55 task = get_task_by_pid(pid) 56 if task: 57 return task.dereference() 59 raise gdb.GdbError("No task of PID " + str(pid)) 72 gdb.write("{:>10} {:>12} {:>7}\n".format("TASK", "PI 86 get_thread_info(task) global() argument 103 invoke(self, task) global() argument [all...] |
| /linux/arch/powerpc/kernel/ |
| H A D | signal.h | 36 struct task_struct *task); 38 struct task_struct *task); 39 extern unsigned long copy_vsx_from_user(struct task_struct *task, 41 extern unsigned long copy_ckvsx_from_user(struct task_struct *task, 43 unsigned long copy_fpr_to_user(void __user *to, struct task_struct *task); 44 unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task); 45 unsigned long copy_fpr_from_user(struct task_struct *task, void __user *from); 46 unsigned long copy_ckfpr_from_user(struct task_struct *task, void __user *from); 48 #define unsafe_copy_fpr_to_user(to, task, label) do { \ argument 49 struct task_struct *__t = task; \ [all …]
|
| /linux/kernel/livepatch/ |
| H A D | transition.c | 85 struct task_struct *g, *task; 122 for_each_process_thread(g, task) { in klp_complete_transition() 123 WARN_ON_ONCE(test_tsk_thread_flag(task, TIF_PATCH_PENDING)); in klp_complete_transition() 124 task->patch_state = KLP_TRANSITION_IDLE; in klp_complete_transition() 129 task = idle_task(cpu); in klp_complete_transition() 130 WARN_ON_ONCE(test_tsk_thread_flag(task, TIF_PATCH_PENDING)); in klp_complete_transition() 131 task->patch_state = KLP_TRANSITION_IDLE; in klp_complete_transition() 169 * Switch the patched state of the task to the set of functions in the target in klp_cancel_transition() 172 * NOTE: If task is not 'current', the caller must ensure the task i in klp_cancel_transition() 94 struct task_struct *g, *task; klp_complete_transition() local 184 klp_update_patch_state(struct task_struct * task) klp_update_patch_state() argument 263 klp_check_stack(struct task_struct * task,const char ** oldname) klp_check_stack() argument 293 klp_check_and_switch_task(struct task_struct * task,void * arg) klp_check_and_switch_task() argument 314 klp_try_switch_task(struct task_struct * task) klp_try_switch_task() argument 410 struct task_struct *g, *task; klp_send_signals() local 454 struct task_struct *g, *task; klp_try_complete_transition() local 532 struct task_struct *g, *task; klp_start_transition() local 575 struct task_struct *g, *task; klp_init_transition() local 651 struct task_struct *g, *task; klp_reverse_transition() local 730 struct task_struct *g, *task; klp_force_transition() local [all...] |
| /linux/fs/proc/ |
| H A D | base.c | 115 * in /proc for a task before it execs a suid executable. 209 static int get_task_root(struct task_struct *task, struct path *root) in get_task_root() 213 task_lock(task); in get_task_root() 214 if (task->fs) { in get_task_root() 215 get_fs_root(task->fs, root); in get_task_root() 218 task_unlock(task); in get_task_root() 223 struct task_struct *task) in proc_cwd_link() local 227 task_lock(task); in proc_cwd_link() 228 if (task->fs) { in proc_cwd_link() 229 get_fs_pwd(task in proc_cwd_link() 208 get_task_root(struct task_struct * task,struct path * root) get_task_root() argument 240 struct task_struct *task = get_proc_task(d_inode(dentry)); proc_root_link() local 422 proc_pid_wchan(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_wchan() argument 442 lock_trace(struct task_struct * task) lock_trace() argument 454 unlock_trace(struct task_struct * task) unlock_trace() argument 464 proc_pid_stack(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_stack() argument 512 proc_pid_schedstat(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_schedstat() argument 531 struct task_struct *task = get_proc_task(inode); lstats_show_proc() local 565 struct task_struct *task = get_proc_task(file_inode(file)); lstats_write() local 586 proc_oom_score(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_oom_score() argument 632 proc_pid_limits(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_limits() argument 676 proc_pid_syscall(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_syscall() argument 710 struct task_struct *task; proc_fd_access_allowed() local 746 has_pid_permissions(struct proc_fs_info * fs_info,struct task_struct * task,enum proc_hidepid hide_pid_min) has_pid_permissions() argument 769 struct task_struct *task; proc_pid_permission() local 805 struct task_struct *task; proc_single_show() local 839 struct task_struct *task = get_proc_task(inode); proc_mem_open() local 879 struct task_struct *task; proc_mem_foll_force() local 1106 struct task_struct *task = get_proc_task(file_inode(file)); oom_adj_read() local 1128 struct task_struct *task; __set_oom_adj() local 1264 struct task_struct *task = get_proc_task(file_inode(file)); oom_score_adj_read() local 1317 struct task_struct *task = get_proc_task(inode); proc_loginuid_read() local 1383 struct task_struct *task = get_proc_task(inode); proc_sessionid_read() local 1405 struct task_struct *task = get_proc_task(file_inode(file)); proc_fault_inject_read() local 1423 struct task_struct *task; proc_fault_inject_write() local 1459 struct task_struct *task; proc_fail_nth_write() local 1479 struct task_struct *task; proc_fail_nth_read() local 1782 struct task_struct *task; proc_exe_link() local 1875 task_dump_owner(struct task_struct * task,umode_t mode,kuid_t * ruid,kgid_t * rgid) task_dump_owner() argument 1945 proc_pid_make_inode(struct super_block * sb,struct task_struct * task,umode_t mode) proc_pid_make_inode() argument 1998 proc_pid_make_base_inode(struct super_block * sb,struct task_struct * task,umode_t mode) proc_pid_make_base_inode() argument 2023 struct task_struct *task; pid_getattr() local 2051 pid_update_inode(struct task_struct * task,struct inode * inode) pid_update_inode() argument 2068 struct task_struct *task; pid_revalidate() local 2122 proc_fill_cache(struct file * file,struct dir_context * ctx,const char * name,unsigned int len,instantiate_t instantiate,struct task_struct * task,const void * ptr) proc_fill_cache() argument 2207 struct task_struct *task; map_files_d_revalidate() local 2257 struct task_struct *task; map_files_get_link() local 2327 proc_map_files_instantiate(struct dentry * dentry,struct task_struct * task,const void * ptr) proc_map_files_instantiate() argument 2354 struct task_struct *task; proc_map_files_lookup() local 2408 struct task_struct *task; proc_map_files_readdir() local 2507 struct task_struct *task; global() member 2691 proc_pident_instantiate(struct dentry * dentry,struct task_struct * task,const void * ptr) proc_pident_instantiate() argument 2718 struct task_struct *task = get_proc_task(dir); proc_pident_lookup() local 2744 struct task_struct *task = get_proc_task(file_inode(file)); proc_pident_readdir() local 2781 struct task_struct *task = get_proc_task(inode); proc_pid_attr_read() local 2800 struct task_struct *task; proc_pid_attr_write() local 2956 struct task_struct *task = get_proc_task(file_inode(file)); proc_coredump_filter_read() local 2987 struct task_struct *task; proc_coredump_filter_write() local 3032 do_io_accounting(struct task_struct * task,struct seq_file * m,int whole) do_io_accounting() argument 3084 proc_tid_io_accounting(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_tid_io_accounting() argument 3090 proc_tgid_io_accounting(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_tgid_io_accounting() argument 3101 struct task_struct *task; proc_id_map_open() local 3179 struct task_struct *task; proc_setgroups_open() local 3229 proc_pid_personality(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_personality() argument 3241 proc_pid_patch_state(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_patch_state() argument 3250 proc_pid_ksm_merging_pages(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_ksm_merging_pages() argument 3263 proc_pid_ksm_stat(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_pid_ksm_stat() argument 3293 proc_stack_depth(struct seq_file * m,struct pid_namespace * ns,struct pid * pid,struct task_struct * task) proc_stack_depth() argument 3485 proc_pid_instantiate(struct dentry * dentry,struct task_struct * task,const void * ptr) proc_pid_instantiate() argument 3506 struct task_struct *task; proc_pid_lookup() local 3545 struct task_struct *task; global() member 3633 struct task_struct *task; proc_tid_comm_permission() local 3786 proc_task_instantiate(struct dentry * dentry,struct task_struct * task,const void * ptr) proc_task_instantiate() argument 3806 struct task_struct *task; proc_task_lookup() local 3856 struct task_struct *pos, *task; first_tid() local 3919 struct task_struct *task; proc_task_readdir() local [all...] |
| /linux/arch/riscv/include/asm/ |
| H A D | usercfi.h | 36 void set_shstk_base(struct task_struct *task, unsigned long shstk_addr, unsigned long size); 37 unsigned long get_shstk_base(struct task_struct *task, unsigned long *size); 38 void set_active_shstk(struct task_struct *task, unsigned long shstk_addr); 39 bool is_shstk_enabled(struct task_struct *task); 40 bool is_shstk_locked(struct task_struct *task); 41 bool is_shstk_allocated(struct task_struct *task); 42 void set_shstk_lock(struct task_struct *task, bool lock); 43 void set_shstk_status(struct task_struct *task, bool enable); 44 unsigned long get_active_shstk(struct task_struct *task); 47 bool is_indir_lp_enabled(struct task_struct *task); 60 get_shstk_base(task,size) global() argument 62 set_shstk_base(task,shstk_addr,size) global() argument 64 set_active_shstk(task,shstk_addr) global() argument 66 is_shstk_enabled(task) global() argument 68 is_shstk_locked(task) global() argument 70 is_shstk_allocated(task) global() argument 72 set_shstk_lock(task,lock) global() argument 74 set_shstk_status(task,enable) global() argument 76 is_indir_lp_enabled(task) global() argument 78 is_indir_lp_locked(task) global() argument 80 set_indir_lp_status(task,enable) global() argument 82 set_indir_lp_lock(task,lock) global() argument 88 get_active_shstk(task) global() argument [all...] |
| /linux/rust/kernel/ |
| H A D | task.rs | 33 /// Returns the currently running task. 39 // leave current task context: 47 unsafe { &*$crate::task::Task::current() } 75 /// Getting the current task and storing it in some struct. The reference count is automatically 79 /// use kernel::{task::Task, sync::aref::ARef}; 82 /// creator: ARef<Task>, 96 pub struct Task(pub(crate) Opaque<bindings::task_struct>); struct 98 // SAFETY: By design, the only way to access a `Task` is via the `current` function or via an 99 // `ARef<Task>` obtained through the `AlwaysRefCounted` impl. This means that the only situation in 100 // which a `Task` can be accessed mutably is when the refcount drops to zero and the destructor [all …]
|
| /linux/include/rv/ |
| H A D | ltl_monitor.h | 12 #include <trace/events/task.h> 24 static void ltl_atoms_fetch(struct task_struct *task, struct ltl_monitor *mon); 25 static void ltl_atoms_init(struct task_struct *task, struct ltl_monitor *mon, bool task_creation); 27 static struct ltl_monitor *ltl_get_monitor(struct task_struct *task) in ltl_get_monitor() argument 29 return &task->rv[ltl_monitor_slot].ltl_mon; in ltl_get_monitor() 32 static void ltl_task_init(struct task_struct *task, bool task_creation) in ltl_task_init() argument 34 struct ltl_monitor *mon = ltl_get_monitor(task); in ltl_task_init() 41 ltl_atoms_init(task, mon, task_creation); in ltl_task_init() 42 ltl_atoms_fetch(task, mon); in ltl_task_init() 45 static void handle_task_newtask(void *data, struct task_struct *task, u6 argument 84 ltl_illegal_state(struct task_struct * task,struct ltl_monitor * mon) ltl_illegal_state() argument 91 ltl_attempt_start(struct task_struct * task,struct ltl_monitor * mon) ltl_attempt_start() argument 107 ltl_trace_event(struct task_struct * task,struct ltl_monitor * mon,unsigned long * next_state) ltl_trace_event() argument 130 ltl_validate(struct task_struct * task,struct ltl_monitor * mon) ltl_validate() argument 150 ltl_atom_update(struct task_struct * task,enum ltl_atom atom,bool value) ltl_atom_update() argument 165 ltl_atom_pulse(struct task_struct * task,enum ltl_atom atom,bool value) ltl_atom_pulse() argument [all...] |
| /linux/drivers/video/fbdev/ |
| H A D | uvesafb.c | 69 * find the kernel part of the task struct, copy the registers and 70 * the buffer contents and then complete the task. 75 struct uvesafb_ktask *task; in uvesafb_cn_callback() local 84 task = uvfb_tasks[msg->seq]; in uvesafb_cn_callback() 86 if (!task || msg->ack != task->ack) { in uvesafb_cn_callback() 94 if (task->t.buf_len < utask->buf_len || in uvesafb_cn_callback() 103 memcpy(&task->t, utask, sizeof(*utask)); in uvesafb_cn_callback() 105 if (task->t.buf_len && task in uvesafb_cn_callback() 144 uvesafb_exec(struct uvesafb_ktask * task) uvesafb_exec() argument 235 uvesafb_free(struct uvesafb_ktask * task) uvesafb_free() argument 246 uvesafb_reset(struct uvesafb_ktask * task) uvesafb_reset() argument 259 struct uvesafb_ktask *task; uvesafb_prep() local 354 struct uvesafb_ktask *task; uvesafb_vbe_state_save() local 392 struct uvesafb_ktask *task; uvesafb_vbe_state_restore() local 417 uvesafb_vbe_getinfo(struct uvesafb_ktask * task,struct uvesafb_par * par) uvesafb_vbe_getinfo() argument 475 uvesafb_vbe_getmodes(struct uvesafb_ktask * task,struct uvesafb_par * par) uvesafb_vbe_getmodes() argument 552 uvesafb_vbe_getpmi(struct uvesafb_ktask * task,struct uvesafb_par * par) uvesafb_vbe_getpmi() argument 613 uvesafb_vbe_getedid(struct uvesafb_ktask * task,struct fb_info * info) uvesafb_vbe_getedid() argument 674 uvesafb_vbe_getmonspecs(struct uvesafb_ktask * task,struct fb_info * info) uvesafb_vbe_getmonspecs() argument 753 uvesafb_vbe_getstatesize(struct uvesafb_ktask * task,struct uvesafb_par * par) uvesafb_vbe_getstatesize() argument 783 struct uvesafb_ktask *task = NULL; uvesafb_vbe_init() local 925 struct uvesafb_ktask *task; uvesafb_setpalette() local 1105 struct uvesafb_ktask *task; uvesafb_blank() local 1184 struct uvesafb_ktask *task = NULL; uvesafb_release() local 1216 struct uvesafb_ktask *task = NULL; uvesafb_set_par() local 1917 struct uvesafb_ktask *task; uvesafb_exit() local [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | rcu_read_lock.c | 43 struct task_struct *task; in get_cgroup_id() 46 task = bpf_get_current_task_btf(); in get_cgroup_id() 47 if (task->pid != target_pid) in get_cgroup_id() 52 cgroups = task->cgroups; in task_succ() 64 struct task_struct *task, *real_parent; in task_succ() 68 task = bpf_get_current_task_btf(); in task_succ() 69 if (task->pid != target_pid) in task_succ() 74 real_parent = task->real_parent; in task_succ() 93 struct task_struct *task, *real_parent; in two_regions() 96 task in two_regions() 33 struct task_struct *task; get_cgroup_id() local 54 struct task_struct *task, *real_parent; task_succ() local 83 struct task_struct *task, *real_parent; no_lock() local 95 struct task_struct *task, *real_parent; two_regions() local 114 struct task_struct *task, *real_parent; non_sleepable_1() local 130 struct task_struct *task, *real_parent; non_sleepable_2() local 149 struct task_struct *task, *real_parent, *gparent; task_acquire() local 177 struct task_struct *task; miss_lock() local 191 struct task_struct *task; miss_unlock() local 203 struct task_struct *task, *real_parent; non_sleepable_rcu_mismatch() local 221 struct task_struct *task, *real_parent; inproper_sleepable_helper() local 265 struct task_struct *task, *real_parent; nested_rcu_region() local 284 struct task_struct *task, *group_leader; task_trusted_non_rcuptr() local 298 struct task_struct *task, *real_parent; task_untrusted_rcuptr() local 312 struct task_struct *task, *real_parent; cross_rcu_region() local [all...] |
| H A D | task_kfunc_success.c | 23 struct task_struct *bpf_task_acquire___one(struct task_struct *task) __ksym __weak; 39 static int test_acquire_release(struct task_struct *task) in test_acquire_release() argument 57 acquired = bpf_task_acquire(task); in test_acquire_release() 67 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 73 acquired = bpf_task_acquire___one(task); in BPF_PROG() 79 acquired = bpf_task_acquire___two(task, &fake_ctx); in BPF_PROG() 97 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 111 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument 116 return test_acquire_release(task); in BPF_PROG() 120 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u6 argument 129 BPF_PROG(test_task_acquire_leave_in_map,struct task_struct * task,u64 clone_flags) BPF_PROG() argument 144 BPF_PROG(test_task_xchg_release,struct task_struct * task,u64 clone_flags) BPF_PROG() argument 228 BPF_PROG(test_task_map_acquire_release,struct task_struct * task,u64 clone_flags) BPF_PROG() argument 266 BPF_PROG(test_task_current_acquire_release,struct task_struct * task,u64 clone_flags) BPF_PROG() argument 299 BPF_PROG(test_task_from_pid_arg,struct task_struct * task,u64 clone_flags) BPF_PROG() argument 309 BPF_PROG(test_task_from_pid_current,struct task_struct * task,u64 clone_flags) BPF_PROG() argument 332 BPF_PROG(test_task_from_pid_invalid,struct task_struct * task,u64 clone_flags) BPF_PROG() argument 355 BPF_PROG(task_kfunc_acquire_trusted_walked,struct task_struct * task,u64 clone_flags) BPF_PROG() argument [all...] |
| /linux/drivers/scsi/qedi/ |
| H A D | qedi_fw_iscsi.h | 31 * task context. 33 * @param task_params - Pointer to task parameters struct 37 * @param sgl_task_params - Pointer to SGL task params 49 * Request task context. 51 * @param task_params - Pointer to task parameters struct 53 * @param tx_sgl_task_params - Pointer to SGL task params 54 * @param rx_sgl_task_params - Pointer to SGL task params 62 * task context. 64 * @param task_params - Pointer to task parameters struct 66 * @param tx_sgl_task_params - Pointer to SGL task params [all …]
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | kwork_top.bpf.c | 105 static __always_inline void update_task_info(struct task_struct *task, __u32 cpu) in update_task_info() argument 108 .pid = task->pid, in update_task_info() 114 .tgid = task->tgid, in update_task_info() 115 .is_kthread = task->flags & PF_KTHREAD ? 1 : 0, in update_task_info() 117 BPF_CORE_READ_STR_INTO(&data.comm, task, comm); in update_task_info() 139 static void on_sched_out(struct task_struct *task, __u64 ts, __u32 cpu) in on_sched_out() argument 144 pelem = bpf_task_storage_get(&kwork_top_task_time, task, NULL, 0); in on_sched_out() 152 .pid = task->pid, in on_sched_out() 153 .task_p = (__u64)task, in on_sched_out() 157 update_task_info(task, cpu); in on_sched_out() [all …]
|
| /linux/kernel/sched/ |
| H A D | ext_internal.h | |
| /linux/arch/riscv/kernel/ |
| H A D | stacktrace.c | 20 * This disables KASAN checking when reading a value from another task's stack, 21 * since the other task could be running on another CPU and could have poisoned 24 #define READ_ONCE_TASK_STACK(task, x) \ argument 28 if ((task) == current) \ 48 void notrace walk_stackframe(struct task_struct *task, struct pt_regs *regs, in walk_stackframe() argument 59 } else if (task == NULL || task == current) { in walk_stackframe() 65 /* task blocked in __switch_to */ in walk_stackframe() 66 fp = task->thread.s[0]; in walk_stackframe() 67 sp = task in walk_stackframe() 107 walk_stackframe(struct task_struct * task,struct pt_regs * regs,bool (* fn)(void *,unsigned long),void * arg) walk_stackframe() argument 146 dump_backtrace(struct pt_regs * regs,struct task_struct * task,const char * loglvl) dump_backtrace() argument 152 show_stack(struct task_struct * task,unsigned long * sp,const char * loglvl) show_stack() argument 168 __get_wchan(struct task_struct * task) __get_wchan() argument 180 arch_stack_walk(stack_trace_consume_fn consume_entry,void * cookie,struct task_struct * task,struct pt_regs * regs) arch_stack_walk() argument [all...] |
| /linux/arch/s390/include/asm/ |
| H A D | unwind.h | 14 * There four combinations for task and regs: 15 * 1) task==NULL, regs==NULL: the unwind starts for the task that is currently 17 * 2) task==NULL, regs!=NULL: the unwind starts from the sp/ip found in 18 * the struct pt_regs of an interrupt frame for the current task 19 * 3) task!=NULL, regs==NULL: the unwind starts for an inactive task with 20 * the sp picked up from task->thread.ksp and the ip picked up from the 22 * 4) task!=NULL, regs!=NULL: the sp/ip are picked up from the interrupt 23 * frame 'regs' of a inactive task 37 struct task_struct *task; member 50 ip = ftrace_graph_ret_addr(state->task, &state->graph_idx, ip, (void *)state->sp); in unwind_recover_ret_addr() [all …]
|