/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | stat.c | 598 GCompareFunc func; local 657 func = (GCompareFunc)lt_sort_by_total_desc; 660 func = (GCompareFunc)lt_sort_by_max_desc; 663 func = (GCompareFunc)lt_sort_by_avg_desc; 666 func = (GCompareFunc)lt_sort_by_count_desc; 669 list = g_list_sort(list, func);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | main.c | 96 static void ck_w_dryrun(int (*func)(), int type); 2701 ck_w_dryrun(int (*func)(), int type) argument 2705 n = func();
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipclassifier.c | 174 * void ipcl_walk(func, arg, ip_stack) 176 * Apply 'func' to every connection available. The 'func' is called as 177 * (*func)(connp, arg). The walk is non-atomic so connections may be 2335 ipcl_walk(pfv_t func, void *arg, ip_stack_t *ipst) argument 2357 (*func)(connp, arg);
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_map.c | 222 int (*func)(), 313 me->me_func = func; 408 int (*func)(); 423 func = me->me_func; 429 (*func)(ul->un_ufsvfs, dtyp, arg)) 217 deltamap_add( mt_map_t *mtm, offset_t mof, off_t nb, delta_t dtyp, int (*func)(), ulong_t arg, threadtrans_t *tp) argument
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5.c | 702 const u32_t func = FUNC_ID(pdev); local 710 TSTORM_ISCSI_L2_ISCSI_OOO_CONS_OFFSET(func), 715 TSTORM_ISCSI_L2_ISCSI_OOO_CID_TABLE_OFFSET(func), 720 TSTORM_ISCSI_L2_ISCSI_OOO_CLIENT_ID_TABLE_OFFSET(func), 750 const u32_t func = FUNC_ID(pdev); local 843 LM_INTMEM_WRITE16(pdev, TSTORM_ISCSI_RQ_SIZE_OFFSET(func), req1->rq_num_wqes, BAR_TSTRORM_INTMEM); 844 LM_INTMEM_WRITE16(pdev, TSTORM_ISCSI_PAGE_SIZE_OFFSET(func), LM_PAGE_SIZE, BAR_TSTRORM_INTMEM); 845 LM_INTMEM_WRITE8 (pdev, TSTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(func), LM_PAGE_BITS, BAR_TSTRORM_INTMEM); 846 LM_INTMEM_WRITE32(pdev, TSTORM_ISCSI_TCP_LOCAL_ADV_WND_OFFSET(func), 0x100000, BAR_TSTRORM_INTMEM); 847 LM_INTMEM_WRITE16(pdev, TSTORM_ISCSI_NUM_OF_TASKS_OFFSET(func), req 933 u32_t func; local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_hw_access.c | 1457 * Indexed with func ID (0-7). 1495 u8_t const func = FUNC_ID(pdev); local 1506 DbgBreakIf(func >= ARRSIZE(lm_hw_lock_table)); 1507 hw_lock_cntr_reg = lm_hw_lock_table[func]; 1553 u8_t const func = FUNC_ID(pdev); local 1564 DbgBreakIf(func >= ARRSIZE(lm_hw_lock_table)); 1565 hw_lock_cntr_reg = lm_hw_lock_table[func]; 1614 u8_t func = 0; local 1623 for (func = 0; func < MAX_FUNC_NU [all...] |
H A D | lm_resc.c | 56 u8_t func = 0; local 92 func = FUNC_ID(pdev); 97 LM_INTMEM_WRITE16(pdev, CSTORM_SP_HC_SYNC_LINE_INDEX_OFFSET(hc_sb_info->hc_index_value,func), 0, BAR_CSTRORM_INTMEM); 98 LM_INTMEM_READ16(pdev, CSTORM_SP_HC_SYNC_LINE_INDEX_OFFSET(hc_sb_info->hc_index_value,func), &rd_val, BAR_CSTRORM_INTMEM); 101 LM_INTMEM_WRITE16(pdev, (CSTORM_SP_STATUS_BLOCK_OFFSET(func) + OFFSETOF(struct hc_sp_status_block, index_values) + (hc_sb_info->hc_index_value * sizeof(u16_t))), 0, BAR_CSTRORM_INTMEM); 102 LM_INTMEM_READ16 (pdev, (CSTORM_SP_STATUS_BLOCK_OFFSET(func) + OFFSETOF(struct hc_sp_status_block, index_values) + (hc_sb_info->hc_index_value * sizeof(u16_t))), &rd_val, BAR_CSTRORM_INTMEM); 1837 // configure the CDU to have max_port_connections since it is a per-port register and not per-func, but it is OK to allocate
|
H A D | lm_sb.c | 606 u8_t func; local 615 func = FUNC_ID(pdev); 632 LM_INTMEM_WRITE8(pdev, CSTORM_SP_STATUS_BLOCK_DATA_STATE_OFFSET(func), 635 REG_WR_DMAE_LEN_ZERO(pdev, CSEM_REG_FAST_MEMORY + CSTORM_SP_SYNC_BLOCK_OFFSET(func), CSTORM_SP_SYNC_BLOCK_SIZE/4); 636 REG_WR_DMAE_LEN_ZERO(pdev, CSEM_REG_FAST_MEMORY + CSTORM_SP_STATUS_BLOCK_OFFSET(func), CSTORM_SP_STATUS_BLOCK_SIZE/4); 643 pdev->vars.gen_sp_status_block.sb_data.p_func.pf_id = func; 650 LM_INTMEM_WRITE32(PFDEV(pdev), CSTORM_SP_STATUS_BLOCK_DATA_OFFSET(func) + i*sizeof(u32_t), *((u32_t*)&pdev->vars.gen_sp_status_block.sb_data + i), BAR_CSTRORM_INTMEM); 667 DbgMessage(pdev, INFORMi, "init_status_blocks() inside! func:%d\n",FUNC_ID(pdev)); 1710 u8_t func = 0; local 1715 func [all...] |
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | wanboot.c | 134 print_errors(const char *func, http_handle_t handle) argument 143 "%s: errsrc %u, err %lu (0x%lx)", func, src, err, err);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kcpc.c | 158 kcpc_register_dcpc(void (*func)(uint64_t)) argument 160 dtrace_cpc_fire = func;
|
H A D | taskq.c | 155 * taskqid_t taskq_dispatch(tq, func, arg, flags): 157 * Dispatches the task "func(arg)" to taskq. The 'flags' indicates whether 163 * ASSUMES: func != NULL. 191 * void taskq_dispatch_ent(tq, func, arg, flags, tqent) 198 * until the function (func) is called. (However, func itself 255 * | | ... | | | func, arg | | | func, arg | | 364 * function sets their "func" and "arg" fields and signals the corresponding 366 * "func" fiel 1063 taskq_ent_exists(taskq_t *tq, task_func_t func, void *arg) argument 1085 taskq_bucket_dispatch(taskq_bucket_t *b, task_func_t func, void *arg) argument 1137 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) argument 1294 taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, uint_t flags, taskq_ent_t *tqe) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/ |
H A D | authamd_main.c | 227 authamd_pcicfg_write(uint_t procnodeid, uint_t func, uint_t reg, uint32_t val) argument 230 ASSERT((func & 7) == func); 233 cmi_pci_putl(0, procnodeid + 24, func, reg, 0, val); 237 authamd_pcicfg_read(uint_t procnodeid, uint_t func, uint_t reg) argument 240 ASSERT((func & 7) == func); 243 return (cmi_pci_getl(0, procnodeid + 24, func, reg, 0, 0));
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_impl.c | 934 int bus, device, func; local 956 if (acpica_get_bdf(iommu->aiomt_dip, &bus, &device, &func) 965 (uint8_t)func; 1416 int bus, device, func, bdf; local 1452 if (acpica_get_bdf(pci_dip, &bus, &device, &func) != DDI_SUCCESS) { 1466 bdf = ((uint8_t)bus << 8) | ((uint8_t)device << 3) | (uint8_t)func;
|
H A D | amd_iommu_page_tables.c | 242 int func = -1; local 283 if (acpica_get_bdf(pci_dip, &bus, &device, &func) != DDI_SUCCESS) { 296 func > UINT8_MAX || func < 0) { 300 bus, device, func, 305 bdf = ((uint8_t)bus << 8) | ((uint8_t)device << 3) | (uint8_t)func;
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | isa.c | 1035 int func; local 1092 func = (isa_regs[0].size >> 24) & 0xff; 1093 if (func != 0) 1095 vendor, device, serial, func);
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.c | 79 int dev, func, length; local 115 func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); 122 if (func != 0) { 123 (void) snprintf(name, namelen, "%x,%x", dev, func);
|
/illumos-gate/usr/src/uts/common/io/sbp2/ |
H A D | sbp2.c | 474 sbp2_tgt_task_mgt_request(sbp2_tgt_t *tp, uint16_t id, int func, uint64_t orbp, argument 485 torb->to_params = SBP2_SWAP16(func | SBP2_ORB_NOTIFY |
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/ |
H A D | rdsv3_impl.h | 259 rdsv3_work_func_t func; member in struct:rdsv3_work_s 270 #define RDSV3_INIT_WORK(wp, f) (wp)->func = f 272 (dwp)->work.func = f; \
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 1303 krb5_error_code(*func) (krb5_pointer, krb5_db_entry *), 1351 retval = (*func) (func_arg, &entries); 1383 krb5_error_code(*func) (krb5_pointer, krb5_db_entry *), 1414 return krb5_db2_db_iterate_ext(context, func, func_arg, backwards, recursive); 1816 osa_adb_iter_policy_func func, void *data) 1824 return osa_adb_iter_policy(dbc->policy_db, func, data); 1814 krb5_db2_iter_policy(krb5_context kcontext, char *match_entry, osa_adb_iter_policy_func func, void *data) argument
|
/illumos-gate/usr/src/uts/sun4/cpu/ |
H A D | cpu_module.c | 111 init_mondo(xcfunc_t func, uint64_t arg1, uint64_t arg2) argument
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | simba.c | 650 uint_t n, slot, func; local 683 func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); 685 if (func != 0) 686 (void) snprintf(name, namelen, "%x,%x", slot, func);
|
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ |
H A D | hsc.c | 301 static const char func[] = "hsc_disconnect"; local 310 func, hsp->hs_slot_number); 318 func, hsp->hs_slot_number); 1157 static const char func[] = "hsc_slot_occupancy"; local 1170 func, slot_number);
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xen_machdep.c | 255 xen_set_callback(void (*func)(void), uint_t type, uint_t flags) argument 261 cb.address = (ulong_t)func; 264 cb.address.eip = (ulong_t)func;
|
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 67 struct buf *bp, void (*cb_func)(struct buf *), int (*func)(caddr_t), 70 static int dadk_pkt(opaque_t com_data, struct buf *bp, int (*func)(caddr_t), 1144 dadk_pkt(opaque_t com_data, struct buf *bp, int (*func)(caddr_t), caddr_t arg) argument 1152 pktp = dadk_pktprep(dadkp, NULL, bp, dadk_iodone, func, arg); 1225 void (*cb_func)(struct buf *), int (*func)(caddr_t), caddr_t arg) 1229 pktp = gda_pktprep(dadkp->dad_ctlobjp, in_pktp, (opaque_t)bp, func, 1224 dadk_pktprep(struct dadk *dadkp, struct cmpkt *in_pktp, struct buf *bp, void (*cb_func)(struct buf *), int (*func)(caddr_t), caddr_t arg) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndp.c | 222 ndp_run_in_child(ndp_void_f *func) argument 231 func(); 320 ndp_run_periodically(time_t period, ndp_void_f *func) argument 330 ndp_run_in_child(func);
|