Searched refs:pwd (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/tools/perf/util/
H A Dget_current_dir_name.c14 char pwd[PATH_MAX]; local
16 return getcwd(pwd, sizeof(pwd)) == NULL ? NULL : strdup(pwd);
H A Dtarget.c10 #include <pwd.h>
99 struct passwd pwd, *result; local
108 getpwnam_r(str, &pwd, buf, sizeof(buf), &result);
120 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result);
/linux-master/include/linux/
H A Dfs_struct.h15 struct path root, pwd; member in struct:fs_struct
35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) argument
38 *pwd = fs->pwd;
39 path_get(pwd);
/linux-master/drivers/clk/sifive/
H A Dsifive-prci.c119 * @pwd: PRCI WRPLL metadata
121 * Read the current configuration of the PLL identified by @pwd from
123 * cache in @pwd.
126 * @pd and @pwd from changing during execution.
129 struct __prci_wrpll_data *pwd)
131 __prci_wrpll_unpack(&pwd->c, __prci_readl(pd, pwd->cfg0_offs));
137 * @pwd: PRCI WRPLL metadata
141 * configuration register identified by @pwd in the PRCI instance
146 * @pd and @pwd fro
128 __prci_wrpll_read_cfg0(struct __prci_data *pd, struct __prci_wrpll_data *pwd) argument
148 __prci_wrpll_write_cfg0(struct __prci_data *pd, struct __prci_wrpll_data *pwd, struct wrpll_cfg *c) argument
164 __prci_wrpll_write_cfg1(struct __prci_data *pd, struct __prci_wrpll_data *pwd, u32 enable) argument
182 struct __prci_wrpll_data *pwd = pc->pwd; local
192 struct __prci_wrpll_data *pwd = pc->pwd; local
206 struct __prci_wrpll_data *pwd = pc->pwd; local
227 struct __prci_wrpll_data *pwd = pc->pwd; local
242 struct __prci_wrpll_data *pwd = pc->pwd; local
259 struct __prci_wrpll_data *pwd = pc->pwd; local
[all...]
H A Dfu740-prci.h89 .pwd = &sifive_fu740_prci_corepll_data,
95 .pwd = &sifive_fu740_prci_ddrpll_data,
101 .pwd = &sifive_fu740_prci_gemgxlpll_data,
107 .pwd = &sifive_fu740_prci_dvfscorepll_data,
113 .pwd = &sifive_fu740_prci_hfpclkpll_data,
119 .pwd = &sifive_fu740_prci_cltxpll_data,
H A Dfu540-prci.h73 .pwd = &sifive_fu540_prci_corepll_data,
79 .pwd = &sifive_fu540_prci_ddrpll_data,
85 .pwd = &sifive_fu540_prci_gemgxlpll_data,
H A Dsifive-prci.h257 * @pwd: WRPLL-specific data, associated with this clock (if not NULL)
268 struct __prci_wrpll_data *pwd; member in struct:__prci_clock
272 #define clk_hw_to_prci_clock(pwd) container_of(pwd, struct __prci_clock, hw)
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dconnect-deny.c31 static void try_accept(const char *tst_name, unsigned int port, const char *pwd, argument
44 if (pwd && test_add_key_maclen(lsk, pwd, maclen, addr, prefix, sndid, rcvid))
49 if (pwd && test_get_tcp_ao_counters(lsk, &ao_cnt1))
74 if (pwd && test_get_tcp_ao_counters(lsk, &ao_cnt2))
78 if (pwd)
160 const char *pwd, union tcp_addr addr, uint8_t prefix,
172 if (pwd && test_add_key(sk, pwd, addr, prefix, sndid, rcvid))
175 if (pwd
159 try_connect(const char *tst_name, unsigned int port, const char *pwd, union tcp_addr addr, uint8_t prefix, uint8_t sndid, uint8_t rcvid, test_cnt cnt_expected, fault_t inj) argument
[all...]
H A Dkey-management.c521 static int test_add_key_cr(int sk, const char *pwd, unsigned int pwd_len, argument
538 keyflags, pwd_len, pwd);
/linux-master/fs/
H A Dfs_struct.c31 * Replace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values.
41 old_pwd = fs->pwd;
42 fs->pwd = *path;
73 hits += replace_path(&fs->pwd, old_root, new_root);
91 path_put(&fs->pwd);
126 fs->pwd = old->pwd;
127 path_get(&fs->pwd);
H A Dd_path.c383 struct path *pwd)
390 *pwd = fs->pwd;
415 struct path pwd, root; local
422 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd);
424 if (unlikely(d_unlinked(pwd.dentry))) {
432 if (unlikely(prepend_path(&pwd, &root, &b) > 0))
382 get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, struct path *pwd) argument
H A Dfhandle.c125 mnt = mntget(fs->pwd.mnt);
/linux-master/tools/lib/subcmd/
H A Dexec-cmd.c41 char *pwd; local
45 pwd = getenv("PWD");
46 if (pwd && strcmp(pwd, buf)) {
48 if (!stat(pwd, &pwd_stat) &&
51 strlcpy(buf, pwd, sz);
/linux-master/tools/testing/ktest/
H A Dconfig-bisect.pl63 my $pwd = `pwd`;
64 chomp $pwd;
65 my $tree = $pwd;
107 return "$pwd/$file";
/linux-master/drivers/net/wireless/ti/wl18xx/
H A Devent.c81 u8 pwd_len, u8 *pwd)
94 nla_put(skb, WLCORE_VENDOR_ATTR_PSK, pwd_len, pwd)) {
79 wlcore_smart_config_decode_event(struct wl1271 *wl, u8 ssid_len, u8 *ssid, u8 pwd_len, u8 *pwd) argument
/linux-master/drivers/net/phy/mscc/
H A Dmscc_main.c283 u16 pwd[3] = {0, 0, 0}; local
292 for (i = 0; i < ARRAY_SIZE(pwd); i++)
293 pwd[i] = mac_addr[5 - (i * 2 + 1)] << 8 |
295 __phy_write(phydev, MSCC_PHY_WOL_LOWER_MAC_ADDR, pwd[0]);
296 __phy_write(phydev, MSCC_PHY_WOL_MID_MAC_ADDR, pwd[1]);
297 __phy_write(phydev, MSCC_PHY_WOL_UPPER_MAC_ADDR, pwd[2]);
305 for (i = 0; i < ARRAY_SIZE(pwd); i++)
306 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 |
308 __phy_write(phydev, MSCC_PHY_WOL_LOWER_PASSWD, pwd[0]);
309 __phy_write(phydev, MSCC_PHY_WOL_MID_PASSWD, pwd[
355 u16 pwd[3] = {0, 0, 0}; local
[all...]
/linux-master/scripts/
H A Dleaking_addresses.pl540 while (my $pwd = shift @dirs) {
541 next if (!opendir(DIR, $pwd));
548 my $path = "$pwd/$file";
/linux-master/kernel/
H A Dauditsc.c940 path_put(&context->pwd);
941 context->pwd.dentry = NULL;
942 context->pwd.mnt = NULL;
1537 if (context->pwd.dentry && context->pwd.mnt)
1538 audit_log_d_path(ab, " name=", &context->pwd);
1795 if (context->pwd.dentry && context->pwd.mnt) {
1798 audit_log_d_path(ab, "cwd=", &context->pwd);
2192 if (!context->pwd
[all...]
H A Daudit.h130 struct path pwd; member in struct:audit_context
H A Dnsproxy.c528 set_fs_pwd(me->fs, &nsset->fs->pwd);
/linux-master/tools/testing/selftests/
H A Dlib.mk40 OUTPUT := $(shell pwd)
/linux-master/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c5 #include <pwd.h>
/linux-master/init/
H A Ddo_mounts.c171 s = current->fs->pwd.dentry->d_sb;
/linux-master/sound/soc/codecs/
H A Daw88261.c99 static void aw88261_dev_pwd(struct aw_device *aw_dev, bool pwd) argument
101 if (pwd)
/linux-master/tools/perf/ui/browsers/
H A Dhists.c2334 char *pwd, *options[32], *abs_path[32], *tmp; local
2339 pwd = getenv("PWD");
2340 if (!pwd)
2343 pwd_dir = opendir(pwd);
2359 snprintf(path, sizeof(path), "%s/%s", pwd, name);

Completed in 304 milliseconds

12