Home
last modified time | relevance | path

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

12345

/linux/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
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 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()
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 …]
/linux/rust/syn/
H A Dgenerics.rs65 pub bounds: Punctuated<Lifetime, Token![+]>,
76 pub bounds: Punctuated<TypeParamBound, Token![+]>,
382 bounds: Punctuated::new(), in new()
393 bounds: Punctuated::new(), in from()
498 pub bounds: Punctuated<Lifetime, Token![+]>,
512 pub bounds: Punctuated<TypeParamBound, Token![+]>,
576 bounds: Punctuated::new(), in parse()
645 bounds: { in parse()
646 let mut bounds = Punctuated::new(); in parse() localVariable
653 bounds.push_value(value); in parse()
[all …]
H A Dty.rs135 pub bounds: Punctuated<TypeParamBound, Token![+]>,
219 pub bounds: Punctuated<TypeParamBound, Token![+]>,
399 bounds: { in ambig_ty()
400 let mut bounds = Punctuated::new(); in ambig_ty() localVariable
401 bounds.push_value(TypeParamBound::Trait(TraitBound { in ambig_ty()
406 bounds.push_punct(plus); in ambig_ty()
407 bounds.push_value({ in ambig_ty()
417 bounds in ambig_ty()
453 bounds, in ambig_ty()
455 if bounds.len() > 1 || bounds.trailing_punct() { in ambig_ty()
[all …]
H A Dclassify.rs80 Type::ImplTrait(t) => match last_type_in_bounds(&t.bounds) { in trailing_unparameterized_path()
90 Type::TraitObject(t) => match last_type_in_bounds(&t.bounds) { in trailing_unparameterized_path()
119 bounds: &Punctuated<TypeParamBound, Token![+]>, in trailing_unparameterized_path()
121 match bounds.last().unwrap() { in trailing_unparameterized_path()
253 Type::ImplTrait(t) => match last_type_in_bounds(&t.bounds) { in expr_trailing_brace()
264 Type::TraitObject(t) => match last_type_in_bounds(&t.bounds) { in expr_trailing_brace()
292 bounds: &Punctuated<TypeParamBound, Token![+]>, in expr_trailing_brace()
294 match bounds.last().unwrap() { in expr_trailing_brace()
H A Dpath.rs241 pub bounds: Punctuated<TypeParamBound, Token![+]>,
376 bounds: { in parse()
377 let mut bounds = Punctuated::new(); in parse() localVariable
382 bounds.push_value({ in parse()
395 bounds.push_punct(punct); in parse()
397 bounds in parse()
875 self.bounds.to_tokens(tokens); in to_tokens()
H A Ditem.rs276 pub bounds: Punctuated<TypeParamBound, Token![+]>,
674 pub bounds: Punctuated<TypeParamBound, Token![+]>,
1132 bounds: Punctuated<TypeParamBound, Token![+]>, field
1165 let (colon_token, bounds) = Self::parse_optional_bounds(input)?; in parse()
1194 bounds, in parse()
1205 let mut bounds = Punctuated::new(); in parse_optional_bounds() localVariable
1211 bounds.push_value({ in parse_optional_bounds()
1219 bounds.push_punct(input.parse::<Token![+]>()?); in parse_optional_bounds()
1223 Ok((colon_token, bounds)) in parse_optional_bounds()
1997 bounds: _, in parse_foreign_item_type()
[all …]
/linux/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
53 CONFIG_LOCAL_BOUNDS.) Explicitly check for -fsanitize=array-bounds
58 bool "Perform array index bounds checking"
62 This option enables detection of directly indexed out of bounds
[all …]
/linux/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/lib/zstd/compress/
H A Dzstd_compress.c416 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_cParam_getBounds() local
421 bounds.lowerBound = ZSTD_minCLevel(); in ZSTD_cParam_getBounds()
422 bounds.upperBound = ZSTD_maxCLevel(); in ZSTD_cParam_getBounds()
423 return bounds; in ZSTD_cParam_getBounds()
426 bounds.lowerBound = ZSTD_WINDOWLOG_MIN; in ZSTD_cParam_getBounds()
427 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_cParam_getBounds()
428 return bounds; in ZSTD_cParam_getBounds()
431 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds()
432 bounds.upperBound = ZSTD_HASHLOG_MAX; in ZSTD_cParam_getBounds()
433 return bounds; in ZSTD_cParam_getBounds()
[all …]
/linux/scripts/
H A DMakefile.ubsan8 ubsan-cflags-$(CONFIG_UBSAN_BOUNDS_STRICT) += -fsanitize=bounds-strict
9 ubsan-cflags-$(CONFIG_UBSAN_ARRAY_BOUNDS) += -fsanitize=array-bounds
10 ubsan-cflags-$(CONFIG_UBSAN_LOCAL_BOUNDS) += -fsanitize=local-bounds
/linux/lib/zstd/decompress/
H A Dzstd_decompress.c1729 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); in ZSTD_DCtx_setMaxWindowSize() local
1730 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize()
1731 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize()
1746 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local
1749 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds()
1750 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds()
1751 return bounds; in ZSTD_dParam_getBounds()
1753 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds()
1754 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds()
1756 return bounds; in ZSTD_dParam_getBounds()
[all …]
/linux/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/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
69 The kernel provides a generic API to ensure that bounds checks are
/linux/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/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.rst48 the crop bounds rectangle.
70 inside the compose bounds rectangle.
H A Dselection-api-configuration.rst59 bounds rectangle. The composing rectangle must lie completely inside
60 bounds rectangle. The driver must adjust the composing rectangle to fit
99 same coordinate system as the bounds rectangle. The active cropping area
111 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
/linux/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/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/rust/syn/gen/
H A Dclone.rs179 bounds: self.bounds.clone(), in clone()
1292 bounds: self.bounds.clone(), in clone()
1359 bounds: self.bounds.clone(), in clone()
1712 bounds: self.bounds.clone(), in clone()
1724 bounds: self.bounds.clone(), in clone()
1913 bounds: self.bounds.clone(), in clone()
1986 bounds: self.bounds.clone(), in clone()
2025 bounds: self.bounds.clone(), in clone()
2112 bounds: self.bounds.clone(), in clone()
/linux/arch/powerpc/configs/
H A Dsecurity.config15 # UBSAN bounds checking is very cheap and good for hardening

12345