Searched refs:t4edc (Results 1 – 1 of 1) sorted by relevance
2068 struct t4_edc t4edc; in read_edc() local2074 if (ddi_copyin(data, &t4edc, sizeof (t4edc), flags) < 0) { in read_edc()2079 if (t4edc.mem > 2) in read_edc()2082 edc = kmem_zalloc(t4edc.len, KM_NOSLEEP); in read_edc()2093 memoffset = (t4edc.mem * (5 * 1024 * 1024)); in read_edc()2094 count = t4edc.len; in read_edc()2095 pos = t4edc.pos; in read_edc()2103 kmem_free(edc, t4edc.len); in read_edc()2112 if (ddi_copyout(edc, t4edc.data, t4edc.len, flags) < 0) in read_edc()2115 kmem_free(edc, t4edc.len); in read_edc()