/xnu-2422.115.4/iokit/Kernel/ |
H A D | IORangeAllocator.cpp | 81 elements = 0; 114 if( elements) 115 IODelete( elements, IORangeAllocatorElement, capacity ); 143 || (!elements)) { 150 if( elements) { 151 bcopy( elements, 154 bcopy( elements + index, 158 IODelete( elements, IORangeAllocatorElement, capacity ); 161 elements = newElements; 166 bcopy( elements [all...] |
/xnu-2422.115.4/security/ |
H A D | mac_socket.c | 182 mac_socket_label_externalize(struct label *label, char *elements, argument 187 error = MAC_EXTERNALIZE(socket, label, elements, outbuf, outbuflen); 193 mac_socketpeer_label_externalize(struct label *label, char *elements, argument 198 error = MAC_EXTERNALIZE(socketpeer, label, elements, outbuf, outbuflen); 391 char *buffer, *elements; local 400 MALLOC(elements, char *, mac->m_buflen, M_MACTEMP, M_WAITOK); 401 error = copyinstr(CAST_USER_ADDR_T(mac->m_string), elements, 404 FREE(elements, M_MACTEMP); 411 error = mac_socket_label_externalize(intlabel, elements, buffer, 419 FREE(elements, M_MACTEM 428 char *elements, *buffer; local [all...] |
H A D | mac_task.c | 118 mac_task_label_externalize(struct label *label, char *elements, argument 123 error = MAC_EXTERNALIZE(task, label, elements, outbuf, outbuflen);
|
H A D | mac_base.c | 290 * elements is added to the master list if not already present. When a 291 * policy is unloaded, the namespace elements are removed if no other 610 * to contain the potential new elements so we don't have to 670 /* Free up any unused label elements and listeners */ 1139 * multiple label elements for some 1153 /* If there are dynamic policies present, check their elements too. */ 1264 /* If there are dynamic policies present, check their elements too. */ 1303 char *elements, *buffer; local 1335 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK); 1336 error = copyinstr(mac.m_string, elements, ma 1359 char *elements, *buffer; local 1493 char *elements, *buffer; local 1562 char *elements, *buffer; local 1704 char *elements, *buffer; local 1813 char *elements, *buffer; local 2164 char *elements, *buffer; local [all...] |
H A D | mac_net.c | 256 mac_ifnet_label_externalize(struct label *label, char *elements, argument 260 return (MAC_EXTERNALIZE(ifnet, label, elements, outbuf, outbuflen)); 429 char *elements, *buffer; local 444 MALLOC(elements, char *, mac.m_buflen, M_MACTEMP, M_WAITOK); 445 error = copyinstr(CAST_USER_ADDR_T(mac.m_string), elements, 448 FREE(elements, M_MACTEMP); 451 AUDIT_ARG(mac_string, elements); 458 error = mac_ifnet_label_externalize(intlabel, elements, 461 FREE(elements, M_MACTEMP);
|
H A D | mac_file.c | 167 mac_file_check_get(struct ucred *cred, struct fileglob *fg, char *elements, argument 172 MAC_CHECK(file_check_get, cred, fg, elements, len);
|
H A D | mac_pipe.c | 118 mac_pipe_label_externalize(struct label *label, char *elements, argument 123 error = MAC_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen);
|
H A D | mac_port.c | 142 mac_port_label_externalize(struct label *label, char *elements, argument 148 error = MAC_EXTERNALIZE(cred, label, elements, outbuf, outbuflen);
|
H A D | mac_process.c | 137 mac_cred_label_externalize(struct label *label, char *elements, argument 142 error = MAC_EXTERNALIZE(cred, label, elements, outbuf, outbuflen); 547 mac_lctx_label_externalize(struct label *label, char *elements, argument 552 error = MAC_EXTERNALIZE(lctx, label, elements, outbuf, outbuflen);
|
H A D | mac_internal.h | 277 int mac_pipe_label_externalize(struct label *label, char *elements,
|
H A D | mac_vfs.c | 237 mac_vnode_label_externalize(struct label *label, char *elements, argument 242 error = MAC_EXTERNALIZE(vnode, label, elements, outbuf, outbuflen); 268 mac_mount_label_externalize(struct label *label, char *elements, argument 273 error = MAC_EXTERNALIZE(mount, label, elements, outbuf, outbuflen);
|
H A D | mac_framework.h | 198 char *elements, int len); 278 int mac_mount_label_externalize(struct label *label, char *elements,
|
H A D | mac_policy.h | 758 @param elements Element buffer 770 char *elements, 917 @param elements Elements buffer 918 @param len Length of elements buffer 930 char *elements,
|
/xnu-2422.115.4/libkern/c++/ |
H A D | OSUnserializeXML.y | 78 struct object *elements; 238 $$->elements = NULL; 241 $$->elements = $2; 284 $$->elements = NULL; 286 | '(' elements ')' { $$ = $1; 287 $$->elements = $2; 293 $$->elements = NULL; 295 | '[' elements ']' { $$ = $1; 296 $$->elements = $2; 301 elements label [all...] |
H A D | OSUnserialize.y | 169 | '(' elements ')' { $$ = $2; } 173 | '[' elements ']' { $$ = $2; } 176 elements: object { $$ = newObject(); label 181 | elements ',' object { oo = newObject();
|
H A D | OSUnserializeXML.cpp | 173 struct object *elements; member in struct:object 435 N elements. */ 460 elements in the stack, and YYPTR gives the new location of the 571 "pairs", "pair", "key", "array", "set", "elements", "boolean", "data", 1313 The wasted elements are never initialized. */ 1333 /* Get the current used size of the three stacks, in elements. */ 1628 (yyval)->elements = NULL; 1635 (yyval)->elements = (yyvsp[(2) - (3)]); 1682 (yyval)->elements = NULL; 1689 (yyval)->elements [all...] |
/xnu-2422.115.4/iokit/IOKit/ |
H A D | IORangeAllocator.h | 47 @discussion The IORangeAllocator class provides functions for allocating ranges, at a fixed or any offset, and freeing them back to a free list. It is useful for describing ranges of memory or address space without requiring storage in the memory - information describing the free elements is kept elsewhere. Ranges are described by a start offset and a size. IORangeAllocator is optionally protected against multithreaded access. 61 struct IORangeAllocatorElement * elements; member in class:IORangeAllocator
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | ip_dummynet.c | 589 int son = h->elements ; 594 son = h->elements ; 596 if (heap_init(h, h->elements+1) ) 600 h->elements++ ; 623 int child, father, maxelt = h->elements - 1 ; 635 if (father < 0 || father >= h->elements) { 637 father, h->elements); 651 h->elements-- ; 670 for (i = 0 ; i < h->elements ; i++ ) 904 while ( p_numbytes >=0 && (sch->elements> [all...] |
H A D | ip_dummynet.h | 129 * Current size is "size", with "elements" actually in use. 147 int elements ; member in struct:dn_heap 344 int rq_elements ; /* active elements */ 436 int elements ; member in struct:dn_heap_32 498 int rq_elements ; /* active elements */ 560 int elements ; member in struct:dn_heap_64 623 int rq_elements ; /* active elements */
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_subr.c | 307 hashinit(int elements, int type, u_long *hashmask) argument 313 if (elements <= 0) 315 for (hashsize = 1; hashsize <= elements; hashsize <<= 1)
|
/xnu-2422.115.4/osfmk/kern/ |
H A D | zalloc.c | 237 * Initialize backup pointer random cookie for poisoned elements 282 /* zp-factor=XXXX: override how often to poison freed zone elements */ 287 /* Initialize backup pointer random cookie for unpoisoned elements */ 356 struct zone_free_element *elements; member in struct:zone_page_metadata 543 * Insert a linked list of elements (delineated by head and tail) at the head of 547 * Precondition: There should be no elements after tail 581 old_head = (vm_offset_t)page_meta->elements; 598 /* Always poison tiny zones' elements (limit is 0 if -no-zp is set) */ 602 /* Poison zone elements periodically */ 627 page_meta->elements [all...] |
/xnu-2422.115.4/makedefs/ |
H A D | MakeInc.cmd | 214 # 3 elements at a time
|
/xnu-2422.115.4/tools/lldbmacros/ |
H A D | memory.py | 252 zlimit: int - Limit for the number of elements to be printed by showzfreelist 284 Will walk up to 50 elements by default, pass a limit in 'iterations' to override. 303 zfirst = Cast(free_page_meta.elements, 'void *') 309 zfirst = Cast(free_page_meta.elements, 'void *') 315 zfirst = Cast(free_page_meta.elements, 'void *') 324 print "Stopped at {0: <d} elements!".format(zlimit) 326 print "Found {0: <d} elements!".format(ShowZfreeList.elts_found) 334 """ Zone leak debugging: Print the stack trace of log element at <index>. If a <count> is supplied, it prints <count> log elements starting at <index>.
|