Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/include/linux/
Dfs_struct.h15 struct path root, pwd; member
35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd() argument
38 *pwd = fs->pwd; in get_fs_pwd()
39 path_get(pwd); in get_fs_pwd()
/Linux-v4.19/fs/
Dfs_struct.c40 old_pwd = fs->pwd; in set_fs_pwd()
41 fs->pwd = *path; in set_fs_pwd()
72 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
90 path_put(&fs->pwd); in free_fs_struct()
125 fs->pwd = old->pwd; in copy_fs_struct()
126 path_get(&fs->pwd); in copy_fs_struct()
Dd_path.c395 struct path *pwd) in get_fs_root_and_pwd_rcu() argument
402 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
427 struct path pwd, root; in SYSCALL_DEFINE2() local
434 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
437 if (!d_unlinked(pwd.dentry)) { in SYSCALL_DEFINE2()
443 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2()
Dfhandle.c122 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd()
Dnamespace.c2909 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
2910 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
Dnamei.c2218 nd->path = fs->pwd; in path_init()
/Linux-v4.19/drivers/net/phy/
Dmscc.c270 u16 pwd[3] = {0, 0, 0}; in vsc85xx_wol_set() local
281 for (i = 0; i < ARRAY_SIZE(pwd); i++) in vsc85xx_wol_set()
282 pwd[i] = mac_addr[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
284 phy_write(phydev, MSCC_PHY_WOL_LOWER_MAC_ADDR, pwd[0]); in vsc85xx_wol_set()
285 phy_write(phydev, MSCC_PHY_WOL_MID_MAC_ADDR, pwd[1]); in vsc85xx_wol_set()
286 phy_write(phydev, MSCC_PHY_WOL_UPPER_MAC_ADDR, pwd[2]); in vsc85xx_wol_set()
294 for (i = 0; i < ARRAY_SIZE(pwd); i++) in vsc85xx_wol_set()
295 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
297 phy_write(phydev, MSCC_PHY_WOL_LOWER_PASSWD, pwd[0]); in vsc85xx_wol_set()
298 phy_write(phydev, MSCC_PHY_WOL_MID_PASSWD, pwd[1]); in vsc85xx_wol_set()
[all …]
/Linux-v4.19/tools/lib/subcmd/
Dexec-cmd.c39 char *pwd; in get_pwd_cwd() local
43 pwd = getenv("PWD"); in get_pwd_cwd()
44 if (pwd && strcmp(pwd, cwd)) { in get_pwd_cwd()
46 if (!stat(pwd, &pwd_stat) && in get_pwd_cwd()
49 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd()
/Linux-v4.19/tools/perf/util/
Dtarget.c71 struct passwd pwd, *result; in target__parse_uid() local
80 getpwnam_r(str, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
92 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
/Linux-v4.19/scripts/
Dleaking_addresses.pl481 while (my $pwd = shift @dirs) {
482 next if (!opendir(DIR, $pwd));
489 my $path = "$pwd/$file";
/Linux-v4.19/tools/testing/ktest/
Dconfig-bisect.pl64 my $pwd = `pwd`;
65 chomp $pwd;
66 my $tree = $pwd;
108 return "$pwd/$file";
Dktest.pl216 my $pwd;
373 $pwd = $variable{"PWD"};
3230 my @locations = ( "$pwd/config-bisect.pl",
/Linux-v4.19/drivers/net/wireless/ti/wl18xx/
Devent.c95 u8 pwd_len, u8 *pwd) in wlcore_smart_config_decode_event() argument
108 nla_put(skb, WLCORE_VENDOR_ATTR_PSK, pwd_len, pwd)) { in wlcore_smart_config_decode_event()
/Linux-v4.19/kernel/
Dauditsc.c896 path_put(&context->pwd); in audit_free_names()
897 context->pwd.dentry = NULL; in audit_free_names()
898 context->pwd.mnt = NULL; in audit_free_names()
1450 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
1453 audit_log_d_path(ab, "cwd=", &context->pwd); in audit_log_exit()
1763 if (!context->pwd.dentry) in __audit_getname()
1764 get_fs_pwd(current->fs, &context->pwd); in __audit_getname()
Daudit.h133 struct path pwd; member
Daudit.c2142 audit_log_d_path(ab, " name=", &context->pwd); in audit_log_name()
/Linux-v4.19/init/
Ddo_mounts.c361 s = current->fs->pwd.dentry->d_sb; in do_mount_root()
/Linux-v4.19/Documentation/ia64/
Dxen.txt44 O=$(pwd)/build-linux-2.6.18-xen_ia64
/Linux-v4.19/tools/perf/ui/browsers/
Dhists.c2246 char *pwd, *options[32], *abs_path[32], *tmp; in switch_data_file() local
2251 pwd = getenv("PWD"); in switch_data_file()
2252 if (!pwd) in switch_data_file()
2255 pwd_dir = opendir(pwd); in switch_data_file()
2271 snprintf(path, sizeof(path), "%s/%s", pwd, name); in switch_data_file()
/Linux-v4.19/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt359 make modules_install INSTALL_MOD_PATH=`pwd`/mnt ARCH=um