Searched refs:list (Results 1 - 25 of 46) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Ddhcp_options.c93 ptrlist_init(ptrlist_t * list) argument
95 bzero(list, sizeof(*list));
100 ptrlist_free(ptrlist_t * list) argument
102 if (list->array)
103 my_free(list->array);
104 ptrlist_init(list);
109 ptrlist_count(ptrlist_t * list) argument
111 if (list == NULL || list
118 ptrlist_element(ptrlist_t * list, int i) argument
129 ptrlist_grow(ptrlist_t * list) argument
150 ptrlist_add(ptrlist_t * list, const void * element) argument
161 ptrlist_concat(ptrlist_t * list, ptrlist_t * extra) argument
192 dhcpol_add(dhcpol_t * list, const void * element) argument
198 dhcpol_count(dhcpol_t * list) argument
204 dhcpol_element(dhcpol_t * list, int i) argument
210 dhcpol_init(dhcpol_t * list) argument
216 dhcpol_free(dhcpol_t * list) argument
222 dhcpol_concat(dhcpol_t * list, dhcpol_t * extra) argument
237 dhcpol_parse_buffer(dhcpol_t * list, const void * buffer, int length) argument
294 dhcpol_find(dhcpol_t * list, int tag, int * len_p, int * start) argument
[all...]
H A Ddhcp_options.h170 * Module: dhcpol (dhcp options list)
186 void dhcpol_init(dhcpol_t * list);
187 void dhcpol_free(dhcpol_t * list);
188 int dhcpol_count(dhcpol_t * list);
189 boolean_t dhcpol_add(dhcpol_t * list, const void * element);
190 const void * dhcpol_element(dhcpol_t * list, int i);
191 boolean_t dhcpol_concat(dhcpol_t * list, dhcpol_t * extra);
192 boolean_t dhcpol_parse_buffer(dhcpol_t * list,
195 const void * dhcpol_find(dhcpol_t * list, int tag, int * len_p,
198 void * dhcpol_get(dhcpol_t * list, in
[all...]
/macosx-10.5.8/xnu-1228.15.4/config/
H A Dcompress-man-pages.pl42 my $list = $inodes{$ino};
43 $list = $inodes{$ino} = [] unless defined($list);
44 push(@$list, $_);
80 foreach my $list (@links) {
81 my $main = shift(@$list);
82 for(@$list) {
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIODeviceMemory.cpp53 InitElement list[],
65 range = IODeviceMemory::withRange( list[i].start, list[i].length );
67 range->setTag( list[i].tag );
52 arrayFromList( InitElement list[], IOItemCount count ) argument
H A DIOHibernateRestoreKernel.c111 hibernate_page_bitmap(hibernate_page_list_t * list, uint32_t page) argument
114 hibernate_bitmap_t * bitmap = &list->bank_bitmap[0];
116 for (bank = 0; bank < list->bank_count; bank++)
122 if (bank == list->bank_count)
129 hibernate_page_bitmap_pin(hibernate_page_list_t * list, uint32_t * pPage) argument
132 hibernate_bitmap_t * bitmap = &list->bank_bitmap[0];
134 for (bank = 0; bank < list->bank_count; bank++)
145 if (bank == list->bank_count)
152 hibernate_page_bitset(hibernate_page_list_t * list, boolean_t set, uint32_t page) argument
156 bitmap = hibernate_page_bitmap(list, pag
170 hibernate_page_bittst(hibernate_page_list_t * list, uint32_t page) argument
223 hibernate_page_list_grab(hibernate_page_list_t * list, uint32_t * pNextFree) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSSymbol.cpp263 OSSymbol *probeSymbol, **list; local
281 for (list = thisBucket->symbolP; j--; list++) {
282 probeSymbol = *list;
296 OSSymbol *probeSymbol, **list; local
316 list = (OSSymbol **) kalloc(2 * sizeof(OSSymbol *));
319 list[0] = sym;
320 list[1] = probeSymbol;
321 thisBucket->symbolP = list;
329 for (list
355 OSSymbol *probeSymbol, **list; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dcpm.h50 * Return a linked list of physically contiguous
57 cpm_allocate(vm_size_t size, vm_page_t *list, ppnum_t max_pnum, boolean_t wire);
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Devent.h36 * notice, this list of conditions and the following disclaimer.
38 * notice, this list of conditions and the following disclaimer in the
177 * Please note that EVFILT_PROC and EVFILT_SIGNAL share the same knote list
231 TAILQ_HEAD(kqtailq, knote); /* a list of "queued" events */
238 SLIST_ENTRY(knote) kn_link; /* linkage for search list */
278 extern void klist_init(struct klist *list);
280 #define KNOTE(list, hint) knote(list, hint)
281 #define KNOTE_ATTACH(list, kn) knote_attach(list, k
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhibernate_ppc.c63 hibernate_page_list_t * list; local
77 list = kalloc(size);
78 if (!list)
79 return (list);
81 list->list_size = size;
82 list->page_count = page_count;
83 list->bank_count = pmap_mem_regions_count;
85 bitmap = &list->bank_bitmap[0];
86 for (bank = 0; bank < list->bank_count; bank++)
95 return (list);
[all...]
H A Dskiplists.s31 * These are the subroutines that manage the skip-list data structures used for the
39 * distributed random number. Every mapping is on the first list. Ideally, each
40 * successive list has only 1/F as many nodes on it as the previous, where F is the
43 * Searching, adding, and deleting from a skip-list can all be done in O(ln(n)) time.
44 * Because the first skip-list is just a sorted list of all mappings, it is also
56 * 64-byte nodes with 4 list links, and 128-byte nodes with 12. Only one in every
67 ; set nonzero to accumulate skip-list stats on a per-map basis:
70 ; cr7 bit set when mapSearchFull() finds a match on a high list:
110 addic. r7,r7,-1 ; get base-0 number of last list, an
[all...]
H A Dsavearea_asm.s65 * Link the current free list & processor local list on an independent list.
80 std r8,SVsavefreesnapshot(0) ; Make it the restore list anchor
81 ld r5,SVfree(0) ; Get free save area list anchor
92 ld r5,lclfree(r10) ; Get the local savearea list
104 std r5,savemisc1(r8) ; End the list
114 stw r8,SVsavefreesnapshot+4(0) ; Make it the restore list anchor
115 lwz r5,SVfree+4(0) ; Get free save area list anchor
126 lwz r5,lclfree+4(r10) ; Get the local savearea list
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dhibernate_i386.c58 hibernate_page_list_t * list; local
128 list = (hibernate_page_list_t *)kalloc(size);
129 if (!list)
130 return (list);
132 list->list_size = size;
133 list->page_count = page_count;
134 list->bank_count = num_banks;
138 bitmap = &list->bank_bitmap[0];
151 return (list);
H A Dcpu_threads.c272 * This returns a list of cache structures that represent the
340 x86_match_cache(x86_cpu_cache_t *list, x86_cpu_cache_t *matcher) argument
344 cur_cache = list;
622 * Put the new CPU into the list of the cache.
639 x86_cpu_cache_t *list; local
653 list = x86_cache_list();
657 while (list != NULL) {
659 * Remove the cache from the front of the list.
661 cur = list;
662 list
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIODeviceMemory.h65 @param list An array of IODeviceMemory::InitElement structures.
66 @param count The number of elements in the list.
70 InitElement list[],
H A DIOHibernatePrivate.h275 hibernate_page_bitset(hibernate_page_list_t * list, boolean_t set, uint32_t page);
278 hibernate_page_bittst(hibernate_page_list_t * list, uint32_t page);
281 hibernate_page_bitmap_pin(hibernate_page_list_t * list, uint32_t * page);
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Draw_cb.h36 * notice, this list of conditions and the following disclaimer.
38 * notice, this list of conditions and the following disclaimer in the
75 LIST_ENTRY(rawcb) list; member in struct:rawcb
H A Draw_cb.c36 * notice, this list of conditions and the following disclaimer.
38 * notice, this list of conditions and the following disclaimer in the
112 LIST_INSERT_HEAD(&rawcb_list, rp, list);
134 LIST_REMOVE(rp, list);
H A Dkpi_interface.c1090 ifnet_list_get(ifnet_family_t family, ifnet_t **list, u_int32_t *count) argument
1092 return (ifnet_list_get_common(family, FALSE, list, count));
1096 ifnet_list_get_all(ifnet_family_t family, ifnet_t **list, u_int32_t *count) argument
1098 return (ifnet_list_get_common(family, TRUE, list, count));
1102 ifnet_list_get_common(ifnet_family_t family, boolean_t get_all, ifnet_t **list, argument
1110 if (list == NULL || count == NULL)
1125 MALLOC(*list, ifnet_t*, sizeof(ifnet_t) * (cmax + 1),
1127 if (*list == NULL)
1139 (*list)[*count] = (ifnet_t)ifp;
1140 ifnet_reference((*list)[*coun
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_node.c40 * notice, this list of conditions and the following disclaimer.
42 * notice, this list of conditions and the following disclaimer in the
96 * and build nfsnode free list.
655 nfsnode_t list[4]; local
659 list[lcnt++] = fdnp;
661 list[lcnt++] = tdnp;
662 list[lcnt++] = fdnp;
664 list[lcnt++] = fdnp;
665 list[lcnt++] = tdnp;
667 list[lcn
705 nfsnode_t list[4]; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_data.h36 * notice, this list of conditions and the following disclaimer.
38 * notice, this list of conditions and the following disclaimer in the
64 may be a list of values (actually a similar set of key/value pairs,
66 a set of dictionaries, which in turn are made up of a list of key/value
106 struct mac_module_data_element list[1]; member in struct:mac_module_data_list
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmcache.c82 * to serialize accesses to the global list of caches in the system.
186 mcache_llock_grp = lck_grp_alloc_init("mcache.list",
334 * returned are linked together in a list.
421 mcache_alloc_ext(mcache_t *cp, mcache_obj_t **list, unsigned int num, int wait) argument
424 mcache_obj_t **top = &(*list);
432 ASSERT(list != NULL);
433 *list = NULL;
456 * the list; grab as many objects as we can.
459 *list = ccp->cc_filled->bkt_obj[ccp->cc_objs - 1];
464 list
674 mcache_free_ext(mcache_t *cp, mcache_obj_t *list) argument
683 (*cp->mc_slab_audit)(cp->mc_private, list, FALSE); local
863 mcache_obj_t **list = *plist; local
932 mcache_slab_free(void *arg, mcache_obj_t *list, __unused boolean_t purged) argument
982 mcache_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument
[all...]
H A Dkern_event.c37 * notice, this list of conditions and the following disclaimer.
39 * notice, this list of conditions and the following disclaimer in the
558 /* no "object" for timers, so fake a list */
772 * We walk each list looking for knotes referencing this
776 * safe in the assumption that the list will eventually
804 /* start over at beginning of list */
824 /* start over at beginning of list */
1167 struct klist *list; local
1169 list = &fdp->fd_knhash[
1171 SLIST_FOREACH(kn, list, kn_lin
1743 klist_init(struct klist *list) argument
1762 knote(struct klist *list, long hint) argument
1790 knote_attach(struct klist *list, struct knote *kn) argument
1802 knote_detach(struct klist *list, struct knote *kn) argument
1821 struct klist *list; local
1857 struct klist *list = NULL; local
1904 struct klist *list; local
[all...]
H A Duipc_mbuf.c37 * notice, this list of conditions and the following disclaimer.
39 * notice, this list of conditions and the following disclaimer in the
353 * gets removed (SLF_DETACHED) from the class's slab list. A chunk that is
355 * it also causes the slab to be reinserted back to class's slab list, if
466 TAILQ_HEAD(mcl_slhead, mcl_slab) mtbl_slablist; /* slab list */
1146 /* The slab list for this class is empty */
1262 * Place a slab of object(s) back into a class's slab list.
1384 /* Remove the slab from the mbuf class's slab list */
1402 /* Reinsert the slab to the class's slab list */
1419 mcache_obj_t **list local
1494 mbuf_slab_free(void *arg, mcache_obj_t *list, __unused int purged) argument
1533 mbuf_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument
1604 mcache_obj_t **list = *plist; local
1658 cslab_free(mbuf_class_t class, mcache_obj_t *list, int purged) argument
1796 mcache_obj_t **list; local
1970 mbuf_cslab_free(void *arg, mcache_obj_t *list, int purged) argument
2001 mbuf_cslab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument
2540 mcache_obj_t **list = &top; local
3901 mcache_obj_t *list = NULL; local
4007 mcache_free_ext(m_cache(MC_MBUF), list); local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_cnode.c1128 struct cnode * list[4]; local
1147 * Build the lock list, skipping over duplicates
1151 if (k == 0 || tmp != list[k-1])
1152 list[k++] = tmp;
1156 * Now we can lock using list[0 - k].
1160 if (list[i])
1161 if ((error = hfs_lock(list[i], locktype))) {
1164 if (list[i])
1165 hfs_unlock(list[i]);
1247 struct cnode * list[ local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dhibernate.c52 hibernate_page_list_zero(hibernate_page_list_t *list) argument
57 bitmap = &list->bank_bitmap[0];
58 for (bank = 0; bank < list->bank_count; bank++)

Completed in 384 milliseconds

12