Home
last modified time | relevance | path

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

/kernel/
Dnsproxy.c179 new_ns = create_new_namespaces(flags, tsk, user_ns, tsk->fs); in copy_namespaces()
232 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
311 if (nsset->fs && (flags & CLONE_NEWNS) && (flags & ~CLONE_NEWNS)) in put_nsset()
312 free_fs_struct(nsset->fs); in put_nsset()
321 nsset->nsproxy = create_new_namespaces(0, me, current_user_ns(), me->fs); in prepare_nsset()
334 nsset->fs = me->fs; in prepare_nsset()
336 nsset->fs = copy_fs_struct(me->fs); in prepare_nsset()
337 if (!nsset->fs) in prepare_nsset()
513 set_fs_root(me->fs, &nsset->fs->root); in commit_nsset()
514 set_fs_pwd(me->fs, &nsset->fs->pwd); in commit_nsset()
Dfork.c1497 struct fs_struct *fs = current->fs; in copy_fs() local
1500 spin_lock(&fs->lock); in copy_fs()
1501 if (fs->in_exec) { in copy_fs()
1502 spin_unlock(&fs->lock); in copy_fs()
1505 fs->users++; in copy_fs()
1506 spin_unlock(&fs->lock); in copy_fs()
1509 tsk->fs = copy_fs_struct(fs); in copy_fs()
1510 if (!tsk->fs) in copy_fs()
2971 struct fs_struct *fs = current->fs; in unshare_fs() local
2973 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
[all …]
Dstacktrace.c230 mm_segment_t fs; in stack_trace_save_user() local
236 fs = force_uaccess_begin(); in stack_trace_save_user()
238 force_uaccess_end(fs); in stack_trace_save_user()
Dkcmp.c206 ret = kcmp_ptr(task1->fs, task2->fs, KCMP_FS); in SYSCALL_DEFINE5()
Dusermode_driver.c130 set_fs_pwd(current->fs, &umd_info->wd); in umd_setup()
Dumh.c81 current->fs->umask = 0022; in call_usermodehelper_exec_async()
Duser_namespace.c1330 if (current->fs->users != 1) in userns_install()
Dauditsc.c1952 get_fs_pwd(current->fs, &context->pwd); in _audit_getcwd()
Dsys.c1860 mask = xchg(&current->fs->umask, mask & S_IRWXUGO); in SYSCALL_DEFINE1()
/kernel/events/
Dcallchain.c212 mm_segment_t fs; in get_perf_callchain() local
220 fs = force_uaccess_begin(); in get_perf_callchain()
222 force_uaccess_end(fs); in get_perf_callchain()
Dcore.c6582 mm_segment_t fs; in perf_output_sample_ustack() local
6600 fs = force_uaccess_begin(); in perf_output_sample_ustack()
6602 force_uaccess_end(fs); in perf_output_sample_ustack()
/kernel/gcov/
DMakefile4 obj-y := base.o fs.o