/src/lib/libc/gen/ |
posix_spawn_fileactions.c | 53 fa->fae = malloc(MIN_SIZE * sizeof(struct posix_spawn_file_actions_entry)); 54 if (fa->fae == NULL) 71 if (fa->fae[i].fae_action == FAE_OPEN) 72 free(fa->fae[i].fae_path); 75 free(fa->fae); 83 posix_spawn_file_actions_entry_t *fae; local in function:posix_spawn_file_actions_getentry 91 fae = realloc(fa->fae, (fa->size + MIN_SIZE) * sizeof(*fa->fae)); 92 if (fae == NULL [all...] |
/src/sys/compat/netbsd32/ |
netbsd32_execve.c | 95 struct posix_spawn_file_actions_entry *fae, 99 switch (fae->fae_action) { 101 *pathp = &fae->fae_path; 105 *pathp = &fae->fae_chdir_path; 120 struct posix_spawn_file_actions_entry *fae; local in function:netbsd32_posix_spawn_fa_alloc 140 fal = fa->len * sizeof(*fae); 143 fa->fae = kmem_alloc(fal, KM_SLEEP); 145 error = copyin(NETBSD32PTR64(fa32.fae), fae32, fal32); 151 fae = &fa->fae[i] [all...] |
netbsd32.h | 1216 unsigned int size; /* size of fae array */ 1218 netbsd32_posix_spawn_file_actions_entryp fae; member in struct:netbsd32_posix_spawn_file_actions
|
/src/sys/sys/ |
spawn.h | 76 unsigned int size; /* size of fae array */ 78 posix_spawn_file_actions_entry_t *fae; member in struct:posix_spawn_file_actions
|
/src/sys/external/bsd/ipf/netinet/ |
ip_auth.c | 285 frauthent_t *fae, **faep; local in function:ipf_auth_soft_fini 310 while ((fae = *faep) != NULL) { 311 *faep = fae->fae_next; 312 KFREE(fae); 694 frauthent_t *fae, **faep; local in function:ipf_auth_expire 725 for (faep = &softa->ipf_auth_entries; ((fae = *faep) != NULL); ) { 726 fae->fae_age--; 727 if (fae->fae_age == 0) { 728 ipf_auth_deref(&fae); 731 faep = &fae->fae_next 764 frauthent_t *fae, **faep; local in function:ipf_auth_precmd 912 frauthent_t *fae, *next, zero; local in function:ipf_auth_geniter 993 frauthent_t *fae; local in function:ipf_auth_deref [all...] |
/src/sys/kern/ |
kern_exec.c | 2163 const struct posix_spawn_file_actions_entry *fae = local in function:handle_posix_spawn_file_actions 2164 &actions->fae[i]; 2165 switch (fae->fae_action) { 2167 if (fd_getfile(fae->fae_fildes) != NULL) { 2168 error = fd_close(fae->fae_fildes); 2172 error = fd_open(fae->fae_path, fae->fae_oflag, 2173 fae->fae_mode, &newfd); 2176 if (newfd != fae->fae_fildes) { 2178 fae->fae_fildes, 0, &retval) 2472 struct posix_spawn_file_actions_entry *fae; local in function:posix_spawn_fa_alloc [all...] |