Searched refs:urefs (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | port.h | 81 #define MACH_PORT_UREFS_OVERFLOW(urefs, delta) \ 83 ((((urefs) + (delta)) <= (urefs)) || \ 84 (((urefs) + (delta)) > MACH_PORT_UREFS_MAX))) 86 #define MACH_PORT_UREFS_UNDERFLOW(urefs, delta) \ 87 (((delta) < 0) && (((mach_port_urefs_t)-(delta)) > (urefs)))
|
H A D | ipc_object.h | 268 mach_port_urefs_t urefs, 277 mach_port_urefs_t urefs,
|
H A D | ipc_right.c | 257 * generating immediate notif. would overflow urefs. 369 mach_port_urefs_t urefs = IE_BITS_UREFS(entry->ie_bits); local 371 assert(urefs > 0); 373 if (MACH_PORT_UREFS_OVERFLOW(urefs, 1)) { 380 (entry->ie_bits)++; /* increment urefs */ 848 entry->ie_bits = bits-1; /* decrement urefs */ 934 entry->ie_bits = bits-1; /* decrement urefs */ 975 entry->ie_bits = bits-1; /* decrement urefs */ 1208 mach_port_urefs_t urefs; local 1230 urefs 1248 mach_port_urefs_t urefs; local 2057 mach_port_urefs_t urefs; local 2232 mach_port_urefs_t urefs = IE_BITS_UREFS(bits); local [all...] |
H A D | ipc_object.c | 323 mach_port_urefs_t urefs, 334 assert(urefs <= MACH_PORT_UREFS_MAX); 362 entry->ie_bits |= type | urefs; 394 mach_port_urefs_t urefs, 405 assert(urefs <= MACH_PORT_UREFS_MAX); 437 entry->ie_bits |= type | urefs; 319 ipc_object_alloc( ipc_space_t space, ipc_object_type_t otype, mach_port_type_t type, mach_port_urefs_t urefs, mach_port_name_t *namep, ipc_object_t *objectp) argument 390 ipc_object_alloc_name( ipc_space_t space, ipc_object_type_t otype, mach_port_type_t type, mach_port_urefs_t urefs, mach_port_name_t name, ipc_object_t *objectp) argument
|
H A D | mach_port.c | 413 mach_port_urefs_t urefs; local 433 kr = ipc_right_info(space, name, entry, typep, &urefs); 787 * KERN_SUCCESS Number of urefs returned. 802 mach_port_urefs_t urefs; local 826 kr = ipc_right_info(space, name, entry, &type, &urefs); 835 assert(urefs == 1); 845 assert(urefs > 0); 846 *urefsp = urefs; 868 * KERN_SUCCESS Modified number of urefs. 874 * KERN_INVALID_VALUE Impossible modification to urefs [all...] |
Completed in 25 milliseconds