| /linux-6.15/tools/bpf/ |
| H A D | bpf_jit_disasm.c | 36 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() 48 tpath[len] = 0; in get_exec_path() 56 char tpath[PATH_MAX]; in get_asm_insns() local 61 memset(tpath, 0, sizeof(tpath)); in get_asm_insns() 62 get_exec_path(tpath, sizeof(tpath)); in get_asm_insns() 64 bfdf = bfd_openr(tpath, NULL); in get_asm_insns()
|
| /linux-6.15/tools/bpf/bpftool/ |
| H A D | jit_disasm.c | 160 static int get_exec_path(char *tpath, size_t size) in get_exec_path() argument 165 len = readlink(path, tpath, size - 1); in get_exec_path() 169 tpath[len] = 0; in get_exec_path() 236 char tpath[PATH_MAX]; in init_context() local 239 memset(tpath, 0, sizeof(tpath)); in init_context() 240 if (get_exec_path(tpath, sizeof(tpath))) { in init_context() 245 ctx->bfdf = bfd_openr(tpath, NULL); in init_context()
|
| /linux-6.15/tools/perf/util/ |
| H A D | disasm_bpf.c | 41 char tpath[PATH_MAX]; in symbol__disassemble_bpf() local 55 memset(tpath, 0, sizeof(tpath)); in symbol__disassemble_bpf() 56 perf_exe(tpath, sizeof(tpath)); in symbol__disassemble_bpf() 58 bfdf = bfd_openr(tpath, NULL); in symbol__disassemble_bpf()
|
| /linux-6.15/fs/ceph/ |
| H A D | mds_client.h | 615 extern int ceph_mds_check_access(struct ceph_mds_client *mdsc, char *tpath,
|
| H A D | mds_client.c | 5609 char *tpath) in ceph_mds_auth_match() argument 5649 if (!tpath) in ceph_mds_auth_match() 5652 tlen = strlen(tpath); in ceph_mds_auth_match() 5655 char *_tpath = tpath; in ceph_mds_auth_match() 5660 spath, tpath, auth->match.path); in ceph_mds_auth_match() 5668 snprintf(_tpath, n, "%s/%s", spath + 1, tpath); in ceph_mds_auth_match() 5717 int ceph_mds_check_access(struct ceph_mds_client *mdsc, char *tpath, int mask) in ceph_mds_check_access() argument 5728 tpath, mask, caller_uid, caller_gid); in ceph_mds_check_access() 5733 err = ceph_mds_auth_match(mdsc, s, cred, tpath); in ceph_mds_check_access()
|
| /linux-6.15/tools/power/pm-graph/ |
| H A D | bootgraph.py | 129 fp = open(self.tpath+'available_filter_functions') 473 call('cat '+sysvals.tpath+'trace >> '+sysvals.ftracefile, shell=True)
|
| H A D | sleepgraph.py | 124 tpath = '/sys/kernel/tracing/' variable in SystemValues 592 call('cat '+self.tpath+'available_filter_functions', shell=True) 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/' 879 tp = self.tpath 893 tp = self.tpath [all …]
|
| /linux-6.15/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_main.c | 586 struct ipoib_path *tpath; in __path_add() local 591 tpath = rb_entry(pn, struct ipoib_path, rb_node); in __path_add() 593 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
|