/linux/tools/lib/subcmd/ |
A 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/arch/x86/kernel/fpu/ |
A D | core.c | 398 fpstate->regs.fxsave.cwd = 0x37f; in fpstate_init_fxstate() 407 fpstate->regs.fsave.cwd = 0xffff037fu; in fpstate_init_fstate() 697 unsigned short cwd, swd; in fpu__exception_code() local 709 cwd = fpu->fpstate->regs.fxsave.cwd; in fpu__exception_code() 712 cwd = (unsigned short)fpu->fpstate->regs.fsave.cwd; in fpu__exception_code() 716 err = swd & ~cwd; in fpu__exception_code()
|
A D | regset.c | 258 env->cwd = fxsave->cwd | 0xffff0000u; in __convert_from_fxsr() 301 fxsave->cwd = env->cwd; in convert_to_fxsr()
|
/linux/tools/testing/selftests/exec/ |
A D | execveat.c | 162 char *cwd = getcwd(NULL, 0); in check_execveat_pathmax() local 164 if (!cwd) { in check_execveat_pathmax() 169 strcpy(longpath, cwd); in check_execveat_pathmax() 174 count = (PATH_MAX - 3 - strlen(cwd)) / XX_DIR_LEN; in check_execveat_pathmax() 179 len = (PATH_MAX - 3 - strlen(cwd)) - (count * XX_DIR_LEN); in check_execveat_pathmax() 185 free(cwd); in check_execveat_pathmax()
|
/linux/tools/testing/selftests/capabilities/ |
A 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/Documentation/sphinx/ |
A D | kernel_feat.py | 84 cwd = path.dirname(doc.current_source) 104 lines = self.runCmd(cmd, shell=True, cwd=cwd, env=shell_env)
|
A D | kernel_abi.py | 82 cwd = path.dirname(doc.current_source) 102 lines = self.runCmd(cmd, shell=True, cwd=cwd, env=shell_env)
|
/linux/arch/x86/include/asm/ |
A D | user_32.h | 46 long cwd; member 57 unsigned short cwd; member
|
A D | user32.h | 9 u32 cwd; member 21 unsigned short cwd; member
|
A D | user_64.h | 52 unsigned short cwd; member
|
/linux/arch/x86/include/asm/fpu/ |
A D | types.h | 13 u32 cwd; /* FPU Control Word */ member 35 u16 cwd; /* Control Word */ member 80 u32 cwd; member
|
/linux/tools/testing/selftests/tc-testing/plugin-lib/ |
A 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/tools/testing/selftests/powerpc/ptrace/ |
A D | ptrace-hwbreak.c | 49 static volatile char cwd[PATH_MAX] __attribute__((aligned(8))); variable 145 syscall(__NR_getcwd, &cwd, PATH_MAX); in test_workload() 160 syscall(__NR_getcwd, &cwd, PATH_MAX); in test_workload() 319 unsigned long wp_addr = (unsigned long)cwd; in test_set_debugreg_kernel_userspace() 383 unsigned long wp_addr = (unsigned long)&cwd; in test_sethwdebug_exact_kernel_userspace()
|
/linux/scripts/clang-tools/ |
A D | run-clang-tools.py | 57 cwd=entry["directory"])
|
/linux/Documentation/filesystems/ |
A 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
|
A D | autofs-mount-control.rst | 26 getcwd(2) and the proc file system /proc/<pid>/cwd, no longer works
|
A D | proc.rst | 145 cwd Link to the current working directory
|
/linux/arch/x86/math-emu/ |
A D | fpu_system.h | 99 #define control_word (I387->soft.cwd)
|
A D | fpu_aux.c | 38 soft->cwd = 0x037f; in fpstate_init_soft()
|
A D | fpu_entry.c | 701 S387->cwd &= ~0xe080; in fpregs_soft_get() 703 S387->cwd |= 0xffff0040; in fpregs_soft_get()
|
/linux/scripts/kconfig/tests/ |
A D | conftest.py | 73 cwd=temp_dir,
|
/linux/arch/x86/include/uapi/asm/ |
A D | sigcontext.h | 150 __u16 cwd; member
|
/linux/arch/x86/um/ |
A 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/Documentation/filesystems/nfs/ |
A D | exporting.rst | 11 dentries via open file descriptors or cwd/root. However remote
|
/linux/arch/x86/kvm/ |
A D | x86.c | 10784 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu() 10808 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
|