Searched refs:is_throttled (Results 1 – 3 of 3) sorted by relevance
| /xnu-10002.1.13/tests/ |
| H A D | mach_service_port.c | 32 service_port_set_throttled(int is_throttled) in service_port_set_throttled() argument 34 …tes(mach_task_self(), service_port, MACH_PORT_SERVICE_THROTTLED, (mach_port_info_t)(&is_throttled), in service_port_set_throttled() 39 service_port_get_throttled(int *is_throttled) in service_port_get_throttled() argument 44 …_task_self(), service_port, MACH_PORT_SERVICE_THROTTLED, (mach_port_info_t)(is_throttled), &count); in service_port_get_throttled() 55 boolean_t is_throttled; variable 99 kr = service_port_get_throttled(&is_throttled); 101 T_ASSERT_EQ(is_throttled, 0, "newly created service port is not throttled"); 106 kr = service_port_get_throttled(&is_throttled); 108 T_ASSERT_EQ(is_throttled, 1, "port is throttled"); 113 kr = service_port_get_throttled(&is_throttled); [all …]
|
| H A D | stackshot_tests.m | 82 static const NSString* sp_throttled_expect_flag = @"sp_throttled_expect_flag"; // -> @(is_throttled… 2105 check_throttled_sp(const char *test_name, uint64_t context, bool is_throttled) 2117 sp_throttled_expect_flag: @(is_throttled)}); 2541 bool sharedcache_child_sameaddr = false, is_throttled = false; 2638 is_throttled = ([throttled intValue] != 0); 2640 T_LOG("Looking for service with ctxt: %d, thottled:%d", throttled_service_ctx, is_throttled); 3047 is_throttled, "Port %s throttled", is_throttled ? "is" : "isn't");
|
| /xnu-10002.1.13/osfmk/ipc/ |
| H A D | mach_port.c | 1938 boolean_t *is_throttled = info; in mach_port_get_attributes() local 1956 *is_throttled = ipc_service_port_label_is_throttled((ipc_service_port_label_t)port->ip_splabel); in mach_port_get_attributes() 2142 boolean_t is_throttled = *info; in mach_port_set_attributes() local 2160 if (is_throttled) { in mach_port_set_attributes()
|