/Linux-v4.19/Documentation/x86/ |
D | intel_mpx.txt | 36 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 location. We 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-v4.19/ |
D | Kbuild | 5 # 1) Generate bounds.h 7 # 3) Generate asm-offsets.h (may need bounds.h and timeconst.h) 9 # 5) Generate constants.py (may need bounds.h) 12 # 1) Generate bounds.h 14 bounds-file := include/generated/bounds.h 16 always := $(bounds-file) 17 targets := kernel/bounds.s 20 kernel/bounds.s: kernel/bounds.c FORCE 23 $(obj)/$(bounds-file): kernel/bounds.s FORCE 55 $(obj)/$(timeconst-file) $(obj)/$(bounds-file) FORCE [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/ |
D | head917d.c | 43 u32 bounds = 0; in head917d_base() local 48 case 8: bounds |= 0x00000500; break; in head917d_base() 49 case 4: bounds |= 0x00000300; break; in head917d_base() 50 case 2: bounds |= 0x00000100; break; in head917d_base() 51 case 1: bounds |= 0x00000000; break; in head917d_base() 56 bounds |= 0x00020001; in head917d_base() 61 evo_data(push, bounds); in head917d_base()
|
D | head907d.c | 72 u32 bounds = 0; in head907d_ovly() local 77 case 8: bounds |= 0x00000500; break; in head907d_ovly() 78 case 4: bounds |= 0x00000300; break; in head907d_ovly() 79 case 2: bounds |= 0x00000100; break; in head907d_ovly() 84 bounds |= 0x00000001; in head907d_ovly() 86 bounds |= 0x00000100; in head907d_ovly() 91 evo_data(push, bounds); in head907d_ovly() 100 u32 bounds = 0; in head907d_base() local 105 case 8: bounds |= 0x00000500; break; in head907d_base() 106 case 4: bounds |= 0x00000300; break; in head907d_base() [all …]
|
D | head507d.c | 56 u32 bounds = 0; in head507d_ovly() local 61 case 4: bounds |= 0x00000300; break; in head507d_ovly() 62 case 2: bounds |= 0x00000100; break; in head507d_ovly() 67 bounds |= 0x00000001; in head507d_ovly() 69 bounds |= 0x00000100; in head507d_ovly() 74 evo_data(push, bounds); in head507d_ovly() 83 u32 bounds = 0; in head507d_base() local 88 case 8: bounds |= 0x00000500; break; in head507d_base() 89 case 4: bounds |= 0x00000300; break; in head507d_base() 90 case 2: bounds |= 0x00000100; break; in head507d_base() [all …]
|
/Linux-v4.19/drivers/media/platform/soc_camera/ |
D | soc_scale_crop.c | 105 struct v4l2_subdev_selection bounds = { in soc_camera_client_s_selection() local 139 ret = v4l2_subdev_call(sd, pad, get_selection, NULL, &bounds); in soc_camera_client_s_selection() 145 bounds.r.width); in soc_camera_client_s_selection() 147 bounds.r.height); in soc_camera_client_s_selection() 162 (bounds.r.width > width || bounds.r.height > height)) { in soc_camera_client_s_selection() 180 cam_rect->left = bounds.r.left; in soc_camera_client_s_selection() 187 cam_rect->top = bounds.r.top; in soc_camera_client_s_selection() 208 sdsel.r = bounds.r; in soc_camera_client_s_selection()
|
/Linux-v4.19/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 192 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()
|
/Linux-v4.19/lib/ |
D | Kconfig.kasan | 14 designed to find out-of-bounds accesses and use-after-free bugs. 16 of 4.9.2 or later. Detection of out of bounds accesses to stack or 65 out of bounds accesses, use after free. It is useful for testing
|
/Linux-v4.19/tools/testing/selftests/x86/ |
D | mpx-mini-test.c | 880 uint64_t *bounds = (uint64_t *)(__print_xsave_buffer + MPX_BOUNDS_OFFSET); in __print_context() local 887 (unsigned long)bounds[i*2], in __print_context() 888 ~(unsigned long)bounds[i*2+1], in __print_context() 889 (unsigned long)bounds[i*2+1]); in __print_context() 933 uint64_t *bounds = (uint64_t *)(__xsave_buffer + MPX_BOUNDS_OFFSET); in compare_context() local 939 i, (unsigned long)bounds[i*2], ~(unsigned long)bounds[i*2+1]); in compare_context() 940 if ((shadow_plb[i][0] != bounds[i*2]) || in compare_context() 941 (shadow_plb[i][1] != ~(unsigned long)bounds[i*2+1])) { in compare_context() 945 (unsigned long)bounds[i*2], (unsigned long)bounds[i*2+1]); in compare_context()
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | vidioc-enumaudio.rst | 40 bounds. To enumerate all audio inputs applications shall begin at index 55 The number of the audio input is out of bounds.
|
D | vidioc-enumaudioout.rst | 40 bounds. To enumerate all audio outputs applications shall begin at index 60 The number of the audio output is out of bounds.
|
D | v4l2-selection-targets.rst | 39 the crop bounds rectangle. 66 inside the compose bounds rectangle.
|
D | selection-api-configuration.rst | 58 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
|
D | vidioc-g-audioout.rst | 50 return the ``EINVAL`` error code when the index is out of bounds. This is a 100 number of the selected audio output is out of bounds or it does not
|
D | vidioc-g-ctrl.rst | 46 ``value`` is out of bounds drivers can choose to take the closest valid 91 bounds.
|
D | vidioc-enum-dv-timings.rst | 50 error code when the index is out of bounds. To enumerate all supported 104 ``index`` is out of bounds or the ``pad`` number is invalid.
|
D | vidioc-g-crop.rst | 50 limits, i. e. the bounds given by the capture/output window, and it 91 :c:type:`v4l2_cropcap` ``bounds`` is used.
|
/Linux-v4.19/security/selinux/ss/ |
D | policydb.h | 82 u32 bounds; /* boundary of role */ member 115 u32 bounds; /* boundary of type */ member 123 u32 bounds; /* bounds of user */ member
|
/Linux-v4.19/Documentation/ |
D | speculation.txt | 18 For example, in the presence of branch prediction, it is possible for bounds 60 of an out-of-bounds address, while the second call will influence 68 The kernel provides a generic API to ensure that bounds checks are
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/ |
D | mt76x2_eeprom.c | 612 u8 bounds; in mt76x2_get_temp_comp() local 626 bounds = mt76x2_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_get_temp_comp() 629 bounds = mt76x2_eeprom_get(dev, MT_EE_TX_POWER_DELTA_BW80) >> 8; in mt76x2_get_temp_comp() 634 t->lower_bound = 0 - (bounds & 0xf); in mt76x2_get_temp_comp() 635 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
|
/Linux-v4.19/drivers/media/platform/davinci/ |
D | vpbe.c | 108 cropcap->bounds.left = 0; in vpbe_g_cropcap() 109 cropcap->bounds.top = 0; in vpbe_g_cropcap() 110 cropcap->bounds.width = vpbe_dev->current_timings.xres; in vpbe_g_cropcap() 111 cropcap->bounds.height = vpbe_dev->current_timings.yres; in vpbe_g_cropcap() 112 cropcap->defrect = cropcap->bounds; in vpbe_g_cropcap()
|
/Linux-v4.19/scripts/ |
D | Makefile.ubsan | 8 CFLAGS_UBSAN += $(call cc-option, -fsanitize=bounds)
|
/Linux-v4.19/Documentation/dev-tools/ |
D | kasan.rst | 8 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. 46 A typical out of bounds access report looks like this:: 49 …BUG: AddressSanitizer: out of bounds access in kmalloc_oob_right+0x65/0x75 [test_kasan] at addr ff…
|
/Linux-v4.19/drivers/media/platform/exynos4-is/ |
D | fimc-m2m.c | 396 cr->bounds.left = 0; in fimc_m2m_cropcap() 397 cr->bounds.top = 0; in fimc_m2m_cropcap() 398 cr->bounds.width = frame->o_width; in fimc_m2m_cropcap() 399 cr->bounds.height = frame->o_height; in fimc_m2m_cropcap() 400 cr->defrect = cr->bounds; in fimc_m2m_cropcap()
|
/Linux-v4.19/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 421 cr->bounds.left = 0; in vidioc_cropcap() 422 cr->bounds.top = 0; in vidioc_cropcap() 423 cr->bounds.width = f->width; in vidioc_cropcap() 424 cr->bounds.height = f->height; in vidioc_cropcap() 425 cr->defrect = cr->bounds; in vidioc_cropcap()
|