Searched refs:translen (Results 1 – 3 of 3) sorted by relevance
198 size_t translen; in read_prom_mappings() local217 if ((translen = prom_getproplen(node, prop)) == -1) { in read_prom_mappings()221 transroot = (struct translation *)kmem_zalloc(translen, KM_SLEEP); in read_prom_mappings()225 kmem_free(transroot, translen); in read_prom_mappings()228 *ntransp = translen / sizeof (*transroot); in read_prom_mappings()
554 nsc_size_t translen; in rdc_net_read() local556 translen = maxfbas; in rdc_net_read()558 translen = len; in rdc_net_read()561 if (FBA_SIZE(translen) > sv_len) { in rdc_net_read()562 translen = FBA_NUM(sv_len); in rdc_net_read()565 len -= translen; in rdc_net_read()572 FBA_SIZE(translen)) { in rdc_net_read()576 ASSERT(FBA_SIZE(translen) <= INT32_MAX); in rdc_net_read()577 rr.rr_bufsize = FBA_SIZE(translen); in rdc_net_read()604 ASSERT(translen <= RDC_MAXDATA); in rdc_net_read()[all …]
441 size_t translen; in read_prom_mappings() local455 if ((translen = prom_getproplen(node, prop)) == -1) in read_prom_mappings()457 *ntransrootp = translen / sizeof (*transroot); in read_prom_mappings()458 translen = roundup(translen, MMU_PAGESIZE); in read_prom_mappings()459 PRM_DEBUG(translen); in read_prom_mappings()460 if (translen > TSB_BYTES(ktsb_szcode)) in read_prom_mappings()