Lines Matching defs:usize
715 size_t usize; /* userland copy of kernel stack size */
771 usize = KMEM_STKINFO_LOG_SIZE * sizeof (kmem_stkinfo_t);
772 log = (kmem_stkinfo_t *)mdb_alloc(usize, UM_SLEEP);
775 mdb_free((void *)log, usize);
780 mdb_free((void *)log, usize);
783 if (mdb_vread(log, usize, kaddr) == -1) {
784 mdb_free((void *)log, usize);
805 mdb_free((void *)log, usize);
888 usize = end - start; /* is a multiple of 8 bytes */
894 ustart = ustack = (caddr_t)mdb_alloc(usize + 8, UM_SLEEP);
898 uend = ustart + usize;
901 if (mdb_vread(ustart, usize, (uintptr_t)start) != usize) {
902 mdb_free((void *)ustack, usize + 8);
958 mdb_free((void *)ustack, usize + 8);