/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/tools/scripts/ |
H A D | wsdiff.py | 304 def fnFormat(fn) : 307 pos = fn.find(root_arch_str) 309 return fn 311 pos = fn.find("/", pos) 313 return fn 315 return fn[pos + 1:] 519 for fn in baseFilesList : 520 if os.path.islink(fn) : 523 fileName = fn[baseStringLength:] 529 for fn i 1219 fn = changedFiles.pop() variable in class:workerThread [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | deflt.c | 90 * defopen(fn) 91 * char *fn 93 * If 'fn' is non-null; it is a full pathname of a file 95 * If 'fn' is null the defopen file is closed. 103 defopen(char *fn) argument 107 return (defopen_common(fn, thr_data)); 113 * defopen_r(const char *fn) 115 * 'fn' is a full pathname of a file which becomes the one read 130 defopen_r(const char *fn) argument 135 if (defopen_common(fn, thr_dat 145 defopen_common(const char *fn, struct thr_data *thr_data) argument [all...] |
H A D | _xftw.c | 35 * int _xftw(path, fn, depth) char *path; int (*fn)(); int depth; 41 * For each object visited, fn is called with three arguments. 42 * (*fn) (pathname, statp, ftwflag) 57 * the directory cannot be read, fn will not be 66 * directory. The stat buffer passed to fn will 72 * If fn returns nonzero, _xftw stops and returns the same value 122 int (*fn)(const char *, const struct stat *, int), int depth) 129 rc = fwalk(path, fn, depth, &var); 137 fwalk(const char *path, int (*fn)(cons [all...] |
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_find.c | 77 * Add the manifest info consisting of filename (fn), hash property name 85 add_pointer(mftsd_t *tsdp, const char *fn, const char *pname, uchar_t *hash) argument 108 info->mi_path = uu_strdup(fn); 183 process(const char *fn, const struct stat *sp, int ftw_type, argument 204 suffix_match = strstr(fn, ".xml"); 211 if (mhash_test_file(tsdp->tsd_hndl, fn, is_profile, &pname, 213 return (add_pointer(tsdp, fn, pname, hash)); 216 return (add_pointer(tsdp, fn, NULL, NULL));
|
/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/lib/libcpc/sparc/ |
H A D | event_ultra.c | 96 picbits(const char *fn, argument 105 __cpc_error(fn, gettext("missing '%s' value\n"), 110 __cpc_error(fn, gettext("%%pic%d cannot measure " 120 bitclr(const char *fn, argument 124 __cpc_error(fn, gettext("bad arg to '%s'\n"), kv->kv_token); 133 bitset(const char *fn, argument 137 __cpc_error(fn, gettext("bad arg to '%s'\n"), kv->kv_token); 206 static const char fn[] = "strtoevent"; local 249 if (kv->kv_action(fn, kv, cpuver, value, bits) != 0) { 256 __cpc_error(fn, [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | elm.c | 406 struct notice *n, *fn; local 430 fn = fk->notice; 431 (fn->left)->right = fn->right; 432 (fn->right)->left = fn->left; 467 fn->time = next_int; 468 fn->left = n->left; 469 fn->right = n; 470 (n->left)->right = fn; [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_vstafs.c | 120 char *fn, ch; local 139 fn = dirname; 140 while ((ch = *fn) && ch != '/' && ! isspace (ch)) fn++; 141 *fn = 0; 168 *(dirname = fn) = ch;
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | traverse.c | 65 fndef_t *fn = this->t_fndef; local 68 if ((rc = tdtraverse(fn->fn_ret, &fn->fn_ret, tdtd)) < 0) 71 for (i = 0; i < fn->fn_nargs; i++) { 72 if ((rc = tdtraverse(fn->fn_args[i], &fn->fn_args[i],
|
/illumos-gate/usr/src/cmd/ibd_upgrade/ |
H A D | ibd_upgrade.sh | 141 fn=`echo ibport@${port},0,ipib:ibp*[0-9]` 142 if [ -c "$fn" ]; then 144 set -- $fn
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | tracing.c | 100 do_fclib_trace(fcode_env_t *env, void *fn) argument 106 if (dladdr((void *) fn, &dlip)) { 110 offset = ((char *) fn) - ((char *) address); 121 log_message(MSG_FC_DEBUG, "do_fclib_trace: <Unknown> %p\n", fn);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_io.h | 25 char *fn; member in struct:krb5_rc_iostuff
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | gio.c | 92 gwrmsg(type, str, fn) 119 grdmsg(str, fn) 140 gwrdata(fp1, fn) 169 grddata(fn, fp2)
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t8.c | 42 char *s, *size, *fn; local 143 fn = font[stynum[vforml]][c]; 169 puttext(s,fn,size); 224 puttext(s, fn, size); 269 puttext(char *s, char *fn, char *size) argument 273 putfont(fn); 276 if (*fn>0) fprintf(tabout, "\\f\\n(%2d", S1); 286 char *fn; local 315 fn=font[stynum[stl]][c]; 316 putfont(fn); 350 putfont(char *fn) argument [all...] |
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | obsoleted.c | 63 const char *fn = "__cpc_init"; local 68 __cpc_error(fn, dgettext(TEXT_DOMAIN, 177 const char fn[] = "access"; local 187 __cpc_error(fn, dgettext(TEXT_DOMAIN, "Another process may be " 191 __cpc_error(fn, 196 __cpc_error(fn, "%s\n", strerror(errno)); 366 __cpc_error(const char *fn, const char *fmt, ...) argument 372 __cpc_uerrfn(fn, fmt, ap); 374 (void) fprintf(stderr, "libcpc: %s: ", fn);
|
/illumos-gate/usr/src/lib/libtecla/ |
H A D | libtecla.h | 319 #define CPL_MATCH_FN(fn) int (fn)(WordCompletion *cpl, void *data, \ 342 #define CPL_CHECK_FN(fn) int (fn)(void *data, const char *pathname) 592 #define GL_FD_EVENT_FN(fn) GlFdStatus (fn)(GetLine *gl, void *data, int fd, \ 660 #define GL_TIMEOUT_FN(fn) GlAfterTimeout (fn)(GetLine *gl, void *data) 1496 #define GL_ACTION_FN(fn) GlAfterAction (fn)(GetLin [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_proc.c | 41 void (*fn)(void *); member in struct:nsc_nlwp 98 nlwp->fn = func; 160 void (*fn)(void *); 164 fn = NULL; 175 fn = nlwp->fn; 187 if (fn) { 188 (*fn)(fn_arg);
|
/illumos-gate/usr/src/uts/common/xen/sys/ |
H A D | gnttab.h | 78 void (*fn)(void *); member in struct:gnttab_free_callback 131 void (*fn)(void *), void *arg, uint16_t count);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | hook.h | 89 #define HOOK_INIT(x, fn, r, a) \ 92 (x)->h_func = (fn); \
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_io.c | 58 #define PROMIF_PIO_CALL1(fn, arg) \ 59 (kmdb_dpi_call((uintptr_t)fn, 1, (uintptr_t *)&arg)) 61 #define PROMIF_PIO_CALL2(fn, arg1, arg2) \ 66 (void) (kmdb_dpi_call((uintptr_t)fn, 2, (uintptr_t *)args)); \ 75 #define PROMIF_PIO_CALL1(fn, arg) (fn(arg)) 76 #define PROMIF_PIO_CALL2(fn, arg1, arg2) (fn(arg1, arg2))
|
/illumos-gate/usr/src/lib/libxcurses/src/tic/ |
H A D | ticparse.c | 308 char *p, *q, *first, *fn, *long_name, dir[2], tname[TERM_NAMES_LENGTH]; local 370 fn = m_pathcat(dir, q); 371 if (fn == NULL) { 379 if (0 <= stat(fn, &sb) && start_time <= sb.st_mtime) { 383 if (access(fn, W_OK) == -1 && errno != ENOENT) { 384 err_abort(m_strmsg(write_err), fn); local 386 (void) unlink(fn); 387 if (link(first, fn) < 0) { 388 if ((fp = fopen(fn, "w")) == NULL) 389 err_abort(m_strmsg(fail_open), fn); local 392 err_abort(m_strmsg(write_err), fn); local [all...] |
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | vsc7326_reg.h | 94 * fn = FIFO number, 0-9 96 #define REG_TEST(ie,fn) CRA(0x2,ie&1,0x00+fn) /* Mode & Test Register */ 97 #define REG_TOP_BOTTOM(ie,fn) CRA(0x2,ie&1,0x10+fn) /* FIFO Buffer Top & Bottom */ 98 #define REG_TAIL(ie,fn) CRA(0x2,ie&1,0x20+fn) /* FIFO Write Pointer */ 99 #define REG_HEAD(ie,fn) CRA(0x2,ie&1,0x30+fn) /* FIFO Read Pointer */ 100 #define REG_HIGH_LOW_WM(ie,fn) CR [all...] |
/illumos-gate/usr/src/cmd/logadm/ |
H A D | main.c | 46 #include "fn.h" 56 static void dologname(struct fn *fnp, struct opts *clopts); 57 static boolean_t rotatelog(struct fn *fnp, struct opts *opts); 58 static void rotateto(struct fn *fnp, struct opts *opts, int n, 59 struct fn *recentlog, boolean_t isgz); 61 static void expirefiles(struct fn *fnp, struct opts *opts); 62 static void dorm(struct opts *opts, const char *msg, struct fn *fnp); 165 struct fn *fnp; 397 struct fn *fnp = (struct fn *)ar [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | keytab.c | 235 keyfn = (KtKeyFn *) sym->fn; 371 action->fn = 0; 655 * fn KtKeyFn * The function that implements the action, or NULL 663 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data) argument 678 if(!fn) { 687 sym->fn = (void (*)(void))fn; 694 if(!_new_HashSymbol(kt->actions, action, 0, (void (*)(void))fn, data, 0)) { 766 action->fn = keyfn; 774 for(i=0; i<KTB_NBIND && !sym->actions[i].fn; 981 _kt_lookup_action(KeyTab *kt, const char *action, KtKeyFn **fn, void **data) argument [all...] |