Home
last modified time | relevance | path

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

/openbmc/linux/tools/tracing/rtla/src/
H A Dutils.c269 char buffer[MAX_PATH]; in procfs_is_workload_pid()
288 snprintf(buffer, MAX_PATH, "/proc/%s/comm", proc_entry->d_name); in procfs_is_workload_pid()
293 memset(buffer, 0, MAX_PATH); in procfs_is_workload_pid()
294 retval = read(comm_fd, buffer, MAX_PATH); in procfs_is_workload_pid()
325 if (strlen(comm_prefix) >= MAX_PATH) { in set_comm_sched_attr()
327 MAX_PATH, comm_prefix); in set_comm_sched_attr()
533 char mount_point[MAX_PATH+1]; in find_mount()
542 while (fscanf(fp, "%*s %" STR(MAX_PATH) "s %99s %*s %*d %*d\n", mount_point, type) == 2) { in find_mount()
573 char path[MAX_PATH], *start; in get_self_cgroup()
576 snprintf(path, MAX_PATH, "/proc/%d/cgroup", getpid()); in get_self_cgroup()
[all …]
H A Dutils.h11 #define MAX_PATH 1024 macro
/openbmc/linux/tools/verification/rv/src/
H A Din_kernel.c34 char path[MAX_PATH]; in __ikm_read_enable()
38 snprintf(path, MAX_PATH, "rv/monitors/%s/enable", monitor_name); in __ikm_read_enable()
74 char path[MAX_PATH]; in ikm_write_enable()
79 snprintf(path, MAX_PATH, "rv/monitors/%s/enable", monitor_name); in ikm_write_enable()
117 char path[MAX_PATH]; in ikm_read_desc()
120 snprintf(path, MAX_PATH, "rv/monitors/%s/desc", monitor_name); in ikm_read_desc()
170 char path[MAX_PATH]; in ikm_write_reactor()
173 snprintf(path, MAX_PATH, "rv/monitors/%s/reactors", monitor_name); in ikm_write_reactor()
188 char path[MAX_PATH]; in ikm_read_reactor()
191 snprintf(path, MAX_PATH, "rv/monitors/%s/reactors", monitor_name); in ikm_read_reactor()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dprofiler.h7 #define MAX_PATH 256 macro
14 #define MAX_FILEPATH_LENGTH (MAX_PATH_DEPTH * MAX_PATH)
20 (MAX_PATH * 2 + (MAX_PATH * MAX_CGROUPS_PATH_DEPTH))
25 (MAX_METADATA_PAYLOAD_LEN + MAX_CGROUP_PAYLOAD_LEN + CTL_MAXNAME + MAX_PATH)
H A Dprofiler.inc.h218 bpf_probe_read_kernel_str(payload, MAX_PATH, in read_full_cgroup_path()
224 if (filepart_length <= MAX_PATH) { in read_full_cgroup_path()
306 bpf_probe_read_kernel_str(payload, MAX_PATH, in populate_cgroup_info()
309 if (cgroup_root_length <= MAX_PATH) { in populate_cgroup_info()
316 bpf_probe_read_kernel_str(payload, MAX_PATH, in populate_cgroup_info()
319 if (cgroup_proc_length <= MAX_PATH) { in populate_cgroup_info()
495 bpf_probe_read_kernel_str(payload, MAX_PATH, in read_absolute_file_path_from_dentry()
498 if (filepart_length > MAX_PATH) in read_absolute_file_path_from_dentry()
590 bpf_probe_read_kernel_str(payload, MAX_PATH, in BPF_KPROBE()
594 if (sysctl_path_length <= MAX_PATH) { in BPF_KPROBE()
/openbmc/qemu/migration/
H A Dexec.c33 g_autofree char *detected_path = g_new(char, MAX_PATH); in exec_get_cmd_path()
34 if (GetSystemDirectoryA(detected_path, MAX_PATH) == 0) { in exec_get_cmd_path()
38 pstrcat(detected_path, MAX_PATH, "\\cmd.exe"); in exec_get_cmd_path()
/openbmc/linux/tools/perf/arch/x86/util/
H A Diostat.c31 #ifndef MAX_PATH
32 #define MAX_PATH 1024 macro
148 char path[MAX_PATH]; in iio_mapping()
156 scnprintf(path, MAX_PATH, PLATFORM_MAPPING_PATH, pmu_idx, die); in iio_mapping()
183 char path[MAX_PATH]; in iio_pmu_count()
/openbmc/qemu/qga/
H A Dservice-win32.c104 TCHAR module_fname[MAX_PATH]; in ga_install_service()
109 if (GetModuleFileName(NULL, module_fname, MAX_PATH) == 0) { in ga_install_service()
H A Dcommands-windows-ssh.c107 DWORD maxSize = MAX_PATH; in get_ssh_folder()
H A Dcommands-win32.c1098 wchar_t vol_info[MAX_PATH + 1]; in build_guest_fsinfo()
1308 WCHAR guid[MAX_PATH] = L""; in qmp_guest_fstrim()
/openbmc/linux/tools/verification/rv/include/
H A Dutils.h3 #define MAX_PATH 1024 macro
/openbmc/linux/tools/mm/
H A Dpage-types.c36 #ifndef MAX_PATH
37 # define MAX_PATH 256 macro
532 char buf[MAX_PATH + 1]; in prepare_hwpoison_fd()
541 snprintf(buf, MAX_PATH, "%s/hwpoison/corrupt-pfn", in prepare_hwpoison_fd()
547 snprintf(buf, MAX_PATH, "%s/hwpoison/unpoison-pfn", in prepare_hwpoison_fd()
/openbmc/qemu/qga/vss-win32/
H A Dinstall.cpp274 CHAR dllPath[MAX_PATH], tlbPath[MAX_PATH]; in COMRegister()
438 char dllPath[MAX_PATH]; in DllRegisterServer()
/openbmc/qemu/block/
H A Dfile-win32.c392 char buf[MAX_PATH]; in raw_open()
393 GetCurrentDirectory(MAX_PATH, buf); in raw_open()
/openbmc/ipmitool/src/plugins/imb/
H A Dimbapi.h181 #define MAX_PATH 260 macro
/openbmc/qemu/util/
H A Dcutils.c1050 char buf[MAX_PATH]; in qemu_init_exec_dir()
/openbmc/linux/tools/testing/selftests/bpf/
H A DREADME.rst126 if (filepart_length <= MAX_PATH) {
/openbmc/linux/Documentation/trace/
H A Dftrace.rst2427 #define MAX_PATH 256
2431 static char tracefs[MAX_PATH+1];
2445 STR(MAX_PATH)
2466 static char trace_file[MAX_PATH+1];
2467 snprintf(trace_file, MAX_PATH, "%s/%s", find_tracefs(), file_name);