Lines Matching defs:ipr
160 ipc_port_request_t ipr, table;
177 ipr = &table[index];
178 assert(ipr->ipr_name == MACH_PORT_NULL);
180 table->ipr_next = ipr->ipr_next;
181 ipr->ipr_name = name;
190 ipr->ipr_soright = IPR_SOR_MAKE(soright, mask);
290 ipc_port_request_t ipr = &ntable[i];
292 ipr->ipr_name = MACH_PORT_NULL;
293 ipr->ipr_next = free;
330 ipc_port_request_t ipr, table;
337 ipr = &table[index];
338 assert(ipr->ipr_name == name);
340 if (IPR_SOR_SPREQ(ipr->ipr_soright)) {
341 ipr->ipr_soright = IPR_SOR_MAKE(ipr->ipr_soright, IPR_SOR_SPARM_MASK);
361 ipc_port_request_t ipr, table;
368 ipr = &table[index];
369 assert(ipr->ipr_name == name);
371 if (IP_VALID(IPR_SOR_PORT(ipr->ipr_soright))) {
374 if (IPR_SOR_SPREQ(ipr->ipr_soright)) {
377 if (!IPR_SOR_SPARMED(ipr->ipr_soright)) {
400 ipc_port_request_t ipr, table;
408 ipr = &table[index];
409 assert(ipr->ipr_name == name);
410 request = IPR_SOR_PORT(ipr->ipr_soright);
412 /* return ipr to the free list inside the table */
413 ipr->ipr_name = MACH_PORT_NULL;
414 ipr->ipr_next = table->ipr_next;
720 ipc_port_request_t ipr = &requests[index];
721 mach_port_name_t name = ipr->ipr_name;
722 ipc_port_t soright = IPR_SOR_PORT(ipr->ipr_soright);
723 boolean_t armed = IPR_SOR_SPARMED(ipr->ipr_soright);
727 ipr->ipr_soright = IP_NULL;
763 ipc_port_request_t ipr = &requests[index];
764 mach_port_name_t name = ipr->ipr_name;
765 ipc_port_t soright = IPR_SOR_PORT(ipr->ipr_soright);