Searched refs:num_mapped (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dmmapobjsys.c65 uint_t num_mapped; local
99 error = copyin(elements, &num_mapped, sizeof (uint_t));
105 num_in = num_mapped;
144 if (num_mapped > MOBJ_STACK_SEGS) {
145 num_mapped = MOBJ_STACK_SEGS;
148 error = mmapobj(vp, flags, mrp, &num_mapped, padding, fp->f_cred);
151 if (num_mapped > MOBJ_STACK_SEGS && num_mapped <= num_in) {
152 mrp = kmem_alloc(sizeof (mmapobj_result_t) * num_mapped,
154 alloc_num = num_mapped;
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmmapobj.c536 * num_mapped is the number of elements of mrp which have been mapped, and
540 * If num_mapped equals num_segs, then we know that we had fully mapped
545 * If e_type is passed in as zero, num_mapped must equal num_segs.
548 mmapobj_unmap(mmapobj_result_t *mrp, int num_mapped, int num_segs, argument
557 num_mapped = num_segs;
561 ASSERT(num_mapped == num_segs);
566 for (i = 0; i < num_mapped; i++) {
603 if (num_mapped != num_segs) {
606 if (num_mapped == 0) {
609 addr = mrp[num_mapped
637 mmapobj_unmap_exec(mmapobj_result_t *mrp, int num_mapped, caddr_t start_addr) argument
1549 process_phdrs(Ehdr *ehdrp, caddr_t phdrbase, int nphdrs, mmapobj_result_t *mrp, vnode_t *vp, uint_t *num_mapped, size_t padding, cred_t *fcred) argument
1937 doelfwork(Ehdr *ehdrp, vnode_t *vp, mmapobj_result_t *mrp, uint_t *num_mapped, size_t padding, cred_t *fcred) argument
2071 doaoutwork(vnode_t *vp, mmapobj_result_t *mrp, uint_t *num_mapped, struct exec *hdr, cred_t *fcred) argument
2313 mmapobj_map_interpret(vnode_t *vp, mmapobj_result_t *mrp, uint_t *num_mapped, size_t padding, cred_t *fcred) argument
2449 mmapobj(vnode_t *vp, uint_t flags, mmapobj_result_t *mrp, uint_t *num_mapped, size_t padding, cred_t *fcred) argument
[all...]

Completed in 189 milliseconds