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

12

/xnu-2422.115.4/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 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 Dkern_event.c404 * to subside. We first mark our intention to drop
1801 * wait for this one to go away first. Attaches
2193 int first; local
2197 first = 1;
2212 if (first) {
2213 first = 0;
2323 * If this is the first pass, link the wait queue associated with the
2558 * attach a knote to the specified list. Return true if this is the first entry.
/xnu-2422.115.4/osfmk/kern/
H A Dsimple_lock.h148 unsigned int *first,
/xnu-2422.115.4/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;
H A Dbpf.c427 /* need to grow bpf_dtab first */
468 int first = bp->bif_dlist == NULL; local
480 if (first) {
764 * This "shouldn't happen", as the first thread to enter
2396 * Check if this interface/dlt is already attached, record first
2425 /* Add this after the first entry for this interface */
/xnu-2422.115.4/SETUP/config/
H A Dmkmakefile.c75 struct file_list *do_systemspec(FILE *f, struct file_list *fl, int first);
364 int nreqs, first = 1, isdup; local
391 if (first == 1) {
393 first++;
396 if (first == 2) {
398 first++;
429 if (first == 3 && (tp = fltail_lookup(this)) != 0)
821 * Build a define parameter file. Create it first in a temporary location and
1039 int first = 1; local
1047 fl = do_systemspec(f, fl, first);
1064 do_systemspec(FILE *f, struct file_list *fl, __unused int first) argument
[all...]
/xnu-2422.115.4/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
128 The first table is simply the CRC of all possible eight bit values. This is
140 static volatile int first = 1; /* flag to limit concurrent making */ local
146 if (first) {
147 first = 0;
164 and then the byte reversal of those as well as the first table */
178 else { /* not first */
426 /* apply len2 zeros to crc1 (first square will put the operator for one
/xnu-2422.115.4/tools/tests/kqueue_tests/
H A Dkqueue_timer_tests.c190 test_updated_kevent(int first, int second) argument
195 printf("Testing update from %d to %d msecs...\n", first, second);
197 EV_SET64(&kev, 4, EVFILT_TIMER, EV_ADD|EV_ONESHOT, 0, first, 0, 0, 0);
/xnu-2422.115.4/SETUP/kextsymboltool/
H A Dkextsymboltool.c644 struct symbol * first; local
649 first = result;
650 while (--first >= &import_symbols[0])
652 if (bsearch_cmp_prefix(&key, first))
654 strtabsize += (first->name_len + first->indirect_len);
656 first++;
665 result_count += last - first;
666 result = first;
667 export_symbols[export_idx].list = first;
[all...]
/xnu-2422.115.4/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...]
/xnu-2422.115.4/bsd/netinet6/
H A Din6_src.c1220 u_int16_t lport = 0, first, last, *lastport; local
1239 first = ipport_hifirstauto; /* sysctl */
1251 first = ipport_lowfirstauto; /* 1023 */
1255 first = ipport_firstauto; /* sysctl */
1266 if (first > last) {
1270 count = first - last;
1285 if (*lastport > first || *lastport < last)
1286 *lastport = first;
1292 count = last - first;
1307 if (*lastport < first || *lastpor
[all...]
/xnu-2422.115.4/bsd/netinet/
H A Din_pcb.c193 SYSCTL_PROC(_net_inet_ip_portrange, OID_AUTO, first,
347 /* lock was dropped above, so check first before overriding */
809 u_short first, last; local
827 first = ipport_hifirstauto; /* sysctl */
840 first = ipport_lowfirstauto; /* 1023 */
844 first = ipport_firstauto; /* sysctl */
850 if (first == last)
859 if (first > last) {
866 first - (rand_port % (first
[all...]
/xnu-2422.115.4/osfmk/profiling/
H A Dprofile-internal.h192 void *first; /* pointer to first byte available */ member in struct:page_list
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_node.c1097 nfsnode_t first, second; local
1100 first = (np1 > np2) ? np1 : np2;
1102 if ((error = nfs_node_lock(first)))
1107 nfs_node_unlock(first);
1159 nfsnode_t first, second; local
1162 first = (np1 > np2) ? np1 : np2;
1164 if ((error = nfs_node_set_busy(first, thd)))
1169 nfs_node_clear_busy(first);
H A Dnfs_syscalls.c737 int first; local
822 first = TAILQ_EMPTY(&nfsrv_socklist);
831 nfsrv_uc_addsock(slp, first);
849 * The first nfsd thread stays in user mode accepting new TCP connections
871 * nfsds looking for a socket to work on check the "wait" queue first and
/xnu-2422.115.4/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...]
/xnu-2422.115.4/osfmk/vm/
H A Dvm_page.h796 * either first remove it (it needs both the page queues lock and the object lock to do \
907 #define VM_PAGE_ENQUEUE_INACTIVE(mem, first) \
914 if (first == TRUE) \
921 if (first == TRUE) \
/xnu-2422.115.4/osfmk/ipc/
H A Dipc_mqueue.c957 * first message in the queue) and return vital info about the
1153 boolean_t first; local
1154 first = ipc_kmsg_delayed_destroy(kmsg);
1155 if (first)
1156 reap = first;
H A Dipc_kmsg.c740 ipc_kmsg_t first; local
742 first = ipc_kmsg_queue_first(queue);
744 if (first != IKM_NULL)
745 ipc_kmsg_rmqueue_first_macro(queue, first);
747 return first;
825 * destruction queue. If this was the first message on the
845 boolean_t first = ipc_kmsg_queue_empty(queue); local
848 return first;
2013 * and if the copyin happens first, a port-deleted
2134 * If our request is the first boostin
[all...]
/xnu-2422.115.4/tools/lldbmacros/
H A Dmbufs.py271 first = 1
283 if (first == 1):
309 if (first == 1):
310 first = 0
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_cnode.c616 * inactive, so it will happen first in inactive if possible.
694 * unlinked file in the first place should have already called vnode_recycle on the vnode
805 * first, so that VNOP_BLOCKMAP() will return the
1984 struct cnode *first, *last; local
1998 first = cp1;
2001 first = cp2;
2005 if ( (error = hfs_lock(first, locktype, HFS_LOCK_DEFAULT))) {
2009 hfs_unlock(first);
2035 * - locked in cnode address order (lesser address first).
/xnu-2422.115.4/bsd/net/classq/
H A Dclassq_subr.c310 struct mbuf **first, *last; local
319 first = &(*head);
398 return ((*first != NULL) ? 0 : EAGAIN);
/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace.c45 * first.
3189 * dtrace_getupcstack() fills in the first uint64_t
4005 * of the specified character instead of the first.
4754 * that we processed immediately before that is the first
4796 * looking for a basename, we'll just set the first
4814 * slash must be the first character. (That
6340 * We will first allocate some temporary space for the frame pointers.
8096 * provider after the first provider.
8136 dtrace_probe_t *probe, *first = NULL;
8211 if (first
[all...]
/xnu-2422.115.4/osfmk/kdp/
H A Dkdp_udp.c389 static int first = 0; local
395 if (first)
398 first = 1;

Completed in 271 milliseconds

12