Home
last modified time | relevance | path

Searched refs:path_size (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/drivers/acpi/acpica/
H A Dnsnames.c194 char *full_path, u32 path_size, u8 no_trailing) in acpi_ns_build_normalized_path() argument
218 path_size = 0; in acpi_ns_build_normalized_path()
228 ACPI_PATH_PUT8(full_path, path_size, in acpi_ns_build_normalized_path()
240 ACPI_PATH_PUT8(full_path, path_size, c, length); in acpi_ns_build_normalized_path()
247 ACPI_PATH_PUT8(full_path, path_size, AML_ROOT_PREFIX, length); in acpi_ns_build_normalized_path()
251 if (length <= path_size) { in acpi_ns_build_normalized_path()
265 ACPI_PATH_PUT8(full_path, path_size, '\0', length); in acpi_ns_build_normalized_path()
H A Dacnamesp.h257 char *full_path, u32 path_size, u8 no_trailing);
/linux-6.15/security/landlock/
H A Ddomain.c84 size_t path_size = sizeof(null_path); in get_current_details() local
88 buffer = get_current_exe(&path_str, &path_size); in get_current_details()
98 kzalloc(struct_size(details, exe_path, path_size), GFP_KERNEL); in get_current_details()
102 memcpy(details->exe_path, path_str, path_size); in get_current_details()
/linux-6.15/tools/hv/
H A Dhv_fcopy_uio_daemon.c286 size_t file_size, path_size; in hv_fcopy_start() local
292 path_size = wcstombs(NULL, (const wchar_t *restrict)in_path_name, 0) + 1; in hv_fcopy_start()
295 path_name = (char *)malloc(path_size * sizeof(char)); in hv_fcopy_start()
305 wcstoutf8(path_name, (__u16 *)in_path_name, path_size); in hv_fcopy_start()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dfill_link_info.c433 ASSERT_EQ(info.uprobe_multi.path_size, strlen(path) + 1, in verify_umulti_link_info()
439 info.uprobe_multi.path_size = sizeof(path_buf); in verify_umulti_link_info()
460 ASSERT_EQ(info.uprobe_multi.path_size, strlen(path) + 1, "info.uprobe_multi.path_size"); in verify_umulti_link_info()
488 info.uprobe_multi.path_size = 3; in verify_umulti_invalid_user_buffer()
495 info.uprobe_multi.path_size = 3; in verify_umulti_invalid_user_buffer()
501 info.uprobe_multi.path_size = PATH_MAX; in verify_umulti_invalid_user_buffer()
/linux-6.15/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c62 const int path_size = 128; in get_module_param() local
63 char path[path_size]; in get_module_param()
67 r = snprintf(path, path_size, "/sys/module/%s/parameters/%s", in get_module_param()
69 TEST_ASSERT(r < path_size, in get_module_param()
70 "Failed to construct sysfs path in %d bytes.", path_size); in get_module_param()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atombios.c323 int i, j, k, path_size, device_support; in amdgpu_atombios_get_connector_info_from_object_table() local
352 path_size = 0; in amdgpu_atombios_get_connector_info_from_object_table()
356 addr += path_size; in amdgpu_atombios_get_connector_info_from_object_table()
358 path_size += le16_to_cpu(path->usSize); in amdgpu_atombios_get_connector_info_from_object_table()
/linux-6.15/tools/perf/util/
H A Dmachine.c1345 static int maps__set_modules_path_dir(struct maps *maps, char *path, size_t path_size, int depth) in maps__set_modules_path_dir() argument
1358 if (root_len >= path_size) in maps__set_modules_path_dir()
1375 if (root_len + strlen(dent->d_name) >= path_size) in maps__set_modules_path_dir()
1379 ret = maps__set_modules_path_dir(maps, path, path_size, depth + 1); in maps__set_modules_path_dir()
1391 if (root_len + strlen(dent->d_name) < path_size) { in maps__set_modules_path_dir()
/linux-6.15/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c530 int i, j, k, path_size, device_support; in radeon_get_atom_connector_info_from_object_table() local
559 path_size = 0; in radeon_get_atom_connector_info_from_object_table()
563 addr += path_size; in radeon_get_atom_connector_info_from_object_table()
565 path_size += le16_to_cpu(path->usSize); in radeon_get_atom_connector_info_from_object_table()
/linux-6.15/tools/bpf/bpftool/
H A Dlink.c1058 info.uprobe_multi.path_size = sizeof(path_buf); in do_show_link()
/linux-6.15/tools/include/uapi/linux/
H A Dbpf.h6712 __u32 path_size; /* in/out: real path size on success, including zero byte */ member
/linux-6.15/include/uapi/linux/
H A Dbpf.h6712 __u32 path_size; /* in/out: real path size on success, including zero byte */ member
/linux-6.15/kernel/trace/
H A Dbpf_trace.c3199 u32 upath_size = info->uprobe_multi.path_size; in bpf_uprobe_multi_link_fill_link_info()
3234 info->uprobe_multi.path_size = upath_size; in bpf_uprobe_multi_link_fill_link_info()
/linux-6.15/kernel/events/
H A Dcore.c9036 int path_size; member
9068 __output_copy(&handle, cgroup_event->path, cgroup_event->path_size); in perf_event_cgroup_output()
9117 cgroup_event.path_size = size; in perf_event_cgroup()