Lines Matching defs:table
171 ipc_port_request_t ipr, table;
183 table = port->ip_requests;
185 if (table == IPR_NULL)
188 index = table->ipr_next;
192 ipr = &table[index];
195 table->ipr_next = ipr->ipr_next;
225 * Grow a port's table of requests.
231 * KERN_SUCCESS Grew the table.
232 * KERN_SUCCESS Somebody else grew the table.
234 * KERN_RESOURCE_SHORTAGE Couldn't allocate new table.
282 * has slipped in and grown the table on us. Note that
283 * just checking if the current table pointer == otable
293 /* copy old table to new table */
312 /* add new elements to the new table's free list */
367 ipc_port_request_t ipr, table;
371 table = port->ip_requests;
372 assert(table != IPR_NULL);
374 ipr = &table[index];
402 * The port must be locked or inactive (to avoid table growth).
411 ipc_port_request_t ipr, table;
414 table = port->ip_requests;
415 assert (table != IPR_NULL);
418 ipr = &table[index];
450 ipc_port_request_t ipr, table;
454 table = port->ip_requests;
455 assert(table != IPR_NULL);
458 ipr = &table[index];
462 /* return ipr to the free list inside the table */
464 ipr->ipr_next = table->ipr_next;
465 table->ipr_next = index;
782 /* table may change each time port unlocked (reload) */
787 * no need to go beyond table size when first