/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_kern.c | 185 m->busy = FALSE; 431 mem->busy = FALSE; 451 mem->busy = FALSE; 484 mem->busy = FALSE; 568 assert(mem->busy); 583 mem->busy = FALSE; 651 mem->busy = FALSE; 741 mem->busy = TRUE; 745 assert(mem->busy); 1033 mem->busy [all...] |
H A D | vm_fault.c | 507 if (m && !m->laundry && !m->busy && !m->no_cache && !m->throttled && !m->fictitious && !m->absent) { 780 * If this is not the original object, a busy page in the 785 * The "result_page" is also left busy. It is not removed 919 * lock or a busy page in some object to prevent 925 * we use a busy page then. 929 * object before we do, we must keep a busy page in 933 * for which we have a busy page before dropping 936 * 4) We leave busy pages on the pageout queues. 937 * If the pageout daemon comes across a busy page, 1023 if (m->busy) { [all...] |
H A D | vm_pageout.c | 513 (m->busy && m->cleaning)); 525 * successfully cleaned. Target pages are always busy, and are 532 assert(m->busy); 542 * locked, and the page is busy, this prevents the page 563 vm_page_free(m);/* clears busy, etc. */ 584 if (m->busy) { 587 * The page was busy so no extraneous activity 596 m->busy = FALSE; 630 m->busy = FALSE; 660 * The page must not be busy, an [all...] |
H A D | vm_page.h | 211 /* boolean_t */ busy:1, /* page is in transit (O) */ member in struct:vm_page 227 pageout:1, /* page wired & busy for pageout (O) */ 694 * Functions implemented as macros. m->wanted and m->busy are 714 (m)->busy = FALSE; \ 987 * be held stable via the busy bit, so if busy isn't already 995 if (mem->busy == FALSE) { \ 996 mem->busy = TRUE; \
|
H A D | vm_resident.c | 542 m->busy = TRUE; 1183 * been purged (because it was "busy"). 1871 mem->busy = TRUE; 1882 assert(mem->busy); 1941 assert(mem->busy); 2061 assert(mem->busy); 2133 assert(mem->busy); 2524 assert(mem->busy); 2569 assert(mem->busy); 3566 boolean_t was_busy = src_m->busy; [all...] |
H A D | vm_object.c | 1124 if (VM_PAGE_WIRED(p) || p->busy || p->cleaning || p->laundry || p->fictitious) 1368 if (VM_PAGE_WIRED(p) || p->busy || p->cleaning || p->laundry) { 1760 * It is possible for us to find busy/absent pages, 1907 if (p->busy || p->cleaning) { 1948 if (p->laundry && !p->busy && !p->cleaning) { 1961 if (p->busy) { 1963 * We can't reclaim a busy page but we can 2317 if (!p->busy && !p->throttled) { 2562 if (( !VM_PAGE_WIRED(m)) && (!m->private) && (!m->gobbled) && (!m->busy) && (!m->laundry)) { 3275 * not busy, perfor [all...] |
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 | 496 assert(src_page->busy); 525 * is "busy".
|
H A D | memory_object.c | 177 if (m->busy || m->cleaning)
|
H A D | vm_map.c | 1420 if (m == VM_PAGE_NULL || m->busy || m->encrypted || 3135 assert(m->busy); 3138 m->busy = FALSE; 3235 assert(!m->busy); 13796 if (m->busy ||
|
/xnu-2422.115.4/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...] |
/xnu-2422.115.4/osfmk/mach/i386/ |
H A D | _structs.h | 182 busy :1;
|
/xnu-2422.115.4/iokit/Kernel/ |
H A D | IOService.cpp | 484 SInt32 busy; local 492 adjParent = ((busy = (__state[1] & kIOServiceBusyStateMask)) 497 if( busy) { 499 if( busy && (__state[1] & kIOServiceTermPhase3State) && (0 == newProvider)) 500 _adjustBusy( -busy ); 1890 // wait for the victim to go non-busy 2892 // adjust the busy count by +1 if matching is stalled for a module, 3222 OSReportWithBacktrace("%s: bad busy count (%d,%d)\n", next->getName(), count, delta); 3368 panic("IOService 0x%llx (%s) busy timeout", getRegistryEntryID(), getName()); 5009 {kIOReturnBusy, "device is busy" }, [all...] |
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_bio.c | 1360 * if BUF_NOTIFY_BUSY is set, call the callout function using a NULL bp for busy pages 1514 * found a busy buffer... we blocked and 1585 * found a busy buffer... we blocked and 1642 int busy = 0; local 1661 busy++; 1702 if (vp->v_dirtyblkhd.lh_first && busy) { 1719 busy = 0; 2877 * block cache, mark it as having been found, make it busy 2910 * but is busy 2945 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...] |
/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_vnops.c | 722 * On the first (non-busy) open of a fragmented 778 int busy; local 839 busy = vnode_isinuse(vp, 1); 841 if (busy) { 845 hfs_reldirhints(cp, busy); 846 } else if (vnode_issystem(vp) && !busy) { 3592 * Carbon semantics prohibit deleting busy files. 3611 * 2) Neither fork is busy AND we are not told to unlink this. 3614 * having a busy data or rsrc fork 3642 * Prepare to truncate any non-busy fork [all...] |
/xnu-2422.115.4/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...] |