/linux-4.4.14/tools/perf/util/ |
D | abspath.c | 5 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.4.14/arch/x86/kernel/fpu/ |
D | core.c | 204 fp->cwd = 0xffff037fu; in fpstate_init_fstate() 445 return fpu->state.fxsave.cwd; in get_fpu_cwd() 447 return (unsigned short)fpu->state.fsave.cwd; in get_fpu_cwd() 474 unsigned short cwd, swd; in fpu__exception_code() local 485 cwd = get_fpu_cwd(fpu); in fpu__exception_code() 488 err = swd & ~cwd; in fpu__exception_code()
|
D | regset.c | 212 env->cwd = fxsave->cwd | 0xffff0000u; in convert_from_fxsr() 250 fxsave->cwd = env->cwd; in convert_to_fxsr()
|
D | xstate.c | 132 fx->cwd = 0x37f; in fpstate_sanitize_xstate()
|
/linux-4.4.14/tools/testing/selftests/capabilities/ |
D | test_execve.c | 132 char cwd[PATH_MAX]; in chdir_to_tmpfs() local 133 if (getcwd(cwd, sizeof(cwd)) != cwd) in chdir_to_tmpfs() 139 if (chdir(cwd) != 0) in chdir_to_tmpfs()
|
/linux-4.4.14/arch/x86/include/asm/fpu/ |
D | types.h | 12 u32 cwd; /* FPU Control Word */ member 34 u16 cwd; /* Control Word */ member 76 u32 cwd; member
|
D | internal.h | 92 fx->cwd = 0x37f; in fpstate_init_fxstate()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | user_32.h | 45 long cwd; member 56 unsigned short cwd; member
|
D | user32.h | 8 u32 cwd; member 20 unsigned short cwd; member
|
D | user_64.h | 51 unsigned short cwd; member
|
/linux-4.4.14/arch/mips/include/asm/ |
D | vpe.h | 65 char cwd[VPE_PATH_MAX]; member
|
/linux-4.4.14/arch/x86/math-emu/ |
D | fpu_system.h | 72 #define control_word (I387->soft.cwd)
|
D | fpu_aux.c | 37 soft->cwd = 0x037f; in fpstate_init_soft()
|
D | fpu_entry.c | 706 S387->cwd &= ~0xe080; in fpregs_soft_get() 708 S387->cwd |= 0xffff0040; in fpregs_soft_get()
|
/linux-4.4.14/Documentation/filesystems/ |
D | path-lookup.txt | 7 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
|
D | autofs4-mount-control.txt | 24 getcwd(2) and the proc file system /proc/<pid>/cwd, no longer works
|
D | proc.txt | 133 cwd Link to the current working directory
|
/linux-4.4.14/arch/mips/kernel/ |
D | vpe.c | 807 v->cwd[0] = 0; in vpe_open() 808 ret = getcwd(v->cwd, VPE_PATH_MAX); in vpe_open() 925 return v->cwd; in vpe_getcwd()
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
D | sigcontext.h | 149 __u16 cwd; member
|
/linux-4.4.14/arch/x86/um/ |
D | signal.c | 90 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.4.14/fs/ |
D | dcache.c | 3255 char *cwd = page + PATH_MAX; in SYSCALL_DEFINE2() local 3258 prepend(&cwd, &buflen, "\0", 1); in SYSCALL_DEFINE2() 3259 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2() 3267 error = prepend_unreachable(&cwd, &buflen); in SYSCALL_DEFINE2() 3273 len = PATH_MAX + page - cwd; in SYSCALL_DEFINE2() 3276 if (copy_to_user(buf, cwd, len)) in SYSCALL_DEFINE2()
|
/linux-4.4.14/Documentation/filesystems/nfs/ |
D | Exporting | 10 dentries via open file descriptors or cwd/root. However remote
|
/linux-4.4.14/arch/x86/kvm/ |
D | x86.c | 7171 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu() 7188 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
|
/linux-4.4.14/Documentation/s390/ |
D | Debugging390.txt | 1979 /proc/1/cwd is a softlink to the current working directory.
|