Lines Matching defs:new

309 	unsigned long *new;
315 new = (unsigned long *) page_to_phys(page);
316 crst_table_init(new, init);
320 *table = (unsigned long) new | _REGION_ENTRY_LENGTH |
445 /* Store new translation */
526 static void gmap_pmdp_xchg(struct gmap *gmap, pmd_t *old, pmd_t new,
965 pmd_t new = *pmdp;
972 pmd_val(new) |= _SEGMENT_ENTRY_INVALID;
973 gmap_pmdp_xchg(gmap, pmdp, new, gaddr);
977 pmd_val(new) &= ~_SEGMENT_ENTRY_INVALID;
978 pmd_val(new) |= _SEGMENT_ENTRY_PROTECT;
979 gmap_pmdp_xchg(gmap, pmdp, new, gaddr);
1096 * the new access rights could be set and the notifier could be armed.
1617 * caller has to request a new shadow gmap in this case.
1646 struct gmap *sg, *new;
1657 /* Create a new shadow gmap */
1661 new = gmap_alloc(limit);
1662 if (!new)
1664 new->mm = parent->mm;
1665 new->parent = gmap_get(parent);
1666 new->orig_asce = asce;
1667 new->edat_level = edat_level;
1668 new->initialized = false;
1674 gmap_free(new);
1690 refcount_set(&new->ref_count, 2);
1691 list_add(&new->list, &parent->children);
1694 new->initialized = true;
1696 return new;
1706 new->initialized = true;
1708 list_del(&new->list);
1709 gmap_free(new);
1710 new = ERR_PTR(rc);
1713 return new;
2149 /* Success and a new mapping */
2281 * @new: replacement entry
2287 static void gmap_pmdp_xchg(struct gmap *gmap, pmd_t *pmdp, pmd_t new,
2292 pmd_val(new) &= ~_SEGMENT_ENTRY_GMAP_IN;
2300 *pmdp = new;
2772 * If the allocation of the new top level page table fails, the ASCE is not
2795 * the new one is properly added to the CRST list, so that
2802 /* Set new table origin while preserving existing ASCE control bits */