/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | slave.c | 140 struct sdw_acpi_child_walk_data *cwd = data; in sdw_acpi_check_duplicate() local 141 struct sdw_bus *bus = cwd->bus; in sdw_acpi_check_duplicate() 144 if (adev == cwd->adev) in sdw_acpi_check_duplicate() 150 if (cwd->id.sdw_version != id.sdw_version || cwd->id.mfg_id != id.mfg_id || in sdw_acpi_check_duplicate() 151 cwd->id.part_id != id.part_id || cwd->id.class_id != id.class_id) in sdw_acpi_check_duplicate() 154 if (cwd->id.unique_id != id.unique_id) { in sdw_acpi_check_duplicate() 157 cwd->id.unique_id, id.unique_id, cwd in sdw_acpi_check_duplicate() 172 struct sdw_acpi_child_walk_data cwd = { sdw_acpi_find_one() local [all...] |
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
H 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()
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
H A D | core.c | 174 fp->cwd = 0xffff037fu; in fpstate_init_fstate() 432 unsigned short cwd, swd; in fpu__exception_code() local 434 * (~cwd & swd) will mask out exceptions that are not set to unmasked in fpu__exception_code() 444 cwd = fpu->state.fxsave.cwd; in fpu__exception_code() 447 cwd = (unsigned short)fpu->state.fsave.cwd; in fpu__exception_code() 451 err = swd & ~cwd; in fpu__exception_code()
|
H A D | regset.c | 232 env->cwd = fxsave->cwd | 0xffff0000u; in convert_from_fxsr() 269 fxsave->cwd = env->cwd; in convert_to_fxsr()
|
/kernel/linux/linux-5.10/fs/ |
H A D | d_path.c | 444 char *cwd = page + PATH_MAX; in SYSCALL_DEFINE2() local 447 prepend(&cwd, &buflen, "\0", 1); in SYSCALL_DEFINE2() 448 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2() 456 error = prepend_unreachable(&cwd, &buflen); in SYSCALL_DEFINE2() 462 len = PATH_MAX + page - cwd; in SYSCALL_DEFINE2() 465 if (copy_to_user(buf, cwd, len)) in SYSCALL_DEFINE2()
|
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/ |
H A D | core.c | 484 fpstate->regs.fxsave.cwd = 0x37f; in fpstate_init_fxstate() 493 fpstate->regs.fsave.cwd = 0xffff037fu; in fpstate_init_fstate() 845 unsigned short cwd, swd; in fpu__exception_code() local 847 * (~cwd & swd) will mask out exceptions that are not set to unmasked in fpu__exception_code() 857 cwd = fpu->fpstate->regs.fxsave.cwd; in fpu__exception_code() 860 cwd = (unsigned short)fpu->fpstate->regs.fsave.cwd; in fpu__exception_code() 864 err = swd & ~cwd; in fpu__exception_code()
|
H A D | regset.c | 338 env->cwd = fxsave->cwd | 0xffff0000u; in __convert_from_fxsr() 381 fxsave->cwd = env->cwd; in convert_to_fxsr()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | user_32.h | 46 long cwd; member 57 unsigned short cwd; member
|
H A D | user32.h | 9 u32 cwd; member 21 unsigned short cwd; member
|
H A D | user_64.h | 52 unsigned short cwd; member
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | user_32.h | 46 long cwd; member 57 unsigned short cwd; member
|
H A D | user32.h | 9 u32 cwd; member 21 unsigned short cwd; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/ |
H 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/ |
H 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()
|
/kernel/linux/build/ |
H A D | kernel_build.py | 161 def exec_cmd(command_list, shell=False, show_output=False, cwd=None): 168 print(f"cwd: '{cwd}'") 173 cwd=cwd, 218 outmsg, errmsg, ret = exec_cmd(make, cwd=knl_path) 228 outmsg, errmsg, ret = exec_cmd(make, cwd=knl_path) 238 outmsg, errmsg, ret = exec_cmd(make, cwd=knl_path) 344 outmsg, errmsg, ret = exec_cmd(sed, cwd=knl_path)
|
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/ |
H A D | types.h | 13 u32 cwd; /* FPU Control Word */ member 35 u16 cwd; /* Control Word */ member 80 u32 cwd; member
|
/kernel/linux/linux-5.10/Documentation/sphinx/ |
H A D | kernel_abi.py | 92 cwd = path.dirname(doc.current_source) 112 lines = self.runCmd(cmd, shell=True, cwd=cwd, env=shell_env)
|
/kernel/linux/linux-6.6/tools/lib/subcmd/ |
H A D | exec-cmd.c | 63 const char *cwd = get_pwd_cwd(buf, sz); in make_nonrelative_path() local 65 if (!cwd) in make_nonrelative_path() 68 if (strlen(cwd) + strlen(path) + 2 >= sz) in make_nonrelative_path()
|
/kernel/uniproton/build/uniproton_ci_lib/ |
H A D | logs.py | 36 def run(self, cmd, cwd=os.getcwd(), env=None): 37 exit_code = os.system('cd %s && %s' % (cwd, cmd))
|
/kernel/linux/linux-5.10/tools/testing/selftests/exec/ |
H 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/exec/ |
H 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()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/fpu/ |
H A D | types.h | 13 u32 cwd; /* FPU Control Word */ member 35 u16 cwd; /* Control Word */ member 80 u32 cwd; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
H 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() 307 unsigned long wp_addr = (unsigned long)cwd; in test_set_debugreg_kernel_userspace() 371 unsigned long wp_addr = (unsigned long)&cwd; in test_sethwdebug_exact_kernel_userspace()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-hwbreak.c | 50 static volatile char cwd[PATH_MAX] __attribute__((aligned(8))); variable 146 syscall(__NR_getcwd, &cwd, PATH_MAX); in test_workload() 161 syscall(__NR_getcwd, &cwd, PATH_MAX); in test_workload() 320 unsigned long wp_addr = (unsigned long)cwd; in test_set_debugreg_kernel_userspace() 384 unsigned long wp_addr = (unsigned long)&cwd; in test_sethwdebug_exact_kernel_userspace()
|
/kernel/uniproton/ |
H A D | build.py | 164 if self.builder.run(cmd, cwd=self.build_tmp_dir, env=None): 194 self.builder.run('make clean', cwd=self.build_tmp_dir, env=None) 198 self.UniProton_make_jx, self.log_dir, self.log_file), cwd=self.build_tmp_dir, env=None): 203 if self.builder.run('make install %s &>> %s/%s' % (self.UniProton_make_jx, self.log_dir, self.log_file), cwd=self.build_tmp_dir, env=None):
|