/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tring.c | 29 static int mce_ring_get(unsigned long *pfn) in mce_ring_get() argument 35 *pfn = r->ring[r->start]; in mce_ring_get() 40 static int mce_ring_add(unsigned long pfn) in mce_ring_add() argument 48 r->ring[r->end] = pfn; in mce_ring_add() 77 unsigned long pfn; in main() local 78 int r = mce_ring_get(&pfn); in main() 80 if (pfn != k) in main() 81 printf("got %lu expected %lu delta %ld\n", pfn, k, k-pfn); in main()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tring.c | 29 static int mce_ring_get(unsigned long *pfn) in mce_ring_get() argument 35 *pfn = r->ring[r->start]; in mce_ring_get() 40 static int mce_ring_add(unsigned long pfn) in mce_ring_add() argument 48 r->ring[r->end] = pfn; in mce_ring_add() 77 unsigned long pfn; in main() local 78 int r = mce_ring_get(&pfn); in main() 80 if (pfn != k) in main() 81 printf("got %lu expected %lu delta %ld\n", pfn, k, k-pfn); in main()
|
/third_party/ffmpeg/libswscale/ |
H A D | vscale.c | 35 } pfn; member 53 inst->pfn.yuv2planar1((const int16_t*)src[0], dst[0], dstW, c->lumDither8, 0); in lum_planar_vscale() 55 inst->pfn.yuv2planarX(filter, inst->filter_size, (const int16_t**)src, dst[0], dstW, c->lumDither8, 0); in lum_planar_vscale() 65 inst->pfn.yuv2planar1((const int16_t*)src[0], dst[0], dstW, c->lumDither8, 0); in lum_planar_vscale() 67 inst->pfn.yuv2planarX(filter, inst->filter_size, (const int16_t**)src, dst[0], dstW, c->lumDither8, 0); in lum_planar_vscale() 95 inst->pfn.yuv2interleavedX(c->dstFormat, c->chrDither8, filter, inst->filter_size, (const int16_t**)src1, (const int16_t**)src2, dst1[0], dstW); in chr_planar_vscale() 97 inst->pfn.yuv2planar1((const int16_t*)src1[0], dst1[0], dstW, c->chrDither8, 0); in chr_planar_vscale() 98 inst->pfn.yuv2planar1((const int16_t*)src2[0], dst2[0], dstW, c->chrDither8, 3); in chr_planar_vscale() 100 inst->pfn.yuv2planarX(filter, inst->filter_size, (const int16_t**)src1, dst1[0], dstW, c->chrDither8, 0); in chr_planar_vscale() 101 inst->pfn in chr_planar_vscale() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Coroutine.hpp | 35 auto pfn = (Nucleus::CoroutineDestroy *)routine->getEntry(Nucleus::CoroutineEntryDestroy); in ~StreamBase() local 36 pfn(handle); in ~StreamBase() 41 auto pfn = (Nucleus::CoroutineAwait *)routine->getEntry(Nucleus::CoroutineEntryAwait); in await() local 42 return pfn(handle, out); in await() 190 auto pfn = (Sig *)routine->getEntry(Nucleus::CoroutineEntryBegin); in operator ()() 191 auto handle = pfn(args...); in operator ()()
|
/third_party/ltp/testcases/kernel/mce-test/stress/ |
H A D | hwpoison.sh | 148 lowmem_s=`printf "%i" 0x100000` # start pfn of mem < 4G 153 log "low mem: 0x100000 (pfn: $g_lowmem_s) ~ 0x$tmp (pfn: $g_lowmem_e)" 155 highmem_s=`printf "%i" 0x100000000` # start pfn of highmem > 4G 161 log "high mem: 0x100000000 (pfn: $g_highmem_s) ~ 0x$tmp (pfn: $g_highmem_e)" 166 log "max pfn number: g_maxpfn = $g_maxpfn" 270 [ -f $g_debugfs/hwpoison/unpoison-pfn ] || invalid "pls. insmod hwpoison_inject module with unpoison-pfn support" 512 echo $pg > $g_debugfs/hwpoison/unpoison-pfn [all...] |
/third_party/ltp/testcases/kernel/syscalls/msync/ |
H A D | msync04.c | 27 uint64_t pagemap_entry, pageflag_entry, pfn, index; in get_dirty_bit() local 35 pfn = pagemap_entry & ((1ULL << 55) - 1); in get_dirty_bit() 36 if (!pfn) in get_dirty_bit() 39 index = pfn * sizeof(uint64_t); in get_dirty_bit()
|
/third_party/mesa3d/src/util/ |
H A D | u_debug_symbol.c | 115 static PFN pfn = NULL; \ 116 if (!pfn) { \ 117 pfn = (PFN) getDbgHelpProcAddress(#_name); \ 118 if (!pfn) { \ 122 return pfn _arg_names; \
|
/third_party/typescript/tests/baselines/reference/ |
H A D | awaitCallExpression4_es5.js | 6 declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 12 var b = (await pfn)(a, a, a); 24 return [4 /*yield*/, pfn];
|
H A D | awaitCallExpression4_es6.js | 6 declare var pfn: Promise<{ (arg0: boolean, arg1: boolean, arg2: boolean): void; }>; 12 var b = (await pfn)(a, a, a); 20 var b = (yield pfn)(a, a, a);
|
/third_party/vulkan-loader/tests/ |
H A D | loader_handle_validation_tests.cpp | 1169 PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR pfn = in TEST() local 1171 ASSERT_NE(pfn, nullptr); in TEST() 1172 ASSERT_DEATH(pfn(bad_physical_dev, 0, &count, nullptr, nullptr), in TEST() 1186 PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR pfn = in TEST() local 1188 ASSERT_NE(pfn, nullptr); in TEST() 1189 ASSERT_DEATH(pfn(bad_physical_dev, &create_info, &count), in TEST() 1200 PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR pfn = instance.load("vkGetPhysicalDeviceFragmentShadingRatesKHR"); in TEST() local 1201 ASSERT_NE(pfn, nullptr); in TEST() 1202 ASSERT_DEATH(pfn(bad_physical_dev, &count, nullptr), in TEST() 1213 PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT pfn in TEST() local 1225 PFN_vkAcquireDrmDisplayEXT pfn = instance.load("vkAcquireDrmDisplayEXT"); TEST() local 1236 PFN_vkGetDrmDisplayEXT pfn = instance.load("vkGetDrmDisplayEXT"); TEST() local 1248 PFN_vkReleaseDisplayEXT pfn = instance.load("vkReleaseDisplayEXT"); TEST() local 1260 PFN_vkAcquireXlibDisplayEXT pfn = instance.load("vkAcquireXlibDisplayEXT"); TEST() local 1273 PFN_vkGetRandROutputDisplayEXT pfn = instance.load("vkGetRandROutputDisplayEXT"); TEST() local 1294 PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT pfn = instance.load("vkGetPhysicalDeviceSurfacePresentModes2EXT"); TEST() local 1307 PFN_vkGetPhysicalDeviceToolPropertiesEXT pfn = instance.load("vkGetPhysicalDeviceToolPropertiesEXT"); TEST() local [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
H A D | Driver.cpp | 133 if(auto pfn = vk_icdGetInstanceProcAddr(nullptr, #N)) \ in load() 135 N = reinterpret_cast<decltype(N)>(pfn); \ in load() 180 if(auto pfn = vk_icdGetInstanceProcAddr(instance, #N)) \ in resolve() 182 N = reinterpret_cast<decltype(N)>(pfn); \ in resolve()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise11.c | 204 * The idea is to retrieve all the pfn numbers that have been soft-offined 205 * (generating a "Soft offlining pfn 0x..." message in the kernel ring buffer) 207 * And to put these pages back online by writing the pfn number to the 208 * <debugfs>/hwpoison/unpoison-pfn special file. 211 #define OFFLINE_PATTERN "Soft offlining pfn 0x" 214 /* return the pfn if the kmsg msg is a soft-offline indication*/ 240 unsigned long pfn; in populate_from_klog() local 257 pfn = parse_kmsg_soft_offlined_pfn(buf, sz); in populate_from_klog() 258 if (pfn) in populate_from_klog() 259 pfns[found++] = pfn; in populate_from_klog() 285 unpoison_this_pfn(unsigned long pfn, int fd) unpoison_this_pfn() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | cfg_cleanup_pass.cpp | 32 ProcessFunction pfn = [this](Function* fp) { return CFGCleanup(fp); }; in Process() local 33 bool modified = context()->ProcessReachableCallTree(pfn); in Process()
|
H A D | block_merge_pass.cpp | 46 ProcessFunction pfn = [this](Function* fp) { return MergeBlocks(fp); }; in Process() local 47 bool modified = context()->ProcessReachableCallTree(pfn); in Process()
|
H A D | inline_exhaustive_pass.cpp | 64 ProcessFunction pfn = [&status, this](Function* fp) { in ProcessImpl() local 68 context()->ProcessReachableCallTree(pfn); in ProcessImpl()
|
H A D | inline_opaque_pass.cpp | 104 ProcessFunction pfn = [&status, this](Function* fp) { 108 context()->ProcessReachableCallTree(pfn);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | cfg_cleanup_pass.cpp | 32 ProcessFunction pfn = [this](Function* fp) { return CFGCleanup(fp); }; in Process() local 33 bool modified = context()->ProcessReachableCallTree(pfn); in Process()
|
H A D | block_merge_pass.cpp | 46 ProcessFunction pfn = [this](Function* fp) { return MergeBlocks(fp); }; in Process() local 47 bool modified = context()->ProcessReachableCallTree(pfn); in Process()
|
H A D | inline_exhaustive_pass.cpp | 64 ProcessFunction pfn = [&status, this](Function* fp) { in ProcessImpl() local 68 context()->ProcessReachableCallTree(pfn); in ProcessImpl()
|
/third_party/spirv-tools/source/opt/ |
H A D | cfg_cleanup_pass.cpp | 28 ProcessFunction pfn = [this](Function* fp) { return CFGCleanup(fp); }; in Process() local 29 bool modified = context()->ProcessReachableCallTree(pfn); in Process()
|
H A D | block_merge_pass.cpp | 43 ProcessFunction pfn = [this](Function* fp) { return MergeBlocks(fp); }; in Process() local 44 bool modified = context()->ProcessReachableCallTree(pfn); in Process()
|
H A D | inline_exhaustive_pass.cpp | 64 ProcessFunction pfn = [&status, this](Function* fp) { in ProcessImpl() local 68 context()->ProcessReachableCallTree(pfn); in ProcessImpl()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
H A D | adp.c | 250 int remap_pfn_range(VADDR_T vaddr, unsigned long pfn, unsigned long size, unsigned long prot) in remap_pfn_range() argument 257 unsigned long paddr = pfn << PAGE_SHIFT; in remap_pfn_range() 266 if (!IS_PAGE_ALIGNED(vaddr) || pfn == 0) { in remap_pfn_range() 267 VM_ERR("invalid map map vaddr %x or pfn %x", vaddr, pfn); in remap_pfn_range()
|
/third_party/ltp/testcases/kernel/mce-test/tools/ |
H A D | page-types.c | 290 unsigned long pfn; in pagemap_pfn() local 293 pfn = PM_PFRAME(val); in pagemap_pfn() 295 pfn = 0; in pagemap_pfn() 297 return pfn; in pagemap_pfn() 476 sprintf(buf, "%s/corrupt-pfn", hwpoison_debug_fs); in prepare_hwpoison_fd() 481 sprintf(buf, "%s/unpoison-pfn", hwpoison_debug_fs); in prepare_hwpoison_fd() 597 unsigned long pfn; in walk_vma() local 607 pfn = pagemap_pfn(buf[i]); in walk_vma() 608 if (pfn) in walk_vma() 609 walk_pfn(index + i, pfn, in walk_vma() [all...] |
/third_party/python/Lib/ |
H A D | profile.py | 302 ppt, pit, pet, pfn, pframe, pcur = rcur 303 self.cur = ppt, pit + rpt, pet + frame_total, pfn, pframe, pcur 315 if pfn in callers: 316 callers[pfn] = callers[pfn] + 1 # hack: gather more 321 callers[pfn] = 1
|