Lines Matching refs:new_desc
321 struct NaClDesc *new_desc[NACL_ABI_IMC_DESC_MAX]; in NaClSysImcRecvmsg() local
404 recv_hdr.ndescv = new_desc; in NaClSysImcRecvmsg()
405 recv_hdr.ndesc_length = NACL_ARRAY_SIZE(new_desc); in NaClSysImcRecvmsg()
406 memset(new_desc, 0, sizeof new_desc); in NaClSysImcRecvmsg()
457 NaClDescUnref(new_desc[i]); in NaClSysImcRecvmsg()
458 new_desc[i] = NULL; in NaClSysImcRecvmsg()
466 if (invalid_desc == new_desc[i]) { in NaClSysImcRecvmsg()
468 NaClDescUnref(new_desc[i]); in NaClSysImcRecvmsg()
470 usr_desc[i] = NaClAppSetDescAvail(nap, new_desc[i]); in NaClSysImcRecvmsg()
472 new_desc[i] = NULL; in NaClSysImcRecvmsg()
492 for (i = 0; i < NACL_ARRAY_SIZE(new_desc); ++i) { in NaClSysImcRecvmsg()
493 if (NULL != new_desc[i]) { in NaClSysImcRecvmsg()
494 NaClDescUnref(new_desc[i]); in NaClSysImcRecvmsg()
495 new_desc[i] = NULL; in NaClSysImcRecvmsg()