/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOCatalogue.cpp | 188 primitive_type_collect(struct mac_module_data_element *element, OSObject *value) argument 195 element->value_type = MAC_DATA_TYPE_PRIMITIVE; 196 element->value_size = stringObj->getLength() + 1; 198 stringObj->getCStringNoCopy(), element->value_size)); 199 memcpy(element->value, stringObj->getCStringNoCopy(), 200 element->value_size); 203 element->value_type = MAC_DATA_TYPE_PRIMITIVE; 204 element->value_size = sprintf(element->value, "%u", 208 element 237 struct mac_module_data_element * element; local [all...] |
H A D | IOService.cpp | 179 #define queue_element(entry, element, type, field) do { \ 182 (element) = (type) __ele; \ 928 ArbitrationLockQueueElement * element; local 937 // obtain an unused queue element 940 element, 944 element = IONew( ArbitrationLockQueueElement, 1 ); 945 assert( element ); 948 // prepare the queue element 949 element->thread = IOThreadSelf(); 950 element 1212 ArbitrationLockQueueElement * element; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ |
H A D | flipc_debug.h | 80 int element = bitpos / (sizeof(unsigned long) * 8); local 81 int subbitpos = bitpos - element * sizeof(unsigned long) * 8; 84 if (flipc_debug_buffer_bitvec[element] & (1 << subbitpos)) 89 flipc_debug_buffer_bitvec[element] |= (1 << subbitpos); 114 int element, subbitpos; local
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | queue.h | 69 * added to the list after an existing element or at the head of the list. 80 * to the list after an existing element, at the head of the list, or at the 89 * so that an arbitrary element can be removed without a need to 91 * or after an existing element or at the head of the list. A list 96 * linked so that an arbitrary element can be removed without a need to 98 * after an existing element, at the head of the list, or at the end of 103 * linked so that an arbitrary element can be removed without a need to 105 * an existing element, at the head of the list, or at the end of the list. 141 /* Store the last 2 places the queue element or head was altered */ 178 struct type *slh_first; /* first element */ \ 687 struct quehead *element = (struct quehead *)a, local 699 struct quehead *element = (struct quehead *)a; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/ |
H A D | OSAtomic.h | 309 @discussion The OSEnqueueAtomic function places an element at the head of a single linked list, which is specified with the address of a head pointer, listHead. The element structure has a next field whose offset is specified. 313 @param element The list element to insert at the head of the list. 314 @param elementNextFieldOffset The byte offset into the element where a pointer to the next element in the list is stored. */ 316 extern void OSEnqueueAtomic(void * volatile * listHead, void * element, 320 @abstract Singly linked list element head removal, performed atomically with respect to all devices that participate in the coherency architecture of the platform. 321 @discussion The OSDequeueAtomic function removes an element from the head of a single linked list, which is specified with the address of a head pointer, listHead. The element structur [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | dhcp_options.c | 150 ptrlist_add(ptrlist_t * list, const void * element) argument 155 list->array[list->count++] = element; 192 dhcpol_add(dhcpol_t * list, const void * element) argument 194 return (ptrlist_add((ptrlist_t *)list, element));
|
H A D | dhcp_options.h | 189 boolean_t dhcpol_add(dhcpol_t * list, const void * element);
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_base.c | 293 * policy is interested in that namespace element. 628 * Check both label element lists and add to the 697 * that label element from the list. Note that we only 1102 const char *element, struct sbuf *sb) 1113 if (element[0] == '?') { 1114 element++; 1116 } else if (element[0] == '*' && element[1] == '\0') 1129 if (strcmp(name, element) != 0) 1189 char *element; local 1101 mac_label_externalize(size_t mpo_externalize_off, struct label *label, const char *element, struct sbuf *sb) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | makedis.c | 939 enum type type; /* the type of each element */ 1112 be compiled. Each bitsplicebits element represents either a numeric 1210 /* Look for a spliced element that is the entire bitstring argument to 1296 struct stringlist **elementlink, *element; local 1307 element = xmalloc(sizeof *element); 1308 t = makestring(fp, &element->string, &p, 1312 element->type = t; 1320 showstring(stderr, element->string); 1324 *elementlink = element; [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | zalloc.c | 109 * We provide three methods to detect use of a zone element after it's been freed. These 114 * each other when re-using the zone element, to detect modifications. 130 #define ADD_TO_ZONE(zone, element) \ 137 ((uint32_t *)(element))[i] = 0xdeadbeef; \ 139 *((vm_offset_t *)(element)) = (zone)->free_elements; \ 142 ((vm_offset_t *)(element))[((zone)->elem_size/sizeof(vm_offset_t))-1] = \ 145 (zone)->free_elements = (vm_offset_t) (element); \ 158 panic("a freed zone element has been modified");\ 165 panic("a freed zone element has been modified");\ 344 * and freed any particular element i [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | hw_vm.s | 6008 add r20,r20,r11 ; Calculate map array element address
|