Lines Matching refs:new
46 new ipc_id_ary, copies the old to the new portion of the new, initializes
47 the remainder of the new, updates the ids->entries pointer to point to
48 the new array, and invokes ipc_rcu_putref() to free up the old array.
55 struct ipc_id_ary* new;
65 new = ipc_rcu_alloc(sizeof(struct kern_ipc_perm *)*newsize +
67 if(new == NULL)
69 new->size = newsize;
70 memcpy(new->p, ids->entries->p,
74 new->p[i] = NULL;
80 * contents of the new array are visible before the new
83 rcu_assign_pointer(ids->entries, new);