Home
last modified time | relevance | path

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

/linux/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/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/tools/testing/selftests/bpf/prog_tests/
H A Dfill_link_info.c429 ASSERT_EQ(info.uprobe_multi.path_size, strlen(path) + 1, in verify_umulti_link_info()
435 info.uprobe_multi.path_size = sizeof(path_buf); in verify_umulti_link_info()
456 ASSERT_EQ(info.uprobe_multi.path_size, strlen(path) + 1, "info.uprobe_multi.path_size"); in verify_umulti_link_info()
484 info.uprobe_multi.path_size = 3; in verify_umulti_invalid_user_buffer()
491 info.uprobe_multi.path_size = 3; in verify_umulti_invalid_user_buffer()
497 info.uprobe_multi.path_size = PATH_MAX; in verify_umulti_invalid_user_buffer()
/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c61 const int path_size = 128; in get_module_param() local
62 char path[path_size]; in get_module_param()
66 r = snprintf(path, path_size, "/sys/module/%s/parameters/%s", in get_module_param()
68 TEST_ASSERT(r < path_size, in get_module_param()
69 "Failed to construct sysfs path in %d bytes.", path_size); in get_module_param()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atombios.c303 int i, j, k, path_size, device_support; in amdgpu_atombios_get_connector_info_from_object_table() local
332 path_size = 0; in amdgpu_atombios_get_connector_info_from_object_table()
336 addr += path_size; in amdgpu_atombios_get_connector_info_from_object_table()
338 path_size += le16_to_cpu(path->usSize); in amdgpu_atombios_get_connector_info_from_object_table()
/linux/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/tools/bpf/bpftool/
H A Dlink.c1058 info.uprobe_multi.path_size = sizeof(path_buf); in do_show_link()
/linux/include/uapi/linux/
H A Dbpf.h6691 __u32 path_size; /* in/out: real path size on success, including zero byte */ member
/linux/tools/include/uapi/linux/
H A Dbpf.h6691 __u32 path_size; /* in/out: real path size on success, including zero byte */ member
/linux/kernel/trace/
H A Dbpf_trace.c3177 u32 upath_size = info->uprobe_multi.path_size; in bpf_uprobe_multi_link_fill_link_info()
3212 info->uprobe_multi.path_size = upath_size; in bpf_uprobe_multi_link_fill_link_info()
/linux/kernel/events/
H A Dcore.c8714 int path_size; member
8746 __output_copy(&handle, cgroup_event->path, cgroup_event->path_size); in perf_event_cgroup_output()
8795 cgroup_event.path_size = size; in perf_event_cgroup()