Home
last modified time | relevance | path

Searched refs:ip_vdata (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/bsd/sys/
H A Dimgact.h85 char *ip_vdata; /* file data (up to one page) */ member
/xnu-11215/bsd/kern/
H A Dmach_loader.c1557 char *ip_vdata = NULL; in check_if_simulator_binary() local
1574 ip_vdata = kalloc_data(PAGE_SIZE, Z_WAITOK | Z_ZERO); in check_if_simulator_binary()
1575 if (ip_vdata == NULL) { in check_if_simulator_binary()
1580 error = vn_rdwr(UIO_READ, imgp->ip_vp, ip_vdata, in check_if_simulator_binary()
1588 header = (struct mach_header *)ip_vdata; in check_if_simulator_binary()
1695 if (ip_vdata) { in check_if_simulator_binary()
1696 kfree_data(ip_vdata, PAGE_SIZE); in check_if_simulator_binary()
H A Dkern_exec.c601 char *vdata = imgp->ip_vdata; in exec_shell_imgact()
769 struct fat_header *fat_header = (struct fat_header *)imgp->ip_vdata; in exec_fat_imgact()
846 error = vn_rdwr(UIO_READ, imgp->ip_vp, imgp->ip_vdata, in exec_fat_imgact()
858 memset(imgp->ip_vdata + (PAGE_SIZE - resid), 0x0, resid); in exec_fat_imgact()
1205 struct mach_header *mach_header = (struct mach_header *)imgp->ip_vdata; in exec_mach_imgact()
2332 error = vn_rdwr(UIO_READ, imgp->ip_vp, imgp->ip_vdata, PAGE_SIZE, 0, in exec_activate_image()
2341 memset(imgp->ip_vdata + (PAGE_SIZE - resid), 0x0, resid); in exec_activate_image()
7469 imgp->ip_vdata = imgp->ip_strings + (NCARGS + PAGE_SIZE); in execargs_alloc()