Searched refs:urefs (Results 1 - 6 of 6) sorted by relevance
/xnu-2422.115.4/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 | 266 mach_port_urefs_t urefs, 275 mach_port_urefs_t urefs,
|
H A D | ipc_right.c | 264 * generating immediate notif. would overflow urefs. 395 mach_port_urefs_t urefs = IE_BITS_UREFS(entry->ie_bits); local 397 assert(urefs > 0); 399 if (MACH_PORT_UREFS_OVERFLOW(urefs, 1)) { 406 (entry->ie_bits)++; /* increment urefs */ 902 entry->ie_bits = bits-1; /* decrement urefs */ 988 entry->ie_bits = bits-1; /* decrement urefs */ 1029 entry->ie_bits = bits-1; /* decrement urefs */ 1274 mach_port_urefs_t urefs; local 1298 urefs 1319 mach_port_urefs_t urefs; local 1457 mach_port_urefs_t urefs; local 2338 mach_port_urefs_t urefs; local 2513 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 | 448 mach_port_urefs_t urefs; local 468 kr = ipc_right_info(space, name, entry, typep, &urefs); 822 * KERN_SUCCESS Number of urefs returned. 837 mach_port_urefs_t urefs; local 861 kr = ipc_right_info(space, name, entry, &type, &urefs); 870 assert(urefs == 1); 880 assert(urefs > 0); 881 *urefsp = urefs; 903 * KERN_SUCCESS Modified number of urefs. 909 * KERN_INVALID_VALUE Impossible modification to urefs [all...] |
/xnu-2422.115.4/tools/lldbmacros/ |
H A D | ipc.py | 310 @header("{0: <20s} {1: <20s} {2: <8s} {3: <8s} {4: <20s} {5: <20s}".format("object", "name","rite", "urefs", "destname", "destination")) 328 urefs = int(ie_bits & 0xffff) 356 out_str = format_string.format(ie_object, ipc_name, right_str, urefs, destname_str, destination_str)
|
Completed in 80 milliseconds