/xnu-2782.1.97/tools/lockstat/ |
H A D | lockstat.c | 85 unsigned int count; variable 104 kr = host_lockgroup_info(host_control, &lockgroup_info, &count); 112 printf("count = %d\n", count); 113 for (i = 0; i < count; i++) { 142 for (i = 0;i < count;i++) { 209 for (i = 0;i < count;i++) { 267 for (i = 0;i < count;i++) { 324 for (i = 0;i < count;i++) 360 for (i = 0;i < count; [all...] |
/xnu-2782.1.97/osfmk/i386/ |
H A D | user_ldt.c | 129 while (i < old_ldt->count) 174 if (old_ldt->start + old_ldt->count > end_sel) 175 end_sel = old_ldt->start + old_ldt->count; 187 new_ldt->count = ldt_count; 196 old_ldt->count * sizeof(struct real_descriptor)); 203 if (old_ldt->start + old_ldt->count < start_sel) 204 bzero(&new_ldt->ldt[old_ldt->count], 205 (start_sel - (old_ldt->start + old_ldt->count)) * sizeof(struct real_descriptor)); 312 ldt_count = user_ldt->start + user_ldt->count; 339 kfree(user_ldt, sizeof(struct user_ldt) + (user_ldt->count * sizeo [all...] |
H A D | user_ldt.h | 76 unsigned int count; /* how many descriptors in table */ member in struct:user_ldt
|
H A D | pcb.c | 797 mach_msg_type_number_t count) 805 if (count < x86_SAVED_STATE32_COUNT) 870 if (count < x86_SAVED_STATE64_COUNT) 936 if (count != x86_FLOAT_STATE32_COUNT) 947 if (count != x86_FLOAT_STATE64_COUNT) 960 if (count != x86_FLOAT_STATE_COUNT) 964 if (state->fsh.flavor == x86_FLOAT_STATE64 && state->fsh.count == x86_FLOAT_STATE64_COUNT && 968 if (state->fsh.flavor == x86_FLOAT_STATE32 && state->fsh.count == x86_FLOAT_STATE32_COUNT && 977 if (count != x86_AVX_STATE32_COUNT) 988 if (count ! 793 machine_thread_set_state( thread_t thr_act, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count) argument 1132 machine_thread_get_state( thread_t thr_act, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument 1527 machine_thread_get_kern_state( thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument [all...] |
H A D | cpu.c | 58 unsigned int count) 61 slot_num, info, count); 69 unsigned int *count) 71 *count = 0; 81 unsigned int *count) 84 flavor, slot_num, info, count); 55 cpu_control( int slot_num, processor_info_t info, unsigned int count) argument 67 cpu_info_count( __unused processor_flavor_t flavor, unsigned int *count) argument 77 cpu_info( processor_flavor_t flavor, int slot_num, processor_info_t info, unsigned int *count) argument
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_asl.c | 222 int count; local 227 count = 0; 230 count++; 234 if (count) { 239 if ((buflen - len) < count) { 244 dst = src + count; 245 while (count) { 250 count--;
|
H A D | subr_prof.c | 272 top->count = 1; 281 top->count++; 304 top->count = 1; 317 * increment its count 320 top->count++; 374 u_short count; local 389 if (copyin(cell, (caddr_t) &count, sizeof(count)) == 0) { 390 count += ticks; 391 if(copyout((caddr_t) &count, cel [all...] |
/xnu-2782.1.97/bsd/net/pktsched/ |
H A D | pktsched_rmclass_debug.h | 85 * cbqtrace_count/D to get the count, then type 87 * This will dump the trace buffer from 0 to count. 95 int count; member in struct:cbqtrace 116 int *_p = &cbqtrace_ptr->count; \
|
/xnu-2782.1.97/security/ |
H A D | mac_data.h | 108 unsigned int count; member in struct:mac_module_data_list 115 unsigned int count; member in struct:mac_module_data
|
/xnu-2782.1.97/bsd/nfs/ |
H A D | xdr_subs.h | 80 * machines, and count on them being `#define'd away. Some of these 82 * but we cannot count on their alignment anyway. 327 * Add "count" bytes of opaque data pointed to by "buf" to the given XDR buffer. 330 xb_add_bytes(struct xdrbuf *xbp, const char *buf, uint32_t count, int nopad) argument 335 len = nopad ? count : xdr_rndup(count); 337 /* copy in "count" bytes and zero out any pad bytes */ 348 if (count) { 349 if (tlen > count) 350 tlen = count; 373 xb_get_bytes(struct xdrbuf *xbp, char *buf, uint32_t count, int nopad) argument [all...] |
/xnu-2782.1.97/iokit/IOKit/ |
H A D | IODeviceMemory.h | 66 @param count The number of elements in the list. 71 IOItemCount count );
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | ecc.h | 39 uint8_t count; // Of uint64_t's used, starting at index 0 member in struct:ecc_event
|
H A D | host.c | 106 unsigned int count, i; local 113 count = processor_count; 114 assert(count != 0); 116 addr = kalloc((vm_size_t) (count * sizeof(mach_port_t))); 123 if (count > 1) { 126 for (i = 1; i < count; i++) 132 *countp = count; 138 for (i = 0; i < count; i++) 150 mach_msg_type_number_t *count) 166 if (*count < HOST_BASIC_INFO_OLD_COUN 146 host_info( host_t host, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument 281 host_statistics( host_t host, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument 494 host_statistics64( host_t host, host_flavor_t flavor, host_info64_t info, mach_msg_type_number_t *count) argument 642 host_priv_statistics( host_priv_t host_priv, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument 661 get_sched_statistics( struct _processor_statistics_np *out, uint32_t *count) argument 759 host_processor_sets( host_priv_t host_priv, processor_set_name_array_t *pset_list, mach_msg_type_number_t *count) argument [all...] |
H A D | sched_grrr.c | 433 result = (processor->grrr_runq.count == 0); 448 if (rq->groups[i].count > 0) 474 int count; local 476 count = sched_grrr_processor_runq_count(processor); 478 if (count > 0) { 535 return processor->grrr_runq.count; 599 if (group->count == 0) { 626 if (rq->count == 0) { 677 runq->count = 0; 694 runq->groups[index].count [all...] |
H A D | sched_multiq.c | 121 * Consider the right way to handle runq count - I don't want to iterate groups. 434 assert(sched_group->runq.count == 0); 482 assert(rq->count != 0); 513 assert(rq->count != 0); 572 if (main_entryq->count == 0) 594 if (group->runq.count == 0) 620 assert(rq->count > 0); 625 SCHED_STATS_RUNQ_CHANGE(&rq->runq_stats, rq->count); 626 rq->count--; 672 SCHED_STATS_RUNQ_CHANGE(&rq->runq_stats, rq->count); 1336 int count; local [all...] |
/xnu-2782.1.97/osfmk/prng/ |
H A D | fips_sha1.h | 66 u_int8_t count; /* unused; for compatibility only */ member in struct:sha1_ctxt
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IODeviceMemory.cpp | 55 IOItemCount count ) 61 array = OSArray::withCapacity( count ); 65 for( i = 0; i < count; i++) {
|
/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | libmicro.c | 1172 print_bar(long count, long total) argument 1176 (void) putchar_unlocked(count ? '*' : ' '); 1177 for (i = 1; i < (32 * count) / total; i++) 1209 long long count; local 1252 histo[i].count = 0; 1258 count = 0; 1268 histo[j].count++; 1271 count++; 1273 m95 = sum / count; 1278 if (histo[i].count > 1372 crunch_stats(double *data, int count, stats_t *stats) argument 1453 fit_line(double *x, double *y, int count, double *a, double *b) argument 1501 int count; local 1594 remove_outliers(double *data, int count, stats_t *stats) argument [all...] |
H A D | cachetocache.c | 165 int count = opts / 128 / sizeof (long); local 172 (long **)ts->ts_data, count, 0); 176 res->re_count = lm_optB * lm_optT * count; 182 traverse_ptrchain(long **ptr, int count, int value) argument 186 for (i = 0; i < count; i += 10) {
|
/xnu-2782.1.97/libkern/libkern/c++/ |
H A D | OSDictionary.h | 124 unsigned int count; member in class:OSDictionary 150 * with a retain count of 1; 171 * @param count The number of keys and objects 174 * If 0, <code>count</code> is used; otherwise this value 175 * must be greater than or equal to <code>count</code>. 180 * with a retain count of 1; 185 * and <code>count</code> must be nonzero. 187 * it must be greater than or equal to <code>count</code>. 197 unsigned int count, 210 * @param count Th [all...] |
/xnu-2782.1.97/osfmk/chud/ |
H A D | chud_thread.c | 196 mach_msg_type_number_t *count, 280 *count = 0; 324 *count = actual; 335 mach_msg_type_number_t *count) 404 *count = 0; 429 *count = actual; 439 mach_msg_type_number_t *count) 441 return chudxnu_private_processor_set_things(&pset0, (mach_port_t **)task_list, count, THING_TASK); 447 mach_msg_type_number_t *count) 449 vm_size_t size = (*count)*sizeo 193 chudxnu_private_processor_set_things( processor_set_t pset, mach_port_t **thing_list, mach_msg_type_number_t *count, int type) argument 332 chudxnu_private_task_threads( task_t task, thread_act_array_t *threads_out, mach_msg_type_number_t *count) argument 437 chudxnu_all_tasks( task_array_t *task_list, mach_msg_type_number_t *count) argument 445 chudxnu_free_task_list( task_array_t *task_list, mach_msg_type_number_t *count) argument 466 chudxnu_all_threads( thread_array_t *thread_list, mach_msg_type_number_t *count) argument 474 chudxnu_task_threads( task_t task, thread_array_t *thread_list, mach_msg_type_number_t *count) argument 483 chudxnu_free_thread_list( thread_array_t *thread_list, mach_msg_type_number_t *count) argument [all...] |
/xnu-2782.1.97/libkern/c++/ |
H A D | OSSet.cpp | 96 inArray->count, inCapacity); 118 unsigned int count, 123 if (me && !me->initWithObjects(objects, count, capacity)) { 168 return members->count; 269 unsigned int count; local 277 count = members->count; 278 if ( count != aSet->getCount() ) 281 for ( i = 0; i < count; i++ ) { 325 if (index < members->count) 117 withObjects(const OSObject *objects[], unsigned int count, unsigned int capacity) argument [all...] |
/xnu-2782.1.97/tools/lldbmacros/ |
H A D | ioreg.py | 16 """ Show info about an OSObject - its vtable ptr and retain count, & more info for simple container classes. 26 out_string = "`object 0x{0: <16x}, vt 0x{1: <16x} <{2:s}>, retain count {3:d}, container retain {4:d}` ".format(obj, vt, vtype[0].GetName(), retCount, cntnrRetCount) 74 object including it's registry id , vtable ptr and retain count 119 out_string += "active, busy {0}, retain count {1}>".format(busyCount, retCount) 133 count = unsigned(kern.globals.sAllClassesDict.count) 135 while idx < count: 142 """ Show info about an OSObject - its vtable ptr and retain count, & more info for simple container classes. 466 count = unsigned(ca.count) [all...] |
/xnu-2782.1.97/osfmk/profiling/ |
H A D | profile-mk.c | 193 long count = _profile_kgmon(!(ior->io_op & IO_READ), local 200 if (count < 0) { 204 if (count > 0 && sys_ptr != (void *)0) { 206 memcpy((void *)ior->io_data, sys_ptr, count); 208 memcpy(sys_ptr, (void *)ior->io_data, count); local 213 ior->io_residual = ior->io_count - count;
|
/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | blist.h | 10 * blkno = blist_alloc(blist, count) 11 * (void) blist_free(blist, blkno, count) 12 * (void) blist_resize(&blist, count, freeextra) 95 extern daddr_t blist_alloc(blist_t blist, daddr_t count); 96 extern void blist_free(blist_t blist, daddr_t blkno, daddr_t count); 98 extern void blist_resize(blist_t *pblist, daddr_t count, int freenew);
|