/Linux-v4.19/tools/lib/subcmd/ |
D | exec-cmd.c | 38 static char cwd[PATH_MAX + 1]; in get_pwd_cwd() local 41 if (getcwd(cwd, PATH_MAX) == NULL) in get_pwd_cwd() 44 if (pwd && strcmp(pwd, cwd)) { in get_pwd_cwd() 45 stat(cwd, &cwd_stat); in get_pwd_cwd() 49 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd() 52 return cwd; in get_pwd_cwd() 63 const char *cwd = get_pwd_cwd(); in make_nonrelative_path() local 64 if (!cwd) in make_nonrelative_path() 66 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX) in make_nonrelative_path()
|
/Linux-v4.19/arch/x86/kernel/fpu/ |
D | core.c | 167 fp->cwd = 0xffff037fu; in fpstate_init_fstate() 412 unsigned short cwd, swd; in fpu__exception_code() local 424 cwd = fpu->state.fxsave.cwd; in fpu__exception_code() 427 cwd = (unsigned short)fpu->state.fsave.cwd; in fpu__exception_code() 431 err = swd & ~cwd; in fpu__exception_code()
|
D | regset.c | 243 env->cwd = fxsave->cwd | 0xffff0000u; in convert_from_fxsr() 281 fxsave->cwd = env->cwd; in convert_to_fxsr()
|
D | xstate.c | 174 fx->cwd = 0x37f; in fpstate_sanitize_xstate()
|
/Linux-v4.19/fs/ |
D | d_path.c | 439 char *cwd = page + PATH_MAX; in SYSCALL_DEFINE2() local 442 prepend(&cwd, &buflen, "\0", 1); in SYSCALL_DEFINE2() 443 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2() 451 error = prepend_unreachable(&cwd, &buflen); in SYSCALL_DEFINE2() 457 len = PATH_MAX + page - cwd; in SYSCALL_DEFINE2() 460 if (copy_to_user(buf, cwd, len)) in SYSCALL_DEFINE2()
|
/Linux-v4.19/tools/testing/selftests/exec/ |
D | execveat.c | 161 char *cwd = getcwd(NULL, 0); in check_execveat_pathmax() local 163 if (!cwd) { in check_execveat_pathmax() 168 strcpy(longpath, cwd); in check_execveat_pathmax() 173 count = (PATH_MAX - 3 - strlen(cwd)) / XX_DIR_LEN; in check_execveat_pathmax() 178 len = (PATH_MAX - 3 - strlen(cwd)) - (count * XX_DIR_LEN); in check_execveat_pathmax() 184 free(cwd); in check_execveat_pathmax()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | user_32.h | 46 long cwd; member 57 unsigned short cwd; member
|
D | user32.h | 9 u32 cwd; member 21 unsigned short cwd; member
|
D | user_64.h | 52 unsigned short cwd; member
|
/Linux-v4.19/arch/x86/include/asm/fpu/ |
D | types.h | 13 u32 cwd; /* FPU Control Word */ member 35 u16 cwd; /* Control Word */ member 80 u32 cwd; member
|
D | internal.h | 101 fx->cwd = 0x37f; in fpstate_init_fxstate()
|
/Linux-v4.19/tools/testing/selftests/capabilities/ |
D | test_execve.c | 141 char cwd[PATH_MAX]; in chdir_to_tmpfs() local 142 if (getcwd(cwd, sizeof(cwd)) != cwd) in chdir_to_tmpfs() 149 if (chdir(cwd) != 0) in chdir_to_tmpfs()
|
/Linux-v4.19/tools/testing/selftests/tc-testing/plugin-lib/ |
D | README-PLUGINS | 1 tdc.py will look for plugins in a directory plugins off the cwd. 22 This plugin will write files to the cwd, called vgnd-xxx.log. These will contain
|
/Linux-v4.19/arch/mips/include/asm/ |
D | vpe.h | 65 char cwd[VPE_PATH_MAX]; member
|
/Linux-v4.19/arch/x86/math-emu/ |
D | fpu_system.h | 99 #define control_word (I387->soft.cwd)
|
D | fpu_aux.c | 38 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-v4.19/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 | autofs-mount-control.txt | 24 getcwd(2) and the proc file system /proc/<pid>/cwd, no longer works
|
/Linux-v4.19/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-v4.19/scripts/kconfig/tests/ |
D | conftest.py | 69 cwd=temp_dir,
|
/Linux-v4.19/arch/x86/include/uapi/asm/ |
D | sigcontext.h | 150 __u16 cwd; member
|
/Linux-v4.19/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-v4.19/Documentation/filesystems/nfs/ |
D | Exporting | 10 dentries via open file descriptors or cwd/root. However remote
|
/Linux-v4.19/arch/x86/kvm/ |
D | x86.c | 8364 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu() 8385 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
|