Searched refs:is_throttled (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.61.12/tests/ |
| H A D | mach_service_port.c | 33 service_port_set_throttled(int is_throttled) in service_port_set_throttled() argument 35 …tes(mach_task_self(), service_port, MACH_PORT_SERVICE_THROTTLED, (mach_port_info_t)(&is_throttled), in service_port_set_throttled() 40 service_port_get_throttled(int *is_throttled) in service_port_get_throttled() argument 45 …_task_self(), service_port, MACH_PORT_SERVICE_THROTTLED, (mach_port_info_t)(is_throttled), &count); in service_port_get_throttled() 54 boolean_t is_throttled; variable 82 kr = service_port_get_throttled(&is_throttled); 84 T_ASSERT_EQ(is_throttled, 0, "newly created service port is not throttled"); 89 kr = service_port_get_throttled(&is_throttled); 91 T_ASSERT_EQ(is_throttled, 1, "port is throttled"); 96 kr = service_port_get_throttled(&is_throttled); [all …]
|
| H A D | stackshot_tests.m | 91 static const NSString* sp_throttled_expect_flag = @"sp_throttled_expect_flag"; // -> @(is_throttled… 2220 check_throttled_sp(const char *test_name, uint64_t context, bool is_throttled) 2232 sp_throttled_expect_flag: @(is_throttled)}); 2910 bool sharedcache_child_sameaddr = false, is_throttled = false; 3009 is_throttled = ([throttled intValue] != 0); 3011 T_LOG("Looking for service with ctxt: %d, thottled:%d", throttled_service_ctx, is_throttled); 3440 is_throttled, "Port %s throttled", is_throttled ? "is" : "isn't");
|
| /xnu-12377.61.12/osfmk/ipc/ |
| H A D | mach_port.c | 1891 boolean_t *is_throttled = info; in mach_port_get_attributes() local 1906 *is_throttled = label.iol_service->ispl_throttled; in mach_port_get_attributes()
|