Home
last modified time | relevance | path

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

12

/linux/drivers/clk/sifive/
H A Dsifive-prci.c128 struct __prci_wrpll_data *pwd) in __prci_wrpll_read_cfg0() argument
130 __prci_wrpll_unpack(&pwd->c, __prci_readl(pd, pwd->cfg0_offs)); in __prci_wrpll_read_cfg0()
148 struct __prci_wrpll_data *pwd, in __prci_wrpll_write_cfg0() argument
151 __prci_writel(__prci_wrpll_pack(c), pwd->cfg0_offs, pd); in __prci_wrpll_write_cfg0()
153 memcpy(&pwd->c, c, sizeof(*c)); in __prci_wrpll_write_cfg0()
164 struct __prci_wrpll_data *pwd, in __prci_wrpll_write_cfg1() argument
167 __prci_writel(enable, pwd->cfg1_offs, pd); in __prci_wrpll_write_cfg1()
181 struct __prci_wrpll_data *pwd = pc->pwd; in sifive_prci_wrpll_recalc_rate() local
183 return wrpll_calc_output_rate(&pwd->c, parent_rate); in sifive_prci_wrpll_recalc_rate()
191 struct __prci_wrpll_data *pwd = pc->pwd; in sifive_prci_wrpll_round_rate() 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.h268 struct __prci_wrpll_data *pwd; member
272 #define clk_hw_to_prci_clock(pwd) container_of(pwd, struct __prci_clock, hw) argument
/linux/include/linux/
H A 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/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, in try_accept() argument
44 if (pwd && test_add_key_maclen(lsk, pwd, maclen, addr, prefix, sndid, rcvid)) in try_accept()
49 if (pwd && test_get_tcp_ao_counters(lsk, &ao_cnt1)) in try_accept()
75 if (pwd && test_get_tcp_ao_counters(lsk, &ao_cnt2)) in try_accept()
80 if (pwd) in try_accept()
162 const char *pwd, union tcp_addr addr, uint8_t prefix, in try_connect() argument
174 if (pwd && test_add_key(sk, pwd, addr, prefix, sndid, rcvid)) in try_connect()
177 if (pwd && test_get_tcp_ao_counters(sk, &ao_cnt1)) in try_connect()
204 if (pwd && ret > 0) { in try_connect()
H A Dkey-management.c521 static int test_add_key_cr(int sk, const char *pwd, unsigned int pwd_len, in test_add_key_cr() argument
538 keyflags, pwd_len, pwd); in test_add_key_cr()
/linux/tools/perf/util/
H A Dget_current_dir_name.c14 char pwd[PATH_MAX]; in get_current_dir_name() local
16 return getcwd(pwd, sizeof(pwd)) == NULL ? NULL : strdup(pwd); in get_current_dir_name()
H A Dtarget.c99 struct passwd pwd, *result; in target__parse_uid() local
108 getpwnam_r(str, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
120 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
/linux/fs/
H A 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()
H A Dd_path.c383 struct path *pwd) in get_fs_root_and_pwd_rcu() argument
390 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
415 struct path pwd, root; in SYSCALL_DEFINE2() local
422 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
424 if (unlikely(d_unlinked(pwd.dentry))) { in SYSCALL_DEFINE2()
432 if (unlikely(prepend_path(&pwd, &root, &b) > 0)) in SYSCALL_DEFINE2()
H A Dfhandle.c176 *root = fs->pwd; in get_path_from_fd()
/linux/tools/lib/subcmd/
H A Dexec-cmd.c41 char *pwd; in get_pwd_cwd() local
45 pwd = getenv("PWD"); in get_pwd_cwd()
46 if (pwd && strcmp(pwd, buf)) { in get_pwd_cwd()
48 if (!stat(pwd, &pwd_stat) && in get_pwd_cwd()
51 strlcpy(buf, pwd, sz); in get_pwd_cwd()
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_vfs_reject.c117 struct path *pwd; in BPF_PROG() local
124 pwd = &current->fs->pwd; in BPF_PROG()
125 bpf_path_d_path(pwd, buf, sizeof(buf)); in BPF_PROG()
/linux/scripts/
H A Dchecktransupdate.py147 pwd = stack.pop()
149 if os.path.basename(pwd) in exclude_folders:
152 for item in os.listdir(pwd):
153 ab_item = os.path.join(pwd, item)
H A Dleaking_addresses.pl540 while (my $pwd = shift @dirs) {
541 next if (!opendir(DIR, $pwd));
548 my $path = "$pwd/$file";
/linux/tools/testing/ktest/
H A Dconfig-bisect.pl63 my $pwd = `pwd`;
64 chomp $pwd;
65 my $tree = $pwd;
107 return "$pwd/$file";
/linux/drivers/net/wireless/ti/wl18xx/
H A 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/kernel/
H A Dauditsc.c942 path_put(&context->pwd); in audit_free_names()
943 context->pwd.dentry = NULL; in audit_free_names()
944 context->pwd.mnt = NULL; in audit_free_names()
1536 if (context->pwd.dentry && context->pwd.mnt) in audit_log_name()
1537 audit_log_d_path(ab, " name=", &context->pwd); in audit_log_name()
1791 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
1794 audit_log_d_path(ab, "cwd=", &context->pwd); in audit_log_exit()
2188 if (!context->pwd.dentry) in audit_alloc_name()
2189 get_fs_pwd(current->fs, &context->pwd); in audit_alloc_name()
H A Dnsproxy.c528 set_fs_pwd(me->fs, &nsset->fs->pwd); in commit_nsset()
/linux/arch/arm64/boot/dts/hisilicon/
H A Dhikey970-pinctrl.dtsi91 cam0_pwd_n_pmx_func: cam0-pwd-n-pins {
97 cam1_pwd_n_pmx_func: cam1-pwd-n-pins {
421 cam0_pwd_n_cfg_func: cam0-pwd-n-cfg-pins {
442 cam1_pwd_n_cfg_func: cam1-pwd-n-cfg-pins {
H A Dhikey960-pinctrl.dtsi37 csi0_pwd_n_pmx_func: csi0-pwd-n-pins {
43 csi1_pwd_n_pmx_func: csi1-pwd-n-pins {
372 csi0_pwd_n_cfg_func: csi0-pwd-n-cfg-pins {
393 csi1_pwd_n_cfg_func: csi1-pwd-n-cfg-pins {
/linux/tools/testing/selftests/net/rds/
H A Dtest.py15 from pwd import getpwuid
/linux/init/
H A Ddo_mounts.c170 s = current->fs->pwd.dentry->d_sb; in do_mount_root()
/linux/sound/soc/codecs/
H A Daw88261.c99 static void aw88261_dev_pwd(struct aw_device *aw_dev, bool pwd) in aw88261_dev_pwd() argument
101 if (pwd) in aw88261_dev_pwd()

12