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

/linux-4.4.14/tools/perf/util/
H A Dabspath.c6 char *pwd; get_pwd_cwd() local
10 pwd = getenv("PWD"); get_pwd_cwd()
11 if (pwd && strcmp(pwd, cwd)) { get_pwd_cwd()
13 if (!stat(pwd, &pwd_stat) && get_pwd_cwd()
16 strlcpy(cwd, pwd, PATH_MAX); get_pwd_cwd()
H A Dtarget.c12 #include <pwd.h>
70 struct passwd pwd, *result; target__parse_uid() local
79 getpwnam_r(str, &pwd, buf, sizeof(buf), &result); target__parse_uid()
91 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result); target__parse_uid()
/linux-4.4.14/include/linux/
H A Dfs_struct.h14 struct path root, pwd; member in struct:fs_struct
34 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) get_fs_pwd() argument
37 *pwd = fs->pwd; get_fs_pwd()
38 path_get(pwd); get_fs_pwd()
/linux-4.4.14/scripts/gdb/linux/
H A DMakefile3 SRCTREE := $(shell cd $(srctree) && /bin/pwd)
/linux-4.4.14/fs/
H A Dfs_struct.c29 * Replace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values.
39 old_pwd = fs->pwd; set_fs_pwd()
40 fs->pwd = *path; set_fs_pwd()
71 hits += replace_path(&fs->pwd, old_root, new_root); do_each_thread()
89 path_put(&fs->pwd); free_fs_struct()
124 fs->pwd = old->pwd; copy_fs_struct()
125 path_get(&fs->pwd); copy_fs_struct()
H A Dfhandle.c121 mnt = mntget(fs->pwd.mnt); get_vfsmount_from_fd()
H A Ddcache.c3211 struct path *pwd) get_fs_root_and_pwd_rcu()
3218 *pwd = fs->pwd; get_fs_root_and_pwd_rcu()
3243 struct path pwd, root; SYSCALL_DEFINE2() local
3250 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); SYSCALL_DEFINE2()
3253 if (!d_unlinked(pwd.dentry)) { SYSCALL_DEFINE2()
3259 error = prepend_path(&pwd, &root, &cwd, &buflen); SYSCALL_DEFINE2()
3210 get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, struct path *pwd) get_fs_root_and_pwd_rcu() argument
H A Dnamespace.c2823 if (&p->mnt == new_fs->pwd.mnt) { copy_mnt_ns()
2824 new_fs->pwd.mnt = mntget(&q->mnt); copy_mnt_ns()
3332 /* Update the pwd and root */ mntns_install()
H A Dnamei.c2049 nd->path = fs->pwd; path_init()
/linux-4.4.14/tools/power/cpupower/debug/kernel/
H A DMakefile4 PWD := $(shell pwd)
/linux-4.4.14/tools/build/
H A DMakefile2 srctree := $(patsubst %/,%,$(dir $(shell pwd)))
/linux-4.4.14/tools/testing/selftests/
H A Dkselftest_install.sh11 install_loc=`pwd`
/linux-4.4.14/scripts/
H A Dgfp-translate49 if [ -r "`pwd`/Makefile" ]; then
50 SOURCE=`pwd`
H A Dobjdiff28 SRCTREE=$(cd $(git rev-parse --show-toplevel 2>/dev/null); pwd)
52 dir=$(cd $dir; pwd)
H A Danalyze_suspend.py2802 ' shell pwd 2>/dev/null').read().strip()
/linux-4.4.14/arch/parisc/lib/
H A Dmemcpy.c284 register unsigned int *pws, *pwd; pa_memcpy_internal() local
352 pwd = (unsigned int *)pdd; pa_memcpy_internal()
362 stwma(d_space, r1, pwd, pmc_store_exc); pa_memcpy_internal()
363 stwma(d_space, r2, pwd, pmc_store_exc); pa_memcpy_internal()
364 stwma(d_space, r3, pwd, pmc_store_exc); pa_memcpy_internal()
365 stwma(d_space, r4, pwd, pmc_store_exc); pa_memcpy_internal()
371 stwma(d_space, r5, pwd, pmc_store_exc); pa_memcpy_internal()
372 stwma(d_space, r6, pwd, pmc_store_exc); pa_memcpy_internal()
373 stwma(d_space, r7, pwd, pmc_store_exc); pa_memcpy_internal()
374 stwma(d_space, r8, pwd, pmc_store_exc); pa_memcpy_internal()
384 stwma(d_space, r1, pwd, pmc_store_exc); pa_memcpy_internal()
385 stwma(d_space, r2, pwd, pmc_store_exc); pa_memcpy_internal()
386 stwma(d_space, r3, pwd, pmc_store_exc); pa_memcpy_internal()
387 stwma(d_space, r4, pwd, pmc_store_exc); pa_memcpy_internal()
392 pcd = (unsigned char *)pwd; pa_memcpy_internal()
421 pwd = (unsigned int *)pcd; pa_memcpy_internal()
/linux-4.4.14/tools/lib/api/
H A DMakefile5 srctree := $(patsubst %/,%,$(dir $(shell pwd)))
/linux-4.4.14/tools/testing/selftests/pstore/
H A Dcommon_tests17 (cd `dirname $1`; pwd)
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
H A Devent.c94 u8 pwd_len, u8 *pwd) wlcore_smart_config_decode_event()
107 nla_put(skb, WLCORE_VENDOR_ATTR_PSK, pwd_len, pwd)) { wlcore_smart_config_decode_event()
92 wlcore_smart_config_decode_event(struct wl1271 *wl, u8 ssid_len, u8 *ssid, u8 pwd_len, u8 *pwd) wlcore_smart_config_decode_event() argument
/linux-4.4.14/tools/lib/lockdep/
H A DMakefile53 srctree := $(patsubst %/,%,$(dir $(shell pwd)))
/linux-4.4.14/tools/perf/
H A Dperf-with-kcore.sh78 $SUDO cp -a "$KCORE_DIR" "$(pwd)/$PERF_DATA_DIR"
85 KCORE_DIR="$(pwd)/$PERF_DATA_DIR/$KCORE_DIR_BASENAME"
/linux-4.4.14/fs/cifs/
H A Dntlmssp.h49 #define NTLMSSP_NEGOTIATE_EXTENDED_SEC 0x80000 /* NB:not related to NTLMv2 pwd*/
H A Dcifssmb.c633 rc = -EIO; /* no crypt key only if plain text pwd */ CIFSSMBNegotiate()
/linux-4.4.14/tools/lib/bpf/
H A DMakefile61 srctree := $(patsubst %/,%,$(dir $(shell pwd)))
/linux-4.4.14/tools/testing/selftests/ftrace/
H A Dftracetest33 (cd `dirname $1`; pwd)
/linux-4.4.14/tools/power/cpupower/
H A DMakefile29 OUTDIR := $(shell cd $(OUTPUT) && /bin/pwd)
107 PWD = $(shell pwd)
/linux-4.4.14/tools/testing/selftests/rcutorture/bin/
H A Dkvm.sh39 KVM="`pwd`/tools/testing/selftests/rcutorture"; export KVM
280 pwd > $resdir/$ds/testid.txt
/linux-4.4.14/kernel/
H A Dauditsc.c878 path_put(&context->pwd); audit_free_names()
879 context->pwd.dentry = NULL; audit_free_names()
880 context->pwd.mnt = NULL; audit_free_names()
1426 if (context->pwd.dentry && context->pwd.mnt) { audit_log_exit()
1429 audit_log_d_path(ab, " cwd=", &context->pwd); audit_log_exit()
1743 if (!context->pwd.dentry) __audit_getname()
1744 get_fs_pwd(current->fs, &context->pwd); __audit_getname()
H A Daudit.h131 struct path pwd; member in struct:audit_context
H A Daudit.c1767 audit_log_d_path(ab, " name=", &context->pwd); audit_log_name()
/linux-4.4.14/Documentation/DocBook/media/
H A DMakefile210 @(ln -sf `cd $(MEDIA_SRC_DIR) && /bin/pwd`/v4l/*xml $(MEDIA_OBJ_DIR)/)
211 @(ln -sf `cd $(MEDIA_SRC_DIR) && /bin/pwd`/dvb/*xml $(MEDIA_OBJ_DIR)/)
/linux-4.4.14/tools/lib/traceevent/
H A DMakefile89 srctree := $(patsubst %/,%,$(dir $(shell pwd)))
/linux-4.4.14/tools/perf/ui/browsers/
H A Dhists.c1359 char *pwd, *options[32], *abs_path[32], *tmp; switch_data_file() local
1364 pwd = getenv("PWD"); switch_data_file()
1365 if (!pwd) switch_data_file()
1368 pwd_dir = opendir(pwd); switch_data_file()
1384 snprintf(path, sizeof(path), "%s/%s", pwd, name); switch_data_file()
/linux-4.4.14/drivers/usb/phy/
H A Dphy-mxs-usb.c384 * If value to be set as pwd value is not 0xffffffff, mxs_phy_suspend()
/linux-4.4.14/init/
H A Ddo_mounts.c371 s = current->fs->pwd.dentry->d_sb; do_mount_root()
/linux-4.4.14/
H A DMakefile136 && /bin/pwd)
928 $(Q)ln -fsn `cd $(srctree) && /bin/pwd`/scripts/gdb/vmlinux-gdb.py
1126 @ln -s `cd $(srctree) && /bin/pwd` $(MODLIB)/source
/linux-4.4.14/fs/ocfs2/
H A Dnamei.c1373 * We might rmdir the source, keep it as pwd of some process ocfs2_rename()
/linux-4.4.14/fs/ext4/
H A Dnamei.c3514 * We might rmdir the source, keep it as pwd of some process ext4_rename()
3716 * We might rmdir the source, keep it as pwd of some process ext4_cross_rename()
/linux-4.4.14/tools/testing/ktest/
H A Dktest.pl338 chomp ($variable{"PWD"} = `pwd`);
/linux-4.4.14/tools/lguest/
H A Dlguest.c42 #include <pwd.h>

Completed in 1582 milliseconds