/openbsd/sys/kern/ |
H A D | exec_script.c | 66 char *hdrstr = epp->ep_hdr; in exec_script_makecmds() 78 scriptvp = epp->ep_vp; in exec_script_makecmds() 168 if (epp->ep_flags & EXEC_HASFD) in exec_script_makecmds() 179 epp->ep_flags |= EXEC_HASFD; in exec_script_makecmds() 193 epp->ep_flags |= EXEC_INDIR; in exec_script_makecmds() 221 epp->ep_hdrvalid = 0; in exec_script_makecmds() 225 epp->ep_flags |= EXEC_DESTR; in exec_script_makecmds() 240 epp->ep_fa = shellargp; in exec_script_makecmds() 257 epp->ep_flags |= EXEC_DESTR; in exec_script_makecmds() 261 epp->ep_flags &= ~EXEC_HASFD; in exec_script_makecmds() [all …]
|
H A D | exec_subr.c | 407 epp->ep_maxsaddr += dist; in exec_setup_stack() 408 epp->ep_minsaddr += dist; in exec_setup_stack() 410 epp->ep_maxsaddr -= dist; in exec_setup_stack() 427 ((epp->ep_minsaddr - epp->ep_ssize) - epp->ep_maxsaddr), in exec_setup_stack() 428 epp->ep_maxsaddr + epp->ep_ssize, in exec_setup_stack() 430 NEW_VMCMD2(&epp->ep_vmcmds, vmcmd_map_zero, epp->ep_ssize, in exec_setup_stack() 431 epp->ep_maxsaddr, in exec_setup_stack() 435 ((epp->ep_minsaddr - epp->ep_ssize) - epp->ep_maxsaddr), in exec_setup_stack() 436 epp->ep_maxsaddr, in exec_setup_stack() 438 NEW_VMCMD2(&epp->ep_vmcmds, vmcmd_map_zero, epp->ep_ssize, in exec_setup_stack() [all …]
|
H A D | exec_elf.c | 671 if ((error = elf_os_pt_note(p, epp, epp->ep_hdr, &names)) != 0) in exec_elf_makecmds() 750 elf_load_psection(&epp->ep_vmcmds, epp->ep_vp, in exec_elf_makecmds() 774 epp->ep_dsize = in exec_elf_makecmds() 781 epp->ep_daddr; in exec_elf_makecmds() 790 epp->ep_tsize = in exec_elf_makecmds() 867 epp->ep_pins = pins; in exec_elf_makecmds() 880 epp->ep_tsize = 0; in exec_elf_makecmds() 887 epp->ep_daddr = round_page(epp->ep_taddr + epp->ep_tsize); in exec_elf_makecmds() 888 epp->ep_dsize = 0; in exec_elf_makecmds() 909 epp->ep_args = ap; in exec_elf_makecmds() [all …]
|
H A D | kern_exec.c | 130 ndp = epp->ep_ndp; in check_exec() 133 if (epp->ep_flags & EXEC_INDIR) in check_exec() 138 epp->ep_vp = vp = ndp->ni_vp; in check_exec() 164 epp->ep_vap->va_mode &= ~(VSUID | VSGID); in check_exec() 182 error = vn_rdwr(UIO_READ, vp, epp->ep_hdr, epp->ep_hdrlen, 0, in check_exec() 186 epp->ep_hdrvalid = epp->ep_hdrlen - resid; in check_exec() 198 newerror = (*execsw[i].es_check)(p, epp); in check_exec() 207 if (epp->ep_entry > VM_MAXUSER_ADDRESS) { in check_exec() 212 if ((epp->ep_tsize > MAXTSIZ) || in check_exec() 213 (epp->ep_dsize > lim_cur(RLIMIT_DATA))) in check_exec() [all …]
|
/openbsd/usr.bin/vi/common/ |
H A D | search.c | 38 search_init(SCR *sp, dir_t dir, char *ptrn, size_t plen, char **epp, in search_init() argument 68 if (epp != NULL) in search_init() 69 *epp = ptrn + 1; in search_init() 73 if (epp != NULL) in search_init() 74 *epp = ptrn + 2; in search_init() 117 if (epp != NULL) in search_init() 118 *epp = p; in search_init()
|
/openbsd/gnu/usr.bin/binutils/ld/ |
H A D | ldctor.c | 64 struct set_element **epp; in ldctor_add_set_entry() local 114 for (epp = &p->elements; *epp != NULL; epp = &(*epp)->next) in ldctor_add_set_entry() 116 *epp = e; in ldctor_add_set_entry()
|
/openbsd/gnu/usr.bin/binutils-2.17/ld/ |
H A D | ldctor.c | 64 struct set_element **epp; in ldctor_add_set_entry() local 114 for (epp = &p->elements; *epp != NULL; epp = &(*epp)->next) in ldctor_add_set_entry() 116 *epp = e; in ldctor_add_set_entry()
|
/openbsd/usr.sbin/makefs/msdos/ |
H A D | msdosfs_lookup.c | 268 … msdosfsmount *pmp, u_long dirclust, u_long diroffset, struct mkfsbuf **bpp, struct direntry **epp) in readep() argument 284 if (epp) in readep() 285 *epp = bptoep(pmp, *bpp, diroffset); in readep() 295 readde(struct denode *dep, struct mkfsbuf **bpp, struct direntry **epp) in readde() argument 298 bpp, epp)); in readde()
|
/openbsd/sys/dev/pcmcia/ |
H A D | if_ep_pcmcia.c | 243 struct ep_pcmcia_product *epp; in ep_pcmcia_attach() local 325 epp = ep_pcmcia_lookup(pa); in ep_pcmcia_attach() 326 if (epp == NULL) in ep_pcmcia_attach() 329 sc->ep_flags = epp->epp_flags; in ep_pcmcia_attach() 345 epconfig(sc, epp->epp_chipset, enaddr); in ep_pcmcia_attach()
|
H A D | if_wi_pcmcia.c | 329 const struct wi_pcmcia_product *epp = wi_pcmcia_products + in wi_lookup() local 336 for (pp = wi_pcmcia_products; pp < epp; pp++) { in wi_lookup() 347 for (pp = wi_pcmcia_products; pp < epp; pp++) { in wi_lookup()
|
/openbsd/usr.bin/mg/ |
H A D | search.c | 743 char *epp, *pp; in backsrch() local 746 for (epp = &pat[0]; epp[1] != 0; ++epp); in backsrch() 765 if (eq(c, *epp, xcase) != FALSE) { in backsrch() 768 pp = epp; in backsrch()
|
/openbsd/sys/msdosfs/ |
H A D | msdosfs_lookup.c | 883 struct buf **bpp, struct direntry **epp) in readep() argument 899 if (epp) in readep() 900 *epp = bptoep(pmp, *bpp, diroffset); in readep() 910 readde(struct denode *dep, struct buf **bpp, struct direntry **epp) in readde() argument 914 bpp, epp)); in readde()
|
/openbsd/sbin/restore/ |
H A D | symtab.c | 94 struct entry **epp; in addino() local 99 epp = &entry[inum % entrytblsize]; in addino() 101 np->e_next = *epp; in addino() 102 *epp = np; in addino()
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | cofflink.c | 1573 struct coff_debug_merge_element **epp; in _bfd_coff_link_input_bfd() local 1610 epp = &mt->elements; in _bfd_coff_link_input_bfd() 1625 *epp = bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd() 1626 if (*epp == NULL) in _bfd_coff_link_input_bfd() 1640 (*epp)->name = name_copy; in _bfd_coff_link_input_bfd() 1641 (*epp)->type = islp->n_type; in _bfd_coff_link_input_bfd() 1642 (*epp)->tagndx = 0; in _bfd_coff_link_input_bfd() 1666 if ((*epp)->tagndx < 0) in _bfd_coff_link_input_bfd() 1667 (*epp)->tagndx = 0; in _bfd_coff_link_input_bfd() 1670 epp = &(*epp)->next; in _bfd_coff_link_input_bfd() [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | cofflink.c | 1571 struct coff_debug_merge_element **epp; in _bfd_coff_link_input_bfd() local 1608 epp = &mt->elements; in _bfd_coff_link_input_bfd() 1623 *epp = bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd() 1624 if (*epp == NULL) in _bfd_coff_link_input_bfd() 1638 (*epp)->name = name_copy; in _bfd_coff_link_input_bfd() 1639 (*epp)->type = islp->n_type; in _bfd_coff_link_input_bfd() 1640 (*epp)->tagndx = 0; in _bfd_coff_link_input_bfd() 1664 if ((*epp)->tagndx < 0) in _bfd_coff_link_input_bfd() 1665 (*epp)->tagndx = 0; in _bfd_coff_link_input_bfd() 1668 epp = &(*epp)->next; in _bfd_coff_link_input_bfd() [all …]
|
/openbsd/usr.bin/telnet/ |
H A D | commands.c | 1433 char **epp, *cp; in env_init() local 1436 for (epp = environ; *epp; epp++) { in env_init() 1437 if ((cp = strchr(*epp, '='))) { in env_init() 1439 ep = env_define(*epp, cp+1); in env_init()
|
/openbsd/usr.sbin/portmap/ |
H A D | portmap.c | 489 xdr_encap_parms(XDR *xdrs, struct encap_parms *epp) in xdr_encap_parms() argument 492 return (xdr_bytes(xdrs, &(epp->args), &(epp->arglen), ARGSIZE)); in xdr_encap_parms()
|
/openbsd/sbin/mountd/ |
H A D | mountd.c | 1052 struct exportlist **epp; in get_exportlist() local 1377 epp = &exphead; in get_exportlist() 1383 epp = &ep2->ex_next; in get_exportlist() 1388 *epp = ep; in get_exportlist()
|
/openbsd/games/gomoku/ |
H A D | pickmove.c | 1328 struct elist *ep, *nep, **epp; in markcombo() local
|