/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | cryptoadm.c | 240 get_dev_list(dev_t dev, caddr_t arg, int mode, int *rval) argument 298 get_soft_list(dev_t dev, caddr_t arg, int mode, int *rval) argument 305 STRUCT_INIT(soft_list, mode); 358 get_dev_info(dev_t dev, caddr_t arg, int mode, int *rval) argument 429 get_soft_info(dev_t dev, caddr_t arg, int mode, int *rval) argument 496 load_dev_disabled(dev_t dev, caddr_t arg, int mode, int *rval) argument 572 load_soft_disabled(dev_t dev, caddr_t arg, int mode, int *rval) argument 652 load_soft_config(dev_t dev, caddr_t arg, int mode, int *rval) argument 732 unload_soft_module(dev_t dev, caddr_t arg, int mode, int *rval) argument 773 cryptoadm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_ argument [all...] |
H A D | dca_3des.c | 288 dca_3desfinal(crypto_ctx_t *ctx, crypto_data_t *out, int mode) argument 302 if (mode & DR_DECRYPT) { 317 int kmflag, crypto_req_handle_t req, int mode) 331 if (mode & DR_DECRYPT) { 338 rv = dca_3desctxinit(&ctx, mechanism, key, kmflag, mode); 356 rv = dca_3des(&ctx, input, output, req, mode); 314 dca_3desatomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input, crypto_data_t *output, int kmflag, crypto_req_handle_t req, int mode) argument
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/ |
H A D | bnxe_fw_funcs.c | 8 /* Vnics per mode */ 20 /* Vnics per mode */ 23 /* COS offset for port1 in E3 B0 4port mode */ 50 /* update parameters for 4port mode */ 94 void ecore_dcb_config_qm(struct _lm_device_t *pdev, enum cos_mode mode, argument 103 if (mode != STATIC_COS) { 104 /* required only in OVERRIDE_COS mode */ 130 * ram according to the appropriate port mode.
|
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_cfgrom.c | 105 av1394_ioctl_node_get_bus_name(av1394_inst_t *avp, void *arg, int mode) argument 122 if (ddi_copyout(&val, arg, sizeof (uint32_t), mode) != 0) { 135 av1394_ioctl_node_get_uid(av1394_inst_t *avp, void *arg, int mode) argument 155 if (ddi_copyout(&eui64, arg, sizeof (uint64_t), mode) != 0) { 168 av1394_ioctl_node_get_text_leaf(av1394_inst_t *avp, void *arg, int mode) argument 187 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 188 if (ddi_copyin(arg, &tl32, sizeof (tl32), mode) != 0) { 196 if (ddi_copyin(arg, &tl, sizeof (tl), mode) != 0) { 253 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 259 if (ddi_copyout(&tl32, arg, sizeof (tl32), mode) ! [all...] |
H A D | av1394_cmp.c | 157 av1394_ioctl_plug_init(av1394_inst_t *avp, void *arg, int mode) argument 162 if (ddi_copyin(arg, &pi, sizeof (pi), mode) != 0) { 185 if (ddi_copyout(&pi, arg, sizeof (pi), mode) != 0) { 198 av1394_ioctl_plug_fini(av1394_inst_t *avp, void *arg, int mode) argument 226 av1394_ioctl_plug_reg_read(av1394_inst_t *avp, void *arg, int mode) argument 234 if (ddi_copyin(arg, &pr, sizeof (pr), mode) != 0) { 263 if (ddi_copyout(&pr, arg, sizeof (pr), mode) != 0) { 275 av1394_ioctl_plug_reg_cas(av1394_inst_t *avp, void *arg, int mode) argument 283 if (ddi_copyin(arg, &pl, sizeof (pl), mode) != 0) { 317 if (ddi_copyout(&pl, arg, sizeof (pl), mode) ! [all...] |
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.c | 98 int mode) 105 status = aac_check_revision(softs, arg, mode); 113 status = aac_ioctl_send_fib(softs, arg, mode); 117 status = aac_open_getadapter_fib(softs, arg, mode); 121 status = aac_next_getadapter_fib(softs, arg, mode); 129 status = aac_send_raw_srb(softs, dev, arg, mode); 133 status = aac_get_pci_info(softs, arg, mode); 137 status = aac_query_disk(softs, arg, mode); 141 status = aac_delete_disk(softs, arg, mode); 145 status = aac_supported_features(softs, arg, mode); 97 aac_do_ioctl(struct aac_softstate *softs, dev_t dev, int cmd, intptr_t arg, int mode) argument 159 aac_check_revision(struct aac_softstate *softs, intptr_t arg, int mode) argument 217 aac_ioctl_send_fib(struct aac_softstate *softs, intptr_t arg, int mode) argument 309 aac_open_getadapter_fib(struct aac_softstate *softs, intptr_t arg, int mode) argument 357 aac_next_getadapter_fib(struct aac_softstate *softs, intptr_t arg, int mode) argument 434 aac_send_raw_srb(struct aac_softstate *softs, dev_t dev, intptr_t arg, int mode) argument 639 aac_get_pci_info(struct aac_softstate *softs, intptr_t arg, int mode) argument 668 aac_query_disk(struct aac_softstate *softs, intptr_t arg, int mode) argument 705 aac_delete_disk(struct aac_softstate *softs, intptr_t arg, int mode) argument 741 aac_supported_features(struct aac_softstate *softs, intptr_t arg, int mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_ctl.c | 39 aggr_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 81 aggr_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 107 ports_size, mode) != 0) { 127 aggr_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 137 int mode; member in struct:aggr_ioc_info_state 161 if (ddi_copyout(&grp, state->where, sizeof (grp), state->mode) != 0) 185 if (ddi_copyout(&port, state->where, sizeof (port), state->mode) != 0) 196 aggr_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 203 state.mode = mode; 210 aggr_ioc_add_remove(laioc_add_rem_t *add_rem_arg, intptr_t arg, int cmd, int mode) argument 247 aggr_ioc_add(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 254 aggr_ioc_remove(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_ddi.c | 389 audio_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 398 rv = (c->c_ioctl == NULL) ? ENXIO : c->c_ioctl(c, cmd, arg, mode,
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 48 t4_ioctl(struct adapter *sc, int cmd, void *data, int mode) argument 55 rc = pci_rw(sc, data, mode, cmd == T4_IOCTL_PCIPUT32); 59 rc = reg_rw(sc, data, mode, cmd == T4_IOCTL_PUT32); 62 rc = regdump(sc, data, mode); 65 rc = get_sge_context(sc, data, mode); 68 rc = get_devlog(sc, data, mode); 71 rc = read_card_mem(sc, data, mode); 74 rc = read_tid_tab(sc, data, mode); 77 rc = read_mbox(sc, data, mode); 80 rc = read_cim_la(sc, data, mode); [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpool.c | 196 pool_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 232 model = ddi_model_convert_from(mode & FMODELS); 261 sizeof (pool_status_t), mode) != 0) 274 sizeof (pool_status_t), mode) != 0) 282 sizeof (pool_query32_t), mode) != 0) 291 sizeof (pool_query_t), mode) != 0) 329 sizeof (pool_query32_t), mode) != 0) 337 sizeof (pool_query_t), mode) != 0) 341 ddi_copyout(kbuf, query.pq_io_buf, size, mode) != 0) 350 &create, sizeof (pool_create_t), mode) ! [all...] |
H A D | gentty.c | 303 syioctl(dev_t dev, int cmd, intptr_t arg, int mode, struct cred *cr, argument 329 error = VOP_IOCTL(sp->s_vp, cmd, arg, mode, cr, rvalp, NULL);
|
H A D | i8237A.c | 167 * purpose: resets the 8237A mode. 321 dprintf(("d37A_prog_chan err: chnl=%d in cascade mode\n", 327 dprintf(("d37A_prog_chan err: memory to memory mode not supported.\n")); 557 uchar_t mode = 0, emode = 0; local 563 mode = chnl & 3; 567 mode |= DMAMODE_READ; 570 mode |= DMAMODE_WRITE; 573 mode |= DMAMODE_VERF; 576 mode |= 0x0C; /* for Adaptec 1st party DMA on chnl 0 */ 583 mode | [all...] |
H A D | pseudonex.c | 290 int cmd, intptr_t arg, int mode, cred_t *cred_p, int *rval_p) 299 return (ndi_devctl_ioctl(pnx_state->pnx_devi, cmd, arg, mode, 0)); 289 pseudonex_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, int *rval_p) argument
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | stdio.c | 146 * We currently only support read-only ("r" mode) opens and unbuffered I/O. 149 fopen(const char *filename, const char *mode) argument 163 for (t = mode; t != NULL && *t != '\0'; t++) {
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | acctctl.c | 429 int mode = AC_MODE(cmd); local 444 switch (mode) { /* sanity check */ 476 if ((mode == AC_FLOW || mode == AC_NET) && 489 if ((mode == AC_FLOW || mode == AC_NET) && 502 if ((mode == AC_FLOW || mode == AC_NET) &&
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | inflate.h | 58 (most modes can go to the BAD or MEM mode -- not shown for clarity) 80 inflate_mode mode; /* current inflate mode */ member in struct:inflate_state
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/ |
H A D | acpinex_drv.c | 506 acpinex_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 509 _NOTE(ARGUNUSED(cmd, arg, mode, credp, rvalp));
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu.c | 55 static int amd_iommu_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 411 amd_iommu_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 426 if (!(mode & (FREAD|FWRITE))) { 427 cmn_err(CE_WARN, "%s: invalid mode %d", f, mode); 431 if (mode & FKIOCTL) { 432 cmn_err(CE_WARN, "%s: FKIOCTL unsupported mode %d", f, mode);
|
/illumos-gate/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_drv.c | 87 fipe_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 100 if ((mode & FWRITE) == 0) { 111 if ((mode & FWRITE) == 0) { 122 if ((mode & FREAD) == 0) { 129 sizeof (policy), mode); 135 if ((mode & FWRITE) == 0) {
|
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_timer.c | 45 * preferred apic timer mode, allow tuning from the /etc/system file. 74 int mode; member in struct:apic_timer 85 * For the one-shot mode request case, the function returns the 87 * If one-shot mode capability is not available, the return value 137 * here, APIC_TIMER_DEADLINE is also an one_shot mode. 168 apic_timer.mode = timer_mode; 195 * periodic timer mode ops 218 /* time is the interval for periodic mode */ 228 * oneshot timer mode ops 286 * deadline timer mode op [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser.c | 432 iser_ioctl(dev_t devp, int cmd, intptr_t arg, int mode, cred_t *credp, argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_cm.c | 870 ibt_execution_mode_t mode, ibt_channel_hdl_t *chanhdl) 881 RDS_DPRINTF2("rds_open_rc_channel", "Enter: EP(%p) mode: %d", ep, mode); 927 mode, &ocargs, &ocrets); 955 rds_close_rc_channel(ibt_channel_hdl_t chanhdl, ibt_execution_mode_t mode) argument 960 chanhdl, mode); 962 ret = ibt_close_rc_channel(chanhdl, mode, NULL, 0, NULL, NULL, 0); 869 rds_open_rc_channel(rds_ep_t *ep, ibt_path_info_t *pinfo, ibt_execution_mode_t mode, ibt_channel_hdl_t *chanhdl) argument
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | niu.c | 306 /* set mii mode */ 321 /* set gmii mode */ 399 /* Set promiscuous mode for a GbE interface */ 402 unm_niu_prom_mode_t mode) 438 /* now set promiscuous mode */ 440 if (mode == UNM_NIU_PROMISCOUS_MODE) 550 unm_niu_prom_mode_t mode) 603 /* now set promiscuous mode */ 607 if (mode == UNM_NIU_PROMISCOUS_MODE) { 609 } else { /* FIXME use the correct mode valu 401 unm_niu_set_promiscuous_mode(struct unm_adapter_s *adapter, unm_niu_prom_mode_t mode) argument 549 unm_niu_xg_set_promiscuous_mode(struct unm_adapter_s *adapter, unm_niu_prom_mode_t mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_sata.c | 156 * Note that PIO mode here means that the PMCS firmware 621 pmcs_run_sata_cmd(pmcs_hw_t *pwp, pmcs_phy_t *pptr, fis_t fis, uint32_t mode, argument 642 msg[4] = LE_32(mode | ddir);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | asym_sun.c | 80 int *mode, int *ownership, int *xlf_capable); 88 int xlf = 0, mode = 0, ownership = 0; local 98 purple_get_fo_mode(sd, &mode, &ownership, &xlf); 99 if (mode == SCSI_EXPLICIT_FAILOVER) 118 purple_get_fo_mode(struct scsi_device *sd, int *mode, argument 127 *mode = *ownership = *xlf_capable = 0; 154 VHCI_DEBUG(4, (CE_NOTE, NULL, "!(sd:%p)failed to get mode" 166 " implicit mode\n", (void *)sd)); 167 *mode = SCSI_IMPLICIT_FAILOVER; 172 *mode 227 int mode, ownership, retval, xlf; local 442 int retval, mode, ownership, xlf; local [all...] |