/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | db_interface.c | 277 int n,max; local 305 max = round_page_64(phys_src + 1) - phys_src; 306 if (max > size) 307 max = size; 311 if (n < max) max = n; 312 size -= max; 313 addr += max; 314 phys_copy(phys_src, phys_dst, max); 317 sync_cache64(phys_dst, max); 334 int n,max; local [all...] |
H A D | skiplists.s | 41 * "fanout." With a max of n lists, up to F**n nodes can be handled optimally. 552 lbz r7,pmapCurLists(r3) ; get current max# lists any mapping is on 565 ble++ mapIns64a ; not new max #lists 573 stb r9,pmapCurLists(r3) ; remember new max 614 stb r9,pmapCurLists(r3) ; remember new max 1010 ; Since we walk each list this is the max number of mappings we could visit. 1062 bgtl-- mapVerifyDie ; mappings mpLists > max 1178 bgtl- mapVerifyDie ; mappings mpLists > max 1258 li r24,kSkipListMaxLists*8 ; Use max size
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | mk_sp.c | 158 int max, bas; local 181 max = rr_limit->max_priority; 182 if (invalid_pri(bas) || invalid_pri(max)) { 202 max = fifo_limit->max_priority; 203 if (invalid_pri(bas) || invalid_pri(max)) { 224 max = ts_limit->max_priority; 225 if (invalid_pri(bas) || invalid_pri(max)) {
|
H A D | affinity.c | 258 * Return affinity tag info (number, min, max) for the task. 275 info->max = THREAD_AFFINITY_TAG_NULL; 287 if (info->max == THREAD_AFFINITY_TAG_NULL || 288 aset->aset_tag > (uint32_t) info->max) 289 info->max = aset->aset_tag;
|
H A D | ipc_kobject.c | 158 #ifndef max 159 #define max(a,b) (((a) > (b)) ? (a) : (b)) macro 160 #endif /* max */ 219 mig_reply_size = max(mig_reply_size, mig_e[i]->maxsize); 243 mig_table_max_displ = max(howmany, mig_table_max_displ);
|
H A D | misc_protos.h | 90 vm_size_t max,
|
H A D | zalloc.c | 350 #define MAX_ZONE_NAME 32 /* max length of a zone name we can take from the boot-args */ 462 vm_size_t max, /* maximum memory to use */ 487 max = round_page(max); 522 if (max && (max < alloc)) 523 max = alloc; 527 z->max_size = max; 460 zinit( vm_size_t size, vm_size_t max, vm_size_t alloc, const char *name) argument
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/device/ |
H A D | subrs.c | 372 * to max chars inside the buffer. 377 * max maximum length of string to search for null 379 * length of s or max; whichever is smaller 382 strnlen(const char *s, size_t max) { argument 383 const char *es = s + max, *p = s;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ |
H A D | task_info.h | 212 integer_t max; member in struct:task_affinity_tag_info
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_port.c | 1694 unsigned long max; member in struct:port_track 1724 trackp->max = trackp->warning = 0; 1738 limit = trackp->items + trackp->max; 1744 if (trackp->max >= ITEM_MAX) { 1751 trackp->max++; 1766 limit = trackp->items + trackp->max - 1; 1788 limit = trackp->items + trackp->max; 1925 port_callers.max, port_threads.max, port_spaces.max); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/libkern/ |
H A D | libkern.h | 117 max(u_int a, u_int b) function
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOLib.h | 60 * min/max macros. 64 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/panic_ui/ |
H A D | qtif2kraw.c | 332 compareruns( unsigned char * data, unsigned int * index, unsigned int max, union RunData * currP, int * depth ) argument 343 if ( (*index+*depth) > max ) 387 if ( (*index+6) <= max )
|
H A D | genimage.c | 720 compareruns( unsigned char * data, unsigned int * index, unsigned int max, union RunData * currP, int * depth ) argument 732 if ( (*index+*depth) > max ) 776 if ( (*index+6) <= max )
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_internal.h | 105 u_int max; member in struct:mac_policy_list
|
H A D | mac_base.c | 489 mac_policy_list.max = MAC_POLICY_LIST_CHUNKSIZE; 817 if (mac_policy_list.numloaded >= mac_policy_list.max) { 822 bzero(&tmac_policy_list_element[mac_policy_list.max], 839 mac_policy_list.max += MAC_POLICY_LIST_CHUNKSIZE; 881 for (i = mac_policy_list.freehint; i < mac_policy_list.max; i++) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | tcp_usrreq.c | 962 tp->request_r_scale = max(tcp_win_scale, tp->request_r_scale); 1267 * We're also advertising a much bigger window size (tuneable by sysctl) in correlation with * the max socket buffer size if 1274 error = soreserve(so, max(min((TCP_MAXWIN << tcp_win_scale)/4, sb_effective_max), tcp_sendspace), 1275 max(min((TCP_MAXWIN << tcp_win_scale)/2, sb_effective_max), tcp_recvspace));
|
H A D | tcp_var.h | 123 u_char tt_ipgen[40]; /* the size must be of max ip header, now IPv6 */ 374 max((tp)->t_rttmin, (((tp)->t_srtt >> (TCP_RTT_SHIFT - TCP_DELTA_SHIFT)) \
|
H A D | in_pcb.c | 135 #define RANGECHK(var, min, max) \ 137 else if ((var) > (max)) { (var) = (max); }
|
H A D | tcp_input.c | 114 u_char tcp_saveipgen[40]; /* the size must be of max ip header, now IPv6 */ 1247 tp->request_r_scale = max(tcp_win_scale, tp->request_r_scale); 3347 max(tp->t_rttmin, rtt + 2), TCPTV_REXMTMAX); 3395 * size (usually 512 or the default IP max size, but no more than the mtu 3500 offer = max(offer, tcp_minmss); 3507 offer = max(offer, 64); 3637 tp->snd_ssthresh = max(2 * mss, rt->rt_rmx.rmx_ssthresh);
|
H A D | ip_icmp.c | 489 if (mtu < max(296, (tcp_minmss + sizeof(struct tcpiphdr)))) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | sysctl.c | 422 SYSCTL_PROC(_machdep_cpu_flex_ratio, OID_AUTO, max, 425 hw_cpu_flex_ratio_max, "I", "Flex ratio max (non-turbo)");
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOServicePM.cpp | 2056 fTempClampPowerState = max(fTempClampPowerState, ordinal); 2121 fTempClampPowerState = max(fTempClampPowerState, ordinal); 2178 // If clamp is on, always override deviceDesire to max. 2210 newDesiredState = max(childDesire, fDriverDesire); 2213 newDesiredState = max(deviceDesire, newDesiredState); 2215 newDesiredState = max(fTempClampPowerState, newDesiredState);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/ |
H A D | ffs_vfsops.c | 713 /* XXX warning hardcoded max symlen and not "mp->mnt_maxsymlinklen = fs->fs_maxsymlinklen;" */ 760 fs->fs_npsect = max(fs->fs_npsect, fs->fs_nsect); /* XXX */ 761 fs->fs_interleave = max(fs->fs_interleave, 1); /* XXX */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | posix_sem.c | 156 long posix_sem_max = 10000; /* tunable for max POSIX semaphores */ 160 SYSCTL_INT (_kern_posix_sem, OID_AUTO, max, CTLFLAG_RW, &posix_sem_max, 0, "max");
|