Searched refs:max (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Ddb_interface.c277 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 Dskiplists.s41 * "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 Dmk_sp.c158 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 Daffinity.c258 * 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 Dipc_kobject.c158 #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 Dmisc_protos.h90 vm_size_t max,
H A Dzalloc.c350 #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 Dsubrs.c372 * 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 Dtask_info.h212 integer_t max; member in struct:task_affinity_tag_info
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dipc_port.c1694 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 Dlibkern.h117 max(u_int a, u_int b) function
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOLib.h60 * 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 Dqtif2kraw.c332 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 Dgenimage.c720 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 Dmac_internal.h105 u_int max; member in struct:mac_policy_list
H A Dmac_base.c489 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 Dtcp_usrreq.c962 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 Dtcp_var.h123 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 Din_pcb.c135 #define RANGECHK(var, min, max) \
137 else if ((var) > (max)) { (var) = (max); }
H A Dtcp_input.c114 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 Dip_icmp.c489 if (mtu < max(296, (tcp_minmss + sizeof(struct tcpiphdr)))) {
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dsysctl.c422 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 DIOServicePM.cpp2056 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 Dffs_vfsops.c713 /* 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 Dposix_sem.c156 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");

Completed in 298 milliseconds

12