Home
last modified time | relevance | path

Searched refs:fn (Results 51 – 75 of 394) sorted by relevance

12345678910>>...16

/illumos-gate/usr/src/cmd/logadm/
H A DMakefile27 OBJS= conf.o err.o fn.o glob.o kw.o lut.o main.o opts.o
101 conftest: conftest.o err.o fn.o lut.o opts.o
102 $(LINK.c) -o conftest conftest.o err.o fn.o lut.o opts.o $(LDLIBS)
105 globtest: globtest.o lut.o err.o fn.o
106 $(LINK.c) -o globtest globtest.o lut.o err.o fn.o $(LDLIBS)
109 kwtest: kwtest.o err.o fn.o lut.o
110 $(LINK.c) -o kwtest kwtest.o err.o fn.o lut.o $(LDLIBS)
117 optstest: optstest.o err.o fn.o lut.o
118 $(LINK.c) -o optstest optstest.o err.o fn.o lut.o $(LDLIBS)
H A Dglob.h36 struct fn_list *glob_glob(struct fn *fnp);
38 struct fn_list *glob_reglob(struct fn *fnp);
39 struct fn *glob_to_reglob(struct fn *fnp);
H A Dkw.h36 void kw_init(struct fn *fnp, struct fn *nfnp);
37 boolean_t kw_expand(struct fn *src, struct fn *dst, int n, boolean_t gz);
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c505 tnode_t *fn; in declare_dev_and_fn() local
521 fn = pciexfn_declare(mod, *dev, din, fnno); in declare_dev_and_fn()
523 fn = pcifn_declare(mod, *dev, din, fnno); in declare_dev_and_fn()
525 if (fn == NULL) { in declare_dev_and_fn()
534 topo_node_unbind(fn); in declare_dev_and_fn()
573 (void) topo_mod_enummap(mod, fn, in declare_dev_and_fn()
584 if (topo_node_range_create(mod, fn, in declare_dev_and_fn()
593 (void) topo_mod_enumerate(mod, fn, in declare_dev_and_fn()
594 XAUI, XAUI, fnno, fnno, fn); in declare_dev_and_fn()
662 topo_node_instance(fn)); in declare_dev_and_fn()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dnamespace.sh38 function fn function
40 print global fn $foo
71 function fn function
73 print local fn $foo
75 [[ $(fn) == 'local fn bar' ]] || err_exit 'fn inside namespace should run local function'
96 [[ $(fn) == 'global fn abc' ]] || err_exit 'fn outside namespace should run global function'
97 [[ $(.x.fn) == 'local fn bar' ]] || err_exit 'namespace function called from global failed'
/illumos-gate/usr/src/boot/i386/common/
H A Dcons.c90 getc(int fn) in getc() argument
95 v86.eax = fn << 8; in getc()
98 if (fn == 0) in getc()
107 xgetc(int fn) in xgetc() argument
114 return (fn ? 1 : getc(0)); in xgetc()
116 return (fn ? 1 : sio_getc()); in xgetc()
117 if (fn) in xgetc()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.h56 #define KT_KEY_FN(fn) int (fn)(GetLine *gl, int count, void *data) argument
65 KtKeyFn *fn; /* The acion function */ member
112 KtKeyFn *fn, void *data);
114 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data);
120 KtKeyFn **fn, void **data);
/illumos-gate/usr/src/cmd/tbl/
H A Dt8.c40 char *s, *size, *fn; in putline() local
167 puttext(s,fn,size); in putline()
223 puttext(s, fn, size); in putline()
272 putfont(fn); in puttext()
285 char *fn; in funnies() local
314 fn=font[stynum[stl]][c]; in funnies()
315 putfont(fn); in funnies()
328 if (*fn>0) putfont("P"); in funnies()
349 putfont(char *fn) in putfont() argument
351 if (fn && *fn) in putfont()
[all …]
H A Dtg.c20 get_text(char *sp, int ilin, int icol, char *fn, char *sz) in get_text() argument
37 if (fn && *fn) fprintf(tabout, ".nr %d \\n(.f\n.ft %s\n", S1, fn); in get_text()
63 if (fn && *fn) fprintf(tabout, ".ft \\n(%d\n", S1); in get_text()
/illumos-gate/usr/src/lib/libcpc/i386/
H A Devent_pentium.c109 eightbits(const char *fn, in eightbits() argument
130 picbits(const char *fn, in picbits() argument
169 bitclr(const char *fn, in bitclr() argument
182 bitset(const char *fn, in bitset() argument
194 nextpair(const char *fn, in nextpair() argument
420 __cpc_error(fn, in cpc_strtoevent()
429 __cpc_error(fn, in cpc_strtoevent()
444 if (kv->kv_action(fn, in cpc_strtoevent()
452 if (kv->kv_action(fn, in cpc_strtoevent()
459 __cpc_error(fn, in cpc_strtoevent()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_fresh_alloc.c90 if (call->fn->type != EXPR_SYMBOL) in fresh_from_db()
95 get_static_filter(call->fn->symbol), FRESH_ALLOC); in fresh_from_db()
123 while (alloc_funcs[++i].fn) { in is_fresh_alloc()
124 if (sym_name_is(kernel_allocation_funcs[i].fn, expr->fn)) in is_fresh_alloc()
193 static void match_alloc(const char *fn, struct expression *expr, void *_size_arg) in match_alloc() argument
210 while (alloc_funcs[++i].fn) in register_fresh_alloc()
211 add_function_assign_hook(alloc_funcs[i].fn, &match_alloc, 0); in register_fresh_alloc()
H A Dcheck_kernel.c140 static void match_err(const char *fn, struct expression *call_expr, in match_err() argument
268 struct symbol *fn; in find_module_init_exit() local
285 fn = get_base_type(sym); in find_module_init_exit()
286 if (!fn) in find_module_init_exit()
288 if (fn->type != SYM_FN) in find_module_init_exit()
292 if (!fn->inline_stmt) in find_module_init_exit()
303 stmt = first_ptr_list((struct ptr_list *)fn->inline_stmt->stmts); in find_module_init_exit()
415 struct expression *cl, *fn, *fake_call; in match_closure_call() local
419 fn = get_argument_from_call_expr(call->args, 1); in match_closure_call()
420 if (!fn || !cl) in match_closure_call()
[all …]
H A Dcheck_return_efault.c39 static void match_copy(const char *fn, struct expression *expr, void *unused) in match_copy() argument
84 struct expression *fn; in match_return_call() local
98 fn = strip_expr(ret_value->fn); in match_return_call()
99 if (fn->type != EXPR_SYMBOL) in match_return_call()
101 fn_name = fn->symbol_name->name; in match_return_call()
H A Dinline.c206 struct expression *fn = copy_expression(expr->fn); in copy_expression() local
211 expr->fn = fn; in copy_expression()
517 if (!fn->inline_stmt) { in inline_function()
521 if (fn->expanding) in inline_function()
524 fn->expanding = 1; in inline_function()
526 name_list = fn->arguments; in inline_function()
530 expr->ctype = fn->ctype.base_type; in inline_function()
552 copy_statement(fn->inline_stmt, stmt); in inline_function()
565 fn->expanding = 0; in inline_function()
579 fn->stmt = alloc_statement(fn->pos, STMT_COMPOUND); in uninline()
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Delm.c416 fn = fk->notice; in el_first()
417 (fn->left)->right = fn->right; in el_first()
418 (fn->right)->left = fn->left; in el_first()
453 fn->time = next_int; in el_first()
454 fn->left = n->left; in el_first()
455 fn->right = n; in el_first()
457 n->left = fn; } in el_first()
474 fn = current->right; in el_first()
475 while ((fn != NULL) && (fn->isdummy)) in el_first()
476 fn = fn->right; in el_first()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c80 int (*fn)(dev_info_t *); in devi_identify() local
86 return ((*fn)(devi)); in devi_identify()
95 int (*fn)(dev_info_t *); in devi_probe() local
107 if ((fn = ops->devo_probe) == NULL) { in devi_probe()
113 rv = (*fn)(devi); in devi_probe()
165 error = (*fn)(devi, cmd); in devi_attach()
209 error = (*fn)(devi, cmd); in devi_detach()
259 (fn = ops->devo_reset) == NULL) in devi_reset()
262 return ((*fn)(devi, cmd)); in devi_reset()
269 int (*fn)(dev_info_t *); in devi_quiesce() local
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_xftw.c119 int (*fn)(const char *, const struct stat *, int), int depth) in _xftw()
126 rc = fwalk(path, fn, depth, &var); in _xftw()
134 fwalk(const char *path, int (*fn)(const char *, const struct stat *, int), in fwalk()
160 return (*fn)(path, &sb, FTW_NS); in fwalk()
165 return (errno == EACCES? (*fn)(path, &sb, FTW_NS): -1); in fwalk()
173 return ((*fn)(path, &sb, FTW_F)); in fwalk()
189 return (errno == EACCES? (*fn)(path, &sb, FTW_DNR): -1); in fwalk()
192 rc = (*fn)(path, &sb, FTW_D); in fwalk()
241 rc = fwalk(subpath, fn, depth-1, vp); in fwalk()
H A Ddeflt.c103 defopen(char *fn) in defopen() argument
107 return (defopen_common(fn, thr_data)); in defopen()
130 defopen_r(const char *fn) in defopen_r() argument
135 if (defopen_common(fn, thr_data) < 0) { in defopen_r()
145 defopen_common(const char *fn, struct thr_data *thr_data) in defopen_common() argument
155 if (fn == NULL) in defopen_common()
158 if ((thr_data->fp = fopen(fn, "rF")) == NULL) in defopen_common()
/illumos-gate/usr/src/lib/libcpc/common/
H A Dobsoleted.c61 const char *fn = "__cpc_init"; in __cpc_init() local
66 __cpc_error(fn, dgettext(TEXT_DOMAIN, in __cpc_init()
175 const char fn[] = "access"; in cpc_access() local
185 __cpc_error(fn, dgettext(TEXT_DOMAIN, "Another process may be " in cpc_access()
189 __cpc_error(fn, in cpc_access()
194 __cpc_error(fn, "%s\n", strerror(errno)); in cpc_access()
364 __cpc_error(const char *fn, const char *fmt, ...) in __cpc_error() argument
370 __cpc_uerrfn(fn, fmt, ap); in __cpc_error()
372 (void) fprintf(stderr, "libcpc: %s: ", fn); in __cpc_error()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_ENOSPC/
H A Dzvol_ENOSPC_001_pos.ksh60 typeset -i fn=0
67 file_write -o create -f $TESTDIR/testfile$$.$fn \
74 (( fn = fn + 1 ))
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_find.c85 add_pointer(mftsd_t *tsdp, const char *fn, const char *pname, uchar_t *hash) in add_pointer() argument
108 info->mi_path = uu_strdup(fn); in add_pointer()
183 process(const char *fn, const struct stat *sp, int ftw_type, in process() argument
204 suffix_match = strstr(fn, ".xml"); in process()
211 if (mhash_test_file(tsdp->tsd_hndl, fn, is_profile, &pname, in process()
213 return (add_pointer(tsdp, fn, pname, hash)); in process()
216 return (add_pointer(tsdp, fn, NULL, NULL)); in process()
/illumos-gate/usr/src/lib/libtecla/
H A Dlibtecla.h317 #define CPL_MATCH_FN(fn) int (fn)(WordCompletion *cpl, void *data, \ argument
340 #define CPL_CHECK_FN(fn) int (fn)(void *data, const char *pathname) argument
590 #define GL_FD_EVENT_FN(fn) GlFdStatus (fn)(GetLine *gl, void *data, int fd, \ argument
658 #define GL_TIMEOUT_FN(fn) GlAfterTimeout (fn)(GetLine *gl, void *data) argument
1494 #define GL_ACTION_FN(fn) GlAfterAction (fn)(GetLine *gl, void *data, \ argument
1525 int gl_register_action(GetLine *gl, void *data, GlActionFn *fn,
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mount/
H A Dumount_unlinked_drain.ksh85 for fn in $(seq 1 175); do
86 log_must mkfile 128k $TESTDIR.$fs/file-$fn
96 for fn in $(seq 1 100); do
97 log_must eval "rm $TESTDIR.$fs/file-$fn &"
112 for fn in $(seq 101 175); do
113 log_must eval "rm $TESTDIR.$fs/file-$fn &"
/illumos-gate/usr/src/uts/intel/os/
H A Darchdep.c83 fx->fx_fcw = fn->f_fcw; in fnsave_to_fxsave()
84 fx->fx_fsw = fn->f_fsw; in fnsave_to_fxsave()
101 fx->fx_fop = fn->f_fop; in fnsave_to_fxsave()
115 fn->f_fcw = fx->fx_fcw; in fxsave_to_fnsave()
116 fn->__f_ign0 = 0; in fxsave_to_fnsave()
118 fn->__f_ign1 = 0; in fxsave_to_fnsave()
132 fn->f_ftw = 0; in fxsave_to_fnsave()
161 fn->__f_ign2 = 0; in fxsave_to_fnsave()
163 fn->f_cs = U32CS_SEL; in fxsave_to_fnsave()
165 fn->f_ds = UDS_SEL; in fxsave_to_fnsave()
[all …]
/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_test.c340 int fn, err = 0; in run_gen_check() local
364 for (fn = 0; fn < RAIDZ_GEN_NUM; fn++) { in run_gen_check()
371 rm_test = init_raidz_map(opts, &zio_test, fn+1); in run_gen_check()
375 raidz_gen_name[fn]); in run_gen_check()
380 if (cmp_code(opts, rm_test, fn+1) != 0) { in run_gen_check()
411 memcpy(tgtidx, rec_tgts[fn], sizeof (tgtidx)); in run_rec_check_impl()
413 if (fn < RAIDZ_REC_PQ) { in run_rec_check_impl()
438 } else if (fn < RAIDZ_REC_PQR) { in run_rec_check_impl()
515 unsigned fn, err = 0; in run_rec_check() local
544 for (fn = 0; fn < RAIDZ_REC_NUM; fn++) { in run_rec_check()
[all …]

12345678910>>...16