Home
last modified time | relevance | path

Searched refs:path_size (Results 1 – 11 of 11) 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/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/tools/testing/selftests/bpf/prog_tests/
H A Dfill_link_info.c447 ASSERT_EQ(info.uprobe_multi.path_size, strlen(path) + 1, in verify_umulti_link_info()
448 "info.uprobe_multi.path_size"); in verify_umulti_link_info()
453 info.uprobe_multi.path_size = sizeof(path_buf); in verify_umulti_link_info()
474 ASSERT_EQ(info.uprobe_multi.path_size, strlen(path) + 1, "info.uprobe_multi.path_size"); in verify_umulti_link_info()
502 info.uprobe_multi.path_size = 3; in verify_umulti_invalid_user_buffer()
509 info.uprobe_multi.path_size = 3; in verify_umulti_invalid_user_buffer()
515 info.uprobe_multi.path_size = PATH_MAX; in verify_umulti_invalid_user_buffer()
/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c74 const int path_size = 128; in get_module_param() local
75 char path[path_size]; in get_module_param()
82 r = snprintf(path, path_size, "/sys/module/%s/parameters/%s", in get_module_param()
84 TEST_ASSERT(r < path_size, in get_module_param()
85 "Failed to construct sysfs path in %d bytes.", path_size); in get_module_param()
/linux/tools/perf/util/
H A Dmachine.c1380 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
1393 if (root_len >= path_size) in maps__set_modules_path_dir()
1410 if (root_len + strlen(dent->d_name) >= path_size) in maps__set_modules_path_dir()
1414 ret = maps__set_modules_path_dir(maps, path, path_size, depth + 1); in maps__set_modules_path_dir()
1426 if (root_len + strlen(dent->d_name) < path_size) { in maps__set_modules_path_dir()
/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/include/uapi/linux/
H A Dbpf.h6777 __u32 path_size; /* in/out: real path size on success, including zero byte */
6772 __u32 path_size; /* in/out: real path size on success, including zero byte */ global() member
/linux/tools/include/uapi/linux/
H A Dbpf.h6777 __u32 path_size; /* in/out: real path size on success, including zero byte */
6772 __u32 path_size; /* in/out: real path size on success, including zero byte */ global() member
/linux/kernel/trace/
H A Dbpf_trace.c2948 u32 upath_size = info->uprobe_multi.path_size; in bpf_uprobe_multi_link_fill_link_info()
2983 info->uprobe_multi.path_size = upath_size; in bpf_uprobe_multi_link_fill_link_info()
/linux/kernel/events/
H A Dcore.c9188 int path_size; member
9220 __output_copy(&handle, cgroup_event->path, cgroup_event->path_size); in perf_event_cgroup_output()
9269 cgroup_event.path_size = size; in perf_event_cgroup()