| /onnv-gate/usr/src/uts/i86pc/sys/ |
| H A D | pci_cfgspace_impl.h | 41 extern uint8_t pci_mech1_getb(int bus, int dev, int func, int reg); 42 extern uint16_t pci_mech1_getw(int bus, int dev, int func, int reg); 43 extern uint32_t pci_mech1_getl(int bus, int dev, int func, int reg); 44 extern void pci_mech1_putb(int bus, int dev, int func, int reg, uint8_t val); 45 extern void pci_mech1_putw(int bus, int dev, int func, int reg, uint16_t val); 46 extern void pci_mech1_putl(int bus, int dev, int func, int reg, uint32_t val); 52 extern uint8_t pci_mech1_amd_getb(int bus, int dev, int func, int reg); 53 extern uint16_t pci_mech1_amd_getw(int bus, int dev, int func, int reg); 54 extern uint32_t pci_mech1_amd_getl(int bus, int dev, int func, int reg); 55 extern void pci_mech1_amd_putb(int bus, int dev, int func, int reg, [all …]
|
| /onnv-gate/usr/src/uts/common/fs/ |
| H A D | fem.c | 232 #define vsop_find(ap, func, funct, arg0, _vop, _vsop) \ argument 235 *(func) = (funct (*)())((ap)->fa_fnode->fn_op.vnode->_vop); \ 238 } else if ((*(func) = (funct (*)())((ap)->fa_fnode->fn_op.fem->_vsop))\ 247 #define vfsop_find(ap, func, funct, arg0, _vop, _vsop) \ argument 250 *(func) = (funct (*)())((ap)->fa_fnode->fn_op.vfs->_vop); \ 253 } else if ((*(func) = (funct (*)())((ap)->fa_fnode->fn_op.fsem->_vsop))\ 264 #define vsop_find(ap, func, funct, arg0, _vop, _vsop) \ argument 265 *(arg0) = _op_find((ap), (void **)(func), \ 268 #define vfsop_find(ap, func, funct, arg0, _fop, _fsop) \ argument 269 *(arg0) = _op_find((ap), (void **)(func), \ [all …]
|
| /onnv-gate/usr/src/cmd/sendmail/db/os/ |
| H A D | os_config.c | 40 db_jump_set(func, which) in db_jump_set() argument 41 void *func; in db_jump_set() 46 __db_jump.j_close = (int (*) __P((int)))func; 49 __db_jump.j_dirfree = (void (*) __P((char **, int)))func; 53 (int (*) __P((const char *, char ***, int *)))func; 56 __db_jump.j_exists = (int (*) __P((const char *, int *)))func; 59 __db_jump.j_free = (void (*) __P((void *)))func; 62 __db_jump.j_fsync = (int (*) __P((int)))func; 66 int, u_int32_t *, u_int32_t *, u_int32_t *)))func; 69 __db_jump.j_malloc = (void *(*) __P((size_t)))func; [all …]
|
| /onnv-gate/usr/src/cmd/allocate/ |
| H A D | allocate.c | 63 usage(int func) in usage() argument 79 switch (func) { in usage() 109 switch (func) { in usage() 257 int func = -1, optflg = 0, error = 0, c; in main() local 315 func = 0; in main() 317 func = 1; in main() 319 func = 2; in main() 323 audit_allocate_argv(func, argc, argv); in main() 345 if (func == 0) { /* allocate */ in main() 360 usage(func); in main() [all …]
|
| /onnv-gate/usr/src/uts/intel/io/intel_nb5000/ |
| H A D | nb_pci_cfg.c | 128 nb_get_hdl(int bus, int dev, int func) in nb_get_hdl() argument 132 if (bus == 0 && dev == 16 && func < NB_PCI_NFUNC) { in nb_get_hdl() 133 hdl = dev_16_hdl[func]; in nb_get_hdl() 134 } else if (bus == 0 && dev == 17 && func < NB_PCI_NFUNC) { in nb_get_hdl() 135 hdl = dev_17_hdl[func]; in nb_get_hdl() 136 } else if (bus == 0 && dev < NB_PCI_DEV && func == 0) { in nb_get_hdl() 138 } else if (bus == 0 && dev == 21 && func == 0) { in nb_get_hdl() 140 } else if (bus == 0 && dev == 22 && func == 0) { in nb_get_hdl() 149 nb_pci_getb(int bus, int dev, int func, int reg, int *interpose) in nb_pci_getb() argument 153 hdl = nb_get_hdl(bus, dev, func); in nb_pci_getb() [all …]
|
| /onnv-gate/usr/src/lib/libsqlite/test/ |
| H A D | func.test | 17 # $Id: func.test,v 1.16.2.2 2004/07/18 21:14:05 drh Exp $ 24 do_test func-0.0 { 31 do_test func-0.1 { 45 do_test func-1.0 { 48 do_test func-1.1 { 52 do_test func-1.2 { 56 do_test func-1.3 { 60 do_test func-1.4 { 66 do_test func-2.0 { 69 do_test func-2.1 { [all …]
|
| /onnv-gate/usr/src/uts/intel/io/intel_nhm/ |
| H A D | nhm_pci_cfg.c | 91 nhm_get_hdl(int bus, int dev, int func) in nhm_get_hdl() argument 97 dev < CPU_PCI_DEVS && func < CPU_PCI_FUNCS) { in nhm_get_hdl() 100 hdl = dev_pci_hdl[slot][dev][func]; in nhm_get_hdl() 108 nhm_pci_getb(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getb() argument 112 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_getb() 113 return (cmi_pci_getb(bus, dev, func, reg, interpose, hdl)); in nhm_pci_getb() 117 nhm_pci_getw(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getw() argument 121 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_getw() 122 return (cmi_pci_getw(bus, dev, func, reg, interpose, hdl)); in nhm_pci_getw() 126 nhm_pci_getl(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getl() argument [all …]
|
| /onnv-gate/usr/src/uts/sun4/os/ |
| H A D | x_call.c | 83 void init_mondo(xcfunc_t *func, uint64_t arg1, uint64_t arg2); 239 xt_one(int cix, xcfunc_t *func, uint64_t arg1, uint64_t arg2) in xt_one() argument 244 xt_one_unchecked(cix, func, arg1, arg2); in xt_one() 252 xt_one_unchecked(int cix, xcfunc_t *func, uint64_t arg1, uint64_t arg2) in xt_one_unchecked() argument 262 ASSERT(!DMV_IS_DMV(func)); in xt_one_unchecked() 268 ASSERT((uintptr_t)func >= KERNELBASE); in xt_one_unchecked() 280 send_self_xcall(CPU, arg1, arg2, func); in xt_one_unchecked() 282 XC_TRACE(XT_ONE_SELF, &tset, func, arg1, arg2); in xt_one_unchecked() 287 XC_TRACE(XT_ONE_OTHER, &tset, func, arg1, arg2); in xt_one_unchecked() 288 init_mondo(func, arg1, arg2); in xt_one_unchecked() [all …]
|
| /onnv-gate/usr/src/uts/intel/io/pciex/ |
| H A D | pcie_nvidia.c | 49 uchar_t func, boolean_t *slot_valid, ushort_t *slot_number, in check_if_device_is_pciex() argument 61 status = (*pci_getw_func)(bus, dev, func, PCI_CONF_STAT); in check_if_device_is_pciex() 65 capsp = (*pci_getb_func)(bus, dev, func, PCI_CONF_CAP_PTR); in check_if_device_is_pciex() 68 cap = (*pci_getb_func)(bus, dev, func, capsp); in check_if_device_is_pciex() 74 "capability found\n", bus, dev, func); in check_if_device_is_pciex() 77 status = (*pci_getw_func)(bus, dev, func, capsp + 2); in check_if_device_is_pciex() 94 slot_cap = (*pci_getl_func)(bus, dev, func, in check_if_device_is_pciex() 118 capsp = (*pci_getb_func)(bus, dev, func, in check_if_device_is_pciex() 134 uchar_t dev, func; in look_for_any_pciex_device() local 141 for (func = 0; func < nfunc; func++) { in look_for_any_pciex_device() [all …]
|
| /onnv-gate/usr/src/uts/i86pc/io/gfx_private/ |
| H A D | gfxp_pci.c | 86 gfxp_pci_get_bsf(dev_info_t *dip, uint8_t *bus, uint8_t *dev, uint8_t *func) in gfxp_pci_get_bsf() argument 103 *func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in gfxp_pci_get_bsf() 117 uint8_t bus, dev, func; in gfxp_pci_find_bsf() local 135 if (gfxp_pci_get_bsf(dip, &bus, &dev, &func) != DDI_SUCCESS) in gfxp_pci_find_bsf() 141 (func == pci_bsf->function)) { in gfxp_pci_find_bsf() 199 uint8_t bus, dev, func; in gfxp_pci_read_byte() local 204 if (gfxp_pci_get_bsf(dip, &bus, &dev, &func) != DDI_SUCCESS) in gfxp_pci_read_byte() 207 val = (*pci_getb_func)(bus, dev, func, offset); in gfxp_pci_read_byte() 216 uint8_t bus, dev, func; in gfxp_pci_read_word() local 221 if (gfxp_pci_get_bsf(dip, &bus, &dev, &func) != DDI_SUCCESS) in gfxp_pci_read_word() [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/asn1/ |
| H A D | asn1_mac.h | 75 #define M_ASN1_D2I_vars(a,type,func) \ argument 83 { if ((ret=(type)func()) == NULL) \ 98 #define M_ASN1_D2I_Finish(a,func,e) \ argument 103 if ((ret != NULL) && ((a == NULL) || (*a != ret))) func(ret); \ 114 #define M_ASN1_D2I_Finish_nolen(a, func, e) \ argument 121 if ((ret != NULL) && ((a == NULL) || (*a != ret))) func(ret); \ 129 #define M_ASN1_D2I_get(b, func) \ argument 131 if (func(&(b),&c.p,c.slen) == NULL) \ 136 #define M_ASN1_D2I_get_x(type,b,func) \ argument 138 if (((D2I_OF(type))func)(&(b),&c.p,c.slen) == NULL) \ [all …]
|
| /onnv-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()
|
| /onnv-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
| H A D | tst.cleardenormalize.d | 52 @func[i%5] = sum(i * 100); 60 denormalize(@func); 61 printa(@func); 63 clear(@func); 66 printa(@func); 74 denormalize(@func); 75 printa(@func);
|
| H A D | tst.clearnormalize.d | 51 @func[i % 5] = sum(i * 100); 59 normalize(@func, 5); 60 printa(@func); 62 clear(@func); 65 printa(@func); 73 normalize(@func, 5); 74 printa(@func);
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/ |
| H A D | bigrat.t | 35 foreach my $func (qw/new bnorm/) 37 $x = $cr->$func(1234); ok ($x,1234); 39 $x = $cr->$func('1234/1'); ok ($x,1234); 40 $x = $cr->$func('1234/2'); ok ($x,617); 42 $x = $cr->$func('100/1.0'); ok ($x,100); 43 $x = $cr->$func('10.0/1.0'); ok ($x,10); 44 $x = $cr->$func('0.1/10'); ok ($x,'1/100'); 45 $x = $cr->$func('0.1/0.1'); ok ($x,'1'); 46 $x = $cr->$func('1e2/10'); ok ($x,10); 47 $x = $cr->$func('5/1e2'); ok ($x,'1/20'); [all …]
|
| /onnv-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
| H A D | emlxs_thread.c | 42 void (*func) (); in emlxs_taskq_thread() local 61 if (tthread->func) { in emlxs_taskq_thread() 62 func = tthread->func; in emlxs_taskq_thread() 68 func(taskq->hba, arg); in emlxs_taskq_thread() 87 emlxs_taskq_dispatch(emlxs_taskq_t *taskq, void (*func) (), void *arg) in emlxs_taskq_dispatch() argument 131 tthread->func = func; in emlxs_taskq_dispatch() 272 void (*func) (); in emlxs_thread() local 281 func = ethread->func; in emlxs_thread() 285 func(hba, arg1, arg2); in emlxs_thread() 331 if (ethread->func) { in emlxs_thread() [all …]
|
| /onnv-gate/usr/src/lib/libast/common/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)();
|
| /onnv-gate/usr/src/cmd/sgs/libconv/common/ |
| H A D | cap.c | 68 conv_iter_cap_tags(Conv_fmt_flags_t fmt_flags, conv_iter_cb_t func, in conv_iter_cap_tags() argument 72 conv_cap_tag_strings(fmt_flags), func, uvalue)); in conv_iter_cap_tags() 81 Conv_fmt_flags_t fmt_flags, conv_iter_cb_t func, void *uvalue) in conv_iter_elfcap() argument 107 if ((* func)(str, cdp->c_val, uvalue) == CONV_ITER_DONE) in conv_iter_elfcap() 119 conv_iter_cb_t func, void *uvalue) in conv_iter_cap_val_hw1() argument 124 ELFCAP_NUM_HW1_386, fmt_flags, func, uvalue) == in conv_iter_cap_val_hw1() 131 ELFCAP_NUM_HW1_SPARC, fmt_flags, func, uvalue) == in conv_iter_cap_val_hw1() 141 conv_iter_cb_t func, void *uvalue) in conv_iter_cap_val_hw2() argument 150 conv_iter_cap_val_sf1(Conv_fmt_flags_t fmt_flags, conv_iter_cb_t func, in conv_iter_cap_val_sf1() argument 154 fmt_flags, func, uvalue)); in conv_iter_cap_val_sf1()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| H A D | autouse.pm | 38 $proto = $1 if (my $func = $f) =~ s/\((.*)\)$//; 40 my $closure_import_func = $func; # Full name 41 my $closure_func = $func; # Name inside package 42 my $index = rindex($func, '::'); 44 $closure_import_func = "${callpkg}::$func"; 46 $closure_func = substr $func, $index + 2; 48 unless substr($func, 0, $index) eq $module;
|
| /onnv-gate/usr/src/uts/intel/sys/ |
| H A D | pci_cfgspace.h | 45 extern uint8_t (*pci_getb_func)(int bus, int dev, int func, int reg); 46 extern uint16_t (*pci_getw_func)(int bus, int dev, int func, int reg); 47 extern uint32_t (*pci_getl_func)(int bus, int dev, int func, int reg); 48 extern void (*pci_putb_func)(int bus, int dev, int func, int reg, uint8_t val); 49 extern void (*pci_putw_func)(int bus, int dev, int func, int reg, uint16_t val); 50 extern void (*pci_putl_func)(int bus, int dev, int func, int reg, uint32_t val);
|
| /onnv-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()
|
| /onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
| H A D | cleanup.h | 8 void (*func)(void *); member 17 cleanup_data[cleanup_count].func = y; \ 21 if ((--cleanup_count) && x && (cleanup_data[cleanup_count].func)) \ 22 cleanup_data[cleanup_count].func(cleanup_data[cleanup_count].arg); 26 if (cleanup_data[cleanup_count].func) \ 27 cleanup_data[cleanup_count].func(cleanup_data[cleanup_count].arg);
|
| /onnv-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
|
| /onnv-gate/usr/src/uts/intel/io/pci/ |
| H A D | pci_boot.c | 98 uchar_t func; member 132 static int get_pci_cap(uchar_t bus, uchar_t dev, uchar_t func, uint8_t cap_id); 827 get_pci_cap(uchar_t bus, uchar_t dev, uchar_t func, uint8_t cap_id) in get_pci_cap() argument 838 status = pci_getw(bus, dev, func, PCI_CONF_STAT); in get_pci_cap() 842 cap_id_loc = pci_getb(bus, dev, func, PCI_CONF_CAP_PTR); in get_pci_cap() 846 curcap = pci_getb(bus, dev, func, cap_id_loc); in get_pci_cap() 852 cap_id_loc = pci_getb(bus, dev, func, cap_id_loc + 1); in get_pci_cap() 903 uchar_t bus, dev, func; in fix_ppb_res() local 935 func = (uchar_t)PCI_REG_FUNC_G(physhi); in fix_ppb_res() 942 cap_ptr = get_pci_cap(bus, dev, func, PCI_CAP_ID_PCI_E); in fix_ppb_res() [all …]
|
| /onnv-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
| H A D | pi_defer.c | 58 pi_deferenum_fn_t *func; /* Defered enumeration routine */ member 72 tnode_t *t_node, pi_deferenum_fn_t func, void *private) in pi_defer_add() argument 101 dnp->func = func; in pi_defer_add() 128 pi_deferenum_fn_t *func; in pi_defer_exec() local 143 func = dp->func; in pi_defer_exec() 179 result = (func)(mod, mdp, mde_node, inst, t_parent, hc_name, in pi_defer_exec() 232 if (lp->func != rp->func) { in pi_deferlist_compare()
|