| /freebsd/sys/dev/drm2/ttm/ |
| H A D | ttm_memory.h | 32 * struct ttm_mem_shrink - callback to shrink TTM memory usage. 48 * @shrink: A single callback to shrink TTM memory usage. Extend this 54 * @work: The workqueue callback for the shrink queue. 55 * @lock: Lock to protect the @shrink - and the memory accounting members, 71 struct ttm_mem_shrink *shrink; member 84 * @shrink: The object to initialize. 88 static inline void ttm_mem_init_shrink(struct ttm_mem_shrink *shrink, in ttm_mem_init_shrink() argument 91 shrink->do_shrink = func; in ttm_mem_init_shrink() 98 * @shrink: An initialized struct ttm_mem_shrink object to register. 105 struct ttm_mem_shrink *shrink) in ttm_mem_register_shrink() argument [all …]
|
| H A D | ttm_memory.c | 154 * At this point we only support a single shrink callback. 164 struct ttm_mem_shrink *shrink; in ttm_shrink() local 167 if (glob->shrink == NULL) in ttm_shrink() 171 shrink = glob->shrink; in ttm_shrink() 173 ret = shrink->do_shrink(shrink); in ttm_shrink() 288 /* let the page allocator first stop the shrink work. */ in ttm_mem_global_release()
|
| H A D | ttm_bo.c | 43 static int ttm_bo_swapout(struct ttm_mem_shrink *shrink); 1472 ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_kobj_release() 1513 ttm_mem_init_shrink(&glob->shrink, ttm_bo_swapout); in ttm_bo_global_init() 1514 ret = ttm_mem_register_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_init() 1798 * A buffer object shrink method that tries to swap out the first 1802 static int ttm_bo_swapout(struct ttm_mem_shrink *shrink) in ttm_bo_swapout() argument 1805 container_of(shrink, struct ttm_bo_global, shrink); in ttm_bo_swapout() 1890 while (ttm_bo_swapout(&bdev->glob->shrink) == 0) in ttm_bo_swapout_all()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShrinkWrap.cpp | 91 #define DEBUG_TYPE "shrink-wrap" 94 STATISTIC(NumCandidates, "Number of shrink-wrapping candidates"); 96 "Number of shrink-wrapping candidates dropped because of frequency"); 99 EnableShrinkWrapOpt("enable-shrink-wrap", cl::Hidden, 100 cl::desc("enable the shrink-wrapping pass")); 102 "enable-shrink-wrap-region-split", cl::init(true), cl::Hidden, 110 /// shrink-wrapping term for prologue/epilogue placement, this pass 205 /// This function tries to split the restore point if doing so can shrink the 249 /// shrink-wrapping. 252 /// Check if shrink wrapping is enabled for this target and function. [all …]
|
| H A D | LiveRangeShrink.cpp | 1 //===- LiveRangeShrink.cpp - Move instructions to shrink live range -------===// 11 /// shrink live range of the def instruction. The code motion is limited within 39 "Number of insructions hoisted to shrink live range."); 56 StringRef getPassName() const override { return "Live Range Shrink"; } 67 INITIALIZE_PASS(LiveRangeShrink, "lrshrink", "Live Range Shrink Pass", false,
|
| H A D | LiveRangeEdit.cpp | 282 /// Find all live intervals that need to shrink, then remove the instruction. 336 // Check for live intervals that may shrink in eliminateDeadDef() 351 // Shrink read registers, unless it is likely to be expensive and in eliminateDeadDef() 352 // unlikely to change anything. We typically don't want to shrink the in eliminateDeadDef() 354 // Always shrink COPY uses that probably come from live range splitting. in eliminateDeadDef() 449 // Shrink just one live interval. Then delete new dead defs. in eliminateDeadDefs()
|
| /freebsd/sys/contrib/openzfs/config/ |
| H A D | kernel-shrink.m4 | 26 static unsigned long shrinker_cb(struct shrinker *shrink, 68 static unsigned long shrinker_cb(struct shrinker *shrink, 76 register_shrinker(&cache_shrinker, "vararg-reg-shrink-test"); 98 static unsigned long shrinker_cb(struct shrinker *shrink,
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | arc_os.c | 177 arc_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in arc_shrinker_count() argument 181 * ARC's callback actually frees, so it may ask the ARC to shrink a in arc_shrinker_count() 184 * it may force the ARC to unnecessarily shrink very small. in arc_shrinker_count() 190 * In practice, we may be asked to shrink 4x the limit to satisfy one in arc_shrinker_count() 206 arc_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in arc_shrinker_scan() argument 295 * system. This gives the ARC time to shrink in response to memory in arc_set_sys_free() 357 * swapping out pages when it is preferable to shrink the arc. in arc_lowmem_init()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIShrinkInstructions.cpp | 1 //===-- SIShrinkInstructions.cpp - Shrink Instructions --------------------===// 18 #define DEBUG_TYPE "si-shrink-instructions" 67 StringRef getPassName() const override { return "SI Shrink Instructions"; } in getPassName() 78 "SI Shrink Instructions", false, false) 143 /// Do not shrink the instruction if its registers are not expressible in the 150 assert(!Reg.isVirtual() && "Prior checks should ensure we only shrink " in shouldShrinkTrue16() 282 // Shrink NSA encoded instructions with contiguous VGPRs to non-NSA encoding. 402 // Shrink MAD to MADAK/MADMK and FMA to FMAAK/FMAMK. 405 // there is no reason to try to shrink them. in shrinkMadFma() 504 /// Attempt to shrink AND/OR/XOR operations requiring non-inlineable literals. [all …]
|
| H A D | SILowerSGPRSpills.cpp | 176 // Use the points found by shrink-wrapping, if any. in calculateSaveRestoreBlocks() 199 // TODO: To support shrink wrapping, this would need to copy 250 assert(SaveBlocks.size() == 1 && "shrink wrapping not fully implemented"); in spillCalleeSavedRegs()
|
| /freebsd/usr.bin/truncate/tests/ |
| H A D | truncate_test.sh | 222 "shrink a new 1m file" 236 # Shrink the existing file to 1k. We are using absolute sizes. 271 atf_set "descr" "Verifies truncate can make and shrink a new 1m file" \ 286 # Shrink the existing file to 1k. We are using relative sizes. 375 # Create a new file and do a 100 byte negative relative shrink.
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FrameLowering.h | 154 /// This method is used by the shrink-wrapping pass to decide if 156 /// As soon as the target enable shrink-wrapping without overriding 164 /// This method is used by the shrink-wrapping pass to decide if 168 /// Returns true if the target will correctly handle shrink wrapping.
|
| /freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | shrinker.h | 49 * my_count(struct shrinker *shrink, struct shrink_control *sc) 57 * my_scan(struct shrinker *shrink, struct shrink_control *sc)
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | Thumb1FrameLowering.h | 48 /// This method is used by the shrink-wrapping pass to decide if 52 /// Disable shrink wrap as tBfar/BL will be used to adjust for long jumps.
|
| /freebsd/contrib/ldns/ |
| H A D | edns.c | 287 /* shrink the total EDNS size if the old EDNS option exists */ in ldns_edns_option_list_set_option() 362 /* shrink the array */ in ldns_edns_option_list_pop() 376 /* shrink the total EDNS size of the options if the popped EDNS option exists */ in ldns_edns_option_list_pop()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | InterpStack.h | 51 shrink(aligned_size<T>()); in pop() 64 shrink(aligned_size<T>()); in discard() 114 void shrink(size_t Size);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetFrameLowering.h | 197 /// Returns true if the target will correctly handle shrink wrapping. 421 /// This method is used by the shrink-wrapping pass to decide if 423 /// As soon as the target enable shrink-wrapping without overriding 433 /// This method is used by the shrink-wrapping pass to decide if 435 /// As soon as the target enable shrink-wrapping without overriding
|
| /freebsd/sys/contrib/zstd/programs/ |
| H A D | zstd.1 | 267 \fB\-\-train\-cover[=k#,d=#,steps=#,split=#,shrink[=#]]\fR 268 …\fId\fR <= \fIk\fR\. If \fIshrink\fR flag is not used, then the default value for \fIshrinkDict\fR… 271 …tithreading if \fBzstd\fR is compiled with threading support\. Having \fIshrink\fR enabled takes a… 292 \fBzstd \-\-train\-cover=shrink FILEs\fR 295 \fBzstd \-\-train\-cover=shrink=2 FILEs\fR
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMachineFunctionInfo.h | 68 /// Do we have to disable shrink-wrapping? This has to be set if we emit any 70 /// in PEI is too late (happens after shrink-wrapping); 202 /// We certainly don't want to shrink wrap functions if we've emitted a
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.h | 1 //===- LibCallsShrinkWrap.h - Shrink Wrap Library Calls -------------------===//
|
| /freebsd/lib/libc/stdlib/ |
| H A D | recallocarray.c | 48 * we do not shrink for series of small steps, oh well. in recallocarray()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | mem_map_fuchsia.h | 47 // use. unmapImpl() can shrink this range, either at the beginning or at the
|
| /freebsd/tools/build/test-includes/ |
| H A D | Makefile | 47 # ever shrink and never grow.
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerOptions.h | 41 bool Shrink = false; member
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | recallocarray.c | 62 * we do not shrink for series of small steps, oh well. in recallocarray()
|