Home
last modified time | relevance | path

Searched refs:cwd (Results 1 – 23 of 23) sorted by relevance

/linux-4.1.27/tools/perf/util/
Dabspath.c5 static char cwd[PATH_MAX + 1]; in get_pwd_cwd() local
8 if (getcwd(cwd, PATH_MAX) == NULL) in get_pwd_cwd()
11 if (pwd && strcmp(pwd, cwd)) { in get_pwd_cwd()
12 stat(cwd, &cwd_stat); in get_pwd_cwd()
16 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd()
19 return cwd; in get_pwd_cwd()
30 const char *cwd = get_pwd_cwd(); in make_nonrelative_path() local
31 if (!cwd) in make_nonrelative_path()
33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX) in make_nonrelative_path()
/linux-4.1.27/arch/x86/include/asm/
Duser_32.h45 long cwd; member
56 unsigned short cwd; member
Duser32.h8 u32 cwd; member
20 unsigned short cwd; member
Duser_64.h51 unsigned short cwd; member
Dfpu-internal.h138 fx->cwd = 0x37f; in fx_finit()
548 return tsk->thread.fpu.state->fxsave.cwd; in get_fpu_cwd()
550 return (unsigned short)tsk->thread.fpu.state->fsave.cwd; in get_fpu_cwd()
Dprocessor.h319 u32 cwd; /* FPU Control Word */ member
335 u16 cwd; /* Control Word */ member
370 u32 cwd; member
/linux-4.1.27/arch/x86/kernel/
Di387.c249 fp->cwd = 0xffff037fu; in fpu_finit()
494 env->cwd = fxsave->cwd | 0xffff0000u; in convert_from_fxsr()
532 fxsave->cwd = env->cwd; in convert_to_fxsr()
Dtraps.c741 unsigned short cwd, swd; in math_error() local
752 cwd = get_fpu_cwd(task); in math_error()
755 err = swd & ~cwd; in math_error()
Dxsave.c65 fx->cwd = 0x37f; in __sanitize_i387_state()
/linux-4.1.27/arch/mips/include/asm/
Dvpe.h65 char cwd[VPE_PATH_MAX]; member
/linux-4.1.27/arch/x86/include/uapi/asm/
Dsigcontext.h137 __u16 cwd; member
/linux-4.1.27/arch/x86/math-emu/
Dfpu_system.h72 #define control_word (I387->soft.cwd)
Dfpu_aux.c37 soft->cwd = 0x037f; in finit_soft_fpu()
Dfpu_entry.c744 S387->cwd &= ~0xe080; in fpregs_soft_get()
746 S387->cwd |= 0xffff0040; in fpregs_soft_get()
/linux-4.1.27/Documentation/filesystems/
Dpath-lookup.txt7 with the first component of the pathname (eg. root or cwd) with a known dentry,
42 A name string specifies a start (root directory, cwd, fd-relative) and a
50 current->fs->cwd or current->fs->root) as the first parent of the lookup. Then
236 \ fs.cwd: dentry2 /
242 "./test.c" would start from cwd; both names refer to the same path in
293 of the starting path (eg. root/cwd/fd-path). So now dentry refcounts are
370 rcu-walk mode. The further we get from common path elements (such as cwd or
Dautofs4-mount-control.txt24 getcwd(2) and the proc file system /proc/<pid>/cwd, no longer works
Dproc.txt133 cwd Link to the current working directory
/linux-4.1.27/arch/mips/kernel/
Dvpe.c807 v->cwd[0] = 0; in vpe_open()
808 ret = getcwd(v->cwd, VPE_PATH_MAX); in vpe_open()
920 return v->cwd; in vpe_getcwd()
/linux-4.1.27/arch/x86/um/
Dsignal.c90 env[0] = (unsigned long)fxsave->cwd | 0xffff0000ul; in convert_fxsr_to_user()
126 fxsave->cwd = (unsigned short)(env[0] & 0xffff); in convert_fxsr_from_user()
/linux-4.1.27/fs/
Ddcache.c3253 char *cwd = page + PATH_MAX; in SYSCALL_DEFINE2() local
3256 prepend(&cwd, &buflen, "\0", 1); in SYSCALL_DEFINE2()
3257 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2()
3265 error = prepend_unreachable(&cwd, &buflen); in SYSCALL_DEFINE2()
3271 len = PATH_MAX + page - cwd; in SYSCALL_DEFINE2()
3274 if (copy_to_user(buf, cwd, len)) in SYSCALL_DEFINE2()
/linux-4.1.27/Documentation/filesystems/nfs/
DExporting10 dentries via open file descriptors or cwd/root. However remote
/linux-4.1.27/arch/x86/kvm/
Dx86.c6982 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu()
6999 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
/linux-4.1.27/Documentation/s390/
DDebugging390.txt1979 /proc/1/cwd is a softlink to the current working directory.