Searched refs:trim (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_journal.c | 65 * Set sysctl vfs.generic.jnl.kdebug.trim=1 to enable KERNEL_DEBUG_CONSTANT 66 * logging of trim-related calls within the journal. (They're 75 SYSCTL_INT(_vfs_generic_jnl_kdebug, OID_AUTO, trim, CTLFLAG_RW|CTLFLAG_LOCKED, &jnl_kdebug, 0, "Enable kdebug logging for journal TRIM"); 127 // By default, we grow the list of extents to trim by one page at a time. 2985 ; trim - The trim list to be resized. 2991 ; The allocated_count and extents fields of tr->trim are updated 2996 trim_realloc(struct jnl_trim_list *trim) argument 3002 KERNEL_DEBUG_CONSTANT(DBG_JOURNAL_TRIM_REALLOC | DBG_FUNC_START, trim, 0, trim 3054 trim_search_extent(struct jnl_trim_list *trim, uint64_t offset, uint64_t length) argument 3241 trim_remove_extent(struct jnl_trim_list *trim, uint64_t offset, uint64_t length) argument [all...] |
H A D | vfs_journal.h | 100 struct jnl_trim_list trim; member in struct:transaction
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_btreeio.c | 366 int64_t trim = 0; local 468 // even multiple of the nodeSize then trim things back. if 469 // the file isn't large enough we trim back to the original 470 // size. otherwise we trim back to be an even multiple of the 483 trim = filePtr->fcbEOF - origSize; 485 trim = ((filePtr->fcbEOF - origSize) % btInfo.nodeSize); 488 ret = TruncateFileC(vcb, filePtr, filePtr->fcbEOF - trim, 0, 0, FTOC(filePtr)->c_fileid, 0); 499 panic("hfs: error truncating btree files (sz 0x%llx, trim %lld, ret %ld)\n", 500 filePtr->fcbEOF, trim, (long)ret); 516 panic("hfs: extendbtree: fcb %p has eof 0x%llx not a multiple of 0x%x (trim [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_input.c | 633 * While we overlap succeeding segments trim them or, 952 /* This function will trim the excess space added to the socket buffer 961 int32_t trim; local 970 /* How much can we trim the receive socket buffer? 983 trim = sbrcv->sb_hiwat - (sbrcv->sb_cc + leave); 984 trim = imin(trim, (int32_t)diff); 986 if (trim > 0) 987 sbreserve(sbrcv, (sbrcv->sb_hiwat - trim)); 991 /* We may need to trim th 1004 u_int32_t trim = 0; local [all...] |
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 262 * HFSDBG_UNMAP_ENABLED: Log events involving the trim list. 459 struct jnl_trim_list *trim = &(jnl->active_tr->trim); local 460 count = trim->extent_count; 462 blockno_offset = trim->extents[i].offset; 465 numblocks = trim->extents[i].length / hfsmp->blockSize; 525 /* Validate that the trim is in a valid range of bytes */ 527 printf("hfs_unmap_free_ext: ignoring trim @ off %lld len %lld \n", offset, length); 569 ; list - The list of currently tracked trim ranges. 605 ; list - The list of currently tracked trim range [all...] |
Completed in 48 milliseconds