/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_thread.c | 41 void (*func) (); in emlxs_taskq_thread() local 60 if (tthread->func) { in emlxs_taskq_thread() 61 func = tthread->func; in emlxs_taskq_thread() 128 tthread->func = func; in emlxs_taskq_dispatch() 260 void (*func) (); in emlxs_thread() local 269 func = ethread->func; in emlxs_thread() 319 if (ethread->func) { in emlxs_thread() 320 func = ethread->func; in emlxs_thread() 454 ethread->func = func; in emlxs_thread_trigger1() 502 ethread->func = func; in emlxs_thread_trigger2() [all …]
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_pcicfg.c | 40 mccfgsetup(struct _mc_pcicfg_hdl *hdlp, mc_t *mc, enum mc_funcnum func) in mccfgsetup() argument 43 hdlp->cfh_func = func; in mccfgsetup() 45 if (mc->mc_funcs[func].mcf_devi == NULL) in mccfgsetup() 48 if (pci_config_setup(mc->mc_funcs[func].mcf_devi, &hdlp->cfh_hdl) != in mccfgsetup() 56 mc_pcicfg_setup(mc_t *mc, enum mc_funcnum func, mc_pcicfg_hdl_t *cookiep) in mc_pcicfg_setup() argument 62 if (mccfgsetup(hdlp, mc, func) == DDI_FAILURE) { in mc_pcicfg_setup() 96 mc_pcicfg_get32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset) in mc_pcicfg_get32_nohdl() argument 99 func, offset)); in mc_pcicfg_get32_nohdl() 103 mc_pcicfg_put32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset, in mc_pcicfg_put32_nohdl() argument 107 func, offset, val); in mc_pcicfg_put32_nohdl()
|
/illumos-gate/usr/src/test/elf-tests/tests/tls/amd64/ie/ |
H A D | amd64-ie-test.sh | 29 func=${2} 33 dis -F${func} ${file} | grep_test "${name}" "${pattern}" 39 dis_test "addq-->leaq 1" func style1 \ 41 dis_test "addq-->leaq 2" func style1 \ 44 dis_test "addq-->leaq w/REX 1" func style1-with-r13 \ 46 dis_test "addq-->leaq w/REX 2" func style1-with-r13 \ 49 dis_test "addq-->addq for SIB 1" func style1-with-r12 \ 51 dis_test "addq-->addq for SIB 2" func style1-with-r12 \
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_funcs.c | 82 Dwarf_Global func = (Dwarf_Global) func_in; in dwarf_funcname() local 84 if (func == NULL) { in dwarf_funcname() 89 *ret_name = (char *) (func->gl_name); in dwarf_funcname() 97 Dwarf_Global func = (Dwarf_Global) func_in; in dwarf_func_die_offset() local 99 return dwarf_global_die_offset(func, return_offset, error); in dwarf_func_die_offset() 107 Dwarf_Global func = (Dwarf_Global) func_in; in dwarf_func_cu_offset() local 109 return dwarf_global_cu_offset(func, return_offset, error); in dwarf_func_cu_offset() 119 Dwarf_Global func = (Dwarf_Global) func_in; in dwarf_func_name_offsets() local 121 return dwarf_global_name_offsets(func, in dwarf_func_name_offsets()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.cleardenormalize.d | 49 @func[i%5] = sum(i * 100); 57 denormalize(@func); 58 printa(@func); 60 clear(@func); 63 printa(@func); 71 denormalize(@func); 72 printa(@func);
|
H A D | tst.clearnormalize.d | 49 @func[i % 5] = sum(i * 100); 57 normalize(@func, 5); 58 printa(@func); 60 clear(@func); 63 printa(@func); 71 normalize(@func, 5); 72 printa(@func);
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | atexit.c | 46 atexit(void (*func)(void)) 48 return(onexit(func)); 56 void (*func)(void); 64 atexit(void (*func)(void)) 69 p->func = func; 83 (*p->func)();
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | wchar_h.cfg | 34 func | open_wmemstream |\ 39 func | wcpcpy |\ 44 func | wcpncpy |\ 49 func | wcsdup |\ 54 func | wcscasecmp |\ 59 func | wcscasecmp_l |\ 65 func | wcslen |\ 70 func | wcsncasecmp |\ 75 func | wcsncasecmp_l |\ 80 func | wcsnlen |\ [all …]
|
H A D | sys_mman_h.cfg | 70 func | mmap |\ 75 func | munmap |\ 80 func | mprotect |\ 85 func | msync |\ 96 func | mlock |\ 101 func | munlock |\ 106 func | mlockall |\ 116 func | shm_open |\ 139 func | mincore |\ 144 func | memcntl |\ [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | insert_manual_states.pl | 27 my $func = shift; 41 $sth->execute($file, $func, $ret); 44 $sth->execute($func, $ret); 53 $insert->execute($file, $func, 0, $return_id, $ret, $static, $type, $param, $key, $value); 57 my ($ret, $insert, $file, $func, $type, $param, $key, $value); 70 $func = $2; 74 $func = $1; 88 insert_record($file, $func, $ret, $type, $param, $key, $value);
|
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/ |
H A D | follow_params.pl | 76 foreach my $func (keys %param_map){ 77 ($param_map{$func}{used} = $UNUSED); 83 my $func = shift(); 86 if (!defined($file) or !defined($func) or !defined($param)) { 98 follow($func, $param); 100 $func = shift(); 102 if (!defined($func) || !defined($param)) {
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_cpu.c | 62 ao_pcicfg_write(uint_t procnodeid, uint_t func, uint_t reg, uint32_t val) in ao_pcicfg_write() argument 65 ASSERT((func & 7) == func); in ao_pcicfg_write() 68 cmi_pci_putl(0, procnodeid + 24, func, reg, 0, val); in ao_pcicfg_write() 72 ao_pcicfg_read(uint_t procnodeid, uint_t func, uint_t reg) in ao_pcicfg_read() argument 75 ASSERT((func & 7) == func); in ao_pcicfg_read() 78 return (cmi_pci_getl(0, procnodeid + 24, func, reg, 0, 0)); in ao_pcicfg_read()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | x_call.c | 318 xc_func_t func; in xc_serv() local 342 func(a1, a2, a3); in xc_serv() 371 if (func != NULL) in xc_serv() 455 xc_func_t func, in xc_common() argument 471 func != NULL) in xc_common() 482 data->xc_func = func; in xc_common() 549 xc_func_t func, in xc_priority_common() argument 631 xc_func_t func) in xc_priority() argument 675 xc_func_t func) in xc_call_nowait() argument 690 xc_func_t func) in xc_call() argument [all …]
|
H A D | dtrace_subr.c | 63 dtrace_invop_add(int (*func)(uintptr_t, uintptr_t *, uintptr_t)) in dtrace_invop_add() 68 hdlr->dtih_func = func; in dtrace_invop_add() 82 if (hdlr->dtih_func == func) in dtrace_invop_remove() 113 (*func)(0, _userlimit); in dtrace_toxic_ranges() 116 (*func)(hole_start, hole_end); in dtrace_toxic_ranges() 117 (*func)(toxic_addr, toxic_addr + toxic_size); in dtrace_toxic_ranges() 118 (*func)(0, _userlimit); in dtrace_toxic_ranges() 124 dtrace_xcall_t func = (dtrace_xcall_t)arg1; in dtrace_xcall_func() local 125 (*func)((void*)arg2); in dtrace_xcall_func() 132 dtrace_xcall(processorid_t cpu, dtrace_xcall_t func, void *arg) in dtrace_xcall() argument [all …]
|
H A D | pci_cfgacc_x86.c | 107 uint8_t bus, dev, func; in pci_cfgacc_io() local 112 func = PCI_BDF_FUNC(req->bdf); in pci_cfgacc_io() 118 (*pci_putb_func)(bus, dev, func, in pci_cfgacc_io() 121 VAL8(req) = (*pci_getb_func)(bus, dev, func, in pci_cfgacc_io() 126 (*pci_putw_func)(bus, dev, func, in pci_cfgacc_io() 129 VAL16(req) = (*pci_getw_func)(bus, dev, func, in pci_cfgacc_io() 134 (*pci_putl_func)(bus, dev, func, in pci_cfgacc_io() 137 VAL32(req) = (*pci_getl_func)(bus, dev, func, in pci_cfgacc_io() 142 (*pci_putl_func)(bus, dev, func, in pci_cfgacc_io() 144 (*pci_putl_func)(bus, dev, func, in pci_cfgacc_io() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | db_am.h | 31 #define REC_INTRO(func) { \ argument 34 if ((ret = func(dbtp->data, &argp)) != 0) \ 63 #define REC_NOOP_INTRO(func) { \ argument 64 if ((ret = func(dbtp->data, &argp)) != 0) \ 77 #define REC_PRINT(func) \ argument 78 (void)func(logp, dbtp, lsnp, redo, info); 80 #define REC_PRINT(func) \ argument
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | pci_cfgspace.h | 43 extern uint8_t (*pci_getb_func)(int bus, int dev, int func, int reg); 44 extern uint16_t (*pci_getw_func)(int bus, int dev, int func, int reg); 45 extern uint32_t (*pci_getl_func)(int bus, int dev, int func, int reg); 46 extern void (*pci_putb_func)(int bus, int dev, int func, int reg, uint8_t val); 47 extern void (*pci_putw_func)(int bus, int dev, int func, int reg, uint16_t val); 48 extern void (*pci_putl_func)(int bus, int dev, int func, int reg, uint32_t val);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | cleanup.h | 6 void (*func)(void *); member 15 cleanup_data[cleanup_count].func = y; \ 19 if ((--cleanup_count) && x && (cleanup_data[cleanup_count].func)) \ 20 cleanup_data[cleanup_count].func(cleanup_data[cleanup_count].arg); 24 if (cleanup_data[cleanup_count].func) \ 25 cleanup_data[cleanup_count].func(cleanup_data[cleanup_count].arg);
|
/illumos-gate/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_resource.c | 123 int (*func)(caddr_t); in dcd_init_pkt() local 132 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC; in dcd_init_pkt() 135 statuslen, pplen, flags, func, NULL); in dcd_init_pkt() 168 register int (*func)(caddr_t); in dcd_resalloc() local 171 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC: NULL_FUNC; in dcd_resalloc() 173 cmdlen, statuslen, 0, 0, func, NULL); in dcd_resalloc() 191 register int (*func)(caddr_t); in dcd_pktalloc() local 194 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC: NULL_FUNC; in dcd_pktalloc() 197 0, 0, func, NULL); in dcd_pktalloc() 212 register int (*func)(caddr_t); in dcd_dmaget() local [all …]
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | intr.c | 461 ASSERT(func); in intr_dist_add_list() 462 new->func = func; in intr_dist_add_list() 471 if ((iptr->func == func) && (iptr->arg == arg)) { in intr_dist_add_list() 482 intr_dist_add(void (*func)(void *), void *arg) in intr_dist_add() 484 intr_dist_add_list(&intr_dist_head, (void (*)(void *))func, arg); in intr_dist_add() 508 if ((iptr->func == func) && (iptr->arg == arg)) { in intr_dist_rem_list() 522 intr_dist_rem(void (*func)(void *), void *arg) in intr_dist_rem() 524 intr_dist_rem_list(&intr_dist_head, (void (*)(void *))func, arg); in intr_dist_rem() 617 ((void (*)(void *, int32_t, int32_t))iptr->func) in intr_redist_all_cpus() 622 ((void (*)(void *))iptr->func)(iptr->arg); in intr_redist_all_cpus() [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_iter.c | 54 int err = func(clone, data); in zfs_iter_clones() 129 if ((ret = func(nzhp, data)) != 0) { in zfs_iter_filesystems() 167 if ((ret = func(nzhp, data)) != 0) { in zfs_iter_snapshots() 216 if ((err = func(nzhp, data)) != 0) in zfs_iter_bookmarks() 358 zfs_iter_f func, void *arg) in zfs_iter_snapspec() argument 371 ssa.ssa_func = func; in zfs_iter_snapspec() 416 err = func(snap_zhp, arg); in zfs_iter_snapspec() 454 zfs_iter_f func; member 510 err = ida->func(zhp, ida->data); in iter_dependents_cb() 519 zfs_iter_f func, void *data) in zfs_iter_dependents() argument [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atexit.c | 128 atexit(void (*func)(void)) in atexit() 245 void (*func)(void); in _preexec_atfork_unload() local 255 if (((func = atfp->prepare) != NULL && in _preexec_atfork_unload() 256 in_range((void *)func, range, count)) || in _preexec_atfork_unload() 257 ((func = atfp->parent) != NULL && in _preexec_atfork_unload() 259 ((func = atfp->child) != NULL && in _preexec_atfork_unload() 304 void (*func)(void *); in _preexec_tsd_unload() local 310 func != TSD_UNALLOCATED && in _preexec_tsd_unload() 311 in_range((void *)func, range, count)) in _preexec_tsd_unload() 391 at_quick_exit(void (*func)(void)) in at_quick_exit() [all …]
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acefi.h | 251 UINT64 efi_call0(void *func); 252 UINT64 efi_call1(void *func, UINT64 arg1); 253 UINT64 efi_call2(void *func, UINT64 arg1, UINT64 arg2); 255 UINT64 efi_call4(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3, 257 UINT64 efi_call5(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3, 259 UINT64 efi_call6(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3, 261 UINT64 efi_call7(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3, 263 UINT64 efi_call8(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3, 266 UINT64 efi_call9(void *func, UINT64 arg1, UINT64 arg2, UINT64 arg3, 308 #define uefi_call_wrapper(func,va_num,...) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ldo.c | 154 ci->func = (ci->func - oldstack) + L->stack; in correctstack() 283 luaG_typeerror(L, func, "call"); in tryfuncTM() 289 return func; in tryfuncTM() 305 switch (ttype(func)) { in luaD_precall() 307 f = fvalue(func); in luaD_precall() 310 f = clCvalue(func)->f; in luaD_precall() 331 Proto *p = clLvalue(func)->p; in luaD_precall() 337 func = restorestack(L, funcr); in luaD_precall() 338 base = func + 1; in luaD_precall() 346 ci->func = func; in luaD_precall() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/demo/agg/ |
H A D | trunc.d | 36 @func[execname] = count(); 41 trunc(@func, 10); 42 normalize(@func, (timestamp - last) / 1000000000); 43 printa(@func); 44 clear(@func);
|