/illumos-gate/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 75 pctx_default_errfn(const char *fn, const char *fmt, va_list ap) argument 77 (void) fprintf(stderr, "libpctx: pctx_%s: ", fn); 83 pctx_error(pctx_t *pctx, const char *fn, const char *fmt, ...) argument 88 pctx->errfn(fn, fmt, ap); 103 static const char fn[] = "create"; local 116 pctx_error(pctx, fn, gettext("cannot trace set-id or " 120 pctx_error(pctx, fn, gettext("cannot control LP64 " 124 pctx_error(pctx, fn, gettext("cannot execute " 128 pctx_error(pctx, fn, gettext("cannot find" 132 pctx_error(pctx, fn, gettex 168 static const char fn[] = "capture"; local 253 static const char fn[] = "set_events"; local 525 static const char fn[] = "run"; local [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | callers.c | 143 FILE *fn; local 163 fn = fopen(DIALCODES, "r"); 164 if (fn != NULL) { 165 while (fgets(buf, BUFSIZ, fn)) { 172 fclose(fn);
|
H A D | conn.c | 88 int nf, fn; local 95 fn = getto(flds); 96 CDEBUG(4, "getto ret %d\n", fn); 97 if (fn < 0) 107 ioctl(fn, TIOCSPGRP, &pgrp); 111 if (chat(nf - F_LOGIN, flds + F_LOGIN, fn,"","") == SUCCESS) { 113 return(fn); /* successful return */ 117 DEBUG(6, "close caller (%d)\n", fn); 118 fd_rmlock(fn); 119 close(fn); 1318 int fn = FAIL; local [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_print_lines.c | 616 Dwarf_Small *fn = (Dwarf_Small *) line_ptr; local 632 printf("DW_LNE_define_file %s \n", fn);
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch.c | 462 uint_t fmt, dbs, fn, f5060, stype; /* CIP fields */ local 482 fn = (axp->ax_ciph[2] >> 6) & 0x3; 494 ii.ii_fn = fn; 496 if ((fmt == 0) && (dbs == 0x78) && (fn == 0) && (stype == 0)) {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | core.c | 90 char *fn = PTOU(p)->u_comm; local 96 zcmn_err(zoneid, CE_NOTE, "core_log: %s[%d] %s", fn, pid, why); 98 zcmn_err(zoneid, CE_NOTE, "core_log: %s[%d] %s: %s", fn, pid, 102 fn, pid, why, error, path);
|
H A D | swapgeneric.c | 1116 struct i_path_findnode fn; local 1122 fn.dip = NULL; 1123 fn.nodeid = prom_finddevice(path); 1124 if (fn.nodeid != OBP_BADNODE) { 1129 ddi_walk_devs(top_devinfo, i_path_find_node, (void *)(&fn)); 1137 if (fn.dip) { 1140 p = ddi_binding_name(fn.dip); 1141 q = ddi_node_name(fn.dip); 1149 return (fn.dip);
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | fn.c | 25 * logadm/fn.c -- "filename" string module 31 * logadm that return filenames return a struct fn, and most routines 43 #include "fn.h" 56 struct fn { struct 61 struct fn *fn_next; /* next in list */ 68 struct fn *fnl_first; /* first element of list */ 69 struct fn *fnl_last; /* last element of list */ 70 struct fn *fnl_rptr; /* read pointer for iterating through list */ 77 * struct fn *fnp = fn_new("this is a string"); 79 struct fn * [all...] |
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 169 char *fn = "nvadd"; local 178 fn, name, value, rv); 188 "type = 0x%x\n", fn, name, value, (int)type); 209 char *fn = "parse_argv_attr"; local 219 dprint(DDEBUG, "%s: nvlist_alloc() failed: rv = %d\n", fn, rv); 241 fn, name, value, (int)type, rv); 254 dprint(DDEBUG, "%s: bad attribute argv[%d]: \"%s\"\n", fn, i, argv[i]); 360 char *fn = "parse_path"; local 398 "errno = %d\n", fn, si_cmd, errno); 434 char *fn local 471 char *fn = "do_plugin"; local [all...] |
/illumos-gate/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_engine.c | 568 smp_action_xalloc(smp_function_t fn, smp_target_t *tp, argument 587 if (dp->sfd_function == fn && 652 smp_action_alloc(smp_function_t fn, smp_target_t *tp, size_t rqsd) argument 654 return (smp_action_xalloc(fn, tp, NULL, rqsd, NULL, 0));
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | package.c | 41 check_my_self(fcode_env_t *env, char *fn) argument 44 forth_abort(env, "%s: MYSELF is NULL", fn);
|
H A D | properties.c | 697 void (*fn)(fcode_env_t *env, uchar_t *data, int len); member in struct:MAGIC_PROP 728 (*p->fn)(env, data, len);
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 456 did_BDF(did_t *dp, int *bus, int *dev, int *fn) argument 463 if (fn != NULL) 464 *fn = dp->dp_fn; 553 pci_BDF_get(topo_mod_t *mp, di_node_t dn, int *bus, int *dev, int *fn) argument 561 *fn = dp->dp_fn;
|
H A D | pcibus.c | 410 pci_bridge_declare(topo_mod_t *mod, tnode_t *fn, di_node_t din, int board, argument 419 err = pci_children_instantiate(mod, fn, din, board, bridge, 422 err = pci_children_instantiate(mod, fn, din, board, bridge, 433 tnode_t *fn; local 448 fn = pciexfn_declare(mod, *dev, din, fnno); 450 fn = pcifn_declare(mod, *dev, din, fnno); 452 if (fn == NULL) { 461 topo_node_unbind(fn); 473 (void) pci_bridge_declare(mod, fn, din, board, bridge, rc, 500 (void) topo_mod_enummap(mod, fn, [all...] |
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | libcpc.c | 55 static void cpc_err(cpc_t *cpc, const char *fn, int subcode, ...); 273 const char *fn = "cpc_set_add_request"; local 286 cpc_err(cpc, fn, CPC_INVALID_EVENT); 310 cpc_err(cpc, fn, CPC_INVALID_ATTRIBUTE); 320 cpc_err(cpc, fn, CPC_INVALID_PICNUM); 326 cpc_err(cpc, fn, CPC_PIC_NOT_CAPABLE); 506 const char *fn = "cpc_bind_cpu"; local 518 cpc_err(cpc, fn, CPC_PBIND_FAILED); 555 cpc_err(cpc, fn, subcode); 1024 cpc_seterrhndlr(cpc_t *cpc, cpc_errhndlr_t *fn) argument 1050 cpc_err(cpc_t *cpc, const char *fn, int subcode, ...) argument [all...] |
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 109 eightbits(const char *fn, argument 116 __cpc_error(fn, gettext("missing '%s' value\n"), 122 __cpc_error(fn, gettext("bad '%s' value\n"), kv->kv_token); 130 picbits(const char *fn, argument 139 __cpc_error(fn, gettext("missing '%s' value\n"), 149 __cpc_error(fn, gettext( 156 __cpc_error(fn, gettext( 169 bitclr(const char *fn, argument 173 __cpc_error(fn, gettext("bad arg to '%s'\n"), kv->kv_token); 182 bitset(const char *fn, argument 194 nextpair(const char *fn, const struct keyval *kv, int cpuver, char *value, uint32_t *bits) argument 370 static const char fn[] = "strtoevent"; local [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 321 i_dladm_flow_walk_rw_db(int (*fn)(void *, dld_flowinfo_t *), 383 fn_rc = fn(arg, &attr); 392 * have been modified by fn(). 727 * invoke <fn>(<arg>, <flow>); 732 dladm_walk_flow(int (*fn)(dladm_handle_t, dladm_flow_attr_t *, void *), argument 741 if (fn == NULL) 750 state.gs_fn = fn; 791 if (fn(handle, &attr, arg) == DLADM_WALK_TERMINATE)
|
H A D | libdlmgmt.c | 269 * call fn on the linkid and arg. 272 dladm_walk_datalink_id(int (*fn)(dladm_handle_t, datalink_id_t, void *), argument 283 if (fn == NULL) 324 if (fn(handle, linkid, argp) == DLADM_WALK_TERMINATE)
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | conn.c | 84 int nf, fn = FAIL; local 90 fn = getto(flds); 91 CDEBUG(4, "getto ret %d\n", fn); 92 if (fn < 0) 95 if (chat(nf - F_LOGIN, flds + F_LOGIN, fn, "", "") == 98 return (fn); /* successful return */ 102 DEBUG(6, "close caller (%d)\n", fn); 103 fd_rmlock(fn); 104 (void) close(fn); 111 return (fn); 377 chat(int nf, char *flds[], int fn, char *phstr1, char *phstr2) argument 422 expect(char *str, int fn) argument 470 expect_str(char *str, int fn) argument 577 sendthem(char *str, int fn, char *phstr1, char *phstr2) argument 712 wrstr(int fn, char *buf, int len, int echocheck) argument 744 wrchr(int fn, char *buf, int len) argument [all...] |
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 99 cpustat_errfn(const char *fn, int subcode, const char *fmt, va_list ap) argument 103 (void) fprintf(stderr, "%s: ", fn);
|
H A D | cputrack.c | 73 cputrack_errfn(const char *fn, int subcode, const char *fmt, va_list ap) argument 77 (void) fprintf(stderr, "%s: ", fn); 82 cputrack_pctx_errfn(const char *fn, const char *fmt, va_list ap) argument 84 cputrack_errfn(fn, -1, fmt, ap);
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | collect.c | 795 lcwrite(char *fn, FILE *fi, FILE *fo, int addnl) argument 800 printf("\"%s\" ", fn);
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 399 int i, size, bus, dev, fn; local 406 fn = (bdf & PCIE_REQ_ID_FUNC_MASK) >> PCIE_REQ_ID_FUNC_SHIFT; 433 bus, dev, fn, bus, dev, fn, hcpath); 582 int bus, dev, fn; local 588 fn = (bdf & PCIE_REQ_ID_FUNC_MASK) >> PCIE_REQ_ID_FUNC_SHIFT; 612 "@value", bus, dev, fn, bus, dev, fn, rcpath);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_xport_api_dd.c | 82 * transport address and connection handle structures overload fn and fd 85 * fn file name NULL means unused or closed 91 char *fn; /* fullpath to device node */ member in struct:_etm_xport_addr 322 static char fn_wr[PATH_MAX] = {0}; /* fn for write */ 323 static char fn_rd[PATH_MAX] = {0}; /* fn for read/peek */ 421 if (stat(_addr->fn, &stat_buf) < 0) { 718 char *fn; /* filename of dev node */ local 747 fn = etm_xport_get_fn(hdl, ETM_IO_OP_RD); 748 if (stat(fn, &stat_buf) < 0) { 751 fn, errn [all...] |
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 46 * pci bus/dev/fn 123 int fn); 261 search_tree_match_pcibdf(di_node_t node, int bus, int dev, int fn) argument 266 pb.funcnum = fn;
|