Searched refs:new_pinfo (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | posix_sem.c | 359 struct pseminfo *new_pinfo = PSEMINFO_NULL; local 442 MALLOC(new_pinfo, struct pseminfo *, sizeof(struct pseminfo), M_SHM, M_WAITOK|M_ZERO); 443 if (new_pinfo == NULL) { 448 mac_posixsem_label_init(new_pinfo); 452 * Provisionally create the semaphore in the new_pinfo; we have to do 467 kret = semaphore_create(kernel_task, &new_pinfo->psem_semobject, SYNC_POLICY_FIFO, value); 523 pinfo = new_pinfo; 583 if (new_pinfo != PSEMINFO_NULL) { 585 (void)semaphore_destroy(kernel_task, new_pinfo->psem_semobject); 587 mac_posixsem_label_destroy(new_pinfo); [all...] |
H A D | posix_shm.c | 375 struct pshminfo *new_pinfo = PSHMINFO_NULL; local 462 MALLOC(new_pinfo, struct pshminfo *, sizeof(struct pshminfo), M_SHM, M_WAITOK|M_ZERO); 463 if (new_pinfo == PSHMINFO_NULL) { 468 mac_posixshm_label_init(new_pinfo); 496 pinfo = new_pinfo; 593 * if incache, we did not use the new pcp or new_pinfo and must 599 if (new_pinfo != PSHMINFO_NULL) { 601 mac_posixshm_label_destroy(new_pinfo); 603 FREE(new_pinfo, M_SHM); 644 if (new_pinfo ! [all...] |
Completed in 70 milliseconds