Home
last modified time | relevance | path

Searched defs:task (Results 26 – 50 of 651) sorted by relevance

12345678910>>...27

/Linux-v6.1/fs/proc/
Dbase.c172 static int get_task_root(struct task_struct *task, struct path *root) in get_task_root()
187 struct task_struct *task = get_proc_task(d_inode(dentry)); in proc_cwd_link() local
204 struct task_struct *task = get_proc_task(d_inode(dentry)); in proc_root_link() local
386 struct pid *pid, struct task_struct *task) in proc_pid_wchan()
406 static int lock_trace(struct task_struct *task) in lock_trace()
418 static void unlock_trace(struct task_struct *task) in unlock_trace()
428 struct pid *pid, struct task_struct *task) in proc_pid_stack()
476 struct pid *pid, struct task_struct *task) in proc_pid_schedstat()
495 struct task_struct *task = get_proc_task(inode); in lstats_show_proc() local
529 struct task_struct *task = get_proc_task(file_inode(file)); in lstats_write() local
[all …]
Dfd.c26 struct task_struct *task; in seq_show() local
78 struct task_struct *task = get_proc_task(inode); in proc_fdinfo_access_allowed() local
109 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode) in tid_fd_mode()
121 static void tid_fd_update_inode(struct task_struct *task, struct inode *inode, in tid_fd_update_inode()
139 struct task_struct *task; in tid_fd_revalidate() local
169 struct task_struct *task; in proc_fd_link() local
196 struct task_struct *task, const void *ptr) in proc_fd_instantiate()
223 struct task_struct *task = get_proc_task(dir); in proc_lookupfd_common() local
329 struct task_struct *task, const void *ptr) in proc_fdinfo_instantiate()
Dnamespaces.c47 struct task_struct *task; in proc_ns_get_link() local
75 struct task_struct *task; in proc_ns_readlink() local
99 struct task_struct *task, const void *ptr) in proc_ns_instantiate()
120 struct task_struct *task = get_proc_task(file_inode(file)); in proc_ns_dir_readdir() local
154 struct task_struct *task = get_proc_task(dir); in proc_ns_dir_lookup() local
/Linux-v6.1/arch/microblaze/include/asm/
Dprocessor.h72 # define task_tos(task) ((unsigned long)(task) + KERNEL_STACK_SIZE) argument
73 # define task_regs(task) ((struct pt_regs *)task_tos(task) - 1) argument
78 # define task_sp(task) (task_regs(task)->r1) argument
79 # define task_pc(task) (task_regs(task)->pc) argument
81 # define KSTK_EIP(task) (task_pc(task)) argument
82 # define KSTK_ESP(task) (task_sp(task)) argument
/Linux-v6.1/arch/s390/include/asm/
Dsyscall.h20 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr()
27 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
33 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
49 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
55 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
63 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
81 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/Linux-v6.1/kernel/bpf/
Dbpf_task_storage.c51 struct task_struct *task = owner; in task_storage_ptr() local
57 task_storage_lookup(struct task_struct *task, struct bpf_map *map, in task_storage_lookup()
72 void bpf_task_storage_free(struct task_struct *task) in bpf_task_storage_free()
121 struct task_struct *task; in bpf_pid_task_storage_lookup_elem() local
155 struct task_struct *task; in bpf_pid_task_storage_update_elem() local
187 static int task_storage_delete(struct task_struct *task, struct bpf_map *map) in task_storage_delete()
202 struct task_struct *task; in bpf_pid_task_storage_delete_elem() local
231 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument
263 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2() argument
/Linux-v6.1/drivers/scsi/
Dlibiscsi.c146 void iscsi_prep_data_out_pdu(struct iscsi_task *task, struct iscsi_r2t_info *r2t, in iscsi_prep_data_out_pdu()
176 static int iscsi_add_hdr(struct iscsi_task *task, unsigned len) in iscsi_add_hdr()
193 static int iscsi_prep_ecdb_ahs(struct iscsi_task *task) in iscsi_prep_ecdb_ahs()
243 static int iscsi_check_tmf_restrictions(struct iscsi_task *task, int opcode) in iscsi_check_tmf_restrictions()
314 static int iscsi_prep_scsi_cmd_pdu(struct iscsi_task *task) in iscsi_prep_scsi_cmd_pdu()
454 static void iscsi_free_task(struct iscsi_task *task) in iscsi_free_task()
487 bool iscsi_get_task(struct iscsi_task *task) in iscsi_get_task()
499 void __iscsi_put_task(struct iscsi_task *task) in __iscsi_put_task()
506 void iscsi_put_task(struct iscsi_task *task) in iscsi_put_task()
525 static void iscsi_complete_task(struct iscsi_task *task, int state) in iscsi_complete_task()
[all …]
/Linux-v6.1/drivers/connector/
Dcn_proc.c69 void proc_fork_connector(struct task_struct *task) in proc_fork_connector()
99 void proc_exec_connector(struct task_struct *task) in proc_exec_connector()
123 void proc_id_connector(struct task_struct *task, int which_id) in proc_id_connector()
161 void proc_sid_connector(struct task_struct *task) in proc_sid_connector()
185 void proc_ptrace_connector(struct task_struct *task, int ptrace_id) in proc_ptrace_connector()
217 void proc_comm_connector(struct task_struct *task) in proc_comm_connector()
242 void proc_coredump_connector(struct task_struct *task) in proc_coredump_connector()
275 void proc_exit_connector(struct task_struct *task) in proc_exit_connector()
/Linux-v6.1/arch/powerpc/kernel/
Dsignal.c30 struct task_struct *task) in copy_fpr_to_user()
42 unsigned long copy_fpr_from_user(struct task_struct *task, in copy_fpr_from_user()
58 struct task_struct *task) in copy_vsx_to_user()
69 unsigned long copy_vsx_from_user(struct task_struct *task, in copy_vsx_from_user()
84 struct task_struct *task) in copy_ckfpr_to_user()
96 unsigned long copy_ckfpr_from_user(struct task_struct *task, in copy_ckfpr_from_user()
112 struct task_struct *task) in copy_ckvsx_to_user()
123 unsigned long copy_ckvsx_from_user(struct task_struct *task, in copy_ckvsx_from_user()
/Linux-v6.1/arch/parisc/include/asm/
Dsyscall.h32 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
39 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
45 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
52 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
58 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/Linux-v6.1/drivers/scsi/aic94xx/
Daic94xx_task.c36 static int asd_map_scatterlist(struct sas_task *task, in asd_map_scatterlist()
119 struct sas_task *task = ascb->uldd_task; in asd_unmap_scatterlist() local
144 struct sas_task *task = ascb->uldd_task; in asd_get_response_tasklet() local
197 struct sas_task *task = ascb->uldd_task; in asd_task_tasklet_complete() local
345 static int asd_build_ata_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_ata_ascb()
413 static int asd_build_smp_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_smp_ascb()
452 struct sas_task *task = a->uldd_task; in asd_unbuild_smp_ascb() local
463 static int asd_build_ssp_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_ssp_ascb()
527 int asd_execute_task(struct sas_task *task, gfp_t gfp_flags) in asd_execute_task()
/Linux-v6.1/arch/riscv/kernel/
Dstacktrace.c19 void notrace walk_stackframe(struct task_struct *task, struct pt_regs *regs, in walk_stackframe()
69 void notrace walk_stackframe(struct task_struct *task, in walk_stackframe()
108 noinline void dump_backtrace(struct pt_regs *regs, struct task_struct *task, in dump_backtrace()
114 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack()
130 unsigned long __get_wchan(struct task_struct *task) in __get_wchan()
142 struct task_struct *task, struct pt_regs *regs) in arch_stack_walk()
/Linux-v6.1/drivers/gpu/drm/exynos/
Dexynos_drm_ipp.c260 struct exynos_drm_ipp_task *task; in exynos_drm_ipp_task_alloc() local
313 static int exynos_drm_ipp_task_set(struct exynos_drm_ipp_task *task, in exynos_drm_ipp_task_set()
395 struct exynos_drm_ipp_task *task) in exynos_drm_ipp_task_free()
548 static int exynos_drm_ipp_check_format(struct exynos_drm_ipp_task *task, in exynos_drm_ipp_check_format()
602 static int exynos_drm_ipp_task_check(struct exynos_drm_ipp_task *task) in exynos_drm_ipp_task_check()
664 static int exynos_drm_ipp_task_setup_buffers(struct exynos_drm_ipp_task *task, in exynos_drm_ipp_task_setup_buffers()
695 static int exynos_drm_ipp_event_create(struct exynos_drm_ipp_task *task, in exynos_drm_ipp_event_create()
721 static void exynos_drm_ipp_event_send(struct exynos_drm_ipp_task *task) in exynos_drm_ipp_event_send()
733 static int exynos_drm_ipp_task_cleanup(struct exynos_drm_ipp_task *task) in exynos_drm_ipp_task_cleanup()
749 struct exynos_drm_ipp_task *task = container_of(work, in exynos_drm_ipp_cleanup_work() local
[all …]
/Linux-v6.1/fs/nfs/flexfilelayout/
Dflexfilelayout.c676 nfs4_ff_layout_stat_io_end_read(struct rpc_task *task, in nfs4_ff_layout_stat_io_end_read()
707 nfs4_ff_layout_stat_io_end_write(struct rpc_task *task, in nfs4_ff_layout_stat_io_end_write()
1013 struct rpc_task *task = &hdr->task; in ff_layout_reset_write() local
1061 struct rpc_task *task = &hdr->task; in ff_layout_reset_read() local
1083 static int ff_layout_async_handle_error_v4(struct rpc_task *task, in ff_layout_async_handle_error_v4()
1161 static int ff_layout_async_handle_error_v3(struct rpc_task *task, in ff_layout_async_handle_error_v3()
1194 static int ff_layout_async_handle_error(struct rpc_task *task, in ff_layout_async_handle_error()
1286 static int ff_layout_read_done_cb(struct rpc_task *task, in ff_layout_read_done_cb()
1351 static void ff_layout_read_record_layoutstats_start(struct rpc_task *task, in ff_layout_read_record_layoutstats_start()
1362 static void ff_layout_read_record_layoutstats_done(struct rpc_task *task, in ff_layout_read_record_layoutstats_done()
[all …]
/Linux-v6.1/drivers/video/fbdev/
Duvesafb.c75 struct uvesafb_ktask *task; in uvesafb_cn_callback() local
144 static int uvesafb_exec(struct uvesafb_ktask *task) in uvesafb_exec()
235 static void uvesafb_free(struct uvesafb_ktask *task) in uvesafb_free()
246 static void uvesafb_reset(struct uvesafb_ktask *task) in uvesafb_reset()
259 struct uvesafb_ktask *task; in uvesafb_prep() local
354 struct uvesafb_ktask *task; in uvesafb_vbe_state_save() local
392 struct uvesafb_ktask *task; in uvesafb_vbe_state_restore() local
417 static int uvesafb_vbe_getinfo(struct uvesafb_ktask *task, in uvesafb_vbe_getinfo()
475 static int uvesafb_vbe_getmodes(struct uvesafb_ktask *task, in uvesafb_vbe_getmodes()
554 static int uvesafb_vbe_getpmi(struct uvesafb_ktask *task, in uvesafb_vbe_getpmi()
[all …]
/Linux-v6.1/arch/riscv/include/asm/
Dswitch_to.h25 static inline void fstate_off(struct task_struct *task, in fstate_off()
31 static inline void fstate_save(struct task_struct *task, in fstate_save()
40 static inline void fstate_restore(struct task_struct *task, in fstate_restore()
66 #define fstate_save(task, regs) do { } while (0) argument
67 #define fstate_restore(task, regs) do { } while (0) argument
/Linux-v6.1/include/linux/
Dcgroup.h287 #define cgroup_taskset_for_each(task, dst_css, tset) \ argument
465 #define task_css_set_check(task, __c) \ argument
472 #define task_css_set_check(task, __c) \ argument
485 #define task_css_check(task, subsys_id, __c) \ argument
494 static inline struct css_set *task_css_set(struct task_struct *task) in task_css_set()
506 static inline struct cgroup_subsys_state *task_css(struct task_struct *task, in task_css()
522 task_get_css(struct task_struct *task, int subsys_id) in task_get_css()
551 static inline bool task_css_is_root(struct task_struct *task, int subsys_id) in task_css_is_root()
557 static inline struct cgroup *task_cgroup(struct task_struct *task, in task_cgroup()
563 static inline struct cgroup *task_dfl_cgroup(struct task_struct *task) in task_dfl_cgroup()
[all …]
/Linux-v6.1/net/sunrpc/
Dauth.c610 rpcauth_bind_root_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_root_cred()
626 rpcauth_bind_machine_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_machine_cred()
642 rpcauth_bind_new_cred(struct rpc_task *task, int lookupflags) in rpcauth_bind_new_cred()
650 rpcauth_bindcred(struct rpc_task *task, const struct cred *cred, int flags) in rpcauth_bindcred()
727 int rpcauth_marshcred(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_marshcred()
742 int rpcauth_wrap_req_encode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req_encode()
760 int rpcauth_wrap_req(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_wrap_req()
777 rpcauth_checkverf(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_checkverf()
792 rpcauth_unwrap_resp_decode(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp_decode()
808 rpcauth_unwrap_resp(struct rpc_task *task, struct xdr_stream *xdr) in rpcauth_unwrap_resp()
[all …]
/Linux-v6.1/drivers/scsi/isci/
Drequest.c116 struct sas_task *task = isci_request_access_task(ireq); in sci_request_build_sgl() local
174 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_build_ssp_command_iu() local
194 struct sas_task *task = isci_request_access_task(ireq); in sci_task_request_build_ssp_task_iu() local
639 struct sas_task *task; in sci_atapi_construct() local
667 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_sata() local
726 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_basic_ssp() local
759 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_basic_sata() local
1410 struct sas_task *task; in sci_stp_request_pio_data_in_copy_data_buffer() local
1616 struct sas_task *task = isci_request_access_task(ireq); in atapi_d2h_reg_frame_handler() local
1663 struct sas_task *task = isci_request_access_task(ireq); in scu_atapi_construct_task_context() local
[all …]
/Linux-v6.1/kernel/
Dpid.c321 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr()
331 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
337 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid()
356 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid()
361 void change_pid(struct task_struct *task, enum pid_type type, in change_pid()
427 struct task_struct *task; in find_get_task_by_vpid() local
438 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
492 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns()
564 struct task_struct *task; in pidfd_get_task() local
668 static struct file *__pidfd_fget(struct task_struct *task, int fd) in __pidfd_fget()
[all …]
Dtask_work.c42 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
86 task_work_cancel_match(struct task_struct *task, in task_work_cancel_match()
133 task_work_cancel(struct task_struct *task, task_work_func_t func) in task_work_cancel()
148 struct task_struct *task = current; in task_work_run() local
/Linux-v6.1/drivers/scsi/libsas/
Dsas_scsi_host.c37 static void sas_end_task(struct scsi_cmnd *sc, struct sas_task *task) in sas_end_task()
99 static void sas_scsi_task_done(struct sas_task *task) in sas_scsi_task_done()
133 struct sas_task *task = sas_alloc_task(gfp_flags); in sas_create_task() local
165 struct sas_task *task; in sas_queuecommand() local
208 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_finish_cmd() local
277 static enum task_disposition sas_scsi_find_task(struct sas_task *task) in sas_scsi_find_task()
464 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_abort_handler() local
572 struct sas_task *task; in sas_eh_handle_sas_errors() local
588 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_handle_sas_errors() local
897 void sas_task_internal_done(struct sas_task *task) in sas_task_internal_done()
[all …]
/Linux-v6.1/drivers/scsi/qedi/
Dqedi_fw.c32 struct iscsi_task *task, in qedi_process_logout_resp()
83 struct iscsi_task *task, in qedi_process_text_resp()
179 struct iscsi_task *task, in qedi_process_tmf_resp()
259 struct iscsi_task *task, in qedi_process_login_resp()
410 struct iscsi_task *task, in qedi_process_nopin_mesg()
481 struct iscsi_task *task, in qedi_process_async_mesg()
535 struct iscsi_task *task, in qedi_process_reject_mesg()
577 struct iscsi_task *task, in qedi_scsi_completion()
675 struct iscsi_task *task, in qedi_mtask_completion()
711 struct iscsi_task *task, in qedi_process_nopin_local_cmpl()
[all …]
/Linux-v6.1/fs/nfs/
Dunlink.c46 static void nfs_async_unlink_done(struct rpc_task *task, void *calldata) in nfs_async_unlink_done()
76 static void nfs_unlink_prepare(struct rpc_task *task, void *calldata) in nfs_unlink_prepare()
103 struct rpc_task *task; in nfs_do_call_unlink() local
262 static void nfs_async_rename_done(struct rpc_task *task, void *calldata) in nfs_async_rename_done()
314 static void nfs_rename_prepare(struct rpc_task *task, void *calldata) in nfs_rename_prepare()
400 nfs_complete_sillyrename(struct rpc_task *task, struct nfs_renamedata *data) in nfs_complete_sillyrename()
447 struct rpc_task *task; in nfs_sillyrename() local
/Linux-v6.1/kernel/cgroup/
Dlegacy_freezer.c55 static inline struct freezer *task_freezer(struct task_struct *task) in task_freezer()
65 bool cgroup_freezing(struct task_struct *task) in cgroup_freezing()
160 struct task_struct *task; in freezer_attach() local
204 static void freezer_fork(struct task_struct *task) in freezer_fork()
250 struct task_struct *task; in update_if_frozen() local
314 struct task_struct *task; in freeze_cgroup() local
325 struct task_struct *task; in unfreeze_cgroup() local

12345678910>>...27