Lines Matching refs:err

221 	int err;  in init_types()  local
316 if ((err = ctf_hash_create(&fp->ctf_structs, pop[CTF_K_STRUCT])) != 0) in init_types()
317 return (err); in init_types()
319 if ((err = ctf_hash_create(&fp->ctf_unions, pop[CTF_K_UNION])) != 0) in init_types()
320 return (err); in init_types()
322 if ((err = ctf_hash_create(&fp->ctf_enums, pop[CTF_K_ENUM])) != 0) in init_types()
323 return (err); in init_types()
325 if ((err = ctf_hash_create(&fp->ctf_names, in init_types()
329 return (err); in init_types()
370 err = ctf_hash_insert(&fp->ctf_names, fp, in init_types()
372 if (err != 0 && err != ECTF_STRTAB) in init_types()
373 return (err); in init_types()
390 err = ctf_hash_insert(&fp->ctf_names, fp, in init_types()
392 if (err != 0 && err != ECTF_STRTAB) in init_types()
393 return (err); in init_types()
398 err = ctf_hash_define(&fp->ctf_structs, fp, in init_types()
401 if (err != 0 && err != ECTF_STRTAB) in init_types()
402 return (err); in init_types()
414 err = ctf_hash_define(&fp->ctf_unions, fp, in init_types()
417 if (err != 0 && err != ECTF_STRTAB) in init_types()
418 return (err); in init_types()
430 err = ctf_hash_define(&fp->ctf_enums, fp, in init_types()
433 if (err != 0 && err != ECTF_STRTAB) in init_types()
434 return (err); in init_types()
440 err = ctf_hash_insert(&fp->ctf_names, fp, in init_types()
442 if (err != 0 && err != ECTF_STRTAB) in init_types()
443 return (err); in init_types()
468 err = ctf_hash_insert(hp, fp, in init_types()
470 if (err != 0 && err != ECTF_STRTAB) in init_types()
471 return (err); in init_types()
491 err = ctf_hash_insert(&fp->ctf_names, fp, in init_types()
493 if (err != 0 && err != ECTF_STRTAB) in init_types()
494 return (err); in init_types()
552 int err; in ctf_bufopen() local
742 if ((err = init_symtab(fp, &hp, symsect, strsect)) != 0) { in ctf_bufopen()
743 (void) ctf_set_open_errno(errp, err); in ctf_bufopen()
748 if ((err = init_types(fp, &hp)) != 0) { in ctf_bufopen()
749 (void) ctf_set_open_errno(errp, err); in ctf_bufopen()
804 int err; in ctf_dup() local
830 goto err; in ctf_dup()
846 goto err; in ctf_dup()
857 fp = ctf_bufopen(ctp, symp, strp, &err); in ctf_dup()
859 (void) ctf_set_errno(ofp, err); in ctf_dup()
860 goto err; in ctf_dup()
867 err: in ctf_dup()