/openbmc/openbmc/poky/scripts/tiny/ |
H A D | ksize.py | 27 class Sizes: class 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 [all …]
|
H A D | ksum.py | 8 # module sizes for a built kernel, as a quick tool for comparing the 11 # the 'verbose' flag will display the sizes for each file included in 29 print(' -v, display sizes for each file') 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] [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | check_mmap_options.c | 28 static int sizes[] = { variable 64 int item = ARRAY_SIZE(sizes); in check_anonymous_memory_mapping() 68 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping() 74 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_anonymous_memory_mapping() 76 ptr = mte_insert_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping() 82 result = check_mte_memory(ptr, sizes[run], mode, tag_check); in check_anonymous_memory_mapping() 83 mte_clear_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping() 95 int total = ARRAY_SIZE(sizes); in check_file_memory_mapping() 104 map_size = sizes[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping() 111 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_file_memory_mapping() [all …]
|
H A D | check_buffer_fill.c | 16 static int sizes[] = { variable 35 item = ARRAY_SIZE(sizes); 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 = ARRAY_SIZE(sizes); 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_child_memory.c | 24 static int sizes[] = { variable 88 int item = ARRAY_SIZE(sizes); in check_child_memory_mapping() 90 item = ARRAY_SIZE(sizes); 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 = ARRAY_SIZE(sizes); 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 …]
|
/openbmc/linux/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 82 pr_err("alloc sizes: "); in pr_err_size_seq() 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 [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fbdev.c | 60 struct drm_fb_helper_surface_size *sizes, in exynos_drm_fbdev_update() argument 77 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update() 91 struct drm_fb_helper_surface_size *sizes) in exynos_drm_fbdev_create() argument 101 sizes->surface_width, sizes->surface_height, in exynos_drm_fbdev_create() 102 sizes->surface_bpp); in exynos_drm_fbdev_create() 104 mode_cmd.width = sizes->surface_width; in exynos_drm_fbdev_create() 105 mode_cmd.height = sizes->surface_height; in exynos_drm_fbdev_create() 106 mode_cmd.pitches[0] = sizes->surface_width * (sizes->surface_bpp >> 3); in exynos_drm_fbdev_create() 107 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in exynos_drm_fbdev_create() 108 sizes->surface_depth); in exynos_drm_fbdev_create() [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | virtual-memory.json | 20 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 23 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 31 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 39 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 47 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 77 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 80 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 88 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 96 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 104 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_fbdev.c | 69 struct drm_fb_helper_surface_size *sizes) in msm_fbdev_create() argument 80 format = drm_mode_legacy_fb_format(sizes->surface_bpp, sizes->surface_depth); in msm_fbdev_create() 82 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in msm_fbdev_create() 83 sizes->surface_height, sizes->surface_bpp, in msm_fbdev_create() 84 sizes->fb_width, sizes->fb_height); in msm_fbdev_create() 86 pitch = align_pitch(sizes->surface_width, sizes->surface_bpp); in msm_fbdev_create() 87 fb = msm_alloc_stolen_fb(dev, sizes->surface_width, in msm_fbdev_create() 88 sizes->surface_height, pitch, format); in msm_fbdev_create() 121 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 049 | 58 sizes="1024 1024b 1k 1K 1M 1G 1T " 59 sizes+="1024.0 1024.0b 1.5k 1.5K 1.5M 1.5G 1.5T" 63 for s in $sizes; do 69 for s in $sizes; do 73 echo "== 3. Invalid sizes ==" 75 sizes="-1024 -1k 1kilobyte foobar" 77 for s in $sizes; do 89 sizes="1024 1024b 1k 1K 1M " 90 sizes+="1024.0 1024.0b 0.5k 0.5K 0.5M" 92 for s in $sizes; do
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | virtual-memory.json | 20 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 23 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 31 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 39 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 47 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 77 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 80 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 88 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 96 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 104 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/files/ |
H A D | 0004-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
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
H A D | virtual-memory.json | 3 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 6 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 11 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 14 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 19 …iefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)", 22 …"PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This im…
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | fbdev.c | 151 struct drm_fb_helper_surface_size *sizes) in psb_fbdev_fb_probe() argument 166 if (sizes->surface_bpp == 24) { in psb_fbdev_fb_probe() 167 sizes->surface_bpp = 32; in psb_fbdev_fb_probe() 168 sizes->surface_depth = 24; in psb_fbdev_fb_probe() 170 bpp = sizes->surface_bpp; in psb_fbdev_fb_probe() 171 depth = sizes->surface_depth; in psb_fbdev_fb_probe() 178 size = ALIGN(sizes->surface_width * DIV_ROUND_UP(bpp, 8), 64) * in psb_fbdev_fb_probe() 179 sizes->surface_height; in psb_fbdev_fb_probe() 183 sizes->surface_bpp = 16; in psb_fbdev_fb_probe() 184 sizes->surface_depth = 16; in psb_fbdev_fb_probe() [all …]
|
/openbmc/linux/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 access the enumeration of frame sizes 47 Therefore, to enumerate frame sizes allowed on the specified pad 54 A successful call will return with minimum and maximum frame sizes filled in. 59 Sub-devices that only support discrete frame sizes (such as most 60 sensors) will return one or more frame sizes with identical minimum and 63 Not all possible sizes in given [minimum, maximum] ranges need to be 70 Available frame sizes may depend on the current 'try' formats at other 111 - Frame sizes to be enumerated, from enum
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
H A D | virtual-memory.json | 20 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 23 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 31 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 39 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 69 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 72 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 80 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 88 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… 118 …iefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)", 121 …"PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This im… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelake/ |
H A D | virtual-memory.json | 20 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 23 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 31 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 39 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 69 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 72 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 80 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 88 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… 118 …iefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)", 121 …"PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This im… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | virtual-memory.json | 28 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 31 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 39 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 47 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 55 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 93 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 96 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 104 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 112 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 120 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | virtual-memory.json | 28 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 31 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 39 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 47 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 55 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 93 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 96 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 104 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 112 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 120 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/skylake/ |
H A D | virtual-memory.json | 28 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 31 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 39 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 47 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 55 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 93 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 96 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 104 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 112 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 120 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/openbmc/linux/arch/parisc/boot/compressed/ |
H A D | Makefile | 15 targets += $(OBJECTS) sizes.h 30 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0… 33 cmd_sizes = $(NM) $< | sed -n $(sed-sizes) > $@ 35 $(obj)/sizes.h: vmlinux FORCE 36 $(call if_changed,sizes) 39 $(obj)/head.o: $(obj)/sizes.h 42 $(obj)/misc.o: $(obj)/sizes.h 47 $(obj)/vmlinux.lds: $(obj)/sizes.h
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_log.c | 66 log->sizes[i].bytes = sections[i].default_val; in _guc_log_init_sizes() 69 if (log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes >= SZ_1M && in _guc_log_init_sizes() 71 log->sizes[GUC_LOG_SECTIONS_CRASH].bytes = SZ_1M; in _guc_log_init_sizes() 76 if ((log->sizes[i].bytes % SZ_1M) == 0) { in _guc_log_init_sizes() 77 log->sizes[i].units = SZ_1M; in _guc_log_init_sizes() 78 log->sizes[i].flag = sections[i].flag; in _guc_log_init_sizes() 80 log->sizes[i].units = SZ_4K; in _guc_log_init_sizes() 81 log->sizes[i].flag = 0; in _guc_log_init_sizes() 84 if (!IS_ALIGNED(log->sizes[i].bytes, log->sizes[i].units)) in _guc_log_init_sizes() 86 sections[i].name, log->sizes[i].bytes, log->sizes[i].units); in _guc_log_init_sizes() [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/alderlake/ |
H A D | virtual-memory.json | 31 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 34 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 43 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 52 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 61 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 104 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 107 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 116 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… 125 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data stores. Thi… 134 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data stores. This i… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/meteorlake/ |
H A D | virtual-memory.json | 3 …ue to a demand load that did not start a page walk. Accounts for all page sizes. Will result in a … 38 …iefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 41 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data loads. T… 50 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data loads. This im… 68 …"PublicDescription": "Counts completed page walks (2M/4M sizes) caused by demand data loads. This… 77 …"PublicDescription": "Counts completed page walks (4K sizes) caused by demand data loads. This im… 101 …hits due to stores that did not start a page walk. Accounts for all pages sizes. Will result in a … 136 …Description": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 139 …"PublicDescription": "Counts completed page walks (all page sizes) caused by demand data stores. … 148 …"PublicDescription": "Counts completed page walks (1G sizes) caused by demand data stores. This i… [all …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_fbdev.c | 129 struct drm_fb_helper_surface_size *sizes) in omap_fbdev_create() argument 142 sizes->surface_bpp = 32; in omap_fbdev_create() 143 sizes->surface_depth = 24; in omap_fbdev_create() 145 DBG("create fbdev: %dx%d@%d (%dx%d)", sizes->surface_width, in omap_fbdev_create() 146 sizes->surface_height, sizes->surface_bpp, in omap_fbdev_create() 147 sizes->fb_width, sizes->fb_height); in omap_fbdev_create() 149 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in omap_fbdev_create() 150 sizes->surface_depth); in omap_fbdev_create() 152 mode_cmd.width = sizes->surface_width; in omap_fbdev_create() 153 mode_cmd.height = sizes->surface_height; in omap_fbdev_create() [all …]
|