Lines Matching refs:start

509 	door_desc_t	*start = NULL;
853 start = didpp = kmem_alloc(dsize, KM_SLEEP);
869 if (copyout_nowatch(start, ct->d_args.desc_ptr, dsize)) {
926 if (start != NULL) {
928 door_fd_close(start, ncopied);
929 kmem_free(start, dsize);
1096 uintptr_t start, end, offset, amount;
1099 start = P2ALIGN(end - 1, pgsize);
1100 if (P2ALIGN(ubase, pgsize) == start)
1101 start = ubase;
1103 offset = start - ubase;
1104 amount = end - start;
1108 if (copyout_nowatch(kbase + offset, (void *)start, amount))
1214 door_desc_t *start = NULL;
1255 start = kmem_alloc(descsize, KM_SLEEP);
1258 if (door_insert(*fpp, &start[ncopied]) == -1) {
1266 if (door_stack_copyout(start, layout->dl_descp, descsize)) {
1342 if (start != NULL) {
1344 door_fd_close(start, ncopied);
1345 kmem_free(start, descsize);
2364 door_desc_t *didpp, *start;
2368 start = didpp = kmem_alloc(ds, KM_SLEEP);
2370 kmem_free(start, ds);
2395 kmem_free(start, ds);
2413 kmem_free(start, ds);
2493 uintptr_t start;
2502 start = P2ALIGN(end - 1, PAGESIZE);
2506 * up the start position.
2508 if (P2ALIGN(base, PAGESIZE) == start)
2509 start = base;
2511 offset = start - base; /* the copy offset */
2512 amount = end - start; /* # bytes to copy */
2530 door_desc_t *start;
2533 start = didpp = kmem_alloc(dsize, KM_SLEEP);
2536 kmem_free(start, dsize);
2553 kmem_free(start, dsize);
2574 kmem_free(start, dsize);
2600 door_desc_t *start;
2604 start = didpp = kmem_alloc(dsize, KM_SLEEP);
2607 kmem_free(start, dsize);
2638 door_fd_close(start, didpp - start);
2641 kmem_free(start, dsize);
2646 ct->d_args.desc_ptr = start;
2832 door_desc_t *start;
2842 start = didpp = kmem_alloc(dsize, KM_SLEEP);
2844 kmem_free(start, dsize);
2868 kmem_free(start, dsize);
2886 kmem_free(start, dsize);