/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcip.c | 140 static void fcip_setipq(struct fcip *fptr); 148 static int fcip_start(queue_t *wq, mblk_t *mp, struct fcip *fptr, 150 static void fcip_sendup(struct fcip *fptr, mblk_t *mp, 152 static struct fcipstr *fcip_accept(struct fcipstr *slp, struct fcip *fptr, 154 static mblk_t *fcip_addudind(struct fcip *fptr, mblk_t *mp, 156 static int fcip_setup_mac_addr(struct fcip *fptr); 157 static void fcip_kstat_init(struct fcip *fptr); 180 static int fcip_port_attach_handler(struct fcip *fptr); 203 static void fcip_handle_topology(struct fcip *fptr); 204 static int fcip_init_port(struct fcip *fptr); [all …]
|
/titanic_44/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 174 file_info_t *fptr; in file_info_new() local 179 if ((fptr = calloc(1, sizeof (file_info_t))) == NULL) in file_info_new() 182 list_link(fptr, &P->file_head); in file_info_new() 183 (void) strcpy(fptr->file_pname, mptr->map_pmap.pr_mapname); in file_info_new() 184 mptr->map_file = fptr; in file_info_new() 185 fptr->file_ref = 1; in file_info_new() 186 fptr->file_fd = -1; in file_info_new() 197 if ((fptr->file_saddrs = get_saddrs(P, mptr->map_pmap.pr_vaddr, in file_info_new() 198 &fptr->file_nsaddrs)) == NULL) in file_info_new() 199 return (fptr); in file_info_new() [all …]
|
H A D | Pgcore.c | 619 file_info_t *fptr; in count_sections() local 626 fptr = list_next(&P->file_head); in count_sections() 627 for (cnt = P->num_files; cnt > 0; cnt--, fptr = list_next(fptr)) { in count_sections() 630 Pbuild_file_symtab(P, fptr); in count_sections() 633 Pbuild_file_ctf(P, fptr) != NULL) { in count_sections() 638 if (fptr->file_ctf_dyn) { in count_sections() 639 sym = &fptr->file_dynsym; in count_sections() 641 sym = &fptr->file_symtab; in count_sections() 651 fptr->file_symtab.sym_data_pri != NULL && in count_sections() 652 fptr->file_symtab.sym_symn != 0 && in count_sections() [all …]
|
/titanic_44/usr/src/cmd/sgs/ar/common/ |
H A D | file.c | 475 ARFILE *fptr; in mksymtab() local 487 for (fptr = listhead; fptr; fptr = fptr->ar_next) { in mksymtab() 489 if ((fptr->ar_elf != NULL) && (fptr->ar_pathname == NULL)) { in mksymtab() 493 elf = fptr->ar_elf; in mksymtab() 494 } else if ((fptr->ar_elf == NULL) && in mksymtab() 495 (fptr->ar_pathname != NULL)) { in mksymtab() 519 if (fptr->ar_size > 0xffffffff) { in mksymtab() 522 fptr->ar_pathname); in mksymtab() 528 open(fptr->ar_pathname, O_RDONLY)) == -1) { in mksymtab() 531 fptr->ar_pathname, strerror(err)); in mksymtab() [all …]
|
/titanic_44/usr/src/cmd/sgs/libld/common/ |
H A D | debug.c | 58 FILE *fptr; /* File to send debug output */ member 73 (void) fclose(dbg_ofile.fptr); in dbg_cleanup() 75 dbg_ofile.fptr = stderr; in dbg_cleanup() 109 FILE *fptr = fopen(ofile, MSG_ORIG(MSG_DBG_FOPEN_MODE)); in dbg_setup() local 110 if (fptr == NULL) { in dbg_setup() 118 dbg_ofile.fptr = fptr; in dbg_setup() 207 dbg_ofile.fptr); in dbg_print() 209 (void) fputs(MSG_INTL(MSG_DBG_DFLT_FMT), dbg_ofile.fptr); in dbg_print() 228 (void) vfprintf(dbg_ofile.fptr, format, args); in dbg_print() 229 (void) fprintf(dbg_ofile.fptr, MSG_ORIG(MSG_STR_NL)); in dbg_print()
|
/titanic_44/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 55 (void) fprintf(fptr, "\n"); \ 225 dispusrdef(FILE *fptr, unsigned flags, char *usertype) in dispusrdef() argument 233 outcount += fprintf(fptr, "group=%s,%ld ", in dispusrdef() 239 outcount += fprintf(fptr, "project=%s,%ld ", in dispusrdef() 245 outcount += fprintf(fptr, "basedir=%s ", deflts->defparent); in dispusrdef() 250 outcount += fprintf(fptr, "rid=%ld ", deflts->defrid); in dispusrdef() 255 outcount += fprintf(fptr, "skel=%s ", deflts->defskel); in dispusrdef() 260 outcount += fprintf(fptr, "shell=%s ", deflts->defshell); in dispusrdef() 265 outcount += fprintf(fptr, "inactive=%d ", deflts->definact); in dispusrdef() 270 outcount += fprintf(fptr, "expire=%s ", deflts->defexpire); in dispusrdef() [all …]
|
/titanic_44/usr/src/cmd/sgs/rtld/common/ |
H A D | external.c | 436 int (*fptr)(int); in rt_bind_guard() local 439 if ((fptr = glcs[CI_BIND_GUARD].lc_un.lc_func) != NULL) { in rt_bind_guard() 440 return ((*fptr)(flags)); in rt_bind_guard() 454 int (*fptr)(int); in rt_bind_clear() local 457 if ((fptr = glcs[CI_BIND_CLEAR].lc_un.lc_func) != NULL) { in rt_bind_clear() 458 return ((*fptr)(flags)); in rt_bind_clear() 477 void (*fptr)(void); in rt_thr_init() local 479 if ((fptr = in rt_thr_init() 484 (*fptr)(); in rt_thr_init() 506 thread_t (*fptr)(void); in rt_thr_self() local [all …]
|
H A D | tls.c | 123 void (*fptr)(TLS_modinfo *); in tls_modaddrem() local 126 fptr = (void (*)())lml->lm_lcs[CI_TLS_MODADD].lc_un.lc_func; in tls_modaddrem() 128 fptr = (void (*)())lml->lm_lcs[CI_TLS_MODREM].lc_un.lc_func; in tls_modaddrem() 150 (*fptr)(&tmi); in tls_modaddrem() 261 void (*fptr)(TLS_modinfo **, ulong_t); in tls_statmod() local 263 fptr = (void (*)())lml->lm_lcs[CI_TLS_STATMOD].lc_un.lc_func; in tls_statmod() 288 if (fptr) in tls_statmod() 289 (*fptr)(tlsmodlist, tls_static_resv); in tls_statmod() 333 (*fptr)(tlsmodlist, (tls_static_size + tls_static_resv)); in tls_statmod()
|
/titanic_44/usr/src/lib/libnisdb/ |
H A D | ldap_cto.c | 49 static int (*fptr)() = 0; in socket() local 53 if (fptr == 0) { in socket() 54 fptr = (int (*)())dlsym(RTLD_NEXT, "socket"); in socket() 55 if (fptr == 0) { in socket() 63 ret = (*fptr) (domain, type, protocol); in socket()
|
/titanic_44/usr/src/cmd/sgs/libconv/common/ |
H A D | demangle.c | 65 static int (*fptr)() = 0; in conv_demangle_name() local 78 if (fptr == 0) { in conv_demangle_name() 83 !(fptr = (int (*)())dlsym(hdl, MSG_ORIG(MSG_DEM_SYM)))) in conv_demangle_name() 88 if ((error = (*fptr)(name, str, size)) == 0) in conv_demangle_name() 111 if ((error = (*fptr)(name, str, size)) == 0) in conv_demangle_name()
|
/titanic_44/usr/src/lib/libc/port/unwind/ |
H A D | unwind.c | 76 void (*fptr)(void (*func)(void *), void *arg); in _t_cancel() local 84 fptr = NULL; in _t_cancel() 86 fptr = (void (*)())self->ul_ex_unwind; in _t_cancel() 100 if (fptr != NULL && self->ul_unwind) { in _t_cancel() 102 (*fptr)(_thrp_unwind, NULL); in _t_cancel()
|
/titanic_44/usr/src/lib/libast/common/uwin/ |
H A D | random.c | 179 static long int *fptr = &randtbl[SEP_3 + 1]; variable 218 fptr = &state[rand_sep]; in srandom() 333 fptr = &state[(rear + rand_sep) % rand_deg]; in setstate() 362 *fptr += *rptr; in random() 364 i = (*fptr >> 1) & LONG_MAX; in random() 365 ++fptr; in random() 366 if (fptr >= end_ptr) in random() 368 fptr = state; in random()
|
/titanic_44/usr/src/lib/libc/amd64/unwind/ |
H A D | thrp_unwind.c | 92 void (*fptr)(_Unwind_Stop_Fn, void *); in _thrp_unwind() local 100 fptr = NULL; in _thrp_unwind() 102 fptr = (void (*)())self->ul_ex_unwind; in _thrp_unwind() 108 if (fptr != NULL) in _thrp_unwind() 109 (*fptr)(posix_stop_func, headp); in _thrp_unwind()
|
/titanic_44/usr/src/cmd/pwck/ |
H A D | pwck.c | 69 FILE *fptr; in main() local 90 if ((fptr = fopen(pw_file, "r")) == NULL) { in main() 95 if (fstat(fileno(fptr), &stat_buf) < 0) { in main() 98 (void) fclose(fptr); in main() 104 (void) fclose(fptr); in main() 108 while (fgets(buf, sizeof (buf), fptr) != NULL) { in main() 217 (void) fclose(fptr); in main()
|
/titanic_44/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 666 const char *fptr; /* Pointer into field */ in httpGetSubField() local 680 for (fptr = http->fields[field]; *fptr;) in httpGetSubField() 686 while (isspace(*fptr & 255)) in httpGetSubField() 687 fptr ++; in httpGetSubField() 689 if (*fptr == ',') in httpGetSubField() 691 fptr ++; in httpGetSubField() 700 *fptr && *fptr != '=' && !isspace(*fptr & 255) && ptr < (temp + sizeof(temp) - 1); in httpGetSubField() 701 *ptr++ = *fptr++); in httpGetSubField() 711 while (isspace(*fptr & 255)) in httpGetSubField() 712 fptr ++; in httpGetSubField() [all …]
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | random.c | 127 long *fptr, *rptr; member 217 rp->fptr = &rp->state[rp->rand_sep]; in srandom() 342 rp->fptr = &rp->state[(rear + rp->rand_sep) % rp->rand_deg]; in setstate() 375 *rp->fptr += *rp->rptr; in random() 376 i = (*rp->fptr >> 1)&0x7fffffff; /* chucking least random bit */ in random() 377 if (++rp->fptr >= rp->end_ptr) { in random() 378 rp->fptr = rp->state; in random()
|
/titanic_44/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 61 struct use_item *fptr, *bptr; member 138 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) 143 ptr, ptr->offset, ptr->bptr, ptr->fptr, line); 197 use_list.tail->fptr = item; 198 item->fptr = NULL; 204 item->fptr = item->bptr = NULL; 219 if (ptr->fptr == NULL) 222 (ptr->fptr)->bptr = ptr->bptr; 225 use_list.head = ptr->fptr; 227 (ptr->bptr)->fptr = ptr->fptr; [all …]
|
/titanic_44/usr/src/cmd/tic/ |
H A D | tic_parse.c | 115 struct use_item *fptr, *bptr; member 202 ptr = ptr->fptr) { in compile() 224 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) { in compile() 241 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) { in dump_list() 245 ptr, ptr->offset, ptr->bptr, ptr->fptr, line); in dump_list() 437 use_list.tail->fptr = item; in enqueue() 438 item->fptr = NULL; in enqueue() 442 item->fptr = item->bptr = NULL; in enqueue() 458 if (ptr->fptr == NULL) in dequeue() 461 (ptr->fptr)->bptr = ptr->bptr; in dequeue() [all …]
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_hba_fru.c | 270 ql_fcache_t *fptr = ha->fcache; in ql_populate_hba_fru_details() local 273 while ((fptr != NULL) && (types != 0)) { in ql_populate_hba_fru_details() 275 if ((fptr = ql_get_fbuf(ha->fcache, types)) != NULL) { in ql_populate_hba_fru_details() 277 switch (fptr->type) { in ql_populate_hba_fru_details() 281 "%s fcode: %s;", orv, fptr->verstr); in ql_populate_hba_fru_details() 286 "%s BIOS: %s;", orv, fptr->verstr); in ql_populate_hba_fru_details() 291 "%s EFI: %s;", orv, fptr->verstr); in ql_populate_hba_fru_details() 295 fptr->type); in ql_populate_hba_fru_details() 298 types &= ~(fptr->type); in ql_populate_hba_fru_details()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | random.c | 144 unsigned int *fptr, *rptr; member 336 rp->fptr = &rp->state[ (rear + rp->rand_sep)%rp->rand_deg ]; in setstate() 370 *rp->fptr += *rp->rptr; in random() 371 i = (*rp->fptr >> 1)&0x7fffffff; /* chucking least random bit */ in random() 372 if (++rp->fptr >= rp->end_ptr) { in random() 373 rp->fptr = rp->state; in random() 410 rp->fptr = &rp->state[ rp->rand_sep ]; in srandom()
|
/titanic_44/usr/src/cmd/mail/ |
H A D | doopen.c | 41 FILE *fptr; local 45 (fptr = fopen(file, type)) == NULL) { 54 return(fptr);
|
/titanic_44/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 353 get_secfile_ent(FILE *fptr) in get_secfile_ent() argument 379 while (((cp = nextline(fptr, line)) != NULL) && in get_secfile_ent() 560 FILE *fptr; in __nis_get_mechanisms() local 577 if (!(fptr = fopen(NIS_SEC_CF_PATHNAME, "rF"))) { in __nis_get_mechanisms() 582 while (mp = get_secfile_ent(fptr)) { in __nis_get_mechanisms() 598 (void) fclose(fptr); in __nis_get_mechanisms() 611 (void) fclose(fptr); in __nis_get_mechanisms() 616 (void) fclose(fptr); in __nis_get_mechanisms() 921 get_mechfile_ent(FILE *fptr) in get_mechfile_ent() argument 930 while (((cp = nextline(fptr, line)) != NULL) && in get_mechfile_ent() [all …]
|
/titanic_44/usr/src/cmd/csplit/ |
H A D | csplit.c | 352 static char *fptr; in getfile() local 360 if (fptr == 0) in getfile() 361 for (fptr = file; *fptr != NULL; fptr++) in getfile() 363 (void) sprintf(fptr, "%.*d", fiwidth, ctr++); in getfile() 366 if (strlen(fptr) > fiwidth) { in getfile() 395 (void) sprintf(fptr, "%.*d", fiwidth, (ctr-2)); in getfile()
|
/titanic_44/usr/src/cmd/fgrep/ |
H A D | fgrep.c | 92 &buf[fw_lBufsiz + BUFSIZ] - p, fptr))\ 95 sizeof (char), BUFSIZ, fptr)) <= 0) \ 123 FILE *fptr; variable 318 if ((fptr = fopen(file, "r")) == NULL) { in execute() 325 fptr = stdin; in execute() 362 &buf[fw_lBufsiz + BUFSIZ] - p, fptr)) in execute() 366 BUFSIZ, fptr)) <= 0) in execute() 417 &buf[fw_lBufsiz + BUFSIZ] - p, fptr)) <= 0) break; in execute() 419 fptr)) <= 0) break; in execute() 432 (void) fclose(fptr); in execute() [all …]
|
/titanic_44/usr/src/cmd/format/ |
H A D | menu_defect.c | 543 FILE *fptr; in d_dump() local 571 if ((fptr = fopen(str, "w+")) == NULL) { in d_dump() 579 (void) fprintf(fptr, "0x%08x%8d 0x%08x\n", in d_dump() 588 (void) fprintf(fptr, "%4d%8d%7d%8d%8d%8d\n", in d_dump() 596 (void) fclose(fptr); in d_dump() 618 FILE *fptr; in d_load() local 660 if ((fptr = fopen(filename, "r")) == NULL) { in d_load() 668 items = fscanf(fptr, "0x%x%d 0x%x\n", &magicno, in d_load() 710 items = fscanf(fptr, "%*d%hd%hd%d%hd%hd\n", &dptr->cyl, in d_load() 741 (void) fclose(fptr); in d_load()
|