Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/clk/sifive/
Dfu540-prci.c185 struct __prci_wrpll_data *pwd; member
189 #define clk_hw_to_prci_clock(pwd) container_of(pwd, struct __prci_clock, hw) argument
304 struct __prci_wrpll_data *pwd) in __prci_wrpll_read_cfg() argument
306 __prci_wrpll_unpack(&pwd->c, __prci_readl(pd, pwd->cfg0_offs)); in __prci_wrpll_read_cfg()
324 struct __prci_wrpll_data *pwd, in __prci_wrpll_write_cfg() argument
327 __prci_writel(__prci_wrpll_pack(c), pwd->cfg0_offs, pd); in __prci_wrpll_write_cfg()
329 memcpy(&pwd->c, c, sizeof(*c)); in __prci_wrpll_write_cfg()
385 struct __prci_wrpll_data *pwd = pc->pwd; in sifive_fu540_prci_wrpll_recalc_rate() local
387 return wrpll_calc_output_rate(&pwd->c, parent_rate); in sifive_fu540_prci_wrpll_recalc_rate()
395 struct __prci_wrpll_data *pwd = pc->pwd; in sifive_fu540_prci_wrpll_round_rate() local
[all …]
/Linux-v5.10/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-v5.10/tools/perf/util/
Dget_current_dir_name.c13 char pwd[PATH_MAX]; in get_current_dir_name() local
15 return getcwd(pwd, sizeof(pwd)) == NULL ? NULL : strdup(pwd); in get_current_dir_name()
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-v5.10/fs/
Dfs_struct.c41 old_pwd = fs->pwd; in set_fs_pwd()
42 fs->pwd = *path; in set_fs_pwd()
73 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
91 path_put(&fs->pwd); in free_fs_struct()
126 fs->pwd = old->pwd; in copy_fs_struct()
127 path_get(&fs->pwd); in copy_fs_struct()
Dd_path.c400 struct path *pwd) in get_fs_root_and_pwd_rcu() argument
407 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
432 struct path pwd, root; in SYSCALL_DEFINE2() local
439 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
442 if (!d_unlinked(pwd.dentry)) { in SYSCALL_DEFINE2()
448 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2()
Dfhandle.c122 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd()
Dnamespace.c3344 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
3345 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
Dnamei.c2258 nd->path = fs->pwd; in path_init()
/Linux-v5.10/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-v5.10/scripts/
Dleaking_addresses.pl480 while (my $pwd = shift @dirs) {
481 next if (!opendir(DIR, $pwd));
488 my $path = "$pwd/$file";
/Linux-v5.10/drivers/net/phy/mscc/
Dmscc_main.c279 u16 pwd[3] = {0, 0, 0}; in vsc85xx_wol_set() local
292 for (i = 0; i < ARRAY_SIZE(pwd); i++) in vsc85xx_wol_set()
293 pwd[i] = mac_addr[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
295 __phy_write(phydev, MSCC_PHY_WOL_LOWER_MAC_ADDR, pwd[0]); in vsc85xx_wol_set()
296 __phy_write(phydev, MSCC_PHY_WOL_MID_MAC_ADDR, pwd[1]); in vsc85xx_wol_set()
297 __phy_write(phydev, MSCC_PHY_WOL_UPPER_MAC_ADDR, pwd[2]); in vsc85xx_wol_set()
305 for (i = 0; i < ARRAY_SIZE(pwd); i++) in vsc85xx_wol_set()
306 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
308 __phy_write(phydev, MSCC_PHY_WOL_LOWER_PASSWD, pwd[0]); in vsc85xx_wol_set()
309 __phy_write(phydev, MSCC_PHY_WOL_MID_PASSWD, pwd[1]); in vsc85xx_wol_set()
[all …]
/Linux-v5.10/tools/testing/ktest/
Dconfig-bisect.pl63 my $pwd = `pwd`;
64 chomp $pwd;
65 my $tree = $pwd;
107 return "$pwd/$file";
Dktest.pl224 my $pwd;
386 $pwd = $variable{"PWD"};
3288 my @locations = ( "$pwd/config-bisect.pl",
/Linux-v5.10/drivers/net/wireless/ti/wl18xx/
Devent.c81 u8 pwd_len, u8 *pwd) in wlcore_smart_config_decode_event() argument
94 nla_put(skb, WLCORE_VENDOR_ATTR_PSK, pwd_len, pwd)) { in wlcore_smart_config_decode_event()
/Linux-v5.10/kernel/
Dauditsc.c902 path_put(&context->pwd); in audit_free_names()
903 context->pwd.dentry = NULL; in audit_free_names()
904 context->pwd.mnt = NULL; in audit_free_names()
1370 audit_log_d_path(ab, " name=", &context->pwd); in audit_log_name()
1580 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
1583 audit_log_d_path(ab, "cwd=", &context->pwd); in audit_log_exit()
1899 if (!context->pwd.dentry) in _audit_getcwd()
1900 get_fs_pwd(current->fs, &context->pwd); in _audit_getcwd()
Daudit.h121 struct path pwd; member
Dnsproxy.c514 set_fs_pwd(me->fs, &nsset->fs->pwd); in commit_nsset()
/Linux-v5.10/init/
Ddo_mounts.c412 s = current->fs->pwd.dentry->d_sb; in do_mount_root()
/Linux-v5.10/tools/perf/ui/browsers/
Dhists.c2345 char *pwd, *options[32], *abs_path[32], *tmp; in switch_data_file() local
2350 pwd = getenv("PWD"); in switch_data_file()
2351 if (!pwd) in switch_data_file()
2354 pwd_dir = opendir(pwd); in switch_data_file()
2370 snprintf(path, sizeof(path), "%s/%s", pwd, name); in switch_data_file()