Home
last modified time | relevance | path

Searched refs:tpath (Results 1 – 6 of 6) sorted by relevance

/linux/tools/bpf/
H A Dbpf_jit_disasm.c36 static void get_exec_path(char *tpath, size_t size) in get_exec_path() argument
41 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path()
42 tpath[size - 1] = 0; in get_exec_path()
44 path = strdup(tpath); in get_exec_path()
47 len = readlink(path, tpath, size); in get_exec_path()
50 tpath[len] = 0; in get_exec_path()
58 char tpath[PATH_MAX]; in get_asm_insns() local
63 memset(tpath, 0, sizeof(tpath)); in get_asm_insns()
64 get_exec_path(tpath, sizeof(tpath)); in get_asm_insns()
66 bfdf = bfd_openr(tpath, NULL); in get_asm_insns()
/linux/tools/perf/util/
H A Dlibbfd.c510 char tpath[PATH_MAX]; in symbol__disassemble_bpf_libbfd() local
524 memset(tpath, 0, sizeof(tpath)); in symbol__disassemble_bpf_libbfd()
525 perf_exe(tpath, sizeof(tpath)); in symbol__disassemble_bpf_libbfd()
528 bfdf = bfd_openr(tpath, NULL); in symbol__disassemble_bpf_libbfd()
/linux/fs/ceph/
H A Dmds_client.h615 extern int ceph_mds_check_access(struct ceph_mds_client *mdsc, char *tpath,
H A Dmds_client.c5669 char *tpath) in ceph_mds_auth_match() argument
5717 if (!tpath) in ceph_mds_auth_match()
5720 tlen = strlen(tpath); in ceph_mds_auth_match()
5723 char *_tpath = tpath; in ceph_mds_auth_match()
5728 spath, tpath, auth->match.path); in ceph_mds_auth_match()
5736 snprintf(_tpath, n, "%s/%s", spath + 1, tpath); in ceph_mds_auth_match()
5785 int ceph_mds_check_access(struct ceph_mds_client *mdsc, char *tpath, int mask) in ceph_mds_check_access() argument
5796 tpath, mask, caller_uid, caller_gid); in ceph_mds_check_access()
5801 err = ceph_mds_auth_match(mdsc, s, cred, tpath); in ceph_mds_check_access()
/linux/tools/power/pm-graph/
H A Dbootgraph.py129 fp = open(self.tpath+'available_filter_functions')
473 call('cat '+sysvals.tpath+'trace >> '+sysvals.ftracefile, shell=True)
H A Dsleepgraph.py124 tpath = '/sys/kernel/tracing/' variable in SystemValues
592 call('cat '+self.tpath+'available_filter_functions', shell=True)
594 master = self.listFromFile(self.tpath+'available_filter_functions')
603 master = self.listFromFile(self.tpath+'available_filter_functions')
612 fp = open(self.tpath+'set_graph_function', 'w')
754 return self.setVal(val, self.tpath+path)
769 return self.getVal(self.tpath+path)
826 fp = open(self.tpath+'set_ftrace_notrace', 'w')
874 if not os.path.exists(self.tpath+'trace'):
875 self.tpath = '/sys/kernel/debug/tracing/'
[all …]