Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/
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()
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 …]
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-6.1.9/lib/
DKconfig.ubsan31 def_bool $(cc-option,-fsanitize=bounds)
34 def_bool $(cc-option,-fsanitize=array-bounds)
37 bool "Perform array index bounds checking"
41 This option enables detection of directly indexed out of bounds
51 This is a weird case: Clang's -fsanitize=bounds includes
52 -fsanitize=local-bounds, but it's trapping-only, so for
53 Clang, we must use -fsanitize=array-bounds when we want
54 traditional array bounds checking enabled. For GCC, we
55 want -fsanitize=bounds.
62 bool "Perform array local bounds checking"
[all …]
/linux-6.1.9/
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.1.9/lib/zstd/compress/
Dzstd_compress.c306 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_cParam_getBounds() local
311 bounds.lowerBound = ZSTD_minCLevel(); in ZSTD_cParam_getBounds()
312 bounds.upperBound = ZSTD_maxCLevel(); in ZSTD_cParam_getBounds()
313 return bounds; in ZSTD_cParam_getBounds()
316 bounds.lowerBound = ZSTD_WINDOWLOG_MIN; in ZSTD_cParam_getBounds()
317 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_cParam_getBounds()
318 return bounds; in ZSTD_cParam_getBounds()
321 bounds.lowerBound = ZSTD_HASHLOG_MIN; in ZSTD_cParam_getBounds()
322 bounds.upperBound = ZSTD_HASHLOG_MAX; in ZSTD_cParam_getBounds()
323 return bounds; in ZSTD_cParam_getBounds()
[all …]
/linux-6.1.9/scripts/
DMakefile.ubsan5 ubsan-cflags-$(CONFIG_UBSAN_ONLY_BOUNDS) += -fsanitize=bounds
6 ubsan-cflags-$(CONFIG_UBSAN_ARRAY_BOUNDS) += -fsanitize=array-bounds
7 ubsan-cflags-$(CONFIG_UBSAN_LOCAL_BOUNDS) += -fsanitize=local-bounds
/linux-6.1.9/drivers/media/platform/rockchip/rkisp1/
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.1.9/lib/zstd/decompress/
Dzstd_decompress.c1568 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); in ZSTD_DCtx_setMaxWindowSize() local
1569 size_t const min = (size_t)1 << bounds.lowerBound; in ZSTD_DCtx_setMaxWindowSize()
1570 size_t const max = (size_t)1 << bounds.upperBound; in ZSTD_DCtx_setMaxWindowSize()
1585 ZSTD_bounds bounds = { 0, 0, 0 }; in ZSTD_dParam_getBounds() local
1588 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_dParam_getBounds()
1589 bounds.upperBound = ZSTD_WINDOWLOG_MAX; in ZSTD_dParam_getBounds()
1590 return bounds; in ZSTD_dParam_getBounds()
1592 bounds.lowerBound = (int)ZSTD_f_zstd1; in ZSTD_dParam_getBounds()
1593 bounds.upperBound = (int)ZSTD_f_zstd1_magicless; in ZSTD_dParam_getBounds()
1595 return bounds; in ZSTD_dParam_getBounds()
[all …]
/linux-6.1.9/drivers/media/pci/bt8xx/
Dbttv-vbi.c180 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
181 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
247 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
248 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
383 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
384 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-cmdq.c23 struct v4l2_rect bounds[IMG_MAX_HW_OUTPUTS]; member
400 path->bounds[i].left = 0; in mdp_cmdq_send()
401 path->bounds[i].top = 0; in mdp_cmdq_send()
402 path->bounds[i].width = in mdp_cmdq_send()
404 path->bounds[i].height = in mdp_cmdq_send()
407 param->composes[i] : &path->bounds[i]; in mdp_cmdq_send()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
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.
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.
Dv4l2-selection-targets.rst47 the crop bounds rectangle.
69 inside the compose bounds rectangle.
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
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
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.
/linux-6.1.9/security/selinux/ss/
Dpolicydb.h79 u32 bounds; /* boundary of role */ member
115 u32 bounds; /* boundary of type */ member
123 u32 bounds; /* bounds of user */ member
/linux-6.1.9/Documentation/staging/
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.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/
Deeprom.c465 u8 bounds; in mt76x2_get_temp_comp() local
479 bounds = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_get_temp_comp()
482 bounds = mt76x02_eeprom_get(dev, in mt76x2_get_temp_comp()
488 t->lower_bound = 0 - (bounds & 0xf); in mt76x2_get_temp_comp()
489 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
/linux-6.1.9/drivers/net/can/usb/kvaser_usb/
DMakefile7 CFLAGS_kvaser_usb_hydra.o += -Wno-array-bounds
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
DMakefile9 CFLAGS_cmd.o += -Wno-array-bounds
/linux-6.1.9/arch/powerpc/configs/
Dsecurity.config13 # UBSAN bounds checking is very cheap and good for hardening
/linux-6.1.9/Documentation/dev-tools/
Dkfence.rst8 error detector. KFENCE detects heap out-of-bounds access, use-after-free, and
77 A typical out-of-bounds access looks like this::
80 BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xa6/0x234
82 Out-of-bounds read at 0xffff8c3f2e291fff (1B left of kfence-#72):
175 page, to detect out-of-bounds writes on the unprotected side of the object.
260 out-of-bounds access, and marking the page as accessible so that the faulting
263 To detect out-of-bounds writes to memory within the object's page itself,
/linux-6.1.9/Documentation/bpf/
Dverifier.rst48 are PTR_TO_CTX, PTR_TO_MAP, PTR_TO_STACK. They are bounds and alignment checked.
72 stack bounds, which are [-MAX_BPF_STACK, 0). In this example offset is 8,
73 so it will fail verification, since it's out of bounds.
86 and R10 - 4 is within stack bounds, there were no stores into that location.
176 from the signed and unsigned bounds can be combined; for instance if a value is
178 is also > 4 and s< 8, since the bounds prevent crossing the sign boundary.
185 bounds-checked and found to be less than a PTR_TO_PACKET_END, the register B is
265 instruction and rX is more than 16-bit value, any subsequent bounds-check of r3
357 Program that accesses stack out of bounds::

12345