Home
last modified time | relevance | path

Searched refs:granularity (Results 1 – 25 of 202) sorted by relevance

123456789

/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/
H A Ddml_inline_defs.h70 static inline double dml_ceil(double a, double granularity) in dml_ceil() argument
72 return (double) dcn_bw_ceil2(a, granularity); in dml_ceil()
75 static inline double dml_floor(double a, double granularity) in dml_floor() argument
77 return (double) dcn_bw_floor2(a, granularity); in dml_floor()
100 static inline double dml_ceil_ex(double x, double granularity) in dml_ceil_ex() argument
102 return (double) dcn_bw_ceil2(x, granularity); in dml_ceil_ex()
105 static inline double dml_floor_ex(double x, double granularity) in dml_floor_ex() argument
107 return (double) dcn_bw_floor2(x, granularity); in dml_floor_ex()
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_premap_shadow.cc27 uptr granularity = GetMmapGranularity(); in PremapShadowSize() local
28 return RoundUpTo(GetMaxVirtualAddress() >> SHADOW_SCALE, granularity); in PremapShadowSize()
34 uptr granularity = GetMmapGranularity(); in PremapShadow() local
35 uptr alignment = granularity * 8; in PremapShadow()
36 uptr left_padding = granularity; in PremapShadow()
H A Dasan_linux.cc108 uptr granularity = GetMmapGranularity(); in FindPremappedShadowStart() local
111 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity); in FindPremappedShadowStart()
124 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
125 uptr alignment = granularity * 8; in FindDynamicShadowStart()
126 uptr left_padding = granularity; in FindDynamicShadowStart()
127 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity); in FindDynamicShadowStart()
H A Dasan_poisoning.cc364 uptr granularity = SHADOW_GRANULARITY; in __sanitizer_annotate_contiguous_container() local
366 IsAligned(beg, granularity))) { in __sanitizer_annotate_contiguous_container()
374 uptr a = RoundDownTo(Min(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
375 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
376 uptr d1 = RoundDownTo(old_mid, granularity); in __sanitizer_annotate_contiguous_container()
386 if (a + granularity <= d1) in __sanitizer_annotate_contiguous_container()
392 uptr b1 = RoundDownTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
393 uptr b2 = RoundUpTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
399 CHECK_EQ(b2 - b1, granularity); in __sanitizer_annotate_contiguous_container()
H A Dasan_mac.cc57 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
58 uptr alignment = 8 * granularity; in FindDynamicShadowStart()
59 uptr left_padding = granularity; in FindDynamicShadowStart()
66 FindAvailableMemoryRange(space_size, alignment, granularity, in FindDynamicShadowStart()
87 shadow_start = FindAvailableMemoryRange(space_size, alignment, granularity, in FindDynamicShadowStart()
H A Dasan_win.cc227 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
228 uptr alignment = 8 * granularity; in FindDynamicShadowStart()
229 uptr left_padding = granularity; in FindDynamicShadowStart()
232 granularity, nullptr, nullptr); in FindDynamicShadowStart()
H A Dasan_errors.cc318 uptr granularity = SHADOW_GRANULARITY; in Print() local
319 if (!IsAligned(beg, granularity)) in Print()
320 Report("ERROR: beg is not aligned by %d\n", granularity); in Print()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_premap_shadow.cc29 uptr granularity = GetMmapGranularity(); in PremapShadowSize() local
30 return RoundUpTo(GetMaxVirtualAddress() >> SHADOW_SCALE, granularity); in PremapShadowSize()
36 uptr granularity = GetMmapGranularity(); in PremapShadow() local
37 uptr alignment = granularity * 8; in PremapShadow()
38 uptr left_padding = granularity; in PremapShadow()
H A Dasan_linux.cc106 uptr granularity = GetMmapGranularity(); in FindPremappedShadowStart() local
109 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity); in FindPremappedShadowStart()
122 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
123 uptr alignment = granularity * 8; in FindDynamicShadowStart()
124 uptr left_padding = granularity; in FindDynamicShadowStart()
125 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity); in FindDynamicShadowStart()
H A Dasan_poisoning.cc366 uptr granularity = SHADOW_GRANULARITY; in __sanitizer_annotate_contiguous_container() local
368 IsAligned(beg, granularity))) { in __sanitizer_annotate_contiguous_container()
376 uptr a = RoundDownTo(Min(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
377 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
378 uptr d1 = RoundDownTo(old_mid, granularity); in __sanitizer_annotate_contiguous_container()
388 if (a + granularity <= d1) in __sanitizer_annotate_contiguous_container()
394 uptr b1 = RoundDownTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
395 uptr b2 = RoundUpTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
401 CHECK_EQ(b2 - b1, granularity); in __sanitizer_annotate_contiguous_container()
H A Dasan_mac.cc59 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
60 uptr alignment = 8 * granularity; in FindDynamicShadowStart()
61 uptr left_padding = granularity; in FindDynamicShadowStart()
68 FindAvailableMemoryRange(space_size, alignment, granularity, in FindDynamicShadowStart()
89 shadow_start = FindAvailableMemoryRange(space_size, alignment, granularity, in FindDynamicShadowStart()
H A Dasan_win.cc229 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
230 uptr alignment = 8 * granularity; in FindDynamicShadowStart()
231 uptr left_padding = granularity; in FindDynamicShadowStart()
234 granularity, nullptr, nullptr); in FindDynamicShadowStart()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_premap_shadow.cc27 uptr granularity = GetMmapGranularity(); in PremapShadowSize() local
28 return RoundUpTo(GetMaxVirtualAddress() >> SHADOW_SCALE, granularity); in PremapShadowSize()
34 uptr granularity = GetMmapGranularity(); in PremapShadow() local
35 uptr alignment = granularity * 8; in PremapShadow()
36 uptr left_padding = granularity; in PremapShadow()
H A Dasan_linux.cc108 uptr granularity = GetMmapGranularity(); in FindPremappedShadowStart() local
111 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity); in FindPremappedShadowStart()
124 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
125 uptr alignment = granularity * 8; in FindDynamicShadowStart()
126 uptr left_padding = granularity; in FindDynamicShadowStart()
127 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity); in FindDynamicShadowStart()
H A Dasan_poisoning.cc364 uptr granularity = SHADOW_GRANULARITY; in __sanitizer_annotate_contiguous_container() local
366 IsAligned(beg, granularity))) { in __sanitizer_annotate_contiguous_container()
374 uptr a = RoundDownTo(Min(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
375 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
376 uptr d1 = RoundDownTo(old_mid, granularity); in __sanitizer_annotate_contiguous_container()
386 if (a + granularity <= d1) in __sanitizer_annotate_contiguous_container()
392 uptr b1 = RoundDownTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
393 uptr b2 = RoundUpTo(new_mid, granularity); in __sanitizer_annotate_contiguous_container()
399 CHECK_EQ(b2 - b1, granularity); in __sanitizer_annotate_contiguous_container()
H A Dasan_mac.cc57 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
58 uptr alignment = 8 * granularity; in FindDynamicShadowStart()
59 uptr left_padding = granularity; in FindDynamicShadowStart()
66 FindAvailableMemoryRange(space_size, alignment, granularity, in FindDynamicShadowStart()
87 shadow_start = FindAvailableMemoryRange(space_size, alignment, granularity, in FindDynamicShadowStart()
H A Dasan_win.cc227 uptr granularity = GetMmapGranularity(); in FindDynamicShadowStart() local
228 uptr alignment = 8 * granularity; in FindDynamicShadowStart()
229 uptr left_padding = granularity; in FindDynamicShadowStart()
232 granularity, nullptr, nullptr); in FindDynamicShadowStart()
/netbsd/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_blit.c117 return round_down(offset + diff_offs, granularity); \
130 if (diff_offs >= size || granularity == sizeof(_type)) \
153 size_t granularity) in vmw_find_first_diff() argument
169 granularity); in vmw_find_first_diff()
190 return round_down(location, granularity); \
204 if (location < 0 || granularity == sizeof(_type)) \
225 size_t granularity) in vmw_find_last_diff() argument
237 granularity); in vmw_find_last_diff()
/netbsd/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_dynamic_shadow.cpp59 const uptr granularity = GetMmapGranularity(); in FindPremappedShadowStart() local
62 const uptr shadow_size = RoundUpTo(shadow_size_bytes, granularity); in FindPremappedShadowStart()
/netbsd/external/gpl3/gcc/dist/libsanitizer/interception/
H A Dinterception_win.cc315 static void *AllocateTrampolineRegion(uptr image_address, size_t granularity) { in AllocateTrampolineRegion() argument
325 if (info.State == MEM_FREE && info.RegionSize >= granularity) { in AllocateTrampolineRegion()
326 void *page = ::VirtualAlloc((void*)RoundUpTo(address, granularity), in AllocateTrampolineRegion()
327 granularity, in AllocateTrampolineRegion()
340 granularity, in AllocateTrampolineRegion()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/interception/
H A Dinterception_win.cc317 static void *AllocateTrampolineRegion(uptr image_address, size_t granularity) { in AllocateTrampolineRegion() argument
327 if (info.State == MEM_FREE && info.RegionSize >= granularity) { in AllocateTrampolineRegion()
328 void *page = ::VirtualAlloc((void*)RoundUpTo(address, granularity), in AllocateTrampolineRegion()
329 granularity, in AllocateTrampolineRegion()
342 granularity, in AllocateTrampolineRegion()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/interception/
H A Dinterception_win.cc315 static void *AllocateTrampolineRegion(uptr image_address, size_t granularity) { in AllocateTrampolineRegion() argument
325 if (info.State == MEM_FREE && info.RegionSize >= granularity) { in AllocateTrampolineRegion()
326 void *page = ::VirtualAlloc((void*)RoundUpTo(address, granularity), in AllocateTrampolineRegion()
327 granularity, in AllocateTrampolineRegion()
340 granularity, in AllocateTrampolineRegion()
/netbsd/distrib/syspkg/notes/
H A DWORKPLAN41 granularity by default.
50 what to install at pkg granularity, with dependencies
H A DNOTES11 with a high level of granularity. (Do I want Kerberos, but
78 It should be noted that the granularity of packages does not
79 really match the granularity of source subdirectories in
/netbsd/sys/external/bsd/drm2/dist/drm/i915/
H A DKconfig.profile27 int "Preempt timeout (ms, jiffy granularity)"
64 int "Scheduling quantum for userspace batches (ms, jiffy granularity)"

123456789