Searched refs:bounds (Results 1 - 25 of 40) sorted by relevance

12

/linux-master/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
H A DMakefile.extrawarn29 KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds
60 # warnings for bounds checks involving those possible values. While
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead917d.c53 u32 bounds = 0; local
58 case 8: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break;
59 case 4: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break;
60 case 2: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break;
61 case 1: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break;
66 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE);
67 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, BASE_LUT, USAGE_1025);
73 PUSH_MTHD(push, NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds);
H A Dhead907d.c100 u32 bounds = 0; local
105 case 8: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break;
106 case 4: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break;
107 case 2: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break;
112 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, USABLE, TRUE);
114 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16);
120 PUSH_MTHD(push, NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS(i), bounds);
129 u32 bounds = 0; local
134 case 8: bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break;
135 case 4: bounds |
[all...]
H A Dhead507d.c71 u32 bounds = 0; local
76 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break;
77 case 2: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break;
82 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE);
84 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16);
90 PUSH_MTHD(push, NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds);
99 u32 bounds = 0; local
104 case 8: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break;
105 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break;
106 case 2: bounds |
[all...]
/linux-master/include/linux/
H A Dlockref.h19 #include <generated/bounds.h>
H A Dpage-flags-layout.h6 #include <generated/bounds.h>
H A Dfortify-string.h112 * unsafe_memcpy - memcpy implementation with no FORTIFY bounds checking
121 * very rarely, and includes a place for justification detailing where bounds
141 #define __compiletime_lessthan(bounds, length) ( \
142 __builtin_constant_p((bounds) < (length)) && \
143 (bounds) < (length) \
451 * can perform compile-time bounds checking where
466 * so run-time bounds checking can be done where buffer sizes are
522 * y = perform deterministic compile-time bounds checking
523 * n = cannot perform deterministic compile-time bounds checking
524 * n/a = no run-time bounds checkin
[all...]
/linux-master/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-common.c163 const struct v4l2_rect *bounds)
166 v4l2_rect_map_inside(crop, bounds);
170 const struct v4l2_mbus_framefmt *bounds)
175 .width = bounds->width,
176 .height = bounds->height,
162 rkisp1_sd_adjust_crop_rect(struct v4l2_rect *crop, const struct v4l2_rect *bounds) argument
169 rkisp1_sd_adjust_crop(struct v4l2_rect *crop, const struct v4l2_mbus_framefmt *bounds) argument
H A Drkisp1-common.h562 * @bounds: rectangle used as bounds.
565 const struct v4l2_rect *bounds);
571 * @bounds: media bus format used as bounds.
574 const struct v4l2_mbus_framefmt *bounds);
/linux-master/lib/zstd/compress/
H A Dzstd_compress.c378 ZSTD_bounds bounds = { 0, 0, 0 }; local
383 bounds.lowerBound = ZSTD_minCLevel();
384 bounds.upperBound = ZSTD_maxCLevel();
385 return bounds;
388 bounds.lowerBound = ZSTD_WINDOWLOG_MIN;
389 bounds.upperBound = ZSTD_WINDOWLOG_MAX;
390 return bounds;
393 bounds.lowerBound = ZSTD_HASHLOG_MIN;
394 bounds.upperBound = ZSTD_HASHLOG_MAX;
395 return bounds;
563 ZSTD_bounds const bounds = ZSTD_cParam_getBounds(cParam); local
[all...]
H A Dzstd_compress_internal.h489 * @return 1 if value is within cParam bounds,
493 ZSTD_bounds const bounds = ZSTD_cParam_getBounds(cParam); local
494 if (ZSTD_isError(bounds.error)) return 0;
495 if (value < bounds.lowerBound) return 0;
496 if (value > bounds.upperBound) return 0;
1385 * NOTE: seqs are not verified! Invalid sequences can cause out-of-bounds memory
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dstate_test.c177 uint64_t bounds[2] = { 10, 0xffffffffull }; local
199 asm volatile (".byte 0x66,0x0f,0x1a,0x08" :: "a" (bounds));
207 GUEST_ASSERT_EQ(bounds[0], output[0]);
208 GUEST_ASSERT_EQ(bounds[1], output[1]);
/linux-master/security/selinux/ss/
H A Dpolicydb.h77 u32 bounds; /* boundary of role */ member in struct:role_datum
113 u32 bounds; /* boundary of type */ member in struct:type_datum
121 u32 bounds; /* bounds of user */ member in struct:user_datum
H A Dpolicydb.c581 role->bounds > p->p_roles.nprim)
599 typdatum->bounds > p->p_types.nprim)
616 usrdatum->bounds > p->p_users.nprim)
1427 role->bounds = le32_to_cpu(buf[2]);
1491 typdatum->bounds = le32_to_cpu(buf[3]);
1558 usrdatum->bounds = le32_to_cpu(buf[2]);
1681 while (upper->bounds) {
1692 upper = p->user_val_to_struct[upper->bounds - 1];
1699 "user=%s role=%s bounds=%s\n",
1718 while (upper->bounds) {
[all...]
/linux-master/lib/zstd/decompress/
H A Dzstd_decompress.c1633 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(ZSTD_d_windowLogMax); local
1634 size_t const min = (size_t)1 << bounds.lowerBound;
1635 size_t const max = (size_t)1 << bounds.upperBound;
1650 ZSTD_bounds bounds = { 0, 0, 0 }; local
1653 bounds.lowerBound = ZSTD_WINDOWLOG_ABSOLUTEMIN;
1654 bounds.upperBound = ZSTD_WINDOWLOG_MAX;
1655 return bounds;
1657 bounds.lowerBound = (int)ZSTD_f_zstd1;
1658 bounds.upperBound = (int)ZSTD_f_zstd1_magicless;
1660 return bounds;
1684 ZSTD_bounds const bounds = ZSTD_dParam_getBounds(dParam); local
[all...]
/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-vbi.c193 max_end = (tvnorm->cropcap.bounds.top
194 + tvnorm->cropcap.bounds.height) >> 1;
323 max_end = (tvnorm->cropcap.bounds.top
324 + tvnorm->cropcap.bounds.height) >> 1;
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Deeprom.c462 u8 bounds; local
476 bounds = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G);
479 bounds = mt76x02_eeprom_get(dev,
485 t->lower_bound = 0 - (bounds & 0xf);
486 t->upper_bound = (bounds >> 4) & 0xf;
/linux-master/fs/hpfs/
H A Dhpfs.h212 __le32 bounds; /* matches corresponding word member in struct:code_page_directory::__anon725
230 __le32 bounds[3]; /* looks a bit like member in struct:code_page_data
/linux-master/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-cmdq.c25 struct v4l2_rect bounds[IMG_MAX_HW_OUTPUTS]; member in struct:mdp_path
651 path->bounds[i].left = 0;
652 path->bounds[i].top = 0;
653 path->bounds[i].width =
655 path->bounds[i].height =
658 param->composes[i] : &path->bounds[i];
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_trace.h702 TP_PROTO(uint32_t drm_id, int mixer, struct drm_rect *bounds),
703 TP_ARGS(drm_id, mixer, bounds),
707 __field_struct( struct drm_rect, bounds )
712 __entry->bounds = *bounds;
714 TP_printk("id:%u mixer:%d bounds:" DRM_RECT_FMT, __entry->drm_id,
715 __entry->mixer, DRM_RECT_ARG(&__entry->bounds))
/linux-master/drivers/staging/media/starfive/camss/
H A Dstf-isp.c193 const struct v4l2_rect bounds = { local
201 v4l2_rect_map_inside(crop, &bounds);
/linux-master/arch/alpha/kernel/
H A Dtime.c284 /* Validate a computed cycle counter result against the known bounds for
293 static struct bounds {
324 /* If index out of bounds, no way to validate. */
288 static struct bounds { struct
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c446 *left = cap->bounds.left;
457 *left = cap->bounds.left;
458 if (cap->bounds.width > cptr->hdw->cropw_val) {
459 *left += cap->bounds.width - cptr->hdw->cropw_val;
471 *top = cap->bounds.top;
482 *top = cap->bounds.top;
483 if (cap->bounds.height > cptr->hdw->croph_val) {
484 *top += cap->bounds.height - cptr->hdw->croph_val;
498 bleftend = cap->bounds.left+cap->bounds
[all...]
/linux-master/arch/s390/
H A DMakefile41 KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_CC_NO_ARRAY_BOUNDS),-Wno-array-bounds)

Completed in 253 milliseconds

12