/illumos-gate/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); 772 struct fcip *fptr; local 1063 fcip_port_attach_handler(struct fcip *fptr) argument 1183 struct fcip *fptr = fport->fcipp_fcip; local 1274 fcip_rt_update(struct fcip *fptr, fc_portmap_t *devlist, uint32_t listlen) argument 1419 fcip_lookup_rtable(struct fcip *fptr, la_wwn_t *wwn, int matchflag) argument 1511 struct fcip *fptr; local 1683 struct fcip *fptr; local 1797 fcip_check_port_busy(struct fcip *fptr) argument 1849 struct fcip *fptr = fport->fcipp_fcip; local 2058 fcip_kstat_init(struct fcip *fptr) argument 2171 struct fcip *fptr; local 2257 struct fcip *fptr; local 2518 struct fcip *fptr; local 2667 fcip_handle_farp_request(struct fcip *fptr, la_els_farp_t *fcmd) argument 2763 fcip_handle_farp_response(struct fcip *fptr, la_els_farp_t *fcmd) argument 2823 struct fcip *fptr; local 3081 fcip_sendup_alloc_enque(struct fcip *fptr, mblk_t *mp, struct fcipstr *(*f)()) argument 3123 fcip_cache_arp_broadcast(struct fcip *fptr, fc_unsol_buf_t *buf) argument 3175 struct fcip *fptr = (struct fcip *)arg; local 3267 struct fcip *fptr; local 3299 fcip_sendup(struct fcip *fptr, mblk_t *mp, struct fcipstr *(*acceptfunc)()) argument 3390 fcip_accept(struct fcipstr *slp, struct fcip *fptr, int type, la_wwn_t *dhostp) argument 3414 fcip_addudind(struct fcip *fptr, mblk_t *mp, fcph_network_hdr_t *nhdr, int type) argument 3634 struct fcip *fptr; local 3692 fcip_setipq(struct fcip *fptr) argument 3770 struct fcip *fptr; local 4017 struct fcip *fptr; local 4072 fcip_start(queue_t *wq, mblk_t *mp, struct fcip *fptr, struct fcip_dest *fdestp, int flags) argument 4319 struct fcip *fptr; local 4498 fcip_handle_topology(struct fcip *fptr) argument 4625 struct fcip *fptr = (struct fcip *)arg; local 4681 fcip_init_port(struct fcip *fptr) argument 4872 fcip_setup_mac_addr(struct fcip *fptr) argument 4915 fcip_rt_flush(struct fcip *fptr) argument 4949 struct fcip *fptr = NULL; local 5122 struct fcip *fptr; local 5187 struct fcip *fptr; local 5352 struct fcip *fptr; local 5473 struct fcip *fptr; local 5564 struct fcip *fptr; local 5619 struct fcip *fptr; local 5734 struct fcip *fptr; local 5839 struct fcip *fptr; local 5898 struct fcip *fptr; local 5917 fcip_get_dest(struct fcip *fptr, la_wwn_t *pwwn) argument 6116 fcip_add_dest(struct fcip *fptr, struct fcip_routing_table *frp) argument 6171 fcip_cleanup_dest(struct fcip *fptr) argument 6203 fcip_do_farp(struct fcip *fptr, la_wwn_t *pwwn, char *ip_addr, size_t ip_addr_len, int flags) argument 6369 fcip_do_plogi(struct fcip *fptr, struct fcip_routing_table *frp) argument 6471 struct fcip *fptr; local 6530 fcip_pkt_alloc(struct fcip *fptr, mblk_t *bp, int flags, int datalen) argument 6613 struct fcip *fptr = fcip_pkt->fcip_pkt_fptr; local 6637 fcip_ipkt_alloc(struct fcip *fptr, int cmdlen, int resplen, opaque_t pd, int flags) argument 6827 struct fcip *fptr = fcip_pkt->fcip_pkt_fptr; local 6872 struct fcip *fptr = fcip_pkt->fcip_pkt_fptr; local 6912 struct fcip *fptr = fcip_pkt->fcip_pkt_fptr; local 7035 fcip_dest_add_broadcast_entry(struct fcip *fptr, int new_flag) argument 7099 fcip_get_broadcast_did(struct fcip *fptr) argument 7197 struct fcip *fptr = (struct fcip *)arg; local 7357 struct fcip *fptr; local 7420 struct fcip *fptr = (struct fcip *)arg; local 7526 fcip_port_get_num_pkts(struct fcip *fptr) argument 7558 fcip_plogi_in_progress(struct fcip *fptr) argument 7584 fcip_check_port_exists(struct fcip *fptr) argument [all...] |
/illumos-gate/usr/src/cmd/mail/ |
H A D | doopen.c | 41 FILE *fptr; local 45 (fptr = fopen(file, type)) == NULL) { 54 return(fptr);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 174 file_info_t *fptr; local 179 if ((fptr = calloc(1, sizeof (file_info_t))) == NULL) 182 list_link(fptr, &P->file_head); 183 (void) strcpy(fptr->file_pname, mptr->map_pmap.pr_mapname); 184 mptr->map_file = fptr; 185 fptr->file_ref = 1; 186 fptr->file_fd = -1; 197 if ((fptr->file_saddrs = get_saddrs(P, mptr->map_pmap.pr_vaddr, 198 &fptr->file_nsaddrs)) == NULL) 199 return (fptr); 243 file_info_free(struct ps_prochandle *P, file_info_t *fptr) argument 294 file_info_t *fptr; local 326 file_info_t *fptr; local 385 file_info_t *fptr; local 570 file_info_t *fptr; local 616 file_info_t *fptr = build_map_symtab(P, mptr); local 725 Pbuild_file_ctf(struct ps_prochandle *P, file_info_t *fptr) argument 806 file_info_t *fptr; local 822 file_info_t *fptr; local 898 is_mapping_in_file(struct ps_prochandle *P, map_info_t *mptr, file_info_t *fptr) argument 955 file_info_t *fptr; local 1160 file_differs(struct ps_prochandle *P, Elf *elf, file_info_t *fptr) argument 1303 fake_elf(struct ps_prochandle *P, file_info_t *fptr) argument 1546 build_fake_elf(struct ps_prochandle *P, file_info_t *fptr, GElf_Ehdr *ehdr, size_t *nshdrs, Elf_Data **shdata) argument 1573 Pbuild_file_symtab(struct ps_prochandle *P, file_info_t *fptr) argument 1989 file_info_t *fptr; local 2404 file_info_t *fptr; local 2492 file_info_t *fptr; local 2595 file_info_t *fptr; local 2636 file_info_t *fptr; local 2683 file_info_t *fptr; local 2741 file_info_t *fptr; local 2771 file_info_t *fptr; local [all...] |
H A D | Psymtab_machelf.h | 36 extern Elf *fake_elf32(struct ps_prochandle *P, file_info_t *fptr, 39 extern Elf *fake_elf64(struct ps_prochandle *P, file_info_t *fptr,
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_cto.c | 49 static int (*fptr)() = 0; 53 if (fptr == 0) { 54 fptr = (int (*)())dlsym(RTLD_NEXT, "socket"); 55 if (fptr == 0) { 63 ret = (*fptr) (domain, type, protocol);
|
/illumos-gate/usr/src/lib/libc/port/unwind/ |
H A D | unwind.c | 76 void (*fptr)(void (*func)(void *), void *arg); 84 fptr = NULL; 86 fptr = (void (*)())self->ul_ex_unwind; 100 if (fptr != NULL && self->ul_unwind) { 102 (*fptr)(_thrp_unwind, NULL);
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | demangle.c | 65 static int (*fptr)() = 0; 78 if (fptr == 0) { 83 !(fptr = (int (*)())dlsym(hdl, MSG_ORIG(MSG_DEM_SYM)))) 88 if ((error = (*fptr)(name, str, size)) == 0) 111 if ((error = (*fptr)(name, str, size)) == 0)
|
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | file.c | 475 ARFILE *fptr; local 487 for (fptr = listhead; fptr; fptr = fptr->ar_next) { 489 if ((fptr->ar_elf != NULL) && (fptr->ar_pathname == NULL)) { 493 elf = fptr->ar_elf; 494 } else if ((fptr->ar_elf == NULL) && 495 (fptr 961 savelongname(ARFILE *fptr) argument 1013 ARFILE *fptr; local 1053 ARFILE *fptr; local 1367 ARFILE *fptr; local 1418 search_sym_tab(const char *arname, ARFILE *fptr, Elf *elf, Elf_Scn *scn, size_t *nsyms, ARFILEP **symlist, size_t *num_errs) argument 1554 ARFILE *fptr; local [all...] |
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | debug.c | 58 FILE *fptr; /* File to send debug output */ member in struct:__anon1708 73 (void) fclose(dbg_ofile.fptr); 75 dbg_ofile.fptr = stderr; 109 FILE *fptr = fopen(ofile, MSG_ORIG(MSG_DBG_FOPEN_MODE)); local 110 if (fptr == NULL) { 118 dbg_ofile.fptr = fptr; 207 dbg_ofile.fptr); 209 (void) fputs(MSG_INTL(MSG_DBG_DFLT_FMT), dbg_ofile.fptr); 228 (void) vfprintf(dbg_ofile.fptr, forma [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | sdssc_bind.c | 116 for (f = dl_table; f->fptr != (void *)0; f++) { 118 *f->fptr = (void *)&just_dup_string; 121 *f->fptr = (void *)&free_dup_string; 123 *f->fptr = (void *)¬_bound; 173 for (ftp = dl_table; ftp->fptr != (void *)0; ftp++) { 174 if ((*ftp->fptr = dlsym(dp, ftp->fname)) == NULL) { 182 *ftp->fptr = (void *)¬_bound_error;
|
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | thrp_unwind.c | 92 void (*fptr)(_Unwind_Stop_Fn, void *); 100 fptr = NULL; 102 fptr = (void (*)())self->ul_ex_unwind; 108 if (fptr != NULL) 109 (*fptr)(posix_stop_func, headp);
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 55 (void) fprintf(fptr, "\n"); \ 111 FILE *defptr; /* default file - fptr */ 225 dispusrdef(FILE *fptr, unsigned flags, char *usertype) argument 233 outcount += fprintf(fptr, "group=%s,%ld ", 239 outcount += fprintf(fptr, "project=%s,%ld ", 245 outcount += fprintf(fptr, "basedir=%s ", deflts->defparent); 250 outcount += fprintf(fptr, "rid=%ld ", deflts->defrid); 255 outcount += fprintf(fptr, "skel=%s ", deflts->defskel); 260 outcount += fprintf(fptr, "shell=%s ", deflts->defshell); 265 outcount += fprintf(fptr, "inactiv [all...] |
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | random.c | 179 static long int *fptr = &randtbl[SEP_3 + 1]; variable 219 fptr = &state[rand_sep]; 336 fptr = &state[(rear + rand_sep) % rand_deg]; 366 *fptr += *rptr; 368 i = (*fptr >> 1) & LONG_MAX; 369 ++fptr; 370 if (fptr >= end_ptr) 372 fptr = state;
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | external.c | 437 int (*fptr)(int); 440 if ((fptr = glcs[CI_BIND_GUARD].lc_un.lc_func) != NULL) { 441 return ((*fptr)(flags)); 455 int (*fptr)(int); 458 if ((fptr = glcs[CI_BIND_CLEAR].lc_un.lc_func) != NULL) { 459 return ((*fptr)(flags)); 478 void (*fptr)(void); 480 if ((fptr = 485 (*fptr)(); 507 thread_t (*fptr)(voi [all...] |
H A D | tls.c | 123 void (*fptr)(TLS_modinfo *); 126 fptr = (void (*)())lml->lm_lcs[CI_TLS_MODADD].lc_un.lc_func; 128 fptr = (void (*)())lml->lm_lcs[CI_TLS_MODREM].lc_un.lc_func; 150 (*fptr)(&tmi); 261 void (*fptr)(TLS_modinfo **, ulong_t); 263 fptr = (void (*)())lml->lm_lcs[CI_TLS_STATMOD].lc_un.lc_func; 288 if (fptr) 289 (*fptr)(tlsmodlist, tls_static_resv); 333 (*fptr)(tlsmodlist, (tls_static_size + tls_static_resv));
|
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | metaconf.c | 132 FILE *fptr = NULL; local 145 if ((fptr = fopen(MD_CONF, "a")) == NULL) { 152 (void) fclose(fptr); 215 if (fprintf(fptr, "md_xlate_ver=\"%s\";\n" 221 if (fprintf(fptr, ",%lu,%lu", statb_edev.st_rdev, 227 if (fprintf(fptr, ";\n") < 0) 229 (void) fclose(fptr);
|
/illumos-gate/usr/src/cmd/pwck/ |
H A D | pwck.c | 69 FILE *fptr; local 90 if ((fptr = fopen(pw_file, "r")) == NULL) { 95 if (fstat(fileno(fptr), &stat_buf) < 0) { 98 (void) fclose(fptr); 104 (void) fclose(fptr); 108 while (fgets(buf, sizeof (buf), fptr) != NULL) { 217 (void) fclose(fptr);
|
/illumos-gate/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 61 struct use_item *fptr, *bptr; member in struct:use_item 78 * | ----+-->| ----+-->| NULL | fptr 138 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) 142 fprintf(stderr, "ptr %x off %d bptr %x fptr %x str %s", 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) [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | random.c | 117 * fptr and rptr are two pointers into the state info, a front and a rear 127 long *fptr, *rptr; member in struct:_randomjunk 217 rp->fptr = &rp->state[rp->rand_sep]; 342 rp->fptr = &rp->state[(rear + rp->rand_sep) % rp->rand_deg]; 375 *rp->fptr += *rp->rptr; 376 i = (*rp->fptr >> 1)&0x7fffffff; /* chucking least random bit */ 377 if (++rp->fptr >= rp->end_ptr) { 378 rp->fptr = rp->state;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | random.c | 134 * fptr and rptr are two pointers into the state info, a front and a rear 144 unsigned int *fptr, *rptr; member in struct:_randomjunk 336 rp->fptr = &rp->state[ (rear + rp->rand_sep)%rp->rand_deg ]; 370 *rp->fptr += *rp->rptr; 371 i = (*rp->fptr >> 1)&0x7fffffff; /* chucking least random bit */ 372 if (++rp->fptr >= rp->end_ptr) { 373 rp->fptr = rp->state; 410 rp->fptr = &rp->state[ rp->rand_sep ];
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 666 const char *fptr; /* Pointer into field */ local 680 for (fptr = http->fields[field]; *fptr;) 686 while (isspace(*fptr & 255)) 687 fptr ++; 689 if (*fptr == ',') 691 fptr ++; 700 *fptr && *fptr != '=' && !isspace(*fptr [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | errors.c | 30 static const char *(KRB5_CALLCONV *fptr)(long); /* = &error_message */ variable 95 if (fptr == NULL) { 131 r = (char *) fptr(code); 166 fptr = f;
|
/illumos-gate/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) { 325 fptr = stdin; 362 &buf[fw_lBufsiz + BUFSIZ] - p, fptr)) 366 BUFSIZ, fptr)) <= 0) 417 &buf[fw_lBufsiz + BUFSIZ] - p, fptr)) <= 0) break; 419 fptr)) <= 0) break; 432 (void) fclose(fptr); [all...] |
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 341 * flag is set, getfile positions the file pointer(fptr) at the end of 342 * the file name prefix on the first call(fptr=0). The file counter is 352 static char *fptr; local 360 if (fptr == 0) 361 for (fptr = file; *fptr != NULL; fptr++) 363 (void) sprintf(fptr, "%.*d", fiwidth, ctr++); 366 if (strlen(fptr) > fiwidth) { 395 (void) sprintf(fptr, " [all...] |
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 353 get_secfile_ent(FILE *fptr) argument 379 while (((cp = nextline(fptr, line)) != NULL) && 560 FILE *fptr; local 577 if (!(fptr = fopen(NIS_SEC_CF_PATHNAME, "rF"))) { 582 while (mp = get_secfile_ent(fptr)) { 598 (void) fclose(fptr); 611 (void) fclose(fptr); 616 (void) fclose(fptr); 921 get_mechfile_ent(FILE *fptr) argument 930 while (((cp = nextline(fptr, lin 1008 FILE *fptr; local [all...] |