Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 10 of 10) sorted by relevance

/kernel/
Dfork.c1439 struct fs_struct *fs = current->fs; in copy_fs() local
1442 spin_lock(&fs->lock); in copy_fs()
1443 if (fs->in_exec) { in copy_fs()
1444 spin_unlock(&fs->lock); in copy_fs()
1447 fs->users++; in copy_fs()
1448 spin_unlock(&fs->lock); in copy_fs()
1451 tsk->fs = copy_fs_struct(fs); in copy_fs()
1452 if (!tsk->fs) in copy_fs()
2781 struct fs_struct *fs = current->fs; in unshare_fs() local
2783 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
[all …]
Dstacktrace.c230 mm_segment_t fs; in stack_trace_save_user() local
236 fs = get_fs(); in stack_trace_save_user()
239 set_fs(fs); in stack_trace_save_user()
Dnsproxy.c161 new_ns = create_new_namespaces(flags, tsk, user_ns, tsk->fs); in copy_namespaces()
203 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
250 new_nsproxy = create_new_namespaces(0, tsk, current_user_ns(), tsk->fs); in SYSCALL_DEFINE2()
Dkcmp.c206 ret = kcmp_ptr(task1->fs, task2->fs, KCMP_FS); in SYSCALL_DEFINE5()
Duser_namespace.c1271 if (current->fs->users != 1) in userns_install()
Dauditsc.c1893 get_fs_pwd(current->fs, &context->pwd); in __audit_getname()
Dsys.c1810 mask = xchg(&current->fs->umask, mask & S_IRWXUGO); in SYSCALL_DEFINE1()
/kernel/events/
Dcallchain.c213 mm_segment_t fs; in get_perf_callchain() local
221 fs = get_fs(); in get_perf_callchain()
224 set_fs(fs); in get_perf_callchain()
Dcore.c6162 mm_segment_t fs; in perf_output_sample_ustack() local
6180 fs = get_fs(); in perf_output_sample_ustack()
6183 set_fs(fs); in perf_output_sample_ustack()
/kernel/gcov/
DMakefile4 obj-y := base.o fs.o