Home
last modified time | relevance | path

Searched refs:bounds (Results 1 – 25 of 125) sorted by relevance

12345

/linux-6.15/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead917d.c53 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 Dhead907d.c100 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
137 case 1: bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head907d_base()
142 bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head907d_base()
[all …]
H A Dhead507d.c71 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()
107 case 1: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head507d_base()
112 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head507d_base()
[all …]
/linux-6.15/lib/
H A DKconfig.ubsan39 def_bool $(cc-option,-fsanitize=bounds-strict)
41 The -fsanitize=bounds-strict option is only available on GCC,
44 -fsanitize=bounds.
47 def_bool $(cc-option,-fsanitize=array-bounds)
49 Under Clang, the -fsanitize=bounds option is actually composed
50 of two more specific options, -fsanitize=array-bounds and
51 -fsanitize=local-bounds. However, -fsanitize=local-bounds can
58 bool "Perform array index bounds checking"
71 GCC's bounds sanitizer. This option is used to select the
86 be known statically) is out-of-bounds. Since this option is
[all …]
/linux-6.15/
H A DKbuild8 # 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)
/linux-6.15/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-common.c163 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()
/linux-6.15/scripts/
H A DMakefile.ubsan5 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
/linux-6.15/lib/zstd/compress/
H A Dzstd_compress.c423 return bounds; in ZSTD_cParam_getBounds()
428 return bounds; in ZSTD_cParam_getBounds()
433 return bounds; in ZSTD_cParam_getBounds()
438 return bounds; in ZSTD_cParam_getBounds()
443 return bounds; in ZSTD_cParam_getBounds()
448 return bounds; in ZSTD_cParam_getBounds()
453 return bounds; in ZSTD_cParam_getBounds()
458 return bounds; in ZSTD_cParam_getBounds()
627 if (ZSTD_isError(bounds.error)) return bounds.error; in ZSTD_cParam_clampBounds()
628 if (*value < bounds.lowerBound) *value = bounds.lowerBound; in ZSTD_cParam_clampBounds()
[all …]
/linux-6.15/lib/zstd/decompress/
H A Dzstd_decompress.c1746 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local
1751 return bounds; in ZSTD_dParam_getBounds()
1756 return bounds; in ZSTD_dParam_getBounds()
1760 return bounds; in ZSTD_dParam_getBounds()
1764 return bounds; in ZSTD_dParam_getBounds()
1768 return bounds; in ZSTD_dParam_getBounds()
1770 bounds.lowerBound = 0; in ZSTD_dParam_getBounds()
1771 bounds.upperBound = 1; in ZSTD_dParam_getBounds()
1772 return bounds; in ZSTD_dParam_getBounds()
1776 return bounds; in ZSTD_dParam_getBounds()
[all …]
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dstate_test.c171 uint64_t bounds[2] = { 10, 0xffffffffull }; in guest_code() local
193 asm volatile (".byte 0x66,0x0f,0x1a,0x08" :: "a" (bounds)); in guest_code()
201 GUEST_ASSERT_EQ(bounds[0], output[0]); in guest_code()
202 GUEST_ASSERT_EQ(bounds[1], output[1]); in guest_code()
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dvidioc-enumaudio.rst39 bounds. To enumerate all audio inputs applications shall begin at index
53 The number of the audio input is out of bounds.
H A Dvidioc-enumaudioout.rst39 bounds. To enumerate all audio outputs applications shall begin at index
58 The number of the audio output is out of bounds.
H A Dv4l2-selection-targets.rst47 the crop bounds rectangle.
69 inside the compose bounds rectangle.
H A Dselection-api-configuration.rst58 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
H A Dvidioc-g-audioout.rst50 return the ``EINVAL`` error code when the index is out of bounds. This is a
98 number of the selected audio output is out of bounds or it does not
H A Dvidioc-enum-dv-timings.rst50 error code when the index is out of bounds. To enumerate all supported
102 ``index`` is out of bounds or the ``pad`` number is invalid.
H A Dvidioc-g-ctrl.rst46 ``value`` is out of bounds drivers can choose to take the closest valid
89 bounds.
/linux-6.15/kernel/configs/
H A Dhardening.config38 # Basic buffer length bounds checking.
42 # Basic array index bounds checking.
54 # Sampling-based heap out-of-bounds and use-after-free detection.
/linux-6.15/Documentation/staging/
H A Dspeculation.rst20 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
/linux-6.15/security/selinux/ss/
H A Dpolicydb.h77 u32 bounds; /* boundary of role */ member
113 u32 bounds; /* boundary of type */ member
121 u32 bounds; /* bounds of user */ member
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Deeprom.c462 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()
/linux-6.15/drivers/media/pci/bt8xx/
H A Dbttv-vbi.c191 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
192 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
321 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
322 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
/linux-6.15/arch/powerpc/configs/
H A Dsecurity.config15 # UBSAN bounds checking is very cheap and good for hardening
/linux-6.15/Documentation/dev-tools/
H A Dkfence.rst8 error detector. KFENCE detects heap out-of-bounds access, use-after-free, and
84 A typical out-of-bounds access looks like this::
87 BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xa6/0x234
89 Out-of-bounds read at 0xffff8c3f2e291fff (1B left of kfence-#72):
182 page, to detect out-of-bounds writes on the unprotected side of the object.
267 out-of-bounds access, and marking the page as accessible so that the faulting
270 To detect out-of-bounds writes to memory within the object's page itself,
/linux-6.15/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-cmdq.c25 struct v4l2_rect bounds[IMG_MAX_HW_OUTPUTS]; member
602 path->bounds[i].left = 0; in mdp_cmdq_prepare()
603 path->bounds[i].top = 0; in mdp_cmdq_prepare()
604 path->bounds[i].width = in mdp_cmdq_prepare()
606 path->bounds[i].height = in mdp_cmdq_prepare()
609 param->composes[i] : &path->bounds[i]; in mdp_cmdq_prepare()

12345