Home
last modified time | relevance | path

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

1234

/Linux-v5.4/Documentation/x86/
Dintel_mpx.rst42 2) That setup code allocates (virtual) space for the "bounds directory",
46 the bounds tables between the time when it populates "bndcfgu" and
53 succeed, and notes the location of the bounds directory. Userspace is
54 expected to keep the bounds directory at that location. We note it
56 to access the bounds directory register is an expensive operation.
57 4) If the application needs to spill bounds out of the 4 registers, it
58 issues a bndstx instruction. Since the bounds directory is empty at
59 this point, a bounds fault (#BR) is raised, the kernel allocates a
60 bounds table (in the user address space) and makes the relevant entry
61 in the bounds directory point to the new table.
[all …]
/Linux-v5.4/
DKbuild6 # Generate bounds.h
8 bounds-file := include/generated/bounds.h
10 always := $(bounds-file)
11 targets := kernel/bounds.s
13 $(bounds-file): kernel/bounds.s FORCE
34 arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file)
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv50/
Dhead917d.c43 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()
Dhead907d.c72 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 …]
Dhead507d.c56 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-v5.4/drivers/media/pci/bt8xx/
Dbttv-vbi.c180 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare()
181 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare()
247 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
248 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
383 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
384 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
/Linux-v5.4/security/selinux/ss/
Dpolicydb.h78 u32 bounds; /* boundary of role */ member
111 u32 bounds; /* boundary of type */ member
119 u32 bounds; /* bounds of user */ member
Dpolicydb.c569 || role->bounds > p->p_roles.nprim) in role_index()
588 || typdatum->bounds > p->p_types.nprim) in type_index()
606 || usrdatum->bounds > p->p_users.nprim) in user_index()
1396 role->bounds = le32_to_cpu(buf[2]); in role_read()
1459 typdatum->bounds = le32_to_cpu(buf[3]); in type_read()
1526 usrdatum->bounds = le32_to_cpu(buf[2]); in user_read()
1647 while (upper->bounds) { in user_bounds_sanity_check()
1658 upper = p->user_val_to_struct[upper->bounds - 1]; in user_bounds_sanity_check()
1683 while (upper->bounds) { in role_bounds_sanity_check()
1694 upper = p->role_val_to_struct[upper->bounds - 1]; in role_bounds_sanity_check()
[all …]
/Linux-v5.4/lib/
DKconfig.kasan22 designed to find out-of-bounds accesses and use-after-free bugs.
48 out-of-bounds accesses for stack and global variables and for inline
51 out-of-bounds accesses for global variables yet.
142 (use-after-free or out-of-bounds) at the cost of increased
150 out of bounds accesses, use after free. It is useful for testing
/Linux-v5.4/Documentation/
Dspeculation.txt18 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-v5.4/drivers/net/wireless/mediatek/mt76/mt76x2/
Deeprom.c460 u8 bounds; in mt76x2_get_temp_comp() local
474 bounds = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_get_temp_comp()
477 bounds = mt76x02_eeprom_get(dev, in mt76x2_get_temp_comp()
483 t->lower_bound = 0 - (bounds & 0xf); in mt76x2_get_temp_comp()
484 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-enumaudio.rst47 bounds. To enumerate all audio inputs applications shall begin at index
62 The number of the audio input is out of bounds.
Dv4l2-selection-targets.rst46 the crop bounds rectangle.
68 inside the compose bounds rectangle.
Dvidioc-enumaudioout.rst47 bounds. To enumerate all audio outputs applications shall begin at index
67 The number of the audio output is out of bounds.
Dselection-api-configuration.rst65 bounds rectangle. The composing rectangle must lie completely inside
66 bounds rectangle. The driver must adjust the composing rectangle to fit
105 same coordinate system as the bounds rectangle. The active cropping area
117 composing rectangle must lie completely inside the bounds rectangle. The
Dvidioc-g-audioout.rst57 return the ``EINVAL`` error code when the index is out of bounds. This is a
107 number of the selected audio output is out of bounds or it does not
Dvidioc-g-ctrl.rst53 ``value`` is out of bounds drivers can choose to take the closest valid
98 bounds.
Dvidioc-enum-dv-timings.rst57 error code when the index is out of bounds. To enumerate all supported
111 ``index`` is out of bounds or the ``pad`` number is invalid.
Dvidioc-g-crop.rst57 limits, i. e. the bounds given by the capture/output window, and it
98 :c:type:`v4l2_cropcap` ``bounds`` is used.
Dvidioc-cropcap.rst70 - ``bounds``
83 as for ``bounds`` is used.
/Linux-v5.4/scripts/
DMakefile.ubsan7 CFLAGS_UBSAN += $(call cc-option, -fsanitize=bounds)
/Linux-v5.4/Documentation/dev-tools/
Dkasan.rst17 out-of-bounds accesses for stack and global variables and for inline
19 7.0.0 or later and it doesn't support detection of out-of-bounds accesses for
61 A typical out-of-bounds access generic KASAN report looks like this::
64 BUG: KASAN: slab-out-of-bounds in kmalloc_oob_right+0xa8/0xbc [test_kasan]
/Linux-v5.4/fs/hpfs/
Dhpfs.h212 __le32 bounds; /* matches corresponding word member
230 __le32 bounds[3]; /* looks a bit like member
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_trace.h690 TP_PROTO(uint32_t drm_id, int mixer, struct drm_rect *bounds),
691 TP_ARGS(drm_id, mixer, bounds),
695 __field_struct( struct drm_rect, bounds )
700 __entry->bounds = *bounds;
703 __entry->mixer, DRM_RECT_ARG(&__entry->bounds))
/Linux-v5.4/arch/x86/xen/
Dxen-asm_64.S37 xen_pv_trap bounds

1234