/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_fault.c | 493 if (m && !m->laundry && !m->busy && !m->no_cache && !m->throttled && !m->fictitious && !m->absent) { 750 * If this is not the original object, a busy page in the 755 * The "result_page" is also left busy. It is not removed 879 * lock or a busy page in some object to prevent 885 * we use a busy page then. 889 * object before we do, we must keep a busy page in 893 * for which we have a busy page before dropping 896 * 4) We leave busy pages on the pageout queues. 897 * If the pageout daemon comes across a busy page, 969 if (m->busy) { [all...] |
H A D | vm_pageout.c | 506 (m->busy && m->cleaning)); 518 * successfully cleaned. Target pages are always busy, and are 525 assert(m->busy); 535 * locked, and the page is busy, this prevents the page 556 vm_page_free(m);/* clears busy, etc. */ 577 if (m->busy) { 580 * The page was busy so no extraneous activity 589 m->busy = FALSE; 623 m->busy = FALSE; 653 * The page must not be busy, an [all...] |
H A D | vm_page.h | 205 /* boolean_t */ busy:1, /* page is in transit (O) */ member in struct:vm_page 219 pageout:1, /* page wired & busy for pageout (O) */ 669 * Functions implemented as macros. m->wanted and m->busy are 700 (m)->busy = FALSE; \ 942 * be held stable via the busy bit, so if busy isn't already 950 if (mem->busy == FALSE) { \ 951 mem->busy = TRUE; \
|
H A D | vm_object.c | 1111 if (VM_PAGE_WIRED(p) || p->busy || p->cleaning || p->laundry || p->fictitious) 1355 if (VM_PAGE_WIRED(p) || p->busy || p->cleaning || p->laundry) { 1742 * It is possible for us to find busy/absent pages, 1880 if (p->busy || p->cleaning) { 1921 if (p->laundry && !p->busy && !p->cleaning) { 1934 if (p->busy) { 1936 * We can't reclaim a busy page but we can 2296 if (!p->busy && !p->throttled) { 2521 if (( !VM_PAGE_WIRED(m)) && (!m->private) && (!m->gobbled) && (!m->busy) && (!m->laundry)) { 3161 * not busy, perfor [all...] |
H A D | vm_resident.c | 529 m->busy = TRUE; 1119 * been purged (because it was "busy"). 1762 mem->busy = TRUE; 1773 assert(mem->busy); 1832 assert(mem->busy); 1952 assert(mem->busy); 2024 assert(mem->busy); 2411 assert(mem->busy); 2456 assert(mem->busy); 3386 boolean_t was_busy = src_m->busy; [all...] |
H A D | vm_kern.c | 180 m->busy = FALSE; 409 mem->busy = FALSE; 426 mem->busy = FALSE; 449 mem->busy = FALSE; 752 mem->busy = FALSE; 814 * Enter it in the kernel pmap. The page isn't busy,
|
H A D | bsd_vm.c | 411 if (dst_page->busy || dst_page->cleaning) { 452 dst_page->busy = TRUE;
|
H A D | vm_apple_protect.c | 494 assert(src_page->busy); 523 * is "busy".
|
H A D | memory_object.c | 179 if (m->busy || m->cleaning)
|
H A D | vm_map.c | 1406 if (m == VM_PAGE_NULL || m->busy || m->encrypted || 2888 assert(m->busy); 2891 m->busy = FALSE; 2988 assert(!m->busy); 12980 if (m->busy ||
|
/darwin-on-arm/xnu/security/ |
H A D | mac_base.c | 262 * unloaded. Such policies can be invoked without holding the busy count. 265 * are considered to be "dynamic" policies. A busy count is maintained 266 * for the list, stored in mac_policy_busy. The busy count is protected 267 * by mac_policy_mtx; the list may be modified only while the busy 270 * incrementing the busy count is sufficient to guarantee consistency, 271 * as the list cannot be modified while the busy count is elevated. 1098 int all_labels = 0, ignorenotfound = 0, error = 0, busy = FALSE; local 1154 if (!busy && mac_policy_list_conditional_busy() == 1) { 1156 busy = TRUE; 1160 if (busy) 1238 int error = 0, busy = FALSE; local [all...] |
/darwin-on-arm/xnu/osfmk/mach/i386/ |
H A D | _structs.h | 182 busy :1;
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vnops.c | 529 * On the first (non-busy) open of a fragmented 585 int busy; local 646 busy = vnode_isinuse(vp, 1); 648 if (busy) { 652 hfs_reldirhints(cp, busy); 653 } else if (vnode_issystem(vp) && !busy) { 3157 * Carbon semantics prohibit deleting busy files. 3176 * 2) Neither fork is busy AND we are not told to unlink this. 3179 * having a busy data or rsrc fork 3207 * Prepare to truncate any non-busy fork [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOService.cpp | 483 SInt32 busy; local 491 adjParent = ((busy = (__state[1] & kIOServiceBusyStateMask)) 496 if( busy) { 498 if( busy && (__state[1] & kIOServiceTermPhase3State) && (0 == newProvider)) 499 _adjustBusy( -busy ); 1869 // wait for the victim to go non-busy 2863 // adjust the busy count by +1 if matching is stalled for a module, 3194 OSReportWithBacktrace("%s: bad busy count (%d,%d)\n", next->getName(), count, delta); 4958 {kIOReturnBusy, "device is busy" },
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_bio.c | 1342 * if BUF_NOTIFY_BUSY is set, call the callout function using a NULL bp for busy pages 1496 * found a busy buffer... we blocked and 1567 * found a busy buffer... we blocked and 1624 int busy = 0; local 1643 busy++; 1684 if (vp->v_dirtyblkhd.lh_first && busy) { 1701 busy = 0; 2853 * block cache, mark it as having been found, make it busy 2886 * but is busy 2921 panic("getblk: paging or unknown operation for incore busy buffe [all...] |
H A D | vfs_subr.c | 530 /* Look for busy vnode */ 848 * Mark a mount point as busy. Used to synchronize access and to delay 872 * Since all busy locks are shared except the exclusive 897 * Free a busy filesystem. 1803 * vnode is still busy... if we're the last 1901 int busyprt = 0; /* print out busy vnodes */ 1911 int busy = 0; local 1923 * it is still busy or not. 2050 vprint("vflush: busy vnode", vp); 2054 busy [all...] |
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs4_vnops.c | 1752 * Mark an NFS node's open state as busy. 1782 * Clear an NFS node's open state busy flag and wake up 1882 panic("nfs_open_owner_rele: busy"); 1894 * Mark an open owner as busy because we are about to 1925 * Clear the busy flag on an open owner and wake up anyone waiting 1926 * to mark it busy. 2075 * Mark an open file as busy because we are about to 2106 * Clear the busy flag on an open file and wake up anyone waiting 2107 * to mark it busy. 3035 panic("nfs_lock_owner_rele: busy"); 3574 int error = 0, error2, willsplit = 0, delay, slpflag, busy = 0, inuse = 0, restart, inqueue = 0; local [all...] |