Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/util/
Dabspath.c6 char *pwd; in get_pwd_cwd() local
10 pwd = getenv("PWD"); in get_pwd_cwd()
11 if (pwd && strcmp(pwd, cwd)) { in get_pwd_cwd()
13 if (!stat(pwd, &pwd_stat) && in get_pwd_cwd()
16 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd()
Dtarget.c70 struct passwd pwd, *result; in target__parse_uid() local
79 getpwnam_r(str, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
91 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
/linux-4.1.27/include/linux/
Dfs_struct.h14 struct path root, pwd; member
34 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd() argument
37 *pwd = fs->pwd; in get_fs_pwd()
38 path_get(pwd); in get_fs_pwd()
/linux-4.1.27/arch/parisc/lib/
Dmemcpy.c284 register unsigned int *pws, *pwd; in pa_memcpy_internal() local
352 pwd = (unsigned int *)pdd; in pa_memcpy_internal()
362 stwma(d_space, r1, pwd, pmc_store_exc); in pa_memcpy_internal()
363 stwma(d_space, r2, pwd, pmc_store_exc); in pa_memcpy_internal()
364 stwma(d_space, r3, pwd, pmc_store_exc); in pa_memcpy_internal()
365 stwma(d_space, r4, pwd, pmc_store_exc); in pa_memcpy_internal()
371 stwma(d_space, r5, pwd, pmc_store_exc); in pa_memcpy_internal()
372 stwma(d_space, r6, pwd, pmc_store_exc); in pa_memcpy_internal()
373 stwma(d_space, r7, pwd, pmc_store_exc); in pa_memcpy_internal()
374 stwma(d_space, r8, pwd, pmc_store_exc); in pa_memcpy_internal()
[all …]
/linux-4.1.27/fs/
Dfs_struct.c39 old_pwd = fs->pwd; in set_fs_pwd()
40 fs->pwd = *path; in set_fs_pwd()
71 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
89 path_put(&fs->pwd); in free_fs_struct()
124 fs->pwd = old->pwd; in copy_fs_struct()
125 path_get(&fs->pwd); in copy_fs_struct()
Dfhandle.c121 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd()
Ddcache.c3209 struct path *pwd) in get_fs_root_and_pwd_rcu() argument
3216 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
3241 struct path pwd, root; in SYSCALL_DEFINE2() local
3248 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
3251 if (!d_unlinked(pwd.dentry)) { in SYSCALL_DEFINE2()
3257 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2()
Dnamespace.c2814 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
2815 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()
Dnamei.c1944 nd->path = fs->pwd; in path_init()
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
Devent.c94 u8 pwd_len, u8 *pwd) in wlcore_smart_config_decode_event() argument
107 nla_put(skb, WLCORE_VENDOR_ATTR_PSK, pwd_len, pwd)) { in wlcore_smart_config_decode_event()
/linux-4.1.27/kernel/
Dauditsc.c877 path_put(&context->pwd); in audit_free_names()
878 context->pwd.dentry = NULL; in audit_free_names()
879 context->pwd.mnt = NULL; in audit_free_names()
1426 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
1429 audit_log_d_path(ab, " cwd=", &context->pwd); in audit_log_exit()
1743 if (!context->pwd.dentry) in __audit_getname()
1744 get_fs_pwd(current->fs, &context->pwd); in __audit_getname()
Daudit.h130 struct path pwd; member
Daudit.c1753 audit_log_d_path(ab, " name=", &context->pwd); in audit_log_name()
/linux-4.1.27/tools/perf/ui/browsers/
Dhists.c1318 char *pwd, *options[32], *abs_path[32], *tmp; in switch_data_file() local
1323 pwd = getenv("PWD"); in switch_data_file()
1324 if (!pwd) in switch_data_file()
1327 pwd_dir = opendir(pwd); in switch_data_file()
1343 snprintf(path, sizeof(path), "%s/%s", pwd, name); in switch_data_file()
/linux-4.1.27/init/
Ddo_mounts.c371 s = current->fs->pwd.dentry->d_sb; in do_mount_root()
/linux-4.1.27/Documentation/ia64/
Dxen.txt44 O=$(/bin/pwd)/build-linux-2.6.18-xen_ia64
/linux-4.1.27/Documentation/
Dcpu-hotplug.txt159 #pwd
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt359 make modules_install INSTALL_MOD_PATH=`pwd`/mnt ARCH=um