Searched refs:first (Results 1 - 25 of 33) sorted by relevance

12

/darwin-on-arm/xnu/bsd/kern/
H A Dkpi_mbuf_internal.h33 extern void mbuf_tag_id_first_last(mbuf_tag_id_t * first, mbuf_tag_id_t * last);
H A Dkpi_mbuf.c580 u_int16_t first, second; local
583 first = mbuf->m_pkthdr.csum_data >> 16;
585 mbuf->m_pkthdr.csum_data = first - second;
H A Dtty.c506 * If input is pending take it first.
578 * Check for literal nexting very first
1943 int first, error = 0; local
1956 * take pending input first
2034 * companion case (m == 0 && t == 0) first.
2057 /* first character, start timer */
2140 first = 1;
2151 if (first)
2164 first = 0;
2171 if (first)
[all...]
H A Dpthread_synch.c277 * Pre-fault the first page of the new thread's stack and the page that will
711 * look for first affinity group that is currently not active
1721 * look for first affinity group that is currently not active
1934 int first = -1; local
1941 KERNEL_DEBUG(code, lpri, laffinity, wq->wq_thactive_count[lpri][laffinity], first, 0);
1943 first = 0;
1951 if (first == -1)
1952 first = 0xeeeeeeee;
1953 KERNEL_DEBUG(0xefffd02c | DBG_FUNC_END, lpri, laffinity, wq->wq_thactive_count[lpri][laffinity], first, 0);
/darwin-on-arm/xnu/bsd/net/
H A Dnet_str_id.c82 net_str_id_first_last(u_int32_t *first, u_int32_t *last, u_int32_t kind) argument
84 *first = FIRST_NET_STR_ID;
/darwin-on-arm/xnu/osfmk/kern/
H A Dsimple_lock.h162 unsigned int *first,
/darwin-on-arm/xnu/SETUP/config/
H A Dmkmakefile.c80 struct file_list *do_systemspec(FILE *f, struct file_list *fl, int first);
376 int nreqs, first = 1, isdup; local
403 if (first == 1) {
405 first++;
408 if (first == 2) {
410 first++;
441 if (first == 3 && (tp = fltail_lookup(this)) != 0)
833 * Build a define parameter file. Create it first in a temporary location and
1084 int first = 1; local
1092 fl = do_systemspec(f, fl, first);
1109 do_systemspec(FILE *f, struct file_list *fl, __unused int first) argument
[all...]
/darwin-on-arm/xnu/libkern/zlib/
H A Dcrc32.c43 protection on the static variables used to control the first-use generation
45 first call get_crc_table() to initialize the tables before allowing more than
127 The first table is simply the CRC of all possible eight bit values. This is
139 static volatile int first = 1; /* flag to limit concurrent making */ local
145 if (first) {
146 first = 0;
163 and then the byte reversal of those as well as the first table */
177 else { /* not first */
425 /* apply len2 zeros to crc1 (first square will put the operator for one
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_timer_tests.c188 test_updated_kevent(int first, int second) argument
193 printf("Testing update from %d to %d msecs...\n", first, second);
195 EV_SET64(&kev, 4, EVFILT_TIMER, EV_ADD|EV_ONESHOT, 0, first, 0, 0, 0);
/darwin-on-arm/xnu/SETUP/kextsymboltool/
H A Dkextsymboltool.c629 struct symbol * first; local
634 first = result;
635 while (--first >= &import_symbols[0])
637 if (bsearch_cmp_prefix(&key, first))
639 strtabsize += (first->name_len + first->indirect_len);
641 first++;
650 result_count += last - first;
651 result = first;
652 export_symbols[export_idx].list = first;
[all...]
/darwin-on-arm/xnu/osfmk/profiling/i386/
H A Dprofile-md.c326 /* Fill in first page list information */
327 plist->ptr = plist->first = (void *)&mptr->data[0];
565 plist->ptr = plist->first;
569 memset(plist->first, '\0', plist->bytes_allocated);
601 for (gfunc = (struct gfuncs *)plist->first;
648 hptr = (struct hasharc *)plist->first;
714 pptr = (struct prof_int *)plist->first;
745 gptr = (struct gfuncs *)plist->first;
825 hptr = (struct hasharc *)plist->first;
854 hptr = (struct hasharc *)plist->first;
[all...]
/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched_rmclass.c1015 * class next gets to send a packet. Highest priority first, then
1023 * then the first class found that had a nonzero queue and is allowed to
1030 struct rm_class *cl = NULL, *first = NULL; local
1049 first = cl;
1067 * was unable to send a packet the first round because
1091 } else if (first == NULL && cl->borrow_ != NULL)
1092 first = cl; /* borrowing candidate */
1100 /* first loop found an underlimit class with deficit */
1112 if (first != NULL && ifd->cutoff_ < ifd->root_->depth_) {
1119 * If LINK_EFFICIENCY is turned on, then the first overlimi
1187 struct rm_class *cl, *first = NULL; local
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Din_pcb.c168 SYSCTL_PROC(_net_inet_ip_portrange, OID_AUTO, first, CTLTYPE_INT|CTLFLAG_RW | CTLFLAG_LOCKED,
572 u_short first, last; local
581 first = ipport_hifirstauto; /* sysctl */
593 first = ipport_lowfirstauto; /* 1023 */
597 first = ipport_firstauto; /* sysctl */
603 if (first == last)
612 if (first > last) {
618 *lastport = first - (rand_port % (first - last));
620 count = first
[all...]
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_src.c1196 u_int16_t lport = 0, first, last, *lastport; local
1215 first = ipport_hifirstauto; /* sysctl */
1227 first = ipport_lowfirstauto; /* 1023 */
1231 first = ipport_firstauto; /* sysctl */
1242 if (first > last) {
1246 count = first - last;
1261 if (*lastport > first || *lastport < last)
1262 *lastport = first;
1270 count = last - first;
1285 if (*lastport < first || *lastpor
[all...]
/darwin-on-arm/xnu/osfmk/ipc/
H A Dipc_mqueue.c1031 boolean_t first; local
1032 first = ipc_kmsg_delayed_destroy(kmsg);
1033 if (first)
1034 reap = first;
H A Dipc_kmsg.c738 ipc_kmsg_t first; local
740 first = ipc_kmsg_queue_first(queue);
742 if (first != IKM_NULL)
743 ipc_kmsg_rmqueue_first_macro(queue, first);
745 return first;
823 * destruction queue. If this was the first message on the
843 boolean_t first = ipc_kmsg_queue_empty(queue); local
846 return first;
1856 * and if the copyin happens first, a port-deleted
/darwin-on-arm/xnu/osfmk/profiling/
H A Dprofile-internal.h192 void *first; /* pointer to first byte available */ member in struct:page_list
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_node.c1071 nfsnode_t first, second; local
1074 first = (np1 > np2) ? np1 : np2;
1076 if ((error = nfs_node_lock(first)))
1081 nfs_node_unlock(first);
1133 nfsnode_t first, second; local
1136 first = (np1 > np2) ? np1 : np2;
1138 if ((error = nfs_node_set_busy(first, thd)))
1143 nfs_node_clear_busy(first);
H A Dnfs_syscalls.c736 int first; local
821 first = TAILQ_EMPTY(&nfsrv_socklist);
830 nfsrv_uc_addsock(slp, first);
848 * The first nfsd thread stays in user mode accepting new TCP connections
870 * nfsds looking for a socket to work on check the "wait" queue first and
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_rtmptable.c667 * first see Inside Mac Page 3-10, there is 20 multicast addresses
683 * zt_ent_zindex: return the first zone index found in the zone map
832 /* first check the interface is up and forwarding */
929 ZT_entryno *zt_getNextZone(first)
930 int first;
931 /* a call made with first = TRUE returns the first valid entry in
932 the ZT_table, if first != TRUE, then then each call returns the
944 if (first)
961 RT_entry *rt_getNextRoute(first)
[all...]
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dfasttrap_isa.c242 * In 64-bit mode, the first six arguments are stored in
270 size_t first = MIN(len, PAGE_SIZE - (pc & PAGE_MASK)); local
288 if (uread(p, &instr[0], first, pc) != 0)
290 if (len > first &&
291 uread(p, &instr[first], len - first, pc + first) != 0) {
292 bzero(&instr[first], len - first);
293 len = first;
[all...]
/darwin-on-arm/xnu/osfmk/vm/
H A Dvm_page.h780 * either first remove it (it needs both the page queues lock and the object lock to do \
864 #define VM_PAGE_ENQUEUE_INACTIVE(mem, first) \
871 if (first == TRUE) \
877 if (first == TRUE) \
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_cnode.c602 * inactive, so it will happen first in inactive if possible.
680 * unlinked file in the first place should have already called vnode_recycle on the vnode
791 * first, so that VNOP_BLOCKMAP() will return the
1823 struct cnode *first, *last; local
1837 first = cp1;
1840 first = cp2;
1844 if ( (error = hfs_lock(first, locktype))) {
1848 hfs_unlock(first);
1874 * - locked in cnode address order (lesser address first).
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_subr.c296 struct mbuf **first, *last; local
305 first = &(*head);
382 return ((*first != NULL) ? 0 : EAGAIN);
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace.c41 * first.
3180 * dtrace_getupcstack() fills in the first uint64_t
3987 * of the specified character instead of the first.
4736 * that we processed immediately before that is the first
4778 * looking for a basename, we'll just set the first
4796 * slash must be the first character. (That
6322 * We will first allocate some temporary space for the frame pointers.
8078 * provider after the first provider.
8118 dtrace_probe_t *probe, *first = NULL;
8201 if (first
[all...]

Completed in 225 milliseconds

12