/xnu-2782.1.97/bsd/dev/ |
H A D | busvar.h | 44 int (*ps_func)(int count);
|
/xnu-2782.1.97/config/ |
H A D | newvers.pl | 141 my $count=0; 142 $count += $data =~ s/###KERNEL_VERSION_LONG###/$VERSION_LONG/g; 143 $count += $data =~ s/###KERNEL_VERSION_SHORT###/$VERSION_SHORT/g; 144 $count += $data =~ s/###KERNEL_VERSION_MAJOR###/$VERSION_MAJOR/g; 145 $count += $data =~ s/###KERNEL_VERSION_MINOR###/$VERSION_MINOR/g; 146 $count += $data =~ s/###KERNEL_VERSION_VARIANT###/$VERSION_VARIANT/g; 147 $count += $data =~ s/###KERNEL_VERSION_REVISION###/$VERSION_REVISION/g; 148 $count += $data =~ s/###KERNEL_VERSION_STAGE###/$VERSION_STAGE/g; 149 $count += $data =~ s/###KERNEL_VERSION_PRERELEASE_LEVEL###/$VERSION_PRERELEASE_LEVEL/g; 150 $count [all...] |
/xnu-2782.1.97/osfmk/kperf/ |
H A D | timetrigger.h | 40 extern int kperf_timer_set_count(unsigned count); 52 extern int kperf_timer_set_petid(unsigned count);
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | kpc_common.c | 207 int enabled, count, offset = 0; local 218 count = kpc_get_counter_count(KPC_CLASS_FIXED_MASK); 220 memcpy( &buf[offset], &FIXED_SHADOW(0), count*sizeof(uint64_t) ); 222 offset += count; 227 count = kpc_get_counter_count(KPC_CLASS_CONFIGURABLE_MASK); 229 memcpy( &buf[offset], &CONFIGURABLE_SHADOW(0), count*sizeof(uint64_t) ); 231 offset += count; 242 int count = 0; local 245 count += kpc_fixed_count(); 248 count 256 int count = 0; local 273 int count = 0; local 399 uint32_t i, count, offset = 0; local 428 uint32_t count, offset = 0; local 455 uint32_t count, offset = 0; local [all...] |
H A D | machine.h | 66 unsigned int count); 80 unsigned int *count); 84 unsigned int *count);
|
H A D | processor.c | 114 mach_msg_type_number_t *count, 287 mach_msg_type_number_t *count) 292 *count = PROCESSOR_BASIC_INFO_COUNT; 296 *count = PROCESSOR_CPU_LOAD_INFO_COUNT; 300 return (cpu_info_count(flavor, count)); 313 mach_msg_type_number_t *count) 329 if (*count < PROCESSOR_BASIC_INFO_COUNT) 346 *count = PROCESSOR_BASIC_INFO_COUNT; 370 if (*count < PROCESSOR_CPU_LOAD_INFO_COUNT) 421 *count 285 processor_info_count( processor_flavor_t flavor, mach_msg_type_number_t *count) argument 308 processor_info( register processor_t processor, processor_flavor_t flavor, host_t *host, processor_info_t info, mach_msg_type_number_t *count) argument 550 processor_control( processor_t processor, processor_info_t info, mach_msg_type_number_t count) argument 597 processor_set_info( processor_set_t pset, int flavor, host_t *host, processor_set_info_t info, mach_msg_type_number_t *count) argument 725 processor_set_statistics( processor_set_t pset, int flavor, processor_set_info_t info, mach_msg_type_number_t *count) argument 809 processor_set_things( processor_set_t pset, mach_port_t **thing_list, mach_msg_type_number_t *count, int type) argument 981 processor_set_tasks( processor_set_t pset, task_array_t *task_list, mach_msg_type_number_t *count) argument 996 processor_set_threads( __unused processor_set_t pset, __unused thread_array_t *thread_list, __unused mach_msg_type_number_t *count) argument 1005 processor_set_threads( processor_set_t pset, thread_array_t *thread_list, mach_msg_type_number_t *count) argument 1022 processor_set_policy_control( __unused processor_set_t pset, __unused int flavor, __unused processor_set_info_t policy_info, __unused mach_msg_type_number_t count, __unused boolean_t change) argument [all...] |
/xnu-2782.1.97/SETUP/config/ |
H A D | mkioconf.c | 82 int count; local 94 count = dp->d_slave; 95 if (count <= 0) 96 count = 1; 97 fprintf(fp, "\t{%d,\t%s},\n", count, dp->d_init);
|
H A D | mkheaders.c | 66 static void do_header(const char *dev, const char *hname, int count); 81 * count all the devices of a certain type and recurse to count 88 int count; local 90 for (count = 0,dp = dtab; dp != 0; dp = dp->d_next) 93 count = 100 do_header(dev, hname, count); 104 do_header(const char *dev, const char *hname, int count) argument 125 fprintf(outf, "#define %s %d\n", name, count); 151 inc = count; [all...] |
/xnu-2782.1.97/osfmk/profiling/ |
H A D | profile-kgmon.c | 84 * Kgmon interface. This returns the count of bytes moved if everything was ok, 90 size_t count, 114 (long)count, 121 (long)count, 126 return count; 136 printf("_profile_kgmon: start: kgmon control = %2d, cpu = %d, count = %ld\n", 137 kgmon, cpu, (long)count); 171 if (count != sizeof(pv->active)) { 173 printf("KGMON_GET_STATUS: count = %ld, should be %ld\n", 174 (long)count, 89 _profile_kgmon(int write, size_t count, long indx, int max_cpus, void **p_ptr, void (*control_func)(kgmon_control_t)) argument [all...] |
/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | blist.c | 132 static daddr_t blst_leaf_alloc(blmeta_t *scan, daddr_t blk, int count); 134 daddr_t count, daddr_t radix, int skip); 135 static void blst_leaf_free(blmeta_t *scan, daddr_t relblk, int count); 136 static void blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count, 139 daddr_t skip, blist_t dest, daddr_t count); 141 int skip, daddr_t count); 220 blist_alloc(blist_t bl, daddr_t count) argument 226 blk = blst_leaf_alloc(bl->bl_root, 0, count); 228 blk = blst_meta_alloc(bl->bl_root, 0, count, 231 bl->bl_free -= count; 243 blist_free(blist_t bl, daddr_t blkno, daddr_t count) argument 264 blist_resize(blist_t *pbl, daddr_t count, int freenew) argument 318 blst_leaf_alloc(blmeta_t *scan, daddr_t blk, int count) argument 395 blst_meta_alloc(blmeta_t *scan, daddr_t blk, daddr_t count, daddr_t radix, int skip) argument 477 blst_leaf_free(blmeta_t *scan, daddr_t blk, int count) argument 518 blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count, daddr_t radix, int skip, daddr_t blk) argument 606 blst_copy(blmeta_t *scan, daddr_t blk, daddr_t radix, daddr_t skip, blist_t dest, daddr_t count) argument 703 blst_radix_init(blmeta_t *scan, daddr_t radix, int skip, daddr_t count) argument 878 daddr_t count = 0; local [all...] |
/xnu-2782.1.97/libkern/c++/ |
H A D | OSArray.cpp | 77 count = 0; 109 array[count++] = newObject; 123 anArray->count, theCapacity); 139 unsigned int count, 144 if (me && !me->initWithObjects(objects, count, capacity)) { 181 unsigned int OSArray::getCount() const { return count; } 231 for (i = 0; i < count; i++) { 234 count = 0; 239 return setObject(count, anObject); 245 unsigned int newCount = count 138 withObjects(const OSObject *objects[], unsigned int count, unsigned int capacity) argument [all...] |
H A D | OSOrderedSet.cpp | 79 count = 0; 118 unsigned int OSOrderedSet::getCount() const { return count; } 167 for (i = 0; i < count; i++) 170 count = 0; 177 unsigned int newCount = count + 1; 179 if ((index > count) || !anObject) 190 if (index != count) { 191 for (i = count; i > index; i--) 197 count++; 210 return( setObject( count, anObjec [all...] |
H A D | OSSymbol.cpp | 58 if (count * GROW_FACTOR > nBuckets) { \ 64 if (count * SHRINK_FACTOR < nBuckets && \ 75 typedef struct { unsigned int count; OSSymbol **symbolP; } Bucket; member in struct:OSSymbolPool::__anon811 79 unsigned int count; member in class:OSSymbolPool 147 count = 0; 163 count = old->count; 175 if (thisBucket->count > 1) { 176 kfree(thisBucket->symbolP, thisBucket->count * sizeof(OSSymbol *)); 177 ACCUMSIZE(-(thisBucket->count * sizeo [all...] |
H A D | OSDictionary.cpp | 82 count = 0; 165 newCapacity = dict->count; 168 if ( dict->count > theCapacity ) 178 for (unsigned int i = 0; i < dict->count; i++) { 186 count = dict->count; 187 bcopy(dict->dictionary, dictionary, count * sizeof(dictEntry)); 188 for (unsigned int i = 0; i < count; i++) { 210 unsigned int count, 215 if (me && !me->initWithObjects(objects, keys, count, capacit 208 withObjects(const OSObject *objects[], const OSSymbol *keys[], unsigned int count, unsigned int capacity) argument 223 withObjects(const OSObject *objects[], const OSString *keys[], unsigned int count, unsigned int capacity) argument [all...] |
/xnu-2782.1.97/libkern/crypto/ |
H A D | corecrypto_md5.c | 9 return ( (((uint64_t)ctx->count[0])<<32) | (ctx->count[1]) ); 12 static void setCount(MD5_CTX *ctx, uint64_t count) argument 14 ctx->count[0]=(uint32_t)(count>>32); 15 ctx->count[1]=(uint32_t)count; 29 uint64_t count = getCount(md5_ctx); local 31 ccdigest_num(di, di_ctx)=count%di->block_size; 32 ccdigest_nbits(di, di_ctx)=(count [all...] |
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOLocks.cpp | 124 UInt32 count; member in struct:_IORecursiveLock 142 lock->count = 0; 175 lock->count++; 179 assert( lock->count == 0 ); 181 lock->count = 1; 190 lock->count++; 195 assert( lock->count == 0 ); 197 lock->count = 1; 210 if( 0 == (--lock->count)) { 226 UInt32 count local 248 UInt32 count = lock->count; local [all...] |
/xnu-2782.1.97/tools/tests/execperf/ |
H A D | run.c | 20 int i, count, threadcount; local 29 count = atoi(argv[2]); 35 ret = pthread_create(&threads[i], NULL, work, (void *)(intptr_t)count); 52 fprintf(stderr, "Usage: %s <threadcount> <count> <program> [<arg1> [<arg2> ...]]\n", 59 int count = (int)(intptr_t)arg; local 64 for (i=0; i < count; i++) {
|
/xnu-2782.1.97/osfmk/chud/ |
H A D | chud_cpu.c | 42 #pragma mark **** cpu count **** 56 mach_msg_type_number_t count = HOST_BASIC_INFO_COUNT; local 58 kr = host_info(host_self(), HOST_BASIC_INFO, (integer_t *)&hinfo, &count);
|
H A D | chud_xnu.h | 82 extern kern_return_t chudxnu_thread_get_state(thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count, boolean_t user_only); 83 extern kern_return_t chudxnu_thread_set_state(thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count, boolean_t user_only); 85 extern kern_return_t chudxnu_thread_get_callstack64(thread_t thread, uint64_t *callStack, mach_msg_type_number_t *count, boolean_t user_only); 86 extern kern_return_t chudxnu_thread_get_callstack64_kperf(thread_t thread, uint64_t *callStack, mach_msg_type_number_t *count, boolean_t user_only); 88 extern kern_return_t chudxnu_all_tasks(task_array_t *task_list, mach_msg_type_number_t *count); 89 extern kern_return_t chudxnu_free_task_list(task_array_t *task_list, mach_msg_type_number_t *count); 91 extern kern_return_t chudxnu_all_threads(thread_array_t *thread_list, mach_msg_type_number_t *count); 92 extern kern_return_t chudxnu_task_threads(task_t task, thread_array_t *thread_list, mach_msg_type_number_t *count); 93 extern kern_return_t chudxnu_free_thread_list(thread_array_t *thread_list, mach_msg_type_number_t *count); 188 typedef kern_return_t (*chudxnu_cpu_timer_callback_func_t)(thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count); [all...] |
/xnu-2782.1.97/libkern/libkern/crypto/ |
H A D | md5.h | 69 u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ member in struct:__anon840
|
/xnu-2782.1.97/osfmk/prng/YarrowCoreLib/src/ |
H A D | sha1mod.h | 59 u_int32_t count[2]; member in struct:__anon1145
|
/xnu-2782.1.97/osfmk/vm/ |
H A D | vm_debug.h | 43 unsigned int count);
|
/xnu-2782.1.97/bsd/kern/ |
H A D | tty_subr.c | 173 q_to_b(struct clist *clp, u_char *cp, int count) argument 179 while (count > 0 && clp->c_cc > 0) { 183 if (cc > count) 184 cc = count; 186 count -= cc; 199 * Return count of contiguous characters in clist. 205 int count = 0; local 213 count = clp->c_cl - clp->c_cf; 214 if (count <= 0) 215 count 242 ndflush(struct clist *clp, int count) argument 358 b_to_q(const u_char *cp, int count, struct clist *clp) argument [all...] |
H A D | kern_symfile.c | 206 off_t maxiocount, count, segcount; local 399 error = do_ioctl(p1, p2, DKIOCGETMAXBLOCKCOUNTREAD, (caddr_t) &count); 401 count = 0; 402 count *= blksize; 403 if (count && (count < maxiocount)) 404 maxiocount = count; 406 error = do_ioctl(p1, p2, DKIOCGETMAXBLOCKCOUNTWRITE, (caddr_t) &count); 408 count = 0; 409 count * [all...] |
/xnu-2782.1.97/osfmk/chud/i386/ |
H A D | chud_osfmk_callback_i386.c | 133 mach_msg_type_number_t count; local 139 count = x86_THREAD_STATE_COUNT; 143 &count, 150 count); 225 thread_state_t tstate, mach_msg_type_number_t count); 229 thread_state_t tstate __unused, mach_msg_type_number_t count __unused) { 249 mach_msg_type_number_t count; local 265 count = x86_THREAD_STATE_COUNT; 270 &count, 277 count); 358 mach_msg_type_number_t count = x86_THREAD_STATE_COUNT; local 449 mach_msg_type_number_t count; local 506 mach_msg_type_number_t count = x86_THREAD_STATE_COUNT; local [all...] |