Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/clk/sifive/
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 …]
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,
Dfu540-prci.h73 .pwd = &sifive_fu540_prci_corepll_data,
79 .pwd = &sifive_fu540_prci_ddrpll_data,
85 .pwd = &sifive_fu540_prci_gemgxlpll_data,
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-6.12.1/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-6.12.1/tools/perf/util/
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()
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-6.12.1/tools/testing/selftests/net/tcp_ao/
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()
/linux-6.12.1/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.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()
Dfhandle.c138 *root = fs->pwd; in get_path_from_fd()
/linux-6.12.1/tools/lib/subcmd/
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-6.12.1/tools/testing/selftests/bpf/progs/
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-6.12.1/scripts/
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)
Dleaking_addresses.pl540 while (my $pwd = shift @dirs) {
541 next if (!opendir(DIR, $pwd));
548 my $path = "$pwd/$file";
/linux-6.12.1/tools/testing/ktest/
Dconfig-bisect.pl63 my $pwd = `pwd`;
64 chomp $pwd;
65 my $tree = $pwd;
107 return "$pwd/$file";
/linux-6.12.1/drivers/net/phy/mscc/
Dmscc_main.c283 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-6.12.1/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-6.12.1/kernel/
Dauditsc.c940 path_put(&context->pwd); in audit_free_names()
941 context->pwd.dentry = NULL; in audit_free_names()
942 context->pwd.mnt = NULL; in audit_free_names()
1537 if (context->pwd.dentry && context->pwd.mnt) in audit_log_name()
1538 audit_log_d_path(ab, " name=", &context->pwd); in audit_log_name()
1795 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
1798 audit_log_d_path(ab, "cwd=", &context->pwd); in audit_log_exit()
2192 if (!context->pwd.dentry) in audit_alloc_name()
2193 get_fs_pwd(current->fs, &context->pwd); in audit_alloc_name()
Daudit.h130 struct path pwd; member
Dnsproxy.c528 set_fs_pwd(me->fs, &nsset->fs->pwd); in commit_nsset()
/linux-6.12.1/arch/arm64/boot/dts/hisilicon/
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 {
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-6.12.1/tools/testing/selftests/net/rds/
Dtest.py15 from pwd import getpwuid
/linux-6.12.1/init/
Ddo_mounts.c170 s = current->fs->pwd.dentry->d_sb; in do_mount_root()

12