/darwin-on-arm/xnu/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...] |
/darwin-on-arm/xnu/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 | 268 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 | 193 char *elements, int len); 273 int mac_mount_label_externalize(struct label *label, char *elements,
|
H A D | mac_policy.h | 736 @param elements Element buffer 748 char *elements, 895 @param elements Elements buffer 896 @param len Length of elements buffer 908 char *elements,
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSUnserializeXML.y | 76 struct object *elements; 179 $$->elements = NULL; 182 $$->elements = $2; 208 $$->elements = NULL; 210 | '(' elements ')' { $$ = $1; 211 $$->elements = $2; 217 $$->elements = NULL; 219 | '[' elements ']' { $$ = $1; 220 $$->elements = $2; 225 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 | 171 struct object *elements; member in struct:object 431 N elements. */ 456 elements in the stack, and YYPTR gives the new location of the 567 "pairs", "pair", "key", "array", "set", "elements", "boolean", "data", 1309 The wasted elements are never initialized. */ 1329 /* Get the current used size of the three stacks, in elements. */ 1569 (yyval)->elements = NULL; 1576 (yyval)->elements = (yyvsp[(2) - (3)]); 1606 (yyval)->elements = NULL; 1613 (yyval)->elements [all...] |
/darwin-on-arm/xnu/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
|
/darwin-on-arm/xnu/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 ; 634 if (father < 0 || father >= h->elements) { 636 father, h->elements); 650 h->elements-- ; 669 for (i = 0 ; i < h->elements ; i++ ) 902 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 */
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_subr.c | 311 hashinit(int elements, int type, u_long *hashmask) argument 317 if (elements <= 0) 319 for (hashsize = 1; hashsize <= elements; hashsize <<= 1)
|