Searched refs:desired_size (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_bio.c | 3228 vm_size_t desired_size; local 3230 desired_size = roundup(size, CLBYTES); 3232 if (desired_size < PAGE_SIZE) 3233 desired_size = PAGE_SIZE; 3234 if (desired_size > MAXBSIZE) 3250 desired_size = nsize; 3256 kmem_alloc_kobject(kernel_map, (vm_offset_t *)&bp->b_datap, desired_size); local 3262 desired_size = bp->b_bufsize; 3266 if ((vm_size_t)bp->b_bufsize < desired_size) { 3269 kmem_alloc_kobject(kernel_map, (vm_offset_t *)&bp->b_datap, desired_size); local 3285 kmem_alloc_kobject(kernel_map, (vm_offset_t *)&bp->b_datap, desired_size); local [all...] |
H A D | vfs_journal.c | 2328 // The "desired_size" is in bytes. 2331 check_free_space(journal *jnl, int desired_size, boolean_t *delayed_header_write, uint32_t sequence_num) argument 2337 // desired_size, free_space(jnl)); 2346 if (free_space(jnl) > desired_size && jnl->old_start[0] == 0) { 2393 if (free_space(jnl) > desired_size) {
|
Completed in 26 milliseconds