| /xnu-8792.41.9/bsd/net/ |
| H A D | net_api_stats.h | 46 int64_t nas_iflt_attach_count; // Currently attached 47 int64_t nas_iflt_attach_os_count; 48 int64_t nas_iflt_attach_total; // Total number of attachments 49 int64_t nas_iflt_attach_os_total; 54 int64_t nas_ipf_add_count; // Currently attached 55 int64_t nas_ipf_add_os_count; 56 int64_t nas_ipf_add_total; // Total number of attachments 57 int64_t nas_ipf_add_os_total; 62 int64_t nas_sfltr_register_count; // Currently attached 63 int64_t nas_sfltr_register_os_count; [all …]
|
| H A D | content_filter.h | 490 int64_t cfs_ctl_q_in_enqueued __attribute__((aligned(8))); 491 int64_t cfs_ctl_q_out_enqueued __attribute__((aligned(8))); 492 int64_t cfs_ctl_q_in_peeked __attribute__((aligned(8))); 493 int64_t cfs_ctl_q_out_peeked __attribute__((aligned(8))); 495 int64_t cfs_pending_q_in_enqueued __attribute__((aligned(8))); 496 int64_t cfs_pending_q_out_enqueued __attribute__((aligned(8))); 498 int64_t cfs_inject_q_in_enqueued __attribute__((aligned(8))); 499 int64_t cfs_inject_q_out_enqueued __attribute__((aligned(8))); 500 int64_t cfs_inject_q_in_passed __attribute__((aligned(8))); 501 int64_t cfs_inject_q_out_passed __attribute__((aligned(8)));
|
| /xnu-8792.41.9/tests/counter/ |
| H A D | counter.c | 24 sysctl_write(const char* name, int64_t amount) in sysctl_write() 27 result = sysctlbyname(name, NULL, NULL, &amount, sizeof(int64_t)); in sysctl_write() 32 scalable_counter_add(int64_t amount) in scalable_counter_add() 38 static_scalable_counter_add(int64_t amount) in static_scalable_counter_add() 43 static int64_t 46 return (int64_t) sysctl_read("kern.scalable_counter_test_load"); in scalable_counter_load() 49 static int64_t 52 return (int64_t) sysctl_read("kern.static_scalable_counter_test_load"); in static_scalable_counter_load() 63 int64_t i, num_iterations; in background_scalable_counter_thread() 64 num_iterations = (int64_t)(num_iterations_ptr); in background_scalable_counter_thread() [all …]
|
| /xnu-8792.41.9/osfmk/mach/ |
| H A D | task_info.h | 395 int64_t ledger_phys_footprint_peak; 396 int64_t ledger_purgeable_nonvolatile; 397 int64_t ledger_purgeable_novolatile_compressed; 398 int64_t ledger_purgeable_volatile; 399 int64_t ledger_purgeable_volatile_compressed; 400 int64_t ledger_tag_network_nonvolatile; 401 int64_t ledger_tag_network_nonvolatile_compressed; 402 int64_t ledger_tag_network_volatile; 403 int64_t ledger_tag_network_volatile_compressed; 404 int64_t ledger_tag_media_footprint; [all …]
|
| H A D | resource_notify.defs | 68 observed_cpu_nsecs : int64_t; 69 observation_nsecs : int64_t; /* time it took to hit limit */ 72 cpu_nsecs_allowed : int64_t; 73 limit_window_nsecs : int64_t; /* over this period */ 88 observed_cpu_wakes : int64_t; 89 observation_nsecs : int64_t; /* time it took to hit limit */ 92 cpu_wakes_allowed : int64_t; 93 limit_window_nsecs : int64_t; /* over this period */ 108 observed_bytes_dirtied : int64_t; 109 observation_nsecs : int64_t; /* time it took to hit limit */ [all …]
|
| /xnu-8792.41.9/osfmk/kern/ |
| H A D | remote_time.h | 56 int64_t remote_ts = 0; in mach_bridge_compute_timestamp() 57 int64_t rate_prod = 0; in mach_bridge_compute_timestamp() 60 …rate_prod = (int64_t)(params->rate * (double)((int64_t)local_ts_ns - (int64_t)params->base_local_t… in mach_bridge_compute_timestamp() 62 rate_prod = (int64_t)local_ts_ns - (int64_t)params->base_local_ts; in mach_bridge_compute_timestamp() 64 if (os_add_overflow((int64_t)params->base_remote_ts, rate_prod, &remote_ts)) { in mach_bridge_compute_timestamp()
|
| /xnu-8792.41.9/tests/ |
| H A D | fd_table_limits.c | 289 __unused int64_t observed_cpu_nsecs, in receive_cpu_usage_violation() 290 __unused int64_t observation_nsecs, in receive_cpu_usage_violation() 291 __unused int64_t cpu_nsecs_allowed, in receive_cpu_usage_violation() 292 __unused int64_t limit_window_nsecs, in receive_cpu_usage_violation() 304 __unused int64_t observed_cpu_wakes, in receive_cpu_wakes_violation() 305 __unused int64_t observation_nsecs, in receive_cpu_wakes_violation() 306 __unused int64_t cpu_wakes_allowed, in receive_cpu_wakes_violation() 307 __unused int64_t limit_window_nsecs, in receive_cpu_wakes_violation() 319 __unused int64_t observed_bytes_dirtied, in receive_disk_writes_violation() 320 __unused int64_t observation_nsecs, in receive_disk_writes_violation() [all …]
|
| H A D | port_table_limits.c | 290 __unused int64_t observed_cpu_nsecs, in receive_cpu_usage_violation() 291 __unused int64_t observation_nsecs, in receive_cpu_usage_violation() 292 __unused int64_t cpu_nsecs_allowed, in receive_cpu_usage_violation() 293 __unused int64_t limit_window_nsecs, in receive_cpu_usage_violation() 306 __unused int64_t observed_cpu_wakes, in receive_cpu_wakes_violation() 307 __unused int64_t observation_nsecs, in receive_cpu_wakes_violation() 308 __unused int64_t cpu_wakes_allowed, in receive_cpu_wakes_violation() 309 __unused int64_t limit_window_nsecs, in receive_cpu_wakes_violation() 322 __unused int64_t observed_bytes_dirtied, in receive_disk_writes_violation() 323 __unused int64_t observation_nsecs, in receive_disk_writes_violation() [all …]
|
| H A D | kevent_continuous_time.c | 88 if (llabs((int64_t)before_diff - (int64_t)after_diff) > 2) { in wait_for_sleep() 133 …T_ASSERT_GT(llabs((int64_t)ct_ms_progressed - (int64_t)ab_ms_progressed), 500LL, "should have > 50… 135 …T_ASSERT_LT(llabs((int64_t)ct_ms_progressed - (int64_t)ab_ms_progressed), 10LL, "should have < 10m… 139 …T_ASSERT_LT(llabs((int64_t)ct_ms_progressed - 4000), 100LL, "mach_continuous_time should progress … 164 int64_t nowus = (int64_t)tv.tv_sec * USEC_PER_SEC + (int64_t)tv.tv_usec; 165 int64_t fire_at = (3 * USEC_PER_SEC) + nowus; 198 int64_t missed_by = tick_to_ns((int64_t)mach_continuous_time() - (int64_t)cnt_then) / 1000000; 258 …T_ASSERT_LT(llabs((int64_t)ms_elapsed - 2000LL), 500LL, "slept for %llums, expected 2000ms (astris…
|
| H A D | int_time.c | 38 int64_t duration_ns = (int64_t)info_new.int_time_ns - (int64_t)info.int_time_ns; 56 int64_t const limit_ns = 10 * (int64_t)NSEC_PER_SEC;
|
| H A D | hazard.c | 5 static int64_t 6 run_sysctl_test(const char *t, int64_t value) in run_sysctl_test() 9 int64_t result = 0; in run_sysctl_test()
|
| H A D | kalloc.c | 10 static int64_t 11 run_sysctl_test(const char *t, int64_t value) in run_sysctl_test() 14 int64_t result = 0; in run_sysctl_test()
|
| H A D | sysctl_get_owned_vmobjects.c | 116 …T_EXPECT_EQ(out_size, 2 * sizeof(vm_object_query_data_t) + sizeof(int64_t), "expected one entry\n"… in main_test() 126 out_size = 1 * sizeof(vm_object_query_data_t) + sizeof(int64_t); in main_test() 131 …T_EXPECT_EQ(out_size, 1 * sizeof(vm_object_query_data_t) + sizeof(int64_t), "sysctl return size is… in main_test() 142 …T_EXPECT_EQ(out_size, 2 * sizeof(vm_object_query_data_t) + sizeof(int64_t), "sysctl return size is… in main_test() 153 …T_EXPECT_EQ(out_size, 2 * sizeof(vm_object_query_data_t) + sizeof(int64_t), "sysctl return size is… in main_test() 194 …T_EXPECT_EQ(corpse_out_size, 2 * sizeof(vm_object_query_data_t) + sizeof(int64_t), "corpse expecte… in main_test() 212 …T_EXPECT_EQ(corpse_out_size, 2 * sizeof(vm_object_query_data_t) + sizeof(int64_t), "corpse sysctl … in main_test()
|
| /xnu-8792.41.9/bsd/arm/ |
| H A D | types.h | 66 typedef int64_t register_t; 79 typedef int64_t user_ssize_t; 80 typedef int64_t user_long_t; 82 typedef int64_t user_time_t; 83 typedef int64_t user_off_t; 91 typedef int64_t user_off_t;
|
| /xnu-8792.41.9/bsd/sys/ |
| H A D | shm_internal.h | 116 int64_t shmmax; /* max shm segment size (bytes) */ 117 int64_t shmmin; /* min shm segment size (bytes) */ 118 int64_t shmmni; /* max number of shm identifiers */ 119 int64_t shmseg; /* max shm segments per process */ 120 int64_t shmall; /* max amount of shm (pages) */
|
| H A D | fsctl.h | 167 int64_t *flags; 173 int64_t *flags; 175 int64_t *infoptr; // for snapshot write events, the kernel puts an offset/length pair here 180 int64_t *flags; 182 int64_t *infoptr; // for snapshot write events, the kernel puts an offset/length pair here 183 int64_t *objid; 195 int vfs_materialize_file(struct vnode *vp, uint64_t op, int64_t offset, int64_t size);
|
| /xnu-8792.41.9/bsd/kern/ |
| H A D | counter_test.c | 119 int64_t value = 0; 125 error = sysctl_io_number(req, value, sizeof(int64_t), &value, NULL); 137 int64_t value = 0; 143 error = sysctl_io_number(req, value, sizeof(int64_t), &value, NULL); 169 int64_t iterations; 179 for (int64_t i = 0; i < iterations; i++) { 192 int64_t iterations; 198 for (int64_t i = 0; i < iterations; i++) { 219 int64_t iterations; 225 for (int64_t i = 0; i < iterations; i++) {
|
| H A D | kern_ntptime.c | 85 typedef int64_t l_fp; 88 #define L_ADDHI(v, a) ((v) += (int64_t)(a) << 32) 103 ((v) = (int64_t)(a) << 32); \ 105 ((v) = -((int64_t)(-(a)) << 32)); \ 187 static int64_t time_adjtime; 460 user_ntv.freq = L_GINT(((int64_t)(time_freq / 1000LL)) << 16); in ntp_adjtime() 462 user_ntv.freq = -L_GINT(((int64_t)(-(time_freq) / 1000LL)) << 16); in ntp_adjtime() 521 int64_t 531 ntp_update_second(int64_t *adjustment, clock_sec_t secs) in ntp_update_second() 583 int64_t nano = (time_adj > 0)? time_adj >> 32 : -((-time_adj) >> 32); in ntp_update_second() [all …]
|
| /xnu-8792.41.9/bsd/i386/ |
| H A D | types.h | 90 typedef int64_t register_t; 102 typedef int64_t user_ssize_t; 103 typedef int64_t user_long_t; 105 typedef int64_t user_time_t; 106 typedef int64_t user_off_t;
|
| /xnu-8792.41.9/bsd/netinet/ |
| H A D | mptcp_seq.h | 37 #define MPTCP_SEQ_LT(a, b) ((int64_t)((a) - (b)) < 0) 38 #define MPTCP_SEQ_LEQ(a, b) ((int64_t)((a) - (b)) <= 0) 39 #define MPTCP_SEQ_GT(a, b) ((int64_t)((a) - (b)) > 0) 40 #define MPTCP_SEQ_GEQ(a, b) ((int64_t)((a) - (b)) >= 0)
|
| /xnu-8792.41.9/iokit/Kernel/ |
| H A D | IOHistogramReporter.cpp | 85 int64_t bucketBound = 0, previousBucketBound = 0; in initWith() 202 _bucketBounds = (int64_t*)IOMallocZeroData(boundsSize); in initWith() 221 int64_t power = 1; in initWith() 259 PREFL_MEMOP_PANIC(_nElements, int64_t); in free() 260 IOFreeData(_bucketBounds, (size_t)_nElements * sizeof(int64_t)); in free() 306 int64_t bucket_min, in overrideBucketValues() 307 int64_t bucket_max, in overrideBucketValues() 308 int64_t bucket_sum) in overrideBucketValues() 331 IOHistogramReporter::tallyValue(int64_t value) in tallyValue() 335 int64_t sum = 0; in tallyValue()
|
| H A D | IOSimpleReporter.cpp | 78 int64_t value) in setValue() 108 int64_t increment) in incrementValue() 135 int64_t 139 int64_t simple_value = (int64_t)kIOReportInvalidValue; in getValue()
|
| /xnu-8792.41.9/tests/vm/ |
| H A D | vm_kern.c | 12 static int64_t 13 run_sysctl_test(const char *t, int64_t value) in run_sysctl_test() 16 int64_t result = 0; in run_sysctl_test()
|
| H A D | vm_sysctl_tests.c | 12 static int64_t 13 run_sysctl_test(const char *t, int64_t value) in run_sysctl_test() 16 int64_t result = 0; in run_sysctl_test()
|
| /xnu-8792.41.9/tests/ipc/ |
| H A D | waitq.c | 11 static int64_t 12 run_sysctl_test(const char *t, int64_t value) in run_sysctl_test() 15 int64_t result = 0; in run_sysctl_test()
|