/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/ |
H A D | devfsdefs.h | 247 DEVFS_INCR_STRINGSPACE(int space) argument 249 OSAddAtomic(space, (SInt32 *)&devfs_stats.stringspace); 253 DEVFS_DECR_STRINGSPACE(int space) argument 255 OSAddAtomic(-space, (SInt32 *)&devfs_stats.stringspace);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_pset.c | 88 * KERN_INVALID_TASK The space is dead. 89 * KERN_NO_SPACE No room for an entry in the space. 95 ipc_space_t space, 103 kr = ipc_object_alloc(space, IOT_PORT_SET, 127 * KERN_INVALID_TASK The space is dead. 134 ipc_space_t space, 142 kr = ipc_object_alloc_name(space, IOT_PORT_SET, 94 ipc_pset_alloc( ipc_space_t space, mach_port_name_t *namep, ipc_pset_t *psetp) argument 133 ipc_pset_alloc_name( ipc_space_t space, mach_port_name_t name, ipc_pset_t *psetp) argument
|
H A D | ipc_space.h | 96 * Every task has a space of IPC capabilities. 97 * IPC operations like send and receive use this space. 98 * IPC kernel calls manipulate the space of the target task. 100 * Every space has a non-NULL is_table with is_table_size entries. 101 * A space may have a NULL is_tree. is_tree_small records the 118 boolean_t is_active; /* is the space alive? */ 119 boolean_t is_growing; /* is the space growing? */ 196 /* Create a special IPC space */ 200 /* Create new IPC space */ 205 /* Mark a space a [all...] |
H A D | ipc_port.c | 456 ipc_space_t space, 461 port->ip_receiver = space; 491 * KERN_INVALID_TASK The space is dead. 492 * KERN_NO_SPACE No room for an entry in the space. 498 ipc_space_t space, 506 kr = ipc_object_alloc(space, IOT_PORT, 514 ipc_port_init(port, space, name); 518 tasklabel_lock2 (issuer, space->is_task); 519 mac_port_label_associate(&issuer->maclabel, &space->is_task->maclabel, 521 tasklabel_unlock2 (issuer, space 454 ipc_port_init( ipc_port_t port, ipc_space_t space, mach_port_name_t name) argument 497 ipc_port_alloc( ipc_space_t space, mach_port_name_t *namep, ipc_port_t *portp) argument 545 ipc_port_alloc_name( ipc_space_t space, mach_port_name_t name, ipc_port_t *portp) argument 851 ipc_port_lookup_notify( ipc_space_t space, mach_port_name_t name) argument 972 ipc_port_copyout_send( ipc_port_t sright, ipc_space_t space) argument 1134 ipc_port_alloc_special( ipc_space_t space) argument 1175 ipc_port_dealloc_special( ipc_port_t port, __assert_only ipc_space_t space) argument 1431 ipc_space_t space; local [all...] |
H A D | ipc_mqueue.c | 99 int ipc_mqueue_full; /* address is event for queue space */ 377 * We have to wait for space to be granted to us. 469 * receiver is waiting, we can release our reserved space in 473 * If we need to queue, our space in the message queue is reserved. 999 * Convert a name in a space to a message queue. 1006 * MACH_RCV_INVALID_NAME The space is dead. 1015 ipc_space_t space, 1024 is_read_lock(space); 1025 if (!space->is_active) { 1026 is_read_unlock(space); 1014 ipc_mqueue_copyin( ipc_space_t space, mach_port_name_t name, ipc_mqueue_t *mqueuep, ipc_object_t *objectp) argument [all...] |
H A D | ipc_mqueue.h | 208 /* Convert a name in a space to a message queue */ 210 ipc_space_t space,
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | db_low_trace.c | 271 * dm vaddr [space] (defaults to last entered) 283 if (db_expression(&xspace)) { /* Get the address space requested */ 285 db_printf("requested address space (%llX) larger than max (%X)\n", xspace, maxAdrSp - 1); 288 dvspace = xspace; /* Get the space or set default */ 291 db_printf("mapping information for %016llX in space %8X:\n", addr, dvspace); 295 db_printf("The space %X is not assigned to a pmap\n", dvspace); /* Say we are wrong */ 321 * dh vaddr [space] (defaults to last entered) 337 if (db_expression(&xspace)) { /* Get the address space requested */ 339 db_printf("requested address space (%llX) larger than max (%X)\n", xspace, maxAdrSp - 1); 342 dvspace = xspace; /* Get the space o 502 unsigned int xpteg[32], xpca[8], space, hash, pva, seg, api, va; local 864 unsigned int xpteg[32], xpca[8], space, hash, pva, seg, api, va, free, free2, xauto, PTEGcnt, wimgkk, wimgxx, slotoff; local [all...] |
H A D | aligned_data.s | 65 .space (ppeSize*MAX_CPUS),0 ; (filled with 0s) 70 .space ppSize,0 ; (filled with 0s)
|
H A D | pmap.c | 232 * Note that this call will only map into 32-bit space 374 kernel_pmap->space = PPC_SID_KERNEL; 419 panic("pmap_bootstrap: Can't find space for hash table\n"); /* This will never print, system isn't up far enough... */ 469 (InitialSaveBloks * PAGE_SIZE) + /* Allow space for the initial context saveareas */ 528 * Remaining space is for mapping entries. Tell the initializer routine that 546 /* For 64-bit machines, block map physical memory and the I/O hole into kernel space */ 704 currSID = ckpmap->spaceNum; /* Get the actual space ID number */ 709 if(((currSID * incrVSID) & (maxAdrSp - 1)) == invalSpace) continue; /* Skip the space we have reserved */ 719 pmap->space = (currSID * incrVSID) & (maxAdrSp - 1); /* Calculate the actual VSID */ 720 pmap->spaceNum = currSID; /* Set the space I 1552 pmap_list_resident_pages( __unused pmap_t pmap, __unused vm_offset_t *listp, __unused int space) argument [all...] |
H A D | pmap.h | 127 allocate a pmap_vmm_ext with sufficient space following to accomodate the hash table 161 unsigned int space; /* space for this pmap */ member in struct:pmap 162 #define invalSpace 0x00000001 /* Predefined always invalid space */ 323 int space);
|
H A D | hw_vm.s | 140 stwu r1,-(FM_ALIGN((31-17+1)*4)+FM_SIZE)(r1) ; Make some space on the stack 270 lhz r8,mpSpace(r31) ; Get the address space 284 rlwimi r8,r8,14,4,17 ; Double address space 525 stwu r1,-(FM_ALIGN(hrmStackSize)+FM_SIZE)(r1) ; Make some space on the stack 906 lhz r23,mpSpace(r31) ; Get the address space hash 1241 lhz r24,mpSpace(r31) ; Get the address space hash 1271 rlwimi r24,r24,14,4,17 ; Insert a copy of space hash 1362 hrmBTLBj: sldi r2,r27,maxAdrSpb ; Move to make room for address space ID 1437 hrmBTLBlcm: li r2,lgKillResv ; Get space unreserve line 1491 lwz r9,pmapSpace(r28) ; r9 <- guest space I [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_run.c | 115 task_t space) 119 db_clear_task_single_step(DDB_REGS, space); 138 bkpt = db_find_thread_breakpoint_here(space, db_stop_pc); 168 ins = db_get_task_value(db_stop_pc, sizeof(int), FALSE, space); 202 ins = db_get_task_value(db_stop_pc, sizeof(int), FALSE, space); 213 if (db_find_breakpoint_here(space, db_stop_pc)) 112 db_stop_at_pc( boolean_t *is_breakpoint, task_t task, task_t space) argument
|
H A D | db_print.h | 186 ipc_space_t space,
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/orig/ |
H A D | db_print.c | 106 * * Fix ri-osc CR977: Make "show space" and "show ipc_port" give 107 * * accurate count of ports active in IPC space. Make "show ipc_port" 791 ipc_space_t space; local 796 space = task->itk_space; 800 task_id, task, space, task->map, 801 space->is_active? "":"!", count); 988 ipc_space_t space, 997 if (task->itk_space == space) { 1206 ipc_space_t space; local 1209 space 987 db_task_from_space( ipc_space_t space, int *task_id) argument 1240 register ipc_space_t space; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | ipc_tt.h | 134 /* Convert from a port to a space */ 164 /* Deallocate a space ref produced by convert_port_to_space */ 166 ipc_space_t space);
|
H A D | ipc_mig.c | 298 * live in kernel space. Doesn't handle any options. 320 ipc_space_t space = current_space(); local 348 * Reserve for the trailer the largest space (MAX_TRAILER_SIZE) 359 mr = ipc_kmsg_copyin(kmsg, space, map, MACH_PORT_NULL); 379 mr = ipc_mqueue_copyin(space, rcv_name, 409 ipc_kmsg_copyout_dest(kmsg, space); 415 mr = ipc_kmsg_copyout(kmsg, space, map, MACH_PORT_NULL, 422 ipc_kmsg_copyout_dest(kmsg, space);
|
H A D | ipc_tt.c | 121 ipc_space_t space; local 128 kr = ipc_space_create(&ipc_table_entries[0], &space); 132 space->is_task = task; 146 task->itk_space = space; 147 space->is_fast = FALSE; 828 * KERN_FAILURE The task/space is dead. 911 * KERN_FAILURE The task/space is dead. 1245 * Convert from a port to a space. 1246 * Doesn't consume the port ref; produces a space ref, 1255 ipc_space_t space; local 1487 space_deallocate( ipc_space_t space) argument [all...] |
H A D | affinity.c | 301 * Note the affinity space is shared. 421 * The caller must have the thread mutex and space locked. 441 * The caller must have the thread mutex and space locked. 475 * The caller must have the space locked. 478 affinity_set_find(affinity_space_t space, uint32_t tag) argument 482 queue_iterate(&space->aspc_affinities, 486 space, tag, aset); 490 DBG("affinity_set_find(%p,%u) not found\n", space, tag); 499 * The caller must have the space locked.
|
H A D | zalloc.c | 407 * match a space in the zone name. 424 * If the current characters don't match, check for a space in 568 * If we want to log a zone, see if we need to allocate buffer space for the log. Some vm related zones are 629 * Contiguous space allocator for non-paged zones. Allocates "size" amount 661 * space again. 691 * old space, and start a new one. 932 vm_offset_t space; local 945 &space, alloc_size, 0, 950 space = zone_alias_addr(space); 987 vm_offset_t space; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/ |
H A D | ffs_vfsops.c | 332 void *space; local 406 space = fs->fs_csp; 422 bcopy((char *)buf_dataptr(bp), space, (u_int)size); 429 space = (char *) space + size; 476 void *space; local 674 space = _MALLOC((u_long)size, M_UFSMNT, M_WAITOK); 675 fs->fs_csp = space; 685 bcopy((char *)buf_dataptr(bp), space, (u_int)size); 688 byte_swap_ints((int *) space, siz 1566 void *space; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | kern_control.h | 425 @discussion Retrieve the amount of space currently available for data to be sent 429 @param space The address where to return the current space available 430 @result 0 - Success; the amount of space is returned to caller. 434 ctl_getenqueuespace(kern_ctl_ref kctlref, u_int32_t unit, size_t *space);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | atp_write.c | 408 * Now try and allocate enough space to send the message 410 * a timeout so we can retry for more space soon 441 int cnt, offset, space; local 488 space = gbuf_msgsize(m0); 490 space = 0; 495 space -= len; 511 if ((len = UAS_VALUE(bdsp->bdsBuffSz)) && m0 != 0 && space > 0) { 519 space -= len; 673 int offset, space = 0; local 763 space 1618 short space; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_debug.c | 522 unsigned int actual, space; 539 space = size / sizeof(vm_offset_t); 543 space); 544 if (actual <= space)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | uipc_socket2.c | 222 * connection is possible (subject to space constraints, etc.) 556 * buffer space to the socket, by calling sbreserve(). This should commit 557 * some of the available buffer space in the system buffer pool for the 558 * socket (currently, it does nothing but enforce limits). The space 608 * Free mbufs held by a socket, and reserved mbuf space. 625 * space is available, comparing the function sbspace() with the amount 633 * for the caller that there will be enough space to store the data. 634 * Each fails if there is not enough space, or if it cannot find mbufs 646 * socket buffer sb. The additional space associated 808 int space local 939 int space = asa->sa_len; local 1055 int space = 0; local [all...] |
H A D | sys_pipe.c | 70 * go away, and certainly its address space can change, because control 84 * address space available to us in pipe_map. Whenever the amount in use 204 * space is pageable. The pipe code will try to maintain locality of 338 * allocate the space for the normal I/O direction up 537 * Allocate kva for pipe circular buffer, the space is pageable 818 * Map the sending processes' buffer into kernel space and wire it. 872 * We need to allocate space for an extra page because the 909 /* Conserve address space */ 1095 * fd[1], so allocating space for both ends is a waste... 1158 int space; local [all...] |