/src/lib/libc/gen/ |
posix_spawn_fileactions.c | 48 posix_spawn_file_actions_init(posix_spawn_file_actions_t *fa) 50 if (fa == NULL) 53 fa->fae = malloc(MIN_SIZE * sizeof(struct posix_spawn_file_actions_entry)); 54 if (fa->fae == NULL) 56 fa->size = MIN_SIZE; 57 fa->len = 0; 63 posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *fa) 67 if (fa == NULL) 70 for (i = 0; i < fa->len; i++) { 71 if (fa->fae[i].fae_action == FAE_OPEN [all...] |
posix_spawnp.c | 50 const posix_spawn_file_actions_t *fa, 69 return posix_spawn(pid, file, fa, sa, cav, env); 147 return posix_spawn(pid, fpath, fa, sa, cav, env);
|
/src/tests/lib/libc/gen/posix_spawn/ |
t_fileactions.c | 80 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 87 RZ(posix_spawn_file_actions_init(&fa)); 88 RZ(posix_spawn_file_actions_addopen(&fa, fileno(stdin), 90 RZ(posix_spawn_file_actions_addopen(&fa, fileno(stdout), 92 RZ(posix_spawn(&pid, "/bin/cat", &fa, NULL, args, NULL)); 93 RZ(posix_spawn_file_actions_destroy(&fa)); 115 RZ(posix_spawn_file_actions_init(&fa)); 116 RZ(posix_spawn_file_actions_addopen(&fa, fileno(stdin), 118 RZ(posix_spawn_file_actions_addopen(&fa, fileno(stdout), 120 RZ(posix_spawn(&pid, "/bin/cat", &fa, NULL, args, NULL)) 178 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 211 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 249 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 281 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 324 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 367 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 412 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY [all...] |
t_spawn.c | 212 posix_spawn_file_actions_t fa; local in function:spawn_chdir 217 RZ(posix_spawn_file_actions_init(&fa)); 221 RZ(posix_spawn_file_actions_addchdir(&fa, dirpath)); 226 RZ(posix_spawn_file_actions_addfchdir(&fa, fd)); 235 RZ(posix_spawn_file_actions_addopen(&fa, STDOUT_FILENO, 252 error = posix_spawn(&pid, "/bin/pwd", &fa, attr_p, args, NULL); 266 RZ(posix_spawn_file_actions_destroy(&fa)); 469 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 473 RZ(posix_spawn_file_actions_init(&fa)); 475 error = posix_spawn_file_actions_addfchdir(&fa, fd) 494 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY 534 posix_spawn_file_actions_t fa; local in function:ATF_TC_BODY [all...] |
/src/sys/arch/hp300/dev/ |
com_frodo.c | 105 struct frodo_attach_args *fa = aux; local in function:com_frodo_match 107 if (strcmp(fa->fa_name, com_cd.cd_name) != 0) 110 switch (fa->fa_offset) { 125 struct frodo_attach_args *fa = aux; local in function:com_frodo_attach 131 isconsole = com_is_console(&comcntag, fa->fa_base + fa->fa_offset, 137 iot = fa->fa_bst; 140 bus_space_map(iot, fa->fa_base + fa->fa_offset, COM_NPORTS << 2, 145 com_init_regs(&sc->sc_regs, iot, ioh, fa->fa_base + fa->fa_offset) [all...] |
mcclock_frodo.c | 58 struct frodo_attach_args *fa = aux; local in function:mcclock_frodo_probe 64 if (strcmp(fa->fa_name, mcclock_cd.cd_name) != 0) 67 if (fa->fa_offset != FRODO_CALENDAR) 77 struct frodo_attach_args *fa = aux; local in function:mcclock_frodo_attach 80 sc->sc_bst = fa->fa_bst; 82 if (bus_space_map(sc->sc_bst, fa->fa_base + fa->fa_offset,
|
frodo.c | 151 struct frodo_attach_args fa; local in function:frodoattach 205 fa.fa_name = fd->fd_name; 206 fa.fa_bst = bst; 207 fa.fa_base = ia->ia_iobase; 208 fa.fa_offset = fd->fd_offset; 209 fa.fa_line = fd->fd_line; 210 config_found(self, &fa, frodoprint, 218 struct frodo_attach_args *fa = aux; local in function:frodosubmatch 221 cf->frodocf_offset != fa->fa_offset) 230 struct frodo_attach_args *fa = aux local in function:frodoprint [all...] |
dnkbd.c | 269 struct frodo_attach_args *fa = aux; local in function:dnkbd_match 271 if (strcmp(fa->fa_name, dnkbd_cd.cd_name) != 0) 280 return fa->fa_offset == FRODO_APCI_OFFSET(0); 287 struct frodo_attach_args *fa = aux; local in function:dnkbd_attach 292 sc->sc_bst = fa->fa_bst; 293 if (bus_space_map(sc->sc_bst, fa->fa_base + fa->fa_offset, 305 frodo_intr_establish(parent, dnkbd_intr, sc, fa->fa_line, ISRPRI_TTY);
|
/src/sys/compat/netbsd32/ |
netbsd32_execve.c | 117 struct posix_spawn_file_actions *fa; local in function:netbsd32_posix_spawn_fa_alloc 132 fa = kmem_alloc(sizeof(*fa), KM_SLEEP); 133 fa->len = fa->size = fa32.len; 135 if (fa->len > lim) { 136 kmem_free(fa, sizeof(*fa)); 140 fal = fa->len * sizeof(*fae); 141 fal32 = fa->len * sizeof(*fae32) 196 struct posix_spawn_file_actions *fa = NULL; local in function:netbsd32_posix_spawn [all...] |
/src/sys/arch/sparc64/dev/ |
fhc.c | 97 struct fhc_attach_args fa; local in function:fhc_attach 104 bzero(&fa, sizeof(fa)); 106 fa.fa_node = node; 107 fa.fa_bustag = sc->sc_cbt; 109 if (fhc_get_string(fa.fa_node, "name", &fa.fa_name)) { 114 &fa.fa_nreg, (void **)&fa.fa_reg); 116 &fa.fa_nintr, (void **)&fa.fa_intr) 137 struct fhc_attach_args *fa = args; local in function:fhc_print [all...] |
mkclock.c | 137 struct fhc_attach_args *fa = aux; local in function:mkclock_fhc_match 139 return (strcmp("eeprom", fa->fa_name) == 0); 226 struct fhc_attach_args *fa = aux; local in function:mkclock_fhc_attach 229 sc->sc_bst = fa->fa_bustag; 232 fa->fa_reg[0].fbr_slot, 233 (fa->fa_reg[0].fbr_offset & ~NBPG), 234 fa->fa_reg[0].fbr_size, 240 mkclock_attach(sc, fa->fa_node);
|
zs.c | 206 struct fhc_attach_args *fa = aux; local in function:zs_match_fhc 208 if (strcmp(cf->cf_name, fa->fa_name) != 0) 272 struct fhc_attach_args *fa = aux; local in function:zs_attach_fhc 279 if (fa->fa_nreg < 1 && fa->fa_npromvaddrs < 1) { 284 if (fa->fa_nintr == 0) { 292 if (fa->fa_npromvaddrs) { 303 sparc_promaddr_to_handle(fa->fa_bustag, 304 fa->fa_promvaddrs[0], &bh); 308 if (fhc_bus_map(fa->fa_bustag [all...] |
/src/sys/dev/pcmcia/ |
fdc_pcmcia.c | 147 struct fdc_attach_args fa; local in function:fdc_pcmcia_attach 181 for (fa.fa_drive = 0; fa.fa_drive < 4; fa.fa_drive++) { 182 if (fa.fa_drive < 2) 183 fa.fa_deftype = &fd_types[0]; 185 fa.fa_deftype = NULL; /* unknown */ 186 (void)config_found(self, (void *)&fa, fdprint, CFARGS_NONE);
|
/src/sys/kern/ |
kern_exec.c | 1623 struct exec_fakearg *fa = epp->ep_fa; local in function:copyinargs 1625 while (fa->fa_arg != NULL) { 1629 len = strlcpy(dp, fa->fa_arg, maxlen); 1634 while (fa->fa_arg != NULL) { 1635 kmem_free(fa->fa_arg, fa->fa_len); 1636 fa++; 1642 ktrexecarg(fa->fa_arg, len - 1); 1645 kmem_free(fa->fa_arg, fa->fa_len) 2471 struct posix_spawn_file_actions *fa; local in function:posix_spawn_fa_alloc 2889 struct posix_spawn_file_actions *fa = NULL; local in function:sys_posix_spawn [all...] |
/src/sys/arch/m68k/m68k/ |
m68k_trap.c | 120 "WARNING: pid %d(%s) writeback [%s] failed, pc=%x fa=%x wba=%x wbd=%x\n"; 188 u_int fa = 0; local in function:m68040_writeback 194 printf(" pid=%d, fa=%x,", p->p_pid, f->f_fa); 231 fa = (u_int)&vmmap[m68k_page_offset(f->f_fa) & ~0xF]; 232 fastcopy16((void *)fa, (void *)&f->f_pd0); 233 (void) pmap_extract(pmap_kernel(), (vaddr_t)fa, &pa); 261 fa = f->f_fa & ~0xF; 313 fa = f->f_wb1a; 357 fa = f->f_wb2a; 401 fa = f->f_wb3a [all...] |
/src/sys/arch/arc/jazz/ |
fd.c | 256 struct fdc_attach_args *fa = aux; local in function:fdprint 259 aprint_normal(" drive %d", fa->fa_drive); 266 struct fdc_attach_args fa; local in function:fdcattach 282 for (fa.fa_drive = 0; fa.fa_drive < 2; fa.fa_drive++) { 283 fa.fa_deftype = &fd_types[type]; 284 (void)config_found(fdc->sc_dev, (void *)&fa, fdprint, 293 struct fdc_attach_args *fa = aux; local in function:fdprobe 294 int drive = fa->fa_drive 338 struct fdc_attach_args *fa = aux; local in function:fdattach [all...] |
/src/games/gomoku/ |
bdinit.c | 266 const struct combostr *fa = &frames[fia]; local in function:init_overlap 267 spot_index s = fa->c_vertex; 268 u_char ra = fa->c_dir;
|
/src/sys/external/bsd/drm2/drm/ |
drm_vma_manager.c | 77 const struct drm_vma_offset_file *const fa = va; local in function:drm_vma_file_compare 80 if (fa->vof_file < fb->vof_file) 82 if (fa->vof_file > fb->vof_file)
|
/src/sys/dev/isa/ |
fd.c | 297 struct fdc_attach_args *fa = aux; local in function:fdprint 300 aprint_normal(" drive %d", fa->fa_drive); 408 struct fdc_attach_args fa; local in function:fdcfinishattach 450 for (fa.fa_drive = 0; fa.fa_drive < 4; fa.fa_drive++) { 452 if (fdc->sc_present & (1 << fa.fa_drive)) { 453 fa.fa_deftype = fdc->sc_knownfds[fa.fa_drive]; 454 config_found(fdc->sc_dev, (void *)&fa, 485 struct fdc_attach_args *fa = aux; local in function:fdprobe 561 struct fdc_attach_args *fa = aux; local in function:fdattach [all...] |
/src/sys/arch/atari/dev/ |
hdfd.c | 408 register struct fdc_attach_args *fa = aux; local in function:fdprint 411 aprint_normal(" drive %d", fa->fa_drive); 419 struct fdc_attach_args fa; local in function:fdcattach 462 for (fa.fa_drive = 0; fa.fa_drive < 4; fa.fa_drive++) { 466 fa.fa_deftype = &fd_types[2]; /* 1.44MB */ 467 (void)config_found(self, (void *)&fa, fdprint, CFARGS_NONE); 475 struct fdc_attach_args *fa = aux; local in function:fdprobe 476 int drive = fa->fa_drive 529 struct fdc_attach_args *fa = aux; local in function:fdattach [all...] |
/src/sys/arch/acorn32/mainbus/ |
fd.c | 374 register struct fdc_attach_args *fa = aux; local in function:fdprint 377 aprint_normal(" drive %d", fa->fa_drive); 388 struct fdc_attach_args fa; local in function:fdcattach 428 for (fa.fa_drive = 0; fa.fa_drive < 4; fa.fa_drive++) { 429 if (type >= 0 && fa.fa_drive < 2) 430 fa.fa_deftype = fd_nvtotype(device_xname(fdc->sc_dev), 431 type, fa.fa_drive); 433 fa.fa_deftype = NULL; /* unknown * 442 struct fdc_attach_args *fa = aux; local in function:fdprobe 498 struct fdc_attach_args *fa = aux; local in function:fdattach [all...] |
/src/sys/arch/sun3/dev/ |
fd.c | 387 struct fdc_attach_args *fa = aux; local in function:fdprint 390 aprint_normal(" drive %d", fa->fa_drive); 422 struct fdc_attach_args fa; local in function:fdcattach 494 for (fa.fa_drive = 0; fa.fa_drive < 4; fa.fa_drive++) { 495 fa.fa_deftype = NULL; /* unknown */ 496 fa.fa_deftype = &fd_types[0]; /* XXX */ 497 (void)config_found(self, (void *)&fa, fdprint, CFARGS_NONE); 505 struct fdc_attach_args *fa = aux local in function:fdmatch 567 struct fdc_attach_args *fa = aux; local in function:fdattach [all...] |
/src/tests/usr.bin/xlint/lint1/ |
c11.c | 84 float fa[11], *afp[17]; variable in typeref:typename:float[11]
|
/src/sys/external/isc/libsodium/dist/test/default/ |
pwhash_scrypt_ll.exp | 3 f1 6b 48 44 e3 07 4a e8 df df fa 3f ed e2 14 42
|
/src/sys/stand/efiboot/ |
smbios.h | 58 uint8_t fa[5]; /* value determined by EPR */ member in struct:smbhdr
|