/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | sys_atomic_h.cfg | 41 func | atomic_inc_8 |\ 46 func | atomic_inc_uchar |\ 51 func | atomic_inc_16 |\ 56 func | atomic_inc_ushort |\ 61 func | atomic_inc_32 |\ 66 func | atomic_inc_uint |\ 71 func | atomic_inc_ulong |\ 76 func | atomic_inc_64 |\ 81 func | atomic_dec_8 |\ 86 func | atomic_dec_uchar |\ [all …]
|
H A D | ctype_h.cfg | 32 func | isalnum | int | int | ctype.h | +ALL 33 func | isalpha | int | int | ctype.h | +ALL 34 func | isascii | int | int | ctype.h | -ALL +XPG3+ 35 func | isblank | int | int | ctype.h | -ALL +C99+ 36 func | iscntrl | int | int | ctype.h | +ALL 37 func | isdigit | int | int | ctype.h | +ALL 38 func | isgraph | int | int | ctype.h | +ALL 39 func | islower | int | int | ctype.h | +ALL 40 func | isprint | int | int | ctype.h | +ALL 41 func | ispunct | int | int | ctype.h | +ALL [all …]
|
H A D | wctype_h.cfg | 35 func | iswalnum |\ 40 func | iswalnum_l |\ 45 func | iswalpha |\ 50 func | iswalpha_l |\ 55 func | iswblank |\ 60 func | iswblank_l |\ 65 func | iswcntrl |\ 70 func | iswcntrl_l |\ 75 func | iswctype |\ 80 func | iswctype_l |\ [all …]
|
H A D | threads_h.cfg | 53 func | call_once |\ 58 func | cnd_broadcast |\ 63 func | cnd_destroy |\ 68 func | cnd_init |\ 73 func | cnd_signal |\ 78 func | cnd_timedwait |\ 83 func | cnd_wait |\ 88 func | mtx_destroy |\ 93 func | mtx_init |\ 98 func | mtx_lock |\ [all …]
|
H A D | stdlib_h.cfg | 38 func | aligned_alloc |\ 44 func | at_quick_exit |\ 50 func | calloc |\ 56 func | exit |\ 62 func | free |\ 68 func | malloc |\ 74 func | mkstemp |\ 80 func | mkostemp |\ 86 func | mkstemps |\ 92 func | mkostemp [all...] |
H A D | unistd_h.cfg | 49 func | access |\ 54 func | chown |\ 59 func | execl |\ 64 func | execle |\ 69 func | execlp |\ 74 func | execv |\ 79 func | execve |\ 84 func | execvp |\ 89 func | fchown |\ 94 func | fexecve |\ [all …]
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fem.c | 234 #define vsop_find(ap, func, funct, arg0, _vop, _vsop) \ argument 237 *(func) = (funct (*)())((ap)->fa_fnode->fn_op.vnode->_vop); \ 240 } else if ((*(func) = (funct (*)())((ap)->fa_fnode->fn_op.fem->_vsop))\ 249 #define vfsop_find(ap, func, funct, arg0, _vop, _vsop) \ argument 252 *(func) = (funct (*)())((ap)->fa_fnode->fn_op.vfs->_vop); \ 255 } else if ((*(func) = (funct (*)())((ap)->fa_fnode->fn_op.fsem->_vsop))\ 266 #define vsop_find(ap, func, funct, arg0, _vop, _vsop) \ argument 267 *(arg0) = _op_find((ap), (void **)(func), \ 270 #define vfsop_find(ap, func, funct, arg0, _fop, _fsop) \ argument 271 *(arg0) = _op_find((ap), (void **)(func), \ [all …]
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | pci_cfgspace_impl.h | 44 extern uint8_t pci_mech1_getb(int bus, int dev, int func, int reg); 45 extern uint16_t pci_mech1_getw(int bus, int dev, int func, int reg); 46 extern uint32_t pci_mech1_getl(int bus, int dev, int func, int reg); 47 extern void pci_mech1_putb(int bus, int dev, int func, int reg, uint8_t val); 48 extern void pci_mech1_putw(int bus, int dev, int func, int reg, uint16_t val); 49 extern void pci_mech1_putl(int bus, int dev, int func, int reg, uint32_t val); 55 extern uint8_t pci_mech1_amd_getb(int bus, int dev, int func, int reg); 56 extern uint16_t pci_mech1_amd_getw(int bus, int dev, int func, int reg); 57 extern uint32_t pci_mech1_amd_getl(int bus, int dev, int func, int reg); 58 extern void pci_mech1_amd_putb(int bus, int dev, int func, int reg, [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_fsctl_fs.c | 133 uint32_t (*func)(smb_request_t *, smb_fsctl_t *); in smb2_fsctl_fs() local 138 func = smb2_fsctl_get_compression; in smb2_fsctl_fs() 141 func = smb2_fsctl_set_compression; in smb2_fsctl_fs() 145 func = smb2_fsctl_invalid; in smb2_fsctl_fs() 148 func = smb2_fsctl_invalid; in smb2_fsctl_fs() 151 func = smb2_fsctl_set_sparse; in smb2_fsctl_fs() 154 func = smb2_fsctl_set_zero_data; in smb2_fsctl_fs() 157 func = smb2_fsctl_query_alloc_ranges; in smb2_fsctl_fs() 160 func = smb2_fsctl_invalid; in smb2_fsctl_fs() 163 func = smb2_fsctl_odx_read; in smb2_fsctl_fs() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | smdb.py | 36 def get_function_pointers_helper(func): argument 38 cur.execute("select distinct ptr from function_ptr where function = '%s';" %(func)) 48 def get_function_pointers(func): argument 51 function_ptrs = [func] 52 searched_ptrs = [func] 53 get_function_pointers_helper(func) 354 param_names = get_param_names(filename, func) 363 def print_caller_info(filename, func, my_type = ""): argument 364 ptrs = get_function_pointers(func) 385 def get_param_names(filename, func): argument [all …]
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | allocate.c | 61 usage(int func) in usage() argument 77 switch (func) { in usage() 107 switch (func) { in usage() 255 int func = -1, optflg = 0, error = 0, c; in main() local 313 func = 0; in main() 315 func = 1; in main() 317 func = 2; in main() 321 audit_allocate_argv(func, argc, argv); in main() 343 if (func == 0) { /* allocate */ in main() 358 usage(func); in main() [all …]
|
/illumos-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 …]
|
/illumos-gate/usr/src/test/bhyve-tests/tests/inst_emul/ |
H A D | payload_cpuid.c | 28 uint32_t func; member 37 .func = 1, 42 .func = 3, 47 .func = 3, 53 .func = 4, 58 .func = 4, 64 .func = 5, 70 .func = 2, 75 .func = 3, 80 .func = 4, [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | func.test | 15 # $Id: func.test,v 1.16.2.2 2004/07/18 21:14:05 drh Exp $ 22 do_test func-0.0 { 29 do_test func-0.1 { 43 do_test func-1.0 { 46 do_test func-1.1 { 50 do_test func-1.2 { 54 do_test func-1.3 { 58 do_test func-1.4 { 64 do_test func-2.0 { 67 do_test func-2.1 { [all …]
|
/illumos-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 …]
|
/illumos-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); 240 xt_one(int cix, xcfunc_t *func, uint64_t arg1, uint64_t arg2) in xt_one() argument 245 xt_one_unchecked(cix, func, arg1, arg2); in xt_one() 253 xt_one_unchecked(int cix, xcfunc_t *func, uint64_t arg1, uint64_t arg2) in xt_one_unchecked() argument 263 ASSERT(!DMV_IS_DMV(func)); in xt_one_unchecked() 269 ASSERT((uintptr_t)func >= KERNELBASE); in xt_one_unchecked() 281 send_self_xcall(CPU, arg1, arg2, func); in xt_one_unchecked() 283 XC_TRACE(XT_ONE_SELF, &tset, func, arg1, arg2); in xt_one_unchecked() 288 XC_TRACE(XT_ONE_OTHER, &tset, func, arg1, arg2); in xt_one_unchecked() 289 init_mondo(func, arg1, arg2); in xt_one_unchecked() [all …]
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | nhm_pci_cfg.c | 93 nhm_get_hdl(int bus, int dev, int func) in nhm_get_hdl() argument 99 dev < CPU_PCI_DEVS && func < CPU_PCI_FUNCS) { in nhm_get_hdl() 102 hdl = dev_pci_hdl[slot][dev][func]; in nhm_get_hdl() 110 nhm_pci_getb(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getb() argument 114 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_getb() 115 return (cmi_pci_getb(bus, dev, func, reg, interpose, hdl)); in nhm_pci_getb() 119 nhm_pci_getw(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getw() argument 123 hdl = nhm_get_hdl(bus, dev, func); in nhm_pci_getw() 124 return (cmi_pci_getw(bus, dev, func, reg, interpose, hdl)); in nhm_pci_getw() 128 nhm_pci_getl(int bus, int dev, int func, int reg, int *interpose) in nhm_pci_getl() argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_project.c | 37 char *func; in is_skipped_function() local 39 func = get_function(); in is_skipped_function() 40 if (!func) in is_skipped_function() 42 if (search_func(skipped_funcs, func)) in is_skipped_function() 53 char *func; in is_silenced_function() local 58 func = get_function(); in is_silenced_function() 59 if (!func) in is_silenced_function() 61 if (search_func(silenced_funcs, func)) in is_silenced_function() 76 const char *func; in register_no_return_funcs() local 90 func = show_ident(token->ident); in register_no_return_funcs() [all …]
|
H A D | smatch_recurse.c | 23 int (func)(struct expression *expr, void *p), in recurse() 31 ret = func(expr, param); in recurse() 41 ret = recurse(expr->unop, func, param, nr); in recurse() 44 ret = recurse(expr->unop, func, param, nr); in recurse() 53 ret = recurse(expr->left, func, param, nr); in recurse() 56 ret = recurse(expr->right, func, param, nr); in recurse() 59 ret = recurse(expr->right, func, param, nr); in recurse() 62 ret = recurse(expr->left, func, param, nr); in recurse() 65 ret = recurse(expr->deref, func, param, nr); in recurse() 68 ret = recurse(expr->base, func, param, nr); in recurse() [all …]
|
H A D | check_all_func_returns.c | 29 const char *func = expr_to_str(expr->fn); in check_func_return() local 33 sm_error("unknown type for func '%s'", func); in check_func_return() 38 sm_error("func '%s' is not a call site", func); in check_func_return() 45 if (strcmp(func, "memcpy") == 0 || in check_func_return() 46 strcmp(func, "memmove") == 0 || in check_func_return() 47 strcmp(func, "memset") == 0) in check_func_return() 55 if (strcmp(func, "printf") == 0 || strcmp(func, "vprintf") == 0) in check_func_return() 58 if (strcmp(func, "fprintf") == 0 || strcmp(func, "vfprintf")) { in check_func_return()
|
/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcie_nvidia.c | 50 uchar_t func, boolean_t *slot_valid, ushort_t *slot_number, in check_if_device_is_pciex() argument 62 status = (*pci_getw_func)(bus, dev, func, PCI_CONF_STAT); in check_if_device_is_pciex() 66 capsp = (*pci_getb_func)(bus, dev, func, PCI_CONF_CAP_PTR); in check_if_device_is_pciex() 69 cap = (*pci_getb_func)(bus, dev, func, capsp); in check_if_device_is_pciex() 75 "capability found\n", bus, dev, func); in check_if_device_is_pciex() 78 status = (*pci_getw_func)(bus, dev, func, capsp + 2); in check_if_device_is_pciex() 95 slot_cap = (*pci_getl_func)(bus, dev, func, in check_if_device_is_pciex() 105 capsp = (*pci_getb_func)(bus, dev, func, in check_if_device_is_pciex() 121 uchar_t dev, func; in look_for_any_pciex_device() local 128 for (func = 0; func < nfunc; func++) { in look_for_any_pciex_device() [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_cpuid.c | 146 cpuid_find_entry(const vcpu_cpuid_config_t *cfg, uint32_t func, uint32_t idx) in cpuid_find_entry() argument 174 if (ent->vce_function == func) { in cpuid_find_entry() 183 } else if (ent->vce_function > func) { in cpuid_find_entry() 185 (func & CPUID_TYPE_MASK)) { in cpuid_find_entry() 228 cpuid_apply_runtime_reg_state(struct vm *vm, int vcpuid, uint32_t func, in cpuid_apply_runtime_reg_state() argument 235 switch (func) { in cpuid_apply_runtime_reg_state() 271 cpuid_count(func, index, regs); in cpuid_apply_runtime_reg_state() 360 uint32_t func, index; in vcpu_emulate_cpuid() local 368 func = (uint32_t)*rax; in vcpu_emulate_cpuid() 376 const struct vcpu_cpuid_entry *ent = cpuid_find_entry(cfg, func, in vcpu_emulate_cpuid() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_pci.c | 83 gfxp_pci_get_bsf(dev_info_t *dip, uint8_t *bus, uint8_t *dev, uint8_t *func) in gfxp_pci_get_bsf() argument 100 *func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in gfxp_pci_get_bsf() 114 uint8_t bus, dev, func; in gfxp_pci_find_bsf() local 132 if (gfxp_pci_get_bsf(dip, &bus, &dev, &func) != DDI_SUCCESS) in gfxp_pci_find_bsf() 138 (func == pci_bsf->function)) { in gfxp_pci_find_bsf() 196 uint8_t bus, dev, func; in gfxp_pci_read_byte() local 201 if (gfxp_pci_get_bsf(dip, &bus, &dev, &func) != DDI_SUCCESS) in gfxp_pci_read_byte() 204 val = (*pci_getb_func)(bus, dev, func, offset); in gfxp_pci_read_byte() 213 uint8_t bus, dev, func; in gfxp_pci_read_word() local 218 if (gfxp_pci_get_bsf(dip, &bus, &dev, &func) != DDI_SUCCESS) in gfxp_pci_read_word() [all …]
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_boot.c | 267 uchar_t func; member 297 static int get_pci_cap(uchar_t bus, uchar_t dev, uchar_t func, uint8_t cap_id); 889 get_pci_cap(uchar_t bus, uchar_t dev, uchar_t func, uint8_t cap_id) in get_pci_cap() argument 900 status = pci_getw(bus, dev, func, PCI_CONF_STAT); in get_pci_cap() 904 cap_id_loc = pci_getb(bus, dev, func, PCI_CONF_CAP_PTR); in get_pci_cap() 908 curcap = pci_getb(bus, dev, func, cap_id_loc); in get_pci_cap() 914 cap_id_loc = pci_getb(bus, dev, func, cap_id_loc + 1); in get_pci_cap() 984 set_ppb_res(uchar_t bus, uchar_t dev, uchar_t func, mem_res_t type, in set_ppb_res() argument 994 pci_putb(bus, dev, func, PCI_BCNF_IO_BASE_LOW, in set_ppb_res() 996 pci_putb(bus, dev, func, PCI_BCNF_IO_LIMIT_LOW, in set_ppb_res() [all …]
|
/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() 67 func(taskq->hba, arg); in emlxs_taskq_thread() 84 emlxs_taskq_dispatch(emlxs_taskq_t *taskq, void (*func) (), void *arg) in emlxs_taskq_dispatch() argument 128 tthread->func = func; in emlxs_taskq_dispatch() 260 void (*func) (); in emlxs_thread() local 269 func = ethread->func; in emlxs_thread() 273 func(hba, arg1, arg2); in emlxs_thread() 319 if (ethread->func) { in emlxs_thread() [all …]
|