Searched refs:remainder (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/dev/vn/ |
H A D | vn.c | 303 u_int32_t remainder; local 311 remainder = block_remainder(offset, blocksize); 314 block_round(resid + remainder, blocksize), 323 this_offset = (off_t)this_block_number * blocksize + remainder; 325 this_resid = this_block_count * blocksize - remainder; 396 u_int32_t remainder; local 404 remainder = block_remainder(offset, blocksize); 405 resid_block_count = block_round(resid + remainder, blocksize); 407 if (remainder > 0 436 shadow_block_number * blocksize + remainder); local [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_fsevents.c | 1913 parse_buffer_and_add_events(const char *buffer, int bufsize, vfs_context_t ctx, long *remainder) argument 2002 // if the last event wasn't complete, set the remainder 2005 *remainder = (long)((buffer+bufsize) - event_start); 2026 long offset=0, remainder; local 2058 error = parse_buffer_and_add_events(write_buffer, offset+count, ctx, &remainder); 2064 // if there's any remainder, copy it down to the beginning 2066 // through the loop. note that the remainder always starts 2069 if (remainder != 0) { 2070 // printf("fsevents: write: an event spanned a %d byte boundary. remainder: %ld\n", 2071 // WRITE_BUFFER_SIZE, remainder); [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_mbuf.c | 5642 int remainder, space; local 5646 remainder = len; 5652 if (space > remainder) 5653 space = remainder; 5656 cp += space, remainder -= space; 5658 while (remainder > 0) { 5666 n->m_len = min(MLEN, remainder); 5669 remainder -= n->m_len; 5674 m0->m_pkthdr.len += len - remainder; 5675 return (remainder [all...] |
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | sched_prim.c | 2332 int64_t remainder = 0; local 2335 remainder = processor->quantum_end - 2338 consumed = thread->current_quantum - remainder; 2354 * Compute remainder of current quantum. 2358 thread->current_quantum = (uint32_t)remainder; 2387 * take the remainder of the quantum.
|
Completed in 46 milliseconds