Home
last modified time | relevance | path

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

/kernel/
Dnsproxy.c178 new_ns = create_new_namespaces(flags, tsk, user_ns, tsk->fs); in copy_namespaces()
227 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
306 if (nsset->fs && (flags & CLONE_NEWNS) && (flags & ~CLONE_NEWNS)) in put_nsset()
307 free_fs_struct(nsset->fs); in put_nsset()
316 nsset->nsproxy = create_new_namespaces(0, me, current_user_ns(), me->fs); in prepare_nsset()
329 nsset->fs = me->fs; in prepare_nsset()
331 nsset->fs = copy_fs_struct(me->fs); in prepare_nsset()
332 if (!nsset->fs) in prepare_nsset()
508 set_fs_root(me->fs, &nsset->fs->root); in commit_nsset()
509 set_fs_pwd(me->fs, &nsset->fs->pwd); in commit_nsset()
Dfork.c1702 struct fs_struct *fs = current->fs; in copy_fs() local
1705 spin_lock(&fs->lock); in copy_fs()
1706 if (fs->in_exec) { in copy_fs()
1707 spin_unlock(&fs->lock); in copy_fs()
1710 fs->users++; in copy_fs()
1711 spin_unlock(&fs->lock); in copy_fs()
1714 tsk->fs = copy_fs_struct(fs); in copy_fs()
1715 if (!tsk->fs) in copy_fs()
3219 struct fs_struct *fs = current->fs; in unshare_fs() local
3221 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()
[all …]
Dkcmp.c189 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.c83 current->fs->umask = 0022; in call_usermodehelper_exec_async()
Duser_namespace.c1351 if (current->fs->users != 1) in userns_install()
Dsys.c1881 mask = xchg(&current->fs->umask, mask & S_IRWXUGO); in SYSCALL_DEFINE1()
Dauditsc.c2189 get_fs_pwd(current->fs, &context->pwd); in audit_alloc_name()
/kernel/gcov/
DMakefile4 obj-y := base.o fs.o
/kernel/sched/
Dfair.c320 int fs; in __calc_delta() local
325 fs = fls(fact_hi); in __calc_delta()
326 shift -= fs; in __calc_delta()
327 fact >>= fs; in __calc_delta()
334 fs = fls(fact_hi); in __calc_delta()
335 shift -= fs; in __calc_delta()
336 fact >>= fs; in __calc_delta()