| /OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/mte/ |
| H A D | check_buffer_fill.c | 16 static int sizes[] = { variable 35 item = sizeof(sizes)/sizeof(int); in check_buffer_by_byte() 38 ptr = (char *)mte_allocate_memory(sizes[i], mem_type, 0, true); in check_buffer_by_byte() 39 if (check_allocated_memory(ptr, sizes[i], mem_type, true) != KSFT_PASS) in check_buffer_by_byte() 41 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[i]); in check_buffer_by_byte() 43 for (j = 0; j < sizes[i]; j++) in check_buffer_by_byte() 48 for (j = 0; j < sizes[i] && !err; j++) { in check_buffer_by_byte() 52 mte_free_memory((void *)ptr, sizes[i], mem_type, true); in check_buffer_by_byte() 72 item = sizeof(sizes)/sizeof(int); in check_buffer_underflow_by_byte() 74 ptr = (char *)mte_allocate_memory_tag_range(sizes[i], mem_type, 0, in check_buffer_underflow_by_byte() [all …]
|
| H A D | check_mmap_options.c | 28 static int sizes[] = { variable 64 int item = sizeof(sizes)/sizeof(int); in check_anonymous_memory_mapping() 66 item = sizeof(sizes)/sizeof(int); in check_anonymous_memory_mapping() 69 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping() 75 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_anonymous_memory_mapping() 77 ptr = mte_insert_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping() 83 result = check_mte_memory(ptr, sizes[run], mode, tag_check); in check_anonymous_memory_mapping() 84 mte_clear_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping() 96 int total = sizeof(sizes)/sizeof(int); in check_file_memory_mapping() 105 map_size = sizes[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping() [all …]
|
| H A D | check_child_memory.c | 24 static int sizes[] = { variable 88 int item = sizeof(sizes)/sizeof(int); in check_child_memory_mapping() 90 item = sizeof(sizes)/sizeof(int); in check_child_memory_mapping() 93 ptr = (char *)mte_allocate_memory_tag_range(sizes[run], mem_type, mapping, in check_child_memory_mapping() 95 if (check_allocated_memory_range(ptr, sizes[run], mem_type, in check_child_memory_mapping() 98 result = check_child_tag_inheritance(ptr, sizes[run], mode); in check_child_memory_mapping() 99 mte_free_memory_tag_range((void *)ptr, sizes[run], mem_type, UNDERFLOW, OVERFLOW); in check_child_memory_mapping() 110 int total = sizeof(sizes)/sizeof(int); in check_child_file_mapping() 118 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_child_file_mapping() 125 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_child_file_mapping() [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/tiny/ |
| H A D | ksize.py | 33 sizes = output[-1].split()[0:4] 34 self.text = int(sizes[0]) 35 self.data = int(sizes[1]) 36 self.bss = int(sizes[2]) 37 self.total = int(sizes[3]) 55 oreport.sizes.title = str(path) + "/*.o" 66 r.totals["total"] += b.sizes.total 67 r.totals["text"] += b.sizes.text 68 r.totals["data"] += b.sizes.data 69 r.totals["bss"] += b.sizes.bss [all …]
|
| H A D | ksum.py | 79 sizes = output[-1].split()[0:4] 82 (int(sizes[0]), int(sizes[1]), int(sizes[2]), int(sizes[3])), end=' ') 85 ko_text += int(sizes[0]) 86 ko_data += int(sizes[1]) 87 ko_bss += int(sizes[2]) 88 ko_total += int(sizes[3]) 95 sizes = output[-1].split()[0:4] 98 (int(sizes[0]), int(sizes[1]), int(sizes[2]), int(sizes[3])), end=' ') 101 vmlinux_text += int(sizes[0]) 102 vmlinux_data += int(sizes[1]) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/android/ |
| H A D | binder_alloc_selftest.c | 78 static void pr_err_size_seq(size_t *sizes, int *seq) in pr_err_size_seq() argument 84 pr_cont("[%zu]", sizes[i]); in pr_err_size_seq() 117 size_t *sizes, int *seq) in binder_selftest_alloc_buf() argument 122 buffers[i] = binder_alloc_new_buf(alloc, sizes[i], 0, 0, 0, 0); in binder_selftest_alloc_buf() 125 sizes[i])) { in binder_selftest_alloc_buf() 126 pr_err_size_seq(sizes, seq); in binder_selftest_alloc_buf() 134 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf() argument 148 pr_err_size_seq(sizes, seq); in binder_selftest_free_buf() 177 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free() argument 181 binder_selftest_alloc_buf(alloc, buffers, sizes, seq); in binder_selftest_alloc_free() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/ |
| H A D | msm_fbdev.c | 61 struct drm_fb_helper_surface_size *sizes) in msm_fbdev_create() argument 73 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create() 75 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in msm_fbdev_create() 76 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create() 77 sizes->fb_width, sizes->fb_height); in msm_fbdev_create() 79 pitch = align_pitch(sizes->surface_width, sizes->surface_bpp); in msm_fbdev_create() 80 fb = msm_alloc_stolen_fb(dev, sizes->surface_width, in msm_fbdev_create() 81 sizes->surface_height, pitch, format); in msm_fbdev_create() 117 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_fbdev.c | 73 struct drm_fb_helper_surface_size *sizes, in exynos_drm_fbdev_update() argument 90 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update() 103 struct drm_fb_helper_surface_size *sizes) in exynos_drm_fbdev_create() argument 114 sizes->surface_width, sizes->surface_height, in exynos_drm_fbdev_create() 115 sizes->surface_bpp); in exynos_drm_fbdev_create() 117 mode_cmd.width = sizes->surface_width; in exynos_drm_fbdev_create() 118 mode_cmd.height = sizes->surface_height; in exynos_drm_fbdev_create() 119 mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); in exynos_drm_fbdev_create() 120 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_create() 121 sizes->surface_depth); in exynos_drm_fbdev_create() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fbdev.c | 91 struct drm_fb_helper_surface_size *sizes) in omap_fbdev_create() argument 103 sizes->surface_bpp = 32; in omap_fbdev_create() 104 sizes->surface_depth = 24; in omap_fbdev_create() 106 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in omap_fbdev_create() 107 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create() 108 sizes->fb_width, sizes->fb_height); in omap_fbdev_create() 110 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_create() 111 sizes->surface_depth); in omap_fbdev_create() 113 mode_cmd.width = sizes->surface_width; in omap_fbdev_create() 114 mode_cmd.height = sizes->surface_height; in omap_fbdev_create() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/armada/ |
| H A D | armada_fbdev.c | 28 struct drm_fb_helper_surface_size *sizes) in armada_fbdev_create() argument 39 mode.width = sizes->surface_width; in armada_fbdev_create() 40 mode.height = sizes->surface_height; in armada_fbdev_create() 41 mode.pitches[0] = armada_pitch(mode.width, sizes->surface_bpp); in armada_fbdev_create() 42 mode.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in armada_fbdev_create() 43 sizes->surface_depth); in armada_fbdev_create() 88 drm_fb_helper_fill_info(info, fbh, sizes); in armada_fbdev_create() 102 struct drm_fb_helper_surface_size *sizes) in armada_fb_probe() argument 107 ret = armada_fbdev_create(fbh, sizes); in armada_fb_probe()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/common/ |
| H A D | hal_bufs.c | 50 size_t sizes[MAX_HAL_BUFS_SIZE_CNT]; member 79 impl->size_sum -= impl->sizes[j]; in hal_bufs_clear() 97 memset(impl->sizes, 0, sizeof(impl->sizes)); in hal_bufs_clear() 158 MPP_RET hal_bufs_setup(HalBufs bufs, RK_S32 max_cnt, RK_S32 size_cnt, size_t sizes[]) in hal_bufs_setup() argument 165 if (NULL == bufs || NULL == sizes) { in hal_bufs_setup() 166 mpp_err_f("invalid NULL input bufs %p sizes %p\n", bufs, sizes); in hal_bufs_setup() 197 slot_sum += sizes[i]; in hal_bufs_setup() 198 impl->sizes[i] = sizes[i]; in hal_bufs_setup() 241 size_t size = impl->sizes[i]; in hal_bufs_get_buf()
|
| /OK3568_Linux_fs/kernel/arch/parisc/boot/compressed/ |
| H A D | Makefile | 14 targets += misc.o piggy.o sizes.h head.o real2.o firmware.o 32 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0… 35 cmd_sizes = $(NM) $< | sed -n $(sed-sizes) > $@ 37 $(obj)/sizes.h: vmlinux 38 $(call if_changed,sizes) 41 $(obj)/head.o: $(obj)/sizes.h 44 $(obj)/misc.o: $(obj)/sizes.h 55 $(obj)/misc.o: $(obj)/sizes.h 58 $(obj)/vmlinux.lds: $(obj)/sizes.h
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/files/ |
| H A D | 0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch | 27 Use libhugetlbfs' hugeadm utility to get a list of page sizes that have 32 sizes = set() 34 - (rc, out) = bash("../obj/hugeadm --page-sizes") 36 + p = subprocess.Popen("hugeadm --page-sizes", shell=True, env=local_env, stdout=subprocess.… 39 + return sizes 41 + return sizes 45 return sizes
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_fb_helper.c | 1484 struct drm_fb_helper_surface_size sizes; in drm_fb_helper_single_fb_probe() local 1489 memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size)); in drm_fb_helper_single_fb_probe() 1490 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe() 1491 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 1492 sizes.fb_width = (u32)-1; in drm_fb_helper_single_fb_probe() 1493 sizes.fb_height = (u32)-1; in drm_fb_helper_single_fb_probe() 1499 if (preferred_bpp != sizes.surface_bpp) in drm_fb_helper_single_fb_probe() 1500 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; in drm_fb_helper_single_fb_probe() 1511 sizes.surface_depth = sizes.surface_bpp = 8; in drm_fb_helper_single_fb_probe() 1514 sizes.surface_depth = 15; in drm_fb_helper_single_fb_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_fbdev.c | 38 struct drm_fb_helper_surface_size *sizes) in rockchip_drm_fbdev_create() argument 51 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in rockchip_drm_fbdev_create() 53 mode_cmd.width = sizes->surface_width; in rockchip_drm_fbdev_create() 54 mode_cmd.height = sizes->surface_height; in rockchip_drm_fbdev_create() 55 mode_cmd.pitches[0] = sizes->surface_width * bytes_per_pixel; in rockchip_drm_fbdev_create() 56 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in rockchip_drm_fbdev_create() 57 sizes->surface_depth); in rockchip_drm_fbdev_create() 86 drm_fb_helper_fill_info(fbi, helper, sizes); in rockchip_drm_fbdev_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | intel_fbdev.c | 114 struct drm_fb_helper_surface_size *sizes) in intelfb_alloc() argument 126 if (sizes->surface_bpp == 24) in intelfb_alloc() 127 sizes->surface_bpp = 32; in intelfb_alloc() 129 mode_cmd.width = sizes->surface_width; in intelfb_alloc() 130 mode_cmd.height = sizes->surface_height; in intelfb_alloc() 133 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); in intelfb_alloc() 134 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_alloc() 135 sizes->surface_depth); in intelfb_alloc() 163 struct drm_fb_helper_surface_size *sizes) in intelfb_create() argument 184 (sizes->fb_width > intel_fb->base.width || in intelfb_create() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-subdev-enum-frame-size.rst | 13 VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes 34 This ioctl allows applications to enumerate all frame sizes supported by 40 To enumerate frame sizes applications initialize the ``pad``, ``which`` 44 structure. Drivers fill the minimum and maximum frame sizes or return an 47 Sub-devices that only support discrete frame sizes (such as most 48 sensors) will return one or more frame sizes with identical minimum and 51 Not all possible sizes in given [minimum, maximum] ranges need to be 58 Available frame sizes may depend on the current 'try' formats at other 97 - Frame sizes to be enumerated, from enum
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/ |
| H A D | framebuffer.c | 302 struct drm_fb_helper_surface_size *sizes) in psbfb_create() argument 316 mode_cmd.width = sizes->surface_width; in psbfb_create() 317 mode_cmd.height = sizes->surface_height; in psbfb_create() 318 bpp = sizes->surface_bpp; in psbfb_create() 319 depth = sizes->surface_depth; in psbfb_create() 410 drm_fb_helper_fill_info(info, fb_helper, sizes); in psbfb_create() 457 struct drm_fb_helper_surface_size *sizes) in psbfb_probe() argument 464 bytespp = sizes->surface_bpp / 8; in psbfb_probe() 471 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe() 472 sizes->surface_height; in psbfb_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | radeon_fb.c | 212 struct drm_fb_helper_surface_size *sizes) in radeonfb_create() argument 225 mode_cmd.width = sizes->surface_width; in radeonfb_create() 226 mode_cmd.height = sizes->surface_height; in radeonfb_create() 229 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) in radeonfb_create() 230 sizes->surface_bpp = 32; in radeonfb_create() 232 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeonfb_create() 233 sizes->surface_depth); in radeonfb_create() 274 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in radeonfb_create()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_fb.c | 198 struct drm_fb_helper_surface_size *sizes) in amdgpufb_create() argument 210 mode_cmd.width = sizes->surface_width; in amdgpufb_create() 211 mode_cmd.height = sizes->surface_height; in amdgpufb_create() 213 if (sizes->surface_bpp == 24) in amdgpufb_create() 214 sizes->surface_bpp = 32; in amdgpufb_create() 216 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in amdgpufb_create() 217 sizes->surface_depth); in amdgpufb_create() 254 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes); in amdgpufb_create()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/em28xx/ |
| H A D | em28xx-vbi.c | 33 unsigned int sizes[], struct device *alloc_devs[]) in vbi_queue_setup() argument 43 if (sizes[0] < size) in vbi_queue_setup() 45 size = sizes[0]; in vbi_queue_setup() 49 sizes[0] = size; in vbi_queue_setup()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/ |
| H A D | fb.c | 205 struct drm_fb_helper_surface_size *sizes) in tegra_fbdev_probe() argument 219 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe() 221 cmd.width = sizes->surface_width; in tegra_fbdev_probe() 222 cmd.height = sizes->surface_height; in tegra_fbdev_probe() 223 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, in tegra_fbdev_probe() 226 cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fbdev_probe() 227 sizes->surface_depth); in tegra_fbdev_probe() 257 drm_fb_helper_fill_info(info, helper, sizes); in tegra_fbdev_probe()
|
| /OK3568_Linux_fs/buildroot/utils/ |
| H A D | size-stats-compare | 30 sizes = {} 43 sizes[row[0]] = int(row[2]) 45 sizes[row[1]] = int(row[3]) 47 return sizes
|
| /OK3568_Linux_fs/kernel/samples/seccomp/ |
| H A D | user-trap.c | 291 struct seccomp_notif_sizes sizes; in main() local 293 if (seccomp(SECCOMP_GET_NOTIF_SIZES, 0, &sizes) < 0) { in main() 298 req = malloc(sizes.seccomp_notif); in main() 302 resp = malloc(sizes.seccomp_notif_resp); in main() 305 memset(resp, 0, sizes.seccomp_notif_resp); in main() 308 memset(req, 0, sizes.seccomp_notif); in main()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A D | gr-udc.txt | 21 - epobufsizes : Array of buffer sizes for OUT endpoints when they differ 24 each OUT endpoint of the core. Fewer entries overrides the default sizes 27 - epibufsizes : Array of buffer sizes for IN endpoints when they differ 30 each IN endpoint of the core. Fewer entries overrides the default sizes
|