Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/
DKbuild4 # 1) Generate bounds.h
5 # 2) Generate asm-offsets.h (may need bounds.h)
34 # 1) Generate bounds.h
36 bounds-file := include/generated/bounds.h
38 always := $(bounds-file)
39 targets := kernel/bounds.s
42 kernel/bounds.s: kernel/bounds.c FORCE
46 $(obj)/$(bounds-file): kernel/bounds.s FORCE
60 $(obj)/$(bounds-file) FORCE
81 no-clean-files := $(bounds-file) $(offsets-file)
/linux-4.1.27/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()
251 if (max_width > cap.bounds.width) in client_s_fmt()
252 max_width = cap.bounds.width; in client_s_fmt()
[all …]
Dsoc_camera_platform.c95 a->bounds.left = 0; in soc_camera_platform_cropcap()
96 a->bounds.top = 0; in soc_camera_platform_cropcap()
97 a->bounds.width = p->format.width; in soc_camera_platform_cropcap()
98 a->bounds.height = p->format.height; in soc_camera_platform_cropcap()
99 a->defrect = a->bounds; in soc_camera_platform_cropcap()
/linux-4.1.27/drivers/media/i2c/
Dak881x.c136 a->bounds.left = 0; in ak881x_cropcap()
137 a->bounds.top = 0; in ak881x_cropcap()
138 a->bounds.width = 720; in ak881x_cropcap()
139 a->bounds.height = ak881x->lines; in ak881x_cropcap()
140 a->defrect = a->bounds; in ak881x_cropcap()
Dtvp5150.c923 a->bounds.left = 0; in tvp5150_cropcap()
924 a->bounds.top = 0; in tvp5150_cropcap()
925 a->bounds.width = TVP5150_H_MAX; in tvp5150_cropcap()
934 a->bounds.height = TVP5150_V_MAX_525_60; in tvp5150_cropcap()
936 a->bounds.height = TVP5150_V_MAX_OTHERS; in tvp5150_cropcap()
938 a->defrect = a->bounds; in tvp5150_cropcap()
/linux-4.1.27/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
55 out of bounds accesses, use after free. It is useful for testing
DKconfig.debug1523 within bounds.
/linux-4.1.27/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()
2867 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.1.27/drivers/media/i2c/soc_camera/
Dimx074.c226 a->bounds.left = 0; in imx074_cropcap()
227 a->bounds.top = 0; in imx074_cropcap()
228 a->bounds.width = IMX074_WIDTH; in imx074_cropcap()
229 a->bounds.height = IMX074_HEIGHT; in imx074_cropcap()
230 a->defrect = a->bounds; in imx074_cropcap()
Dtw9910.c677 a->bounds.left = 0; in tw9910_cropcap()
678 a->bounds.top = 0; in tw9910_cropcap()
680 a->bounds.width = 640; in tw9910_cropcap()
681 a->bounds.height = 480; in tw9910_cropcap()
683 a->bounds.width = 768; in tw9910_cropcap()
684 a->bounds.height = 576; in tw9910_cropcap()
686 a->defrect = a->bounds; in tw9910_cropcap()
Dov5642.c896 a->bounds.left = 0; in ov5642_cropcap()
897 a->bounds.top = 0; in ov5642_cropcap()
898 a->bounds.width = OV5642_MAX_WIDTH; in ov5642_cropcap()
899 a->bounds.height = OV5642_MAX_HEIGHT; in ov5642_cropcap()
900 a->defrect = a->bounds; in ov5642_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()
Dov9640.c566 a->bounds.left = 0; in ov9640_cropcap()
567 a->bounds.top = 0; in ov9640_cropcap()
568 a->bounds.width = W_SXGA; in ov9640_cropcap()
569 a->bounds.height = H_SXGA; in ov9640_cropcap()
570 a->defrect = a->bounds; in ov9640_cropcap()
Dov9740.c732 a->bounds.left = 0; in ov9740_cropcap()
733 a->bounds.top = 0; in ov9740_cropcap()
734 a->bounds.width = OV9740_MAX_WIDTH; in ov9740_cropcap()
735 a->bounds.height = OV9740_MAX_HEIGHT; in ov9740_cropcap()
736 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.c951 a->bounds.left = 0; in ov2640_cropcap()
952 a->bounds.top = 0; in ov2640_cropcap()
953 a->bounds.width = UXGA_WIDTH; in ov2640_cropcap()
954 a->bounds.height = UXGA_HEIGHT; in ov2640_cropcap()
955 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()
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()
Drj54n1cb0c.c588 a->bounds.left = RJ54N1_COLUMN_SKIP; in rj54n1_cropcap()
589 a->bounds.top = RJ54N1_ROW_SKIP; in rj54n1_cropcap()
590 a->bounds.width = RJ54N1_MAX_WIDTH; in rj54n1_cropcap()
591 a->bounds.height = RJ54N1_MAX_HEIGHT; in rj54n1_cropcap()
592 a->defrect = a->bounds; in rj54n1_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.1.27/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.c372 || role->bounds > p->p_roles.nprim) in role_index()
395 || typdatum->bounds > p->p_types.nprim) in type_index()
421 || usrdatum->bounds > p->p_users.nprim) in user_index()
1424 role->bounds = le32_to_cpu(buf[2]); in role_read()
1488 typdatum->bounds = le32_to_cpu(buf[3]); in type_read()
1556 usrdatum->bounds = le32_to_cpu(buf[2]); in user_read()
1679 while (upper->bounds) { in user_bounds_sanity_check()
1690 upper = p->user_val_to_struct[upper->bounds - 1]; in user_bounds_sanity_check()
1716 while (upper->bounds) { in role_bounds_sanity_check()
1727 upper = p->role_val_to_struct[upper->bounds - 1]; in role_bounds_sanity_check()
[all …]
Dservices.c559 if (source->bounds) { in type_attribute_bounds_av()
563 lo_scontext.type = source->bounds; in type_attribute_bounds_av()
574 if (target->bounds) { in type_attribute_bounds_av()
578 lo_tcontext.type = target->bounds; in type_attribute_bounds_av()
589 if (source->bounds && target->bounds) { in type_attribute_bounds_av()
857 if (!type->bounds) in security_bounded_transition()
862 if (type->bounds == old_context->type) in security_bounded_transition()
865 index = type->bounds; in security_bounded_transition()
/linux-4.1.27/arch/x86/include/asm/
Dtraps.h20 asmlinkage void bounds(void);
45 #define trace_bounds bounds
/linux-4.1.27/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.c757 cropcap->bounds.left = 0; in vpbe_display_cropcap()
758 cropcap->bounds.top = 0; in vpbe_display_cropcap()
759 cropcap->bounds.width = vpbe_dev->current_timings.xres; in vpbe_display_cropcap()
760 cropcap->bounds.height = vpbe_dev->current_timings.yres; in vpbe_display_cropcap()
762 cropcap->defrect = cropcap->bounds; in vpbe_display_cropcap()
Dvpfe_capture.c1615 crop->bounds.width = crop->defrect.width = in vpfe_cropcap()
1617 crop->bounds.height = crop->defrect.height = in vpfe_cropcap()
/linux-4.1.27/Documentation/
Dkasan.txt8 a fast and comprehensive solution for finding use-after-free and out-of-bounds
13 of bounds accesses to stack or global variables, but only if gcc 5.0 or later was
47 A typical out of bounds access report looks like this:
50 BUG: AddressSanitizer: out of bounds access in kmalloc_oob_right+0x65/0x75 [test_kasan] at addr fff…
Ddontdiff94 bounds.h
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-m2m.c409 cr->bounds.left = 0; in fimc_m2m_cropcap()
410 cr->bounds.top = 0; in fimc_m2m_cropcap()
411 cr->bounds.width = frame->o_width; in fimc_m2m_cropcap()
412 cr->bounds.height = frame->o_height; in fimc_m2m_cropcap()
413 cr->defrect = cr->bounds; in fimc_m2m_cropcap()
/linux-4.1.27/fs/hpfs/
Dhpfs.h211 __le32 bounds; /* matches corresponding word member
229 __le32 bounds[3]; /* looks a bit like member
/linux-4.1.27/drivers/media/platform/s5p-g2d/
Dg2d.c417 cr->bounds.left = 0; in vidioc_cropcap()
418 cr->bounds.top = 0; in vidioc_cropcap()
419 cr->bounds.width = f->width; in vidioc_cropcap()
420 cr->bounds.height = f->height; in vidioc_cropcap()
421 cr->defrect = cr->bounds; in vidioc_cropcap()
/linux-4.1.27/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.1.27/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.1.27/Documentation/ABI/testing/
Dsysfs-class-power10 and once the counter drops out of considerable bounds, take
Dsysfs-class-net-queues69 to be within the bounds defined by limit_max and limit_min.
/linux-4.1.27/arch/alpha/kernel/
Dtime.c293 static struct bounds { in validate_cc_value() struct
/linux-4.1.27/drivers/media/platform/
Dsh_vou.c1036 a->bounds.left = 0; in sh_vou_cropcap()
1037 a->bounds.top = 0; in sh_vou_cropcap()
1038 a->bounds.width = VOU_MAX_IMAGE_WIDTH; in sh_vou_cropcap()
1039 a->bounds.height = VOU_MAX_IMAGE_HEIGHT; in sh_vou_cropcap()
/linux-4.1.27/drivers/media/usb/au0828/
Dau0828-video.c1525 cc->bounds.left = 0; in vidioc_cropcap()
1526 cc->bounds.top = 0; in vidioc_cropcap()
1527 cc->bounds.width = dev->width; in vidioc_cropcap()
1528 cc->bounds.height = dev->height; in vidioc_cropcap()
1530 cc->defrect = cc->bounds; in vidioc_cropcap()
/linux-4.1.27/drivers/media/usb/cx231xx/
Dcx231xx-video.c1448 cc->bounds.left = 0; in vidioc_cropcap()
1449 cc->bounds.top = 0; in vidioc_cropcap()
1450 cc->bounds.width = dev->width; in vidioc_cropcap()
1451 cc->bounds.height = dev->height; in vidioc_cropcap()
1452 cc->defrect = cc->bounds; in vidioc_cropcap()
/linux-4.1.27/fs/xfs/
DKconfig78 It converts ASSERT checks to WARN, so will log any out-of-bounds
/linux-4.1.27/Documentation/arm/
DPorting103 out of bounds memory accesses (eg, something writing off the end
/linux-4.1.27/arch/m68k/fpsp040/
Dscale.S55 movew ETEMP(%a6),%d0 |check src bounds
/linux-4.1.27/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.1.27/drivers/media/v4l2-core/
Dv4l2-ioctl.c586 p->bounds.width, p->bounds.height, in v4l_print_cropcap()
587 p->bounds.left, p->bounds.top, in v4l_print_cropcap()
1909 p->bounds = s.r; in v4l_cropcap()
/linux-4.1.27/arch/x86/kernel/
Dentry_32.S841 ENTRY(bounds)
848 END(bounds)
Dtraps.c969 set_intr_gate(X86_TRAP_BR, bounds); in trap_init()
Dentry_64.S1082 idtentry bounds do_bounds has_error_code=0
/linux-4.1.27/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.1.27/drivers/media/pci/zoran/
Dzoran_driver.c2535 cropcap->bounds.top = cropcap->bounds.left = 0; in zoran_cropcap()
2536 cropcap->bounds.width = BUZ_MAX_WIDTH; in zoran_cropcap()
2537 cropcap->bounds.height = BUZ_MAX_HEIGHT; in zoran_cropcap()
/linux-4.1.27/arch/powerpc/platforms/
DKconfig270 halfway between the upper and lower bounds, will be reported in
/linux-4.1.27/arch/x86/
DKconfig.debug318 Some simple tests are run to verify IMR bounds checking, alignment
/linux-4.1.27/drivers/media/platform/omap/
Domap_vout.c1271 cropcap->bounds.width = pix->width & ~1; in vidioc_cropcap()
1272 cropcap->bounds.height = pix->height & ~1; in vidioc_cropcap()
/linux-4.1.27/Documentation/usb/
Dusbmon.txt264 size is out of [unspecified] bounds for this kernel, the call fails with
/linux-4.1.27/include/uapi/linux/
Dvideodev2.h924 struct v4l2_rect bounds; member
/linux-4.1.27/drivers/media/platform/am437x/
Dam437x-vpfe.c2106 crop->bounds.width = crop->defrect.width; in vpfe_cropcap()
2108 crop->bounds.height = crop->defrect.height; in vpfe_cropcap()
/linux-4.1.27/Documentation/ioctl/
Dcdrom.txt204 EINVAL requested track out of bounds
/linux-4.1.27/Documentation/filesystems/
Dxfs-self-describing-metadata.txt154 it is and that the metadata fields are within bounds and internally consistent.
Dproc.txt1826 The name of a link represents the virtual memory bounds of a mapping, i.e.
/linux-4.1.27/arch/x86/math-emu/
DREADME157 allowed to write outside the bounds set by the protection.
/linux-4.1.27/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.1.27/drivers/scsi/aic7xxx/
Daic7xxx.reg906 * beyond the bounds of its
Daic79xx.reg160 * beyond the bounds of its
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-video.c1589 cap->bounds = dev->crop_bounds; in saa7134_cropcap()
/linux-4.1.27/Documentation/virtual/kvm/
Dtimekeeping.txt464 exacting bounds when interrupt sources are disabled, but in reality only its
/linux-4.1.27/scripts/genksyms/
Dparse.tab.c_shipped1306 /* Stay within bounds of both yycheck and yytname. */
/linux-4.1.27/scripts/kconfig/
Dzconf.tab.c_shipped1231 /* Stay within bounds of both yycheck and yytname. */
/linux-4.1.27/scripts/dtc/
Ddtc-parser.tab.c_shipped1133 /* Stay within bounds of both yycheck and yytname. */
/linux-4.1.27/Documentation/kbuild/
Dmakefiles.txt776 no-clean-files := $(bounds-file) $(offsets-file)
/linux-4.1.27/Documentation/laptops/
Dthinkpad-acpi.txt1253 is out-of-bounds, and EPERM if it is forbidden. They may also return
/linux-4.1.27/drivers/staging/speakup/
Dspkguide.txt1083 speakup + f2 -- Set the bounds of the window.
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dfpsp.S9587 mov.w SRC_EX(%a0),%d0 # check src bounds