/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | tcp_subr.c | 759 * discard all space held by the tcp 1927 long space, newspace; 1929 space = ((long) lmin((sb->sb_hiwat - sb->sb_cc), 1937 return 0; /* Triggers TCP window closing by responding there is no space */ 1947 if (space < tp->t_maxseg) 1948 return space; 1953 return lmin(space, slowlink_wsize); 1956 * Check for ressources constraints before over-ajusting the amount of space we can 1962 if (space < (long)(sb->sb_maxused - sb->sb_cc)) {/* make sure we don't constrain the window if we have enough ressources */ 1963 space [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_credential.c | 197 * space credential identity resolver daemon to communicate 208 * enqueueing a request to a user space daemon. 228 * the user space daemon. 238 * ??? An error from the user space 509 * item from the kernel to user space as part of the user space 512 * Parameters: message message to user space 515 * EFAULT Bad user space message address 519 * while we are waiting for the user space resolver to complete 522 * larger number of threads in the user space identit 4302 size_t space; local 4382 size_t space; local [all...] |
H A D | uipc_socket.c | 1322 * verify that there is space for the data being inserted. 1337 long space; local 1388 space = sbspace(&so->so_snd); 1390 space += 1024; 1394 if (space < resid + clen && 1395 (atomic || space < (long)so->so_snd.sb_lowat || space < clen)) { 1477 register long space, len, resid; local 1501 * However, space must be signed, as it might be less than 0 1503 * of space an [all...] |
H A D | kern_control.c | 547 ctl_getenqueuespace(kern_ctl_ref kctlref, u_int32_t unit, size_t *space) argument 554 if (kctlref == NULL || space == NULL) 567 *space = (avail < 0) ? 0 : avail;
|
H A D | uipc_mbuf.c | 289 * can be turned into NMBPCL number of mbufs, we preserve enough space for the 3308 * cache (either MC_MBUF_CL or MC_MBUF_BIGCL). For space efficiency, 3718 * Compute the amount of space available before the current start 3735 * Compute the amount of space available after the end of data in an mbuf. 4158 int space; local 4184 space = &m->m_dat[MLEN] - (m->m_data + m->m_len); 4186 count = MIN(MIN(MAX(len, max_protohdr), space), n->m_len); 4192 space -= count;
|
H A D | kern_exec.c | 157 ipc_space_t space, 179 * SIZE_MAXPTR The maximum size of a user space pointer, in bytes 180 * SIZE_IMG_STRSPACE The available string space, minus two pointers; we 225 * Add the requested string to the string space area. 235 * (imgp->ip_strspace) updated byte count of space remaining 271 * string space count to the size of the string area minus the path length 285 * (imgp->ip_strspace) space remaining in ip_strings 423 * are separated by white space, and copy them into the argument save area 897 * Set up the system reserved areas in the new address space. 951 * space [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if.c | 252 /* allocate space for the larger arrays */ 1597 size_t space; local 1605 space = *ret_space; 1607 for (ifp = ifnet_head.tqh_first; space > sizeof(ifr) && ifp; ifp = ifp->if_link.tqe_next) { 1624 for ( ; space > sizeof (ifr) && ifa; 1644 if (space < sizeof (ifr) + sa->sa_len - sizeof(*sa)) 1646 space -= sa->sa_len - sizeof(*sa); 1657 space -= sizeof (ifr); 1668 space -= sizeof (ifr); 1673 *ret_space -= space; [all...] |
H A D | bsd_comp.c | 209 * lie within the contiguous general code space. 338 * Allocate space for a (de) compressor. 868 int space, codelen, extra; local 917 space = M_TRAILINGSPACE(dmp) - PPP_HDRLEN + 1; 1021 if ((space -= codelen + extra) < 0) { 1032 space = M_TRAILINGSPACE(m) - (codelen + extra); 1033 if (space < 0) { 1068 * if not out of code space, then allocate a new code.
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/device/ |
H A D | iokit_rpc.c | 186 iokit_lookup_connect_ref(io_object_t connectRef, ipc_space_t space) argument 194 kr = ipc_object_translate(space, (mach_port_name_t)connectRef, MACH_PORT_RIGHT_SEND, (ipc_object_t *)&port);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/ |
H A D | synthfs.h | 226 void synthfs_setupuio (struct iovec *iov, struct uio *uio, void *buffer, size_t bufsize, enum uio_seg space, enum uio_rw direction, proc_t p);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_protos.h | 83 ipc_space_t space); 108 * user space, and are now restricted to the kernel.
|
H A D | bsd_vm.c | 309 ipc_space_t space; local 314 space = current_space(); 315 if(ipc_port_translate_receive(space, (mach_port_name_t)trigger_name,
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | mappings.c | 120 * This function is called to generate an address space ID. This space ID must be unique within 122 * way: space ID << 4 | segment. Since a VSID is 24 bits, and out of that, we reserve the last 123 * 4, so, we can have 2^20 (2M) unique IDs. Each pmap has a unique space ID, so we should be able 126 * they are release. This causes us to lose track of what space IDs are free to be reused. 128 * when the space ID wraps, or 4) scan the list of pmaps and find a free one. 135 * are reserved for the segment number, which means that we really have 2^(12-4) 512 space IDs 136 * before we start hashing to the same buckets with the same vaddrs. Also, within a space ID, 141 * There may be a problem with the space ID, though. A new space I 1031 unsigned int space, i; local [all...] |
H A D | vmachmon_asm.s | 74 .long EXT(vmm_map_page32) ; Maps a page from the main address space into the VM space - supports 32-bit 78 .long EXT(vmm_unmap_page32) ; Unmaps a page from the VM space - supports 32-bit 80 .long EXT(vmm_unmap_all_pages) ; Unmaps all pages from the VM space 118 .long EXT(vmm_map_page) ; Map a host to guest address space - supports 64-bit 342 * Then we will setup the new address space to run with, and anything else that is normally part 367 rlwinm r31,r4,24,24,31 ; Get the address space 375 subic. r31,r31,1 ; Make address space 0 based and test if we use default 379 bge-- swvmmDAdsp ; There was an explicit address space request 380 mr r31,r4 ; Default the address space t [all...] |
H A D | misc_asm.s | 78 subi r9,r9,FM_REDZONE+FM_SIZE ; Carve some extra space here
|
H A D | mappings.h | 87 * for mapping this non-contiguous space into the contiguous 204 #define mpNest 0x00002000 /* Forces transtion to an alternate address space after applying relocation */ 205 #define mpLinkage 0x00003000 /* Transition to current user address space with relocation - used for copyin/out/pv */ 206 #define mpACID 0x00004000 /* Address Chunk ID - provides the address space ID for VSID calculation. Normally mapped at chunk size - 2KB */ 226 unsigned short mpSpace; /* 0x004 - Address space hash */ 295 unsigned int spacenum; /* Last space num to search pmap */ 404 extern addr64_t mapping_p2v(pmap_t pmap, ppnum_t pa); /* Finds first virtual mapping of a physical page in a space */ 427 extern mapping_t *hw_find_space(struct phys_entry *pp, unsigned int space); /* Given a phys_entry, find its first mapping in the specified space */ 463 extern void hw_set_user_space(pmap_t pmap); /* Indicate we need a space switc [all...] |
H A D | bcopy.s | 153 ; boundary between RAM and I/O space. Good chance of hanging the machine and this code 212 beq-- cr7,io_space_real_mode_copy ; an operand is in I/O space 229 ; We need to copy with DR off, but one of the operands is in I/O space. To avoid wedging U3, 230 ; which cannot handle a cache burst in I/O space, we must turn caching off for the real memory access.
|
H A D | hw_lock.s | 82 #define PROLOG(space) \ 83 stwu r1,-(FM_ALIGN(space)+FM_SIZE)(r1) __ASMNL__ \ 88 stw r2,(FM_ALIGN(space)+FM_SIZE+FM_CR_SAVE)(r1) __ASMNL__ \ 89 stw r0,(FM_ALIGN(space)+FM_SIZE+FM_LR_SAVE)(r1) __ASMNL__
|
H A D | status.c | 1672 spc = (unsigned int)thread->map->pmap->space; /* Get the space we're in */
|
H A D | hw_exception.s | 75 * leaving enough space for the 'red zone' in case the 86 /* TRAP_SPACE_NEEDED is the space assumed free on the kernel stack when 87 * another trap is taken. We need at least enough space for a saved state 89 * hundred bytes for the space needed by the C (which may be less but 1066 beq- .L_kernel_int_ast ; In kernel space, AST_URGENT check 1431 setena: lwz r18,umwSpace(r28) ; Get the space ID in case we are launching user
|
/macosx-10.5.8/xnu-1228.15.4/bsd/uxkern/ |
H A D | ux_exception.c | 68 extern kern_return_t ipc_object_copyin(ipc_space_t space, mach_port_name_t name,
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOPlatformExpert.cpp | 874 const uuid_t space = { 0x2A, 0x06, 0x19, 0x90, 0xD3, 0x8D, 0x44, 0x40, 0xA1, 0x39, 0xC4, 0x97, 0x70, 0x37, 0x65, 0xAC }; local 877 SHA1Update( &context, space, sizeof( space ) );
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_attrlist.c | 99 /* calculate space and pack the variable object */ 124 ssize_t fit, space; local 147 space = ab->allocated - (ab->varcursor - ab->base); 148 fit = imin(count, space); 152 if (space > fit) 1077 * Compute variable-space requirements. 1120 * user-space this is OK. 1714 if (((char *)(rfsec + 1) > bufend) || /* no space for acl */
|
H A D | vfs_subr.c | 2912 size_t space; local 2919 /* they are querying us so just return the space required. */ 2926 * Retrieve an accurate count of the amount of space required to copy 2929 space = req->oldlen; 2932 /* they didn't give us enough space. */ 2933 if (space < req->oldlen) 2945 req->oldlen = space; 4169 * triggered this update came from user space, via a system call 5423 * vnode_getattr:ENOMEM Not enough space [only if has filesec]
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | pmap.h | 229 * The 64-bit kernel is remapped in uber-space which is at the base 231 * 512GB from the top of virtual space (or zero). 253 * Size of Kernel address space. This is the number of page table pages 301 #define UMAXPTDI (0x7F8) /* ptd entry for user space end */ 302 #define UMAXPTEOFF (NPTEPG) /* pte entry for user space end */ 378 * Address of current and alternate address space page table maps 401 * to physical address. Likewise for alternate address space. 548 int space);
|