Searched refs:bounds (Results 1 - 25 of 40) sorted by last modified time

12

/linux-master/rust/
H A DMakefile293 -fno-inline-functions-called-once -fsanitize=bounds-strict \
/linux-master/include/linux/
H A Dpage-flags.h14 #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/scripts/
H A DMakefile.extrawarn29 KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds
60 # warnings for bounds checks involving those possible values. While
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-master/arch/s390/
H A DMakefile41 KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_CC_NO_ARRAY_BOUNDS),-Wno-array-bounds)
/linux-master/include/uapi/linux/
H A Dvideodev2.h1306 struct v4l2_rect bounds; member in struct:v4l2_cropcap
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c583 pr_cont("type=%s, bounds wxh=%dx%d, x,y=%d,%d, defrect wxh=%dx%d, x,y=%d,%d, pixelaspect %d/%d\n",
585 p->bounds.width, p->bounds.height,
586 p->bounds.left, p->bounds.top,
2522 /* Use g_selection() to fill in the bounds and defrect rectangles */
2524 /* obtaining bounds */
2537 p->bounds = s.r;
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c740 sel->r = cap.bounds;
/linux-master/drivers/media/platform/st/stm32/
H A Dstm32-dcmi.c1168 struct v4l2_subdev_selection bounds = { local
1178 * Get sensor bounds first
1181 NULL, &bounds);
1183 *r = bounds.r;
1779 dev_err(dcmi->dev, "Could not get sensor bounds\n");
/linux-master/drivers/media/platform/rockchip/rkisp1/
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/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/panel/
H A Dpanel-simple.c506 #define PANEL_SIMPLE_BOUNDS_CHECK(to_check, bounds, field) \
507 (to_check->field.typ >= bounds->field.min && \
508 to_check->field.typ <= bounds->field.max)
H A Dpanel-edp.c717 #define PANEL_EDP_BOUNDS_CHECK(to_check, bounds, field) \
718 (to_check->field.typ >= bounds->field.min && \
719 to_check->field.typ <= bounds->field.max)
/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/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...]
H A Dservices.c28 * Added support for bounds domain and audit messaged on masked permissions
441 * security_compute_av due to RBAC, MLS/Constraint and Type bounds.
548 if (!source->bounds)
557 lo_scontext.type = source->bounds;
559 if (target->bounds) {
561 lo_tcontext.type = target->bounds;
581 tclass, masked, "bounds");
898 if (!type->bounds)
903 if (type->bounds == old_entry->context.type)
906 index = type->bounds;
[all...]
/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/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/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;
H A Dbttv-driver.c252 extraheight Added to sheight for cropcap.bounds.height only
257 .cropcap.bounds.left = minhdelayx1, \
260 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
262 .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \
263 .cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) - \
294 The last line is determined by cropcap.bounds. */
714 btv->crop_start = tvnorm->cropcap.bounds.top
715 + tvnorm->cropcap.bounds.height;
1117 btv->crop_start = tvnorm->cropcap.bounds.top
1118 + tvnorm->cropcap.bounds
[all...]
H A Dbttv-risc.c315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY;
544 if (btv->vbi_fmt.end >= tvnorm->cropcap.bounds.top)
545 min_vdelay += btv->vbi_fmt.end - tvnorm->cropcap.bounds.top;
/linux-master/samples/bpf/
H A DMakefile177 $(CC) -Werror -fsanitize=bounds -x c - -o "$$TMP",-fsanitize=bounds,)
/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]);

Completed in 643 milliseconds

12