/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | head917d.c | 53 u32 bounds = 0; in head917d_base() local 58 case 8: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head917d_base() 59 case 4: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head917d_base() 60 case 2: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head917d_base() 61 case 1: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head917d_base() 66 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head917d_base() 67 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, BASE_LUT, USAGE_1025); in head917d_base() 73 PUSH_MTHD(push, NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head917d_base()
|
H A D | head907d.c | 100 u32 bounds = 0; in head907d_ovly() local 105 case 8: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head907d_ovly() 106 case 4: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head907d_ovly() 107 case 2: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head907d_ovly() 112 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, USABLE, TRUE); in head907d_ovly() 114 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); in head907d_ovly() 120 PUSH_MTHD(push, NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS(i), bounds); in head907d_ovly() 129 u32 bounds = 0; in head907d_base() local 134 case 8: bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head907d_base() 135 case 4: bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head907d_base() [all …]
|
H A D | head507d.c | 71 u32 bounds = 0; in head507d_ovly() local 76 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head507d_ovly() 77 case 2: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head507d_ovly() 82 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head507d_ovly() 84 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); in head507d_ovly() 90 PUSH_MTHD(push, NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head507d_ovly() 99 u32 bounds = 0; in head507d_base() local 104 case 8: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head507d_base() 105 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head507d_base() 106 case 2: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head507d_base() [all …]
|
/openbmc/linux/lib/ |
H A D | Kconfig.ubsan | 38 def_bool $(cc-option,-fsanitize=bounds-strict) 40 The -fsanitize=bounds-strict option is only available on GCC, 43 -fsanitize=bounds. 46 def_bool $(cc-option,-fsanitize=array-bounds) 48 Under Clang, the -fsanitize=bounds option is actually composed 49 of two more specific options, -fsanitize=array-bounds and 50 -fsanitize=local-bounds. However, -fsanitize=local-bounds can 52 CONFIG_LOCAL_BOUNDS.) Explicitly check for -fsanitize=array-bounds 57 bool "Perform array index bounds checking" 61 This option enables detection of directly indexed out of bounds [all …]
|
/openbmc/linux/ |
H A D | Kbuild | 8 # Generate bounds.h 10 bounds-file := include/generated/bounds.h 12 targets := kernel/bounds.s 14 $(bounds-file): kernel/bounds.s FORCE 32 arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file)
|
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-common.c | 163 const struct v4l2_rect *bounds) in rkisp1_sd_adjust_crop_rect() argument 166 v4l2_rect_map_inside(crop, bounds); in rkisp1_sd_adjust_crop_rect() 170 const struct v4l2_mbus_framefmt *bounds) in rkisp1_sd_adjust_crop() argument 175 .width = bounds->width, in rkisp1_sd_adjust_crop() 176 .height = bounds->height, in rkisp1_sd_adjust_crop()
|
/openbmc/linux/scripts/ |
H A D | Makefile.ubsan | 5 ubsan-cflags-$(CONFIG_UBSAN_BOUNDS_STRICT) += -fsanitize=bounds-strict 6 ubsan-cflags-$(CONFIG_UBSAN_ARRAY_BOUNDS) += -fsanitize=array-bounds 7 ubsan-cflags-$(CONFIG_UBSAN_LOCAL_BOUNDS) += -fsanitize=local-bounds
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress.c | 378 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_cParam_getBounds() local 383 bounds.lowerBound = ZSTD_minCLevel(); in ZSTD_cParam_getBounds() 384 bounds.upperBound = ZSTD_maxCLevel(); in ZSTD_cParam_getBounds() 385 return bounds; in ZSTD_cParam_getBounds() 388 bounds.lowerBound = ZSTD_WINDOWLOG_MIN; in ZSTD_cParam_getBounds() 389 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_cParam_getBounds() 390 return bounds; in ZSTD_cParam_getBounds() 393 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds() 394 bounds.upperBound = ZSTD_HASHLOG_MAX; in ZSTD_cParam_getBounds() 395 return bounds; in ZSTD_cParam_getBounds() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/libubox/libubox/ |
H A D | 0001-blobmsg-fix-array-out-of-bounds-GCC-10-warning.patch | 4 Subject: [PATCH] blobmsg: fix array out of bounds GCC 10 warning 11 …r' is out of the bounds of referenced subobject 'name' with type 'uint8_t[0]' {aka 'unsigned char[…
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | state_test.c | 177 uint64_t bounds[2] = { 10, 0xffffffffull }; in guest_code() local 199 asm volatile (".byte 0x66,0x0f,0x1a,0x08" :: "a" (bounds)); in guest_code() 207 GUEST_ASSERT_EQ(bounds[0], output[0]); in guest_code() 208 GUEST_ASSERT_EQ(bounds[1], output[1]); in guest_code()
|
/openbmc/linux/lib/zstd/decompress/ |
H A D | zstd_decompress.c | 1633 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); in ZSTD_DCtx_setMaxWindowSize() local 1634 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize() 1635 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize() 1650 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local 1653 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds() 1654 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds() 1655 return bounds; in ZSTD_dParam_getBounds() 1657 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds() 1658 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds() 1660 return bounds; in ZSTD_dParam_getBounds() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/ |
H A D | 0002-configure-Disable-selected-warnings.patch | 25 +AX_CHECK_COMPILE_FLAG([-Warray-bounds],[NOWARNINGS+=' -Wno-error=array-bounds'])
|
/openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/ |
H A D | debian-no-Werror.patch | 25 …er -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds 26 …er -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds
|
/openbmc/qemu/tests/tcg/m68k/ |
H A D | trap.c | 56 int bounds[2] = { 0, 1 }; in main() 58 : : "m"(bounds), "d"(2), FMT_INS); in main()
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-enumaudio.rst | 39 bounds. To enumerate all audio inputs applications shall begin at index 53 The number of the audio input is out of bounds.
|
H A D | vidioc-enumaudioout.rst | 39 bounds. To enumerate all audio outputs applications shall begin at index 58 The number of the audio output is out of bounds.
|
H A D | v4l2-selection-targets.rst | 47 the crop bounds rectangle. 69 inside the compose bounds rectangle.
|
H A D | selection-api-configuration.rst | 58 bounds rectangle. The composing rectangle must lie completely inside 59 bounds rectangle. The driver must adjust the composing rectangle to fit 98 same coordinate system as the bounds rectangle. The active cropping area 110 composing rectangle must lie completely inside the bounds rectangle. The
|
/openbmc/linux/Documentation/staging/ |
H A D | speculation.rst | 20 For example, in the presence of branch prediction, it is possible for bounds 62 of an out-of-bounds address, while the second call will influence 70 The kernel provides a generic API to ensure that bounds checks are
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-cmdq.c | 24 struct v4l2_rect bounds[IMG_MAX_HW_OUTPUTS]; member 454 path->bounds[i].left = 0; in mdp_cmdq_send() 455 path->bounds[i].top = 0; in mdp_cmdq_send() 456 path->bounds[i].width = in mdp_cmdq_send() 458 path->bounds[i].height = in mdp_cmdq_send() 461 param->composes[i] : &path->bounds[i]; in mdp_cmdq_send()
|
/openbmc/linux/security/selinux/ss/ |
H A D | policydb.h | 79 u32 bounds; /* boundary of role */ member 115 u32 bounds; /* boundary of type */ member 123 u32 bounds; /* bounds of user */ member
|
/openbmc/phosphor-health-monitor/ |
H A D | health_metric.cpp | 119 bound_map_t bounds; in initProperties() local 120 bounds.emplace(bound, std::numeric_limits<double>::quiet_NaN()); in initProperties() 121 thresholds.emplace(type, bounds); in initProperties()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | eeprom.c | 462 u8 bounds; in mt76x2_get_temp_comp() local 476 bounds = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_get_temp_comp() 479 bounds = mt76x02_eeprom_get(dev, in mt76x2_get_temp_comp() 485 t->lower_bound = 0 - (bounds & 0xf); in mt76x2_get_temp_comp() 486 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-vbi.c | 193 max_end = (tvnorm->cropcap.bounds.top in try_fmt() 194 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt() 323 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap() 324 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
|
/openbmc/openbmc-test-automation/systest/collection/ |
H A D | bmc_collect_sensors.robot | 85 Log Sensors detected out of bounds via Rest:${\n}${sensors_flagged_rest} console=true 86 Log Sensors detected out of bounds via Redfish:${\n}${sensors_flagged_redfish} console=true
|