Lines Matching refs:table
160 ipc_port_request_t ipr, table;
168 table = port->ip_requests;
170 if (table == IPR_NULL)
173 index = table->ipr_next;
177 ipr = &table[index];
180 table->ipr_next = ipr->ipr_next;
200 * Grow a port's table of requests.
206 * KERN_SUCCESS Grew the table.
207 * KERN_SUCCESS Somebody else grew the table.
209 * KERN_RESOURCE_SHORTAGE Couldn't allocate new table.
257 * has slipped in and grown the table on us. Note that
258 * just checking if the current table pointer == otable
268 /* copy old table to new table */
287 /* add new elements to the new table's free list */
330 ipc_port_request_t ipr, table;
334 table = port->ip_requests;
335 assert(table != IPR_NULL);
337 ipr = &table[index];
352 * The port must be locked or inactive (to avoid table growth).
361 ipc_port_request_t ipr, table;
364 table = port->ip_requests;
365 assert (table != IPR_NULL);
368 ipr = &table[index];
400 ipc_port_request_t ipr, table;
404 table = port->ip_requests;
405 assert(table != IPR_NULL);
408 ipr = &table[index];
412 /* return ipr to the free list inside the table */
414 ipr->ipr_next = table->ipr_next;
415 table->ipr_next = index;
707 /* table may change each time port unlocked (reload) */
712 * no need to go beyond table size when first