Lines Matching defs:clone
74 static ksyms_image_t *ksyms_clones; /* clone device array */
216 minor_t clone;
246 * Reserve a clone entry. Note that we don't use clone 0
249 for (clone = 1; clone < nksyms_clones; clone++) {
250 if (atomic_cas_ptr(&ksyms_clones[clone].ksyms_base, 0, addr) ==
252 ksyms_clones[clone].ksyms_size = realsize;
253 *devp = makedevice(getemajor(*devp), clone);
269 minor_t clone = getminor(dev);
271 (void) as_unmap(curproc->p_as, ksyms_clones[clone].ksyms_base,
272 roundup(ksyms_clones[clone].ksyms_size, PAGESIZE));
273 ksyms_clones[clone].ksyms_base = 0;