Lines Matching refs:sp
121 #define STACK_ADD(sp, items) ((elf_addr_t __user *)(sp) + (items)) argument
122 #define STACK_ROUND(sp, items) \ argument
123 ((15 + (unsigned long) ((sp) + (items))) &~ 15UL)
124 #define STACK_ALLOC(sp, len) ({ \ argument
125 elf_addr_t __user *old_sp = (elf_addr_t __user *)sp; sp += len; \
128 #define STACK_ADD(sp, items) ((elf_addr_t __user *)(sp) - (items)) argument
129 #define STACK_ROUND(sp, items) \ argument
130 (((unsigned long) (sp - items)) &~ 15UL)
131 #define STACK_ALLOC(sp, len) ({ sp -= len ; sp; }) argument
152 elf_addr_t __user *sp; in create_elf_tables() local
263 sp = STACK_ADD(p, ei_index); in create_elf_tables()
266 bprm->p = STACK_ROUND(sp, items); in create_elf_tables()
270 sp = (elf_addr_t __user *)bprm->p - items - ei_index; in create_elf_tables()
271 bprm->exec = (unsigned long)sp; /* XXX: PARISC HACK */ in create_elf_tables()
273 sp = (elf_addr_t __user *)bprm->p; in create_elf_tables()
286 if (__put_user(argc, sp++)) in create_elf_tables()
288 argv = sp; in create_elf_tables()
319 sp = (elf_addr_t __user *)envp + 1; in create_elf_tables()
320 if (copy_to_user(sp, elf_info, ei_index * sizeof(elf_addr_t))) in create_elf_tables()