Home
last modified time | relevance | path

Searched refs:translen (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/sun4v/promif/
H A Dpromif_emul.c198 size_t translen; in read_prom_mappings() local
217 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()
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_clnt.c554 nsc_size_t translen; in rdc_net_read() local
556 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 …]
/titanic_41/usr/src/uts/sun4/vm/
H A Dsfmmu.c441 size_t translen; in read_prom_mappings() local
455 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()