/linux-master/tools/perf/util/ |
H A D | get_current_dir_name.c | 14 char pwd[PATH_MAX]; local 16 return getcwd(pwd, sizeof(pwd)) == NULL ? NULL : strdup(pwd);
|
H A D | target.c | 10 #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 D | fs_struct.h | 15 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 D | sifive-prci.c | 119 * @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 D | fu740-prci.h | 89 .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 D | fu540-prci.h | 73 .pwd = &sifive_fu540_prci_corepll_data, 79 .pwd = &sifive_fu540_prci_ddrpll_data, 85 .pwd = &sifive_fu540_prci_gemgxlpll_data,
|
H A D | sifive-prci.h | 257 * @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 D | connect-deny.c | 31 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 D | key-management.c | 521 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 D | fs_struct.c | 31 * 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 D | d_path.c | 383 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 D | fhandle.c | 125 mnt = mntget(fs->pwd.mnt);
|
/linux-master/tools/lib/subcmd/ |
H A D | exec-cmd.c | 41 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 D | config-bisect.pl | 63 my $pwd = `pwd`; 64 chomp $pwd; 65 my $tree = $pwd; 107 return "$pwd/$file";
|
/linux-master/drivers/net/wireless/ti/wl18xx/ |
H A D | event.c | 81 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 D | mscc_main.c | 283 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 D | leaking_addresses.pl | 540 while (my $pwd = shift @dirs) { 541 next if (!opendir(DIR, $pwd)); 548 my $path = "$pwd/$file";
|
/linux-master/kernel/ |
H A D | auditsc.c | 940 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 D | audit.h | 130 struct path pwd; member in struct:audit_context
|
H A D | nsproxy.c | 528 set_fs_pwd(me->fs, &nsset->fs->pwd);
|
/linux-master/tools/testing/selftests/ |
H A D | lib.mk | 40 OUTPUT := $(shell pwd)
|
/linux-master/tools/testing/selftests/safesetid/ |
H A D | safesetid-test.c | 5 #include <pwd.h>
|
/linux-master/init/ |
H A D | do_mounts.c | 171 s = current->fs->pwd.dentry->d_sb;
|
/linux-master/sound/soc/codecs/ |
H A D | aw88261.c | 99 static void aw88261_dev_pwd(struct aw_device *aw_dev, bool pwd) argument 101 if (pwd)
|
/linux-master/tools/perf/ui/browsers/ |
H A D | hists.c | 2334 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);
|