Lines Matching refs:rn
194 u16 rn;
200 u16 rn;
210 static unsigned long long rn2addr(u16 rn)
212 return (unsigned long long) (rn - 1) * sclp_rzm;
215 static int do_assign_storage(sclp_cmdw_t cmd, u16 rn)
224 sccb->rn = rn;
234 "response=0x%04x, rn=0x%04x)\n", cmd,
235 sccb->header.response_code, rn);
244 static int sclp_assign_storage(u16 rn)
249 rc = do_assign_storage(0x000d0001, rn);
252 start = rn2addr(rn);
257 static int sclp_unassign_storage(u16 rn)
259 return do_assign_storage(0x000c0001, rn);
309 istart = rn2addr(incr->rn);
315 rc |= sclp_assign_storage(incr->rn);
317 sclp_unassign_storage(incr->rn);
364 static void __init add_memory_merged(u16 rn)
369 if (rn && first_rn && (first_rn + num == rn)) {
387 first_rn = rn;
397 add_memory_merged(incr->rn);
401 static void __init insert_increment(u16 rn, int standby, int assigned)
410 new_incr->rn = rn;
415 if (assigned && incr->rn > rn)
417 if (!assigned && incr->rn - last_rn > 1)
419 last_rn = incr->rn;
423 new_incr->rn = last_rn + 1;
424 if (new_incr->rn > sclp_rnmax) {