Home
last modified time | relevance | path

Searched refs:task_lock (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.10/fs/
Dfs_struct.c66 task_lock(p); in chroot_fs_refs()
101 task_lock(tsk); in exit_fs()
142 task_lock(current); in unshare_fs_struct()
Dfile.c418 task_lock(task); in get_files_struct()
445 task_lock(tsk); in reset_files_struct()
457 task_lock(tsk); in exit_files()
746 task_lock(me); in __close_range()
872 task_lock(task); in fget_task()
Dkernel_read_file.c159 task_lock(&init_task); in kernel_read_file_from_path_initns()
Dexec.c374 task_lock(current->group_leader); in bprm_mm_init()
1003 task_lock(tsk); in exec_mmap()
1211 task_lock(tsk); in __get_task_comm()
1225 task_lock(tsk); in __set_task_comm()
1435 task_lock(current->group_leader); in finalize_exec()
/Linux-v5.10/block/
Dblk-ioc.c203 task_lock(task); in exit_io_context()
276 task_lock(task); in create_task_io_context()
311 task_lock(task); in get_task_io_context()
Dioprio.c168 task_lock(p); in get_task_ioprio()
/Linux-v5.10/drivers/net/ethernet/via/
Dvia-rhine.c459 struct mutex task_lock; member
951 mutex_init(&rp->task_lock); in rhine_init_one_common()
1662 mutex_lock(&rp->task_lock); in rhine_task_disable()
1664 mutex_unlock(&rp->task_lock); in rhine_task_disable()
1672 mutex_lock(&rp->task_lock); in rhine_task_enable()
1674 mutex_unlock(&rp->task_lock); in rhine_task_enable()
1726 mutex_lock(&rp->task_lock); in rhine_reset_task()
1752 mutex_unlock(&rp->task_lock); in rhine_reset_task()
2190 mutex_lock(&rp->task_lock); in rhine_slow_event_task()
2207 mutex_unlock(&rp->task_lock); in rhine_slow_event_task()
[all …]
/Linux-v5.10/include/linux/sched/
Dtask.h166 static inline void task_lock(struct task_struct *p) in task_lock() function
/Linux-v5.10/net/core/
Dnetclassid_cgroup.c96 task_lock(p); in update_classid_task()
Dnetprio_cgroup.c244 task_lock(p); in net_prio_attach()
/Linux-v5.10/kernel/time/
Dnamespace.c251 task_lock(task); in timens_get()
267 task_lock(task); in timens_for_children_get()
/Linux-v5.10/include/linux/
Dcpuset.h156 task_lock(current); in set_mems_allowed()
/Linux-v5.10/kernel/cgroup/
Dnamespace.c123 task_lock(task); in cgroupns_get()
/Linux-v5.10/kernel/
Dutsname.c127 task_lock(task); in utsns_get()
Dnsproxy.c248 task_lock(p); in switch_task_namespaces()
383 task_lock(tsk); in validate_nsset()
Dkcmp.c66 task_lock(task); in get_file_raw_ptr()
Dfork.c1182 task_lock(task); in get_task_exe_file()
1206 task_lock(task); in get_task_mm()
1243 task_lock(tsk); in complete_vfork_done()
1264 task_lock(child); in wait_for_vfork_done()
1581 task_lock(current->group_leader); in copy_signal()
2970 task_lock(current); in ksys_unshare()
3038 task_lock(task); in unshare_files()
Dpid_namespace.c357 task_lock(task); in pidns_for_children_get()
Dkthread.c1243 task_lock(tsk); in kthread_use_mm()
1279 task_lock(tsk); in kthread_unuse_mm()
/Linux-v5.10/ipc/
Dnamespace.c186 task_lock(task); in ipcns_get()
/Linux-v5.10/mm/
Dmempolicy.c883 task_lock(current); in do_set_mempolicy()
955 task_lock(current); in do_get_mempolicy()
1020 task_lock(current); in do_get_mempolicy()
2061 task_lock(current); in init_nodemask_of_mempolicy()
2104 task_lock(tsk); in mempolicy_nodemask_intersects()
2310 task_lock(current); in __mpol_dup()
2539 task_lock(task); in mpol_put_task_policy()
2677 task_lock(current); in mpol_shared_policy_init()
Doom_kill.c142 task_lock(t); in find_lock_task_mm()
967 task_lock(victim); in oom_kill_process()
/Linux-v5.10/arch/mips/math-emu/
Ddsemul.c163 task_lock(tsk); in dsemul_thread_cleanup()
/Linux-v5.10/security/yama/
Dyama_lsm.c416 task_lock(current); in yama_ptrace_traceme()
/Linux-v5.10/fs/proc/
Dproc_net.c282 task_lock(task); in get_proc_task_net()

12