Home
last modified time | relevance | path

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

/linux-4.4.14/Documentation/x86/
Dintel_mpx.txt36 2) That setup code allocates (virtual) space for the "bounds directory",
40 the bounds tables between the time when it populates "bndcfgu" and
47 succeed, and notes the location of the bounds directory. Userspace is
48 expected to keep the bounds directory at that locationWe note it
50 to access the bounds directory register is an expensive operation.
51 4) If the application needs to spill bounds out of the 4 registers, it
52 issues a bndstx instruction. Since the bounds directory is empty at
53 this point, a bounds fault (#BR) is raised, the kernel allocates a
54 bounds table (in the user address space) and makes the relevant entry
55 in the bounds directory point to the new table.
[all …]
/linux-4.4.14/
DKbuild4 # 1) Generate bounds.h
6 # 3) Generate asm-offsets.h (may need bounds.h and timeconst.h)
35 # 1) Generate bounds.h
37 bounds-file := include/generated/bounds.h
39 always := $(bounds-file)
40 targets := kernel/bounds.s
43 kernel/bounds.s: kernel/bounds.c FORCE
47 $(obj)/$(bounds-file): kernel/bounds.s FORCE
79 $(obj)/$(timeconst-file) $(obj)/$(bounds-file) FORCE
100 no-clean-files := $(bounds-file) $(offsets-file) $(timeconst-file)
/linux-4.4.14/drivers/media/platform/soc_camera/
Dsoc_scale_crop.c135 soc_camera_limit_side(&rect->left, &rect->width, cap.bounds.left, 2, in soc_camera_client_s_crop()
136 cap.bounds.width); in soc_camera_client_s_crop()
137 soc_camera_limit_side(&rect->top, &rect->height, cap.bounds.top, 4, in soc_camera_client_s_crop()
138 cap.bounds.height); in soc_camera_client_s_crop()
153 (cap.bounds.width > width || cap.bounds.height > height)) { in soc_camera_client_s_crop()
171 cam_rect->left = cap.bounds.left; in soc_camera_client_s_crop()
178 cam_rect->top = cap.bounds.top; in soc_camera_client_s_crop()
197 *cam_rect = cap.bounds; in soc_camera_client_s_crop()
252 if (max_width > cap.bounds.width) in client_set_fmt()
253 max_width = cap.bounds.width; in client_set_fmt()
[all …]
Dsoc_camera_platform.c98 a->bounds.left = 0; in soc_camera_platform_cropcap()
99 a->bounds.top = 0; in soc_camera_platform_cropcap()
100 a->bounds.width = p->format.width; in soc_camera_platform_cropcap()
101 a->bounds.height = p->format.height; in soc_camera_platform_cropcap()
102 a->defrect = a->bounds; in soc_camera_platform_cropcap()
/linux-4.4.14/drivers/media/i2c/
Dak881x.c132 a->bounds.left = 0; in ak881x_cropcap()
133 a->bounds.top = 0; in ak881x_cropcap()
134 a->bounds.width = 720; in ak881x_cropcap()
135 a->bounds.height = ak881x->lines; in ak881x_cropcap()
136 a->defrect = a->bounds; in ak881x_cropcap()
Dtvp5150.c929 a->bounds.left = 0; in tvp5150_cropcap()
930 a->bounds.top = 0; in tvp5150_cropcap()
931 a->bounds.width = TVP5150_H_MAX; in tvp5150_cropcap()
940 a->bounds.height = TVP5150_V_MAX_525_60; in tvp5150_cropcap()
942 a->bounds.height = TVP5150_V_MAX_OTHERS; in tvp5150_cropcap()
944 a->defrect = a->bounds; in tvp5150_cropcap()
/linux-4.4.14/lib/
DKconfig.kasan12 designed to find out-of-bounds accesses and use-after-free bugs.
14 of 4.9.2 or later. Detection of out of bounds accesses to stack or
50 out of bounds accesses, use after free. It is useful for testing
DKconfig.debug1587 within bounds.
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-vbi.c192 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
193 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
259 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
260 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
395 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
396 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
Dbttv-driver.c270 .cropcap.bounds.left = minhdelayx1, \
273 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
275 .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \
276 .cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) - \
758 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
759 + tvnorm->cropcap.bounds.height; in disclaim_video_lines()
1163 btv->crop_start = tvnorm->cropcap.bounds.top in set_tvnorm()
1164 + tvnorm->cropcap.bounds.height; in set_tvnorm()
2013 b = &bttv_tvnorms[btv->tvnorm].cropcap.bounds; in limit_scaled_size_lock()
2868 b = &bttv_tvnorms[btv->tvnorm].cropcap.bounds; in bttv_s_crop()
Dbttv-risc.c414 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
/linux-4.4.14/security/selinux/ss/
Dpolicydb.h82 u32 bounds; /* boundary of role */ member
115 u32 bounds; /* boundary of type */ member
123 u32 bounds; /* bounds of user */ member
Dpolicydb.c377 || role->bounds > p->p_roles.nprim) in role_index()
400 || typdatum->bounds > p->p_types.nprim) in type_index()
426 || usrdatum->bounds > p->p_users.nprim) in user_index()
1429 role->bounds = le32_to_cpu(buf[2]); in role_read()
1493 typdatum->bounds = le32_to_cpu(buf[3]); in type_read()
1561 usrdatum->bounds = le32_to_cpu(buf[2]); in user_read()
1684 while (upper->bounds) { in user_bounds_sanity_check()
1695 upper = p->user_val_to_struct[upper->bounds - 1]; in user_bounds_sanity_check()
1721 while (upper->bounds) { in role_bounds_sanity_check()
1732 upper = p->role_val_to_struct[upper->bounds - 1]; in role_bounds_sanity_check()
[all …]
Dservices.c560 if (source->bounds) { in type_attribute_bounds_av()
564 lo_scontext.type = source->bounds; in type_attribute_bounds_av()
576 if (target->bounds) { in type_attribute_bounds_av()
580 lo_tcontext.type = target->bounds; in type_attribute_bounds_av()
592 if (source->bounds && target->bounds) { in type_attribute_bounds_av()
894 if (!type->bounds) in security_bounded_transition()
899 if (type->bounds == old_context->type) in security_bounded_transition()
902 index = type->bounds; in security_bounded_transition()
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dimx074.c227 a->bounds.left = 0; in imx074_cropcap()
228 a->bounds.top = 0; in imx074_cropcap()
229 a->bounds.width = IMX074_WIDTH; in imx074_cropcap()
230 a->bounds.height = IMX074_HEIGHT; in imx074_cropcap()
231 a->defrect = a->bounds; in imx074_cropcap()
Dtw9910.c703 a->bounds.left = 0; in tw9910_cropcap()
704 a->bounds.top = 0; in tw9910_cropcap()
706 a->bounds.width = 640; in tw9910_cropcap()
707 a->bounds.height = 480; in tw9910_cropcap()
709 a->bounds.width = 768; in tw9910_cropcap()
710 a->bounds.height = 576; in tw9910_cropcap()
712 a->defrect = a->bounds; in tw9910_cropcap()
Dov5642.c897 a->bounds.left = 0; in ov5642_cropcap()
898 a->bounds.top = 0; in ov5642_cropcap()
899 a->bounds.width = OV5642_MAX_WIDTH; in ov5642_cropcap()
900 a->bounds.height = OV5642_MAX_HEIGHT; in ov5642_cropcap()
901 a->defrect = a->bounds; in ov5642_cropcap()
Dov9640.c577 a->bounds.left = 0; in ov9640_cropcap()
578 a->bounds.top = 0; in ov9640_cropcap()
579 a->bounds.width = W_SXGA; in ov9640_cropcap()
580 a->bounds.height = H_SXGA; in ov9640_cropcap()
581 a->defrect = a->bounds; in ov9640_cropcap()
Dmt9m001.c241 a->bounds.left = MT9M001_COLUMN_SKIP; in mt9m001_cropcap()
242 a->bounds.top = MT9M001_ROW_SKIP; in mt9m001_cropcap()
243 a->bounds.width = MT9M001_MAX_WIDTH; in mt9m001_cropcap()
244 a->bounds.height = MT9M001_MAX_HEIGHT; in mt9m001_cropcap()
245 a->defrect = a->bounds; in mt9m001_cropcap()
Dov9740.c742 a->bounds.left = 0; in ov9740_cropcap()
743 a->bounds.top = 0; in ov9740_cropcap()
744 a->bounds.width = OV9740_MAX_WIDTH; in ov9740_cropcap()
745 a->bounds.height = OV9740_MAX_HEIGHT; in ov9740_cropcap()
746 a->defrect = a->bounds; in ov9740_cropcap()
Dmt9t031.c328 a->bounds.left = MT9T031_COLUMN_SKIP; in mt9t031_cropcap()
329 a->bounds.top = MT9T031_ROW_SKIP; in mt9t031_cropcap()
330 a->bounds.width = MT9T031_MAX_WIDTH; in mt9t031_cropcap()
331 a->bounds.height = MT9T031_MAX_HEIGHT; in mt9t031_cropcap()
332 a->defrect = a->bounds; in mt9t031_cropcap()
Dov772x.c867 a->bounds.left = 0; in ov772x_cropcap()
868 a->bounds.top = 0; in ov772x_cropcap()
869 a->bounds.width = OV772X_MAX_WIDTH; in ov772x_cropcap()
870 a->bounds.height = OV772X_MAX_HEIGHT; in ov772x_cropcap()
871 a->defrect = a->bounds; in ov772x_cropcap()
Dmt9v022.c366 a->bounds.left = MT9V022_COLUMN_SKIP; in mt9v022_cropcap()
367 a->bounds.top = MT9V022_ROW_SKIP; in mt9v022_cropcap()
368 a->bounds.width = MT9V022_MAX_WIDTH; in mt9v022_cropcap()
369 a->bounds.height = MT9V022_MAX_HEIGHT; in mt9v022_cropcap()
370 a->defrect = a->bounds; in mt9v022_cropcap()
Dov2640.c944 a->bounds.left = 0; in ov2640_cropcap()
945 a->bounds.top = 0; in ov2640_cropcap()
946 a->bounds.width = UXGA_WIDTH; in ov2640_cropcap()
947 a->bounds.height = UXGA_HEIGHT; in ov2640_cropcap()
948 a->defrect = a->bounds; in ov2640_cropcap()
Dmt9m111.c439 a->bounds.left = MT9M111_MIN_DARK_COLS; in mt9m111_cropcap()
440 a->bounds.top = MT9M111_MIN_DARK_ROWS; in mt9m111_cropcap()
441 a->bounds.width = MT9M111_MAX_WIDTH; in mt9m111_cropcap()
442 a->bounds.height = MT9M111_MAX_HEIGHT; in mt9m111_cropcap()
443 a->defrect = a->bounds; in mt9m111_cropcap()
Drj54n1cb0c.c589 a->bounds.left = RJ54N1_COLUMN_SKIP; in rj54n1_cropcap()
590 a->bounds.top = RJ54N1_ROW_SKIP; in rj54n1_cropcap()
591 a->bounds.width = RJ54N1_MAX_WIDTH; in rj54n1_cropcap()
592 a->bounds.height = RJ54N1_MAX_HEIGHT; in rj54n1_cropcap()
593 a->defrect = a->bounds; in rj54n1_cropcap()
Dov6650.c491 a->bounds.left = DEF_HSTRT << 1; in ov6650_cropcap()
492 a->bounds.top = DEF_VSTRT << 1; in ov6650_cropcap()
493 a->bounds.width = W_CIF; in ov6650_cropcap()
494 a->bounds.height = H_CIF; in ov6650_cropcap()
495 a->defrect = a->bounds; in ov6650_cropcap()
Dmt9t112.c872 a->bounds.left = 0; in mt9t112_cropcap()
873 a->bounds.top = 0; in mt9t112_cropcap()
874 a->bounds.width = MAX_WIDTH; in mt9t112_cropcap()
875 a->bounds.height = MAX_HEIGHT; in mt9t112_cropcap()
/linux-4.4.14/arch/x86/include/asm/
Dtraps.h20 asmlinkage void bounds(void);
45 #define trace_bounds bounds
/linux-4.4.14/drivers/media/platform/davinci/
Dvpbe.c112 cropcap->bounds.left = 0; in vpbe_g_cropcap()
113 cropcap->bounds.top = 0; in vpbe_g_cropcap()
114 cropcap->bounds.width = vpbe_dev->current_timings.xres; in vpbe_g_cropcap()
115 cropcap->bounds.height = vpbe_dev->current_timings.yres; in vpbe_g_cropcap()
116 cropcap->defrect = cropcap->bounds; in vpbe_g_cropcap()
Dvpbe_display.c758 cropcap->bounds.left = 0; in vpbe_display_cropcap()
759 cropcap->bounds.top = 0; in vpbe_display_cropcap()
760 cropcap->bounds.width = vpbe_dev->current_timings.xres; in vpbe_display_cropcap()
761 cropcap->bounds.height = vpbe_dev->current_timings.yres; in vpbe_display_cropcap()
763 cropcap->defrect = cropcap->bounds; in vpbe_display_cropcap()
Dvpfe_capture.c1618 crop->bounds.width = crop->defrect.width = in vpfe_cropcap()
1620 crop->bounds.height = crop->defrect.height = in vpfe_cropcap()
/linux-4.4.14/Documentation/
Dkasan.txt8 a fast and comprehensive solution for finding use-after-free and out-of-bounds
13 required for detection of out-of-bounds accesses to stack or global variables.
45 A typical out of bounds access report looks like this:
48 BUG: AddressSanitizer: out of bounds access in kmalloc_oob_right+0x65/0x75 [test_kasan] at addr fff…
Ddontdiff94 bounds.h
/linux-4.4.14/drivers/media/platform/s5p-g2d/
Dg2d.c418 cr->bounds.left = 0; in vidioc_cropcap()
419 cr->bounds.top = 0; in vidioc_cropcap()
420 cr->bounds.width = f->width; in vidioc_cropcap()
421 cr->bounds.height = f->height; in vidioc_cropcap()
422 cr->defrect = cr->bounds; in vidioc_cropcap()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-m2m.c410 cr->bounds.left = 0; in fimc_m2m_cropcap()
411 cr->bounds.top = 0; in fimc_m2m_cropcap()
412 cr->bounds.width = frame->o_width; in fimc_m2m_cropcap()
413 cr->bounds.height = frame->o_height; in fimc_m2m_cropcap()
414 cr->defrect = cr->bounds; in fimc_m2m_cropcap()
/linux-4.4.14/fs/hpfs/
Dhpfs.h211 __le32 bounds; /* matches corresponding word member
229 __le32 bounds[3]; /* looks a bit like member
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c458 *left = cap->bounds.left; in ctrl_cropl_min_get()
469 *left = cap->bounds.left; in ctrl_cropl_max_get()
470 if (cap->bounds.width > cptr->hdw->cropw_val) { in ctrl_cropl_max_get()
471 *left += cap->bounds.width - cptr->hdw->cropw_val; in ctrl_cropl_max_get()
483 *top = cap->bounds.top; in ctrl_cropt_min_get()
494 *top = cap->bounds.top; in ctrl_cropt_max_get()
495 if (cap->bounds.height > cptr->hdw->croph_val) { in ctrl_cropt_max_get()
496 *top += cap->bounds.height - cptr->hdw->croph_val; in ctrl_cropt_max_get()
510 bleftend = cap->bounds.left+cap->bounds.width; in ctrl_cropw_max_get()
526 btopend = cap->bounds.top+cap->bounds.height; in ctrl_croph_max_get()
[all …]
/linux-4.4.14/drivers/media/usb/cpia2/
Dcpia2_v4l.c493 c->bounds.left = 0; in cpia2_cropcap()
494 c->bounds.top = 0; in cpia2_cropcap()
495 c->bounds.width = cam->width; in cpia2_cropcap()
496 c->bounds.height = cam->height; in cpia2_cropcap()
/linux-4.4.14/arch/alpha/kernel/
Dtime.c287 static struct bounds { in validate_cc_value() struct
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-net-queues69 to be within the bounds defined by limit_max and limit_min.
Dsysfs-class-power10 and once the counter drops out of considerable bounds, take
/linux-4.4.14/drivers/media/usb/au0828/
Dau0828-video.c1531 cc->bounds.left = 0; in vidioc_cropcap()
1532 cc->bounds.top = 0; in vidioc_cropcap()
1533 cc->bounds.width = dev->width; in vidioc_cropcap()
1534 cc->bounds.height = dev->height; in vidioc_cropcap()
1536 cc->defrect = cc->bounds; in vidioc_cropcap()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-video.c1451 cc->bounds.left = 0; in vidioc_cropcap()
1452 cc->bounds.top = 0; in vidioc_cropcap()
1453 cc->bounds.width = dev->width; in vidioc_cropcap()
1454 cc->bounds.height = dev->height; in vidioc_cropcap()
1455 cc->defrect = cc->bounds; in vidioc_cropcap()
/linux-4.4.14/fs/xfs/
DKconfig78 It converts ASSERT checks to WARN, so will log any out-of-bounds
/linux-4.4.14/Documentation/arm/
DPorting103 out of bounds memory accesses (eg, something writing off the end
/linux-4.4.14/arch/x86/entry/
Dentry_32.S569 ENTRY(bounds)
574 END(bounds)
Dentry_64.S831 idtentry bounds do_bounds has_error_code=0
/linux-4.4.14/arch/m68k/fpsp040/
Dscale.S55 movew ETEMP(%a6),%d0 |check src bounds
/linux-4.4.14/arch/m68k/ifpsp060/
Dilsp.doc120 pea _bounds # pass ptr to bounds
Diskeleton.S86 | and the operand was out of bounds, then _isp_unimp() creates
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-ioctl.c589 p->bounds.width, p->bounds.height, in v4l_print_cropcap()
590 p->bounds.left, p->bounds.top, in v4l_print_cropcap()
2140 p->bounds = s.r; in v4l_cropcap()
/linux-4.4.14/arch/x86/kernel/
Dtraps.c840 set_intr_gate(X86_TRAP_BR, bounds); in trap_init()
/linux-4.4.14/Documentation/networking/
Dfilter.txt1043 are PTR_TO_CTX, PTR_TO_MAP, FRAME_PTR. They are bounds and alignment checked.
1063 stack bounds, which are [-MAX_BPF_STACK, 0). In this example offset is 8,
1064 so it will fail verification, since it's out of bounds.
1074 and R10 - 4 is within stack bounds, there were no stores into that location.
1166 Program that accesses stack out of bounds:
/linux-4.4.14/drivers/media/pci/zoran/
Dzoran_driver.c2388 cropcap->bounds.top = cropcap->bounds.left = 0; in zoran_cropcap()
2389 cropcap->bounds.width = BUZ_MAX_WIDTH; in zoran_cropcap()
2390 cropcap->bounds.height = BUZ_MAX_HEIGHT; in zoran_cropcap()
/linux-4.4.14/arch/powerpc/platforms/
DKconfig270 halfway between the upper and lower bounds, will be reported in
/linux-4.4.14/Documentation/nvdimm/
Dbtt.txt253 - A map entry is out of bounds
/linux-4.4.14/drivers/media/platform/omap/
Domap_vout.c1260 cropcap->bounds.width = pix->width & ~1; in vidioc_cropcap()
1261 cropcap->bounds.height = pix->height & ~1; in vidioc_cropcap()
/linux-4.4.14/arch/x86/
DKconfig.debug363 Some simple tests are run to verify IMR bounds checking, alignment
/linux-4.4.14/Documentation/scheduler/
Dsched-deadline.txt259 bound[12] (as previously noted). Different bounds on the maximum tardiness
329 14 - J. Erickson, U. Devi and S. Baruah. Improved tardiness bounds for
/linux-4.4.14/scripts/dtc/
Ddtc-parser.tab.c_shipped451 by yylex, with out-of-bounds checking. */
459 as returned by yylex, without out-of-bounds checking. */
1092 /* Stay within bounds of both yycheck and yytname. */
/linux-4.4.14/include/uapi/linux/
Dvideodev2.h1018 struct v4l2_rect bounds; member
/linux-4.4.14/Documentation/usb/
Dusbmon.txt264 size is out of [unspecified] bounds for this kernel, the call fails with
/linux-4.4.14/drivers/media/platform/am437x/
Dam437x-vpfe.c2097 crop->bounds.width = crop->defrect.width; in vpfe_cropcap()
2099 crop->bounds.height = crop->defrect.height; in vpfe_cropcap()
/linux-4.4.14/Documentation/ioctl/
Dcdrom.txt204 EINVAL requested track out of bounds
/linux-4.4.14/arch/x86/math-emu/
DREADME157 allowed to write outside the bounds set by the protection.
/linux-4.4.14/Documentation/filesystems/
Dxfs-self-describing-metadata.txt154 it is and that the metadata fields are within bounds and internally consistent.
Dproc.txt1843 The name of a link represents the virtual memory bounds of a mapping, i.e.
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt2734 archdata_start = 0x1b855 <Address 0x1b855 out of bounds>,
2735 archdata_end = 0xe5890000 <Address 0xe5890000 out of bounds>,
2736 kernel_data = 0xf689c35d <Address 0xf689c35d out of bounds>}
3143 buf=0x80b8800 <Address 0x80b8800 out of bounds>, count=1024)
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-video.c1597 cap->bounds = dev->crop_bounds; in saa7134_cropcap()
/linux-4.4.14/Documentation/virtual/kvm/
Dtimekeeping.txt464 exacting bounds when interrupt sources are disabled, but in reality only its
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx.reg906 * beyond the bounds of its
Daic79xx.reg160 * beyond the bounds of its
/linux-4.4.14/scripts/genksyms/
Dparse.tab.c_shipped1290 /* Stay within bounds of both yycheck and yytname. */
/linux-4.4.14/scripts/kconfig/
Dzconf.tab.c_shipped1253 /* Stay within bounds of both yycheck and yytname. */
/linux-4.4.14/Documentation/kbuild/
Dmakefiles.txt776 no-clean-files := $(bounds-file) $(offsets-file)
/linux-4.4.14/Documentation/laptops/
Dthinkpad-acpi.txt1253 is out-of-bounds, and EPERM if it is forbidden. They may also return
/linux-4.4.14/drivers/staging/speakup/
Dspkguide.txt1083 speakup + f2 -- Set the bounds of the window.
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dfpsp.S9587 mov.w SRC_EX(%a0),%d0 # check src bounds