| /linux/security/landlock/ |
| H A D | domain.c | 545 size_t path_size = sizeof(null_path); in get_current_details() local 549 buffer = get_current_exe(&path_str, &path_size); in get_current_details() 559 kzalloc_flex(*details, exe_path, path_size, GFP_KERNEL_ACCOUNT); in get_current_details() 563 memcpy(details->exe_path, path_str, path_size); in get_current_details()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | fill_link_info.c | 682 ASSERT_EQ(info.uprobe_multi.path_size, strlen(path) + 1, in verify_umulti_link_info() 688 info.uprobe_multi.path_size = sizeof(path_buf); in verify_umulti_link_info() 709 ASSERT_EQ(info.uprobe_multi.path_size, strlen(path) + 1, "info.uprobe_multi.path_size"); in verify_umulti_link_info() 737 info.uprobe_multi.path_size = 3; in verify_umulti_invalid_user_buffer() 744 info.uprobe_multi.path_size = 3; in verify_umulti_invalid_user_buffer() 750 info.uprobe_multi.path_size = PATH_MAX; in verify_umulti_invalid_user_buffer()
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | kvm_util.c | 82 const int path_size = 128; in get_module_param() 83 char path[path_size]; in get_module_param() 91 r = snprintf(path, path_size, "/sys/module/%s/parameters/%s", in get_module_param() 93 TEST_ASSERT(r < path_size, in get_module_param() 94 "Failed to construct sysfs path in %d bytes.", path_size); in get_module_param() 74 const int path_size = 128; get_module_param() local
|
| /linux/tools/perf/util/ |
| H A D | machine.c | 1415 static int maps__set_modules_path_dir(struct maps *maps, char *path, size_t path_size, int depth) in maps__set_modules_path_dir() 1428 if (root_len >= path_size) { in maps__set_modules_path_dir() 1447 if (root_len + strlen(dent->d_name) >= path_size) in machine__set_modules_path() 1451 ret = maps__set_modules_path_dir(maps, path, path_size, depth + 1); in machine__set_modules_path() 1463 if (root_len + strlen(dent->d_name) < path_size) { in arch__fix_module_text_start() 1380 maps__set_modules_path_dir(struct maps * maps,char * path,size_t path_size,int depth) maps__set_modules_path_dir() argument
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_atombios.c | 530 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 D | link.c | 1225 info.uprobe_multi.path_size = sizeof(path_buf); in do_show_link()
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 6912 __u32 path_size; /* in/out: real path size on success, including zero byte */ member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 6912 __u32 path_size; /* in/out: real path size on success, including zero byte */ member
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 3015 u32 upath_size = info->uprobe_multi.path_size; in bpf_uprobe_multi_link_fill_link_info() 3050 info->uprobe_multi.path_size = upath_size; in bpf_uprobe_multi_link_fill_link_info()
|
| /linux/kernel/events/ |
| H A D | core.c | 9585 int path_size; 9604 u16 size = sizeof(cgroup_event->event_id) + cgroup_event->path_size; in perf_event_cgroup_output() 9618 __output_copy(&handle, cgroup_event->path, cgroup_event->path_size); in perf_event_cgroup_output() 9659 cgroup_event.path_size = size; in perf_event_cgroup() 9591 int path_size; global() member
|