Searched refs:trim (Results 1 - 6 of 6) sorted by relevance
/xnu-2782.1.97/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 4K at a time. 3029 ; trim - The trim list to be resized. 3035 ; The allocated_count and extents fields of tr->trim are updated 3040 trim_realloc(journal *jnl, struct jnl_trim_list *trim) argument 3047 KERNEL_DEBUG_CONSTANT(DBG_JOURNAL_TRIM_REALLOC | DBG_FUNC_START, VM_KERNEL_ADDRPERM(trim), 0, trim 3115 trim_search_extent(struct jnl_trim_list *trim, uint64_t offset, uint64_t length, uint64_t *overlap_start, uint64_t *overlap_len) argument 3396 trim_remove_extent(journal *jnl, 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
|
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_btreeio.c | 391 int64_t trim = 0; local 493 // even multiple of the nodeSize then trim things back. if 494 // the file isn't large enough we trim back to the original 495 // size. otherwise we trim back to be an even multiple of the 508 trim = filePtr->fcbEOF - origSize; 510 trim = ((filePtr->fcbEOF - origSize) % btInfo.nodeSize); 513 ret = TruncateFileC(vcb, filePtr, filePtr->fcbEOF - trim, 0, 0, FTOC(filePtr)->c_fileid, 0); 524 panic("hfs: error truncating btree files (sz 0x%llx, trim %lld, ret %ld)\n", 525 filePtr->fcbEOF, trim, (long)ret); 541 panic("hfs: extendbtree: fcb %p has eof 0x%llx not a multiple of 0x%x (trim [all...] |
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_control.c | 496 int32_t trim; local 504 * We cannot trim below the outstanding data 506 trim = sb->sb_hiwat - sb->sb_cc; 508 trim = imin(trim, (int32_t)diff); 510 if (trim > 0) { 511 sbreserve(sb, (sb->sb_hiwat - trim));
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | tcp_input.c | 680 * While we overlap succeeding segments trim them or, 1090 /* This function will trim the excess space added to the socket buffer 1099 int32_t trim; local 1108 /* How much can we trim the receive socket buffer? 1121 trim = sbrcv->sb_hiwat - (sbrcv->sb_cc + leave); 1122 trim = imin(trim, (int32_t)diff); 1124 if (trim > 0) 1125 sbreserve(sbrcv, (sbrcv->sb_hiwat - trim)); 1129 /* We may need to trim th 1142 u_int32_t trim = 0; local [all...] |
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 210 * HFSDBG_UNMAP_ENABLED: Log events involving the trim list. 381 struct jnl_trim_list *trim = &(jnl->active_tr->trim); local 382 count = trim->extent_count; 384 blockno_offset = trim->extents[i].offset; 387 numblocks = trim->extents[i].length / hfsmp->blockSize; 447 /* Validate that the trim is in a valid range of bytes */ 449 printf("hfs_unmap_free_ext: ignoring trim vol=%s @ off %lld len %lld \n", hfsmp->vcbVN, offset, length); 489 ; list - The list of currently tracked trim ranges. 525 ; list - The list of currently tracked trim range [all...] |
Completed in 72 milliseconds