Lines Matching refs:new
58 new ipc_id_ary, copies the old to the new portion of the new, initializes
59 the remainder of the new, updates the ids->entries pointer to point to
60 the new array, and invokes ipc_rcu_putref() to free up the old array.
67 struct ipc_id_ary* new;
77 new = ipc_rcu_alloc(sizeof(struct kern_ipc_perm *)*newsize +
79 if(new == NULL)
81 new->size = newsize;
82 memcpy(new->p, ids->entries->p,
86 new->p[i] = NULL;
92 * contents of the new array are visible before the new
95 rcu_assign_pointer(ids->entries, new);