• Home
  • Raw
  • Download

Lines Matching refs:sp

499 	unsigned long sp, csp, nitems;  in create_elf_fdpic_tables()  local
513 sp = arch_align_stack(bprm->p); in create_elf_fdpic_tables()
515 sp = mm->start_stack; in create_elf_fdpic_tables()
518 if (elf_fdpic_transfer_args_to_stack(bprm, &sp) < 0) in create_elf_fdpic_tables()
533 sp -= platform_len; in create_elf_fdpic_tables()
534 u_platform = (char __user *) sp; in create_elf_fdpic_tables()
548 sp -= platform_len; in create_elf_fdpic_tables()
549 u_base_platform = (char __user *) sp; in create_elf_fdpic_tables()
554 sp &= ~7UL; in create_elf_fdpic_tables()
559 sp = (sp - len) & ~7UL; in create_elf_fdpic_tables()
560 exec_params->map_addr = sp; in create_elf_fdpic_tables()
562 if (copy_to_user((void __user *) sp, exec_params->loadmap, len) != 0) in create_elf_fdpic_tables()
565 current->mm->context.exec_fdpic_loadmap = (unsigned long) sp; in create_elf_fdpic_tables()
571 sp = (sp - len) & ~7UL; in create_elf_fdpic_tables()
572 interp_params->map_addr = sp; in create_elf_fdpic_tables()
574 if (copy_to_user((void __user *) sp, interp_params->loadmap, in create_elf_fdpic_tables()
578 current->mm->context.interp_fdpic_loadmap = (unsigned long) sp; in create_elf_fdpic_tables()
590 csp = sp; in create_elf_fdpic_tables()
591 sp -= nitems * 2 * sizeof(unsigned long); in create_elf_fdpic_tables()
592 sp -= (bprm->envc + 1) * sizeof(char *); /* envv[] */ in create_elf_fdpic_tables()
593 sp -= (bprm->argc + 1) * sizeof(char *); /* argv[] */ in create_elf_fdpic_tables()
594 sp -= 1 * sizeof(unsigned long); /* argc */ in create_elf_fdpic_tables()
596 csp -= sp & 15UL; in create_elf_fdpic_tables()
597 sp -= sp & 15UL; in create_elf_fdpic_tables()
675 BUG_ON(csp != sp); in create_elf_fdpic_tables()
708 mm->start_stack = (unsigned long) sp; in create_elf_fdpic_tables()
721 unsigned long index, stop, sp; in elf_fdpic_transfer_args_to_stack() local
726 sp = *_sp; in elf_fdpic_transfer_args_to_stack()
730 sp -= PAGE_SIZE; in elf_fdpic_transfer_args_to_stack()
731 if (copy_to_user((void *) sp, src, PAGE_SIZE) != 0) in elf_fdpic_transfer_args_to_stack()