/illumos-gate/usr/src/uts/i86pc/i86hvm/io/ |
H A D | xdf_shell.c | 494 xdfs_open(dev_t *dev_p, int flag, int otyp, cred_t *credp) argument 510 return (xdfs_hvm_cb_ops->cb_open(dev_p, flag, otyp, credp)); 537 err = ldi_open_by_dev(&tgt_devt, OTYP_BLK, flag, credp, 554 err = ldi_open_by_dev(&tgt_devt, OTYP_BLK, flag, credp, 564 (void) ldi_close(lh_tmp, flag, credp); 576 xdfs_close(dev_t dev, int flag, int otyp, cred_t *credp) argument 593 return (xdfs_hvm_cb_ops->cb_close(dev, flag, otyp, credp)); 616 err = ldi_close(xsp->xdfss_tgt_lh[part], flag, credp); 668 * XB_SLICE_NONE and we need to propegate this flag into the 778 xdfs_ioctl(dev_t dev, int cmd, intptr_t arg, int flag, cred_ argument [all...] |
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/ |
H A D | xpv_support.c | 379 * the entire tree to clear the suspend flag. 775 xpv_open(dev_t *dev, int flag, int otyp, cred_t *cr) argument
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_util.c | 374 /* Sync DEVICE_CREATED flag. */ 519 acpidev_data_set_flag(acpidev_data_handle_t hdl, uint32_t flag) argument 522 atomic_or_32(&hdl->aod_eflag, flag); 526 acpidev_data_clear_flag(acpidev_data_handle_t hdl, uint32_t flag) argument 529 atomic_and_32(&hdl->aod_eflag, ~flag); 533 acpidev_data_get_flag(acpidev_data_handle_t hdl, uint32_t flag) argument 536 return (hdl->aod_eflag & flag);
|
/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/ |
H A D | hpcsvc.c | 300 hpc_alloc_slot_ops(int flag) argument 304 ops = (hpc_slot_ops_t *)kmem_zalloc(sizeof (hpc_slot_ops_t), flag);
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_qp.c | 92 int status, flag; local 543 * flag in the call to hermon_mr_register(). This guarantees that the 548 flag = (sleepflag == HERMON_SLEEP) ? IBT_MR_SLEEP : 553 mr_attr.mr_flags = flag; 790 int status, flag, i, j; local 1054 * alignment restriction, we pass the "mro_bind_override_addr" flag in 1060 flag = (sleepflag == HERMON_SLEEP) ? IBT_MR_SLEEP : 1065 mr_attr.mr_flags = flag; 1252 int status, flag; local 1651 * flag i [all...] |
H A D | hermon_umap.c | 1926 uint64_t *value, uint_t flag, hermon_umap_db_entry_t **umapdb) 1931 status = hermon_umap_db_find_nolock(instance, key, type, value, flag, 2029 * HERMON_UMAP_DB_IGNORE_INSTANCE flag here because we don't know 2161 hermon_umap_db_set_onclose_cb(dev_t dev, uint64_t flag, argument 2175 if (flag != HERMON_ONCLOSE_FLASH_INPROGRESS) { 2223 hermon_umap_db_clear_onclose_cb(dev_t dev, uint64_t flag) argument 2236 if (flag != HERMON_ONCLOSE_FLASH_INPROGRESS) { 1925 hermon_umap_db_find(uint_t instance, uint64_t key, uint_t type, uint64_t *value, uint_t flag, hermon_umap_db_entry_t **umapdb) argument
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cq.c | 54 uint_t flag); 79 int status, i, flag; local 229 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : IBT_MR_NOSLEEP; 233 mr_attr.mr_flags = flag | IBT_MR_ENABLE_LOCAL_WRITE; 559 int status, i, flag; local 633 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : IBT_MR_NOSLEEP; 637 mr_attr.mr_flags = flag | IBT_MR_ENABLE_LOCAL_WRITE; 1388 * the flag only if it is non-QP1. 1636 tavor_cqe_sync(tavor_cqhdl_t cq, tavor_hw_cqe_t *cqe, uint_t flag) argument 1655 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_cqe_t), flag); [all...] |
H A D | tavor_event.c | 56 static void tavor_eqe_sync(tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe, uint_t flag, 109 * MSI enable flag. Otherwise, for regular (i.e. 'legacy') interrupt, 154 * TAVOR_EVT_NO_MASK flag, it is not possible for 1253 * however, is in the TAVOR_EQ_EVT_UNMAP flag that is passed to the 1292 tavor_eqe_sync(tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe, uint_t flag, argument 1312 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_eqe_t), flag);
|
H A D | tavor_misc.c | 50 uint_t flag); 85 int status, i, flag; local 161 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : IBT_MR_NOSLEEP; 165 mr_attr.mr_flags = flag; 512 tavor_udav_sync(tavor_ahhdl_t ah, tavor_hw_udav_t *udav, uint_t flag) argument 533 status = ddi_dma_sync(dmahdl, offset, sizeof (tavor_hw_udav_t), flag); 704 * MCG by checking the 'qp_found' flag returned from the 765 * not added on to the list again. Check the flag 'qp_found' 806 * MCG by checking the 'qp_found' flag returned from the 866 * the list again. Check the flag 'qp_foun 2350 int flag, status; local [all...] |
H A D | tavor_qp.c | 88 int status, flag; local 96 * Check the "options" flag. Currently this flag tells the driver 451 * "mro_bind_override_addr" flag in the call to tavor_mr_register(). 457 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : 462 mr_attr.mr_flags = flag; 669 int status, flag; local 675 * Check the "options" flag. Currently this flag tells the driver 913 * "mro_bind_override_addr" flag i [all...] |
H A D | tavor_rsrc.c | 183 int flag, status = DDI_FAILURE; local 196 flag = (sleepflag == TAVOR_SLEEP) ? KM_SLEEP : KM_NOSLEEP; 198 flag); 1270 * TAVOR_SWHDL_TABLE_INIT flag. The table has as many tavor_cqhdl_t 1321 * TAVOR_SWHDL_TABLE_INIT flag. The table has as many 1391 * TAVOR_SWHDL_TABLE_INIT flag. The table has as many tavor_qphdl_t 2364 int flag; local 2385 flag = (sleepflag == TAVOR_SLEEP) ? VM_SLEEP : VM_NOSLEEP; 2389 align, 0, 0, NULL, NULL, flag | VM_FIRSTFIT); 2450 int flag; local 2503 int flag, status; local [all...] |
H A D | tavor_umap.c | 1582 uint64_t *value, uint_t flag, tavor_umap_db_entry_t **umapdb) 1589 status = tavor_umap_db_find_nolock(instance, key, type, value, flag, 1694 * TAVOR_UMAP_DB_IGNORE_INSTANCE flag here because we don't know 1844 tavor_umap_db_set_onclose_cb(dev_t dev, uint64_t flag, argument 1863 if (flag != TAVOR_ONCLOSE_FLASH_INPROGRESS) { 1921 tavor_umap_db_clear_onclose_cb(dev_t dev, uint64_t flag) argument 1939 if (flag != TAVOR_ONCLOSE_FLASH_INPROGRESS) { 1581 tavor_umap_db_find(uint_t instance, uint64_t key, uint_t type, uint64_t *value, uint_t flag, tavor_umap_db_entry_t **umapdb) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsddi.c | 173 rds_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | openprom.c | 116 D_NEW | D_MP /* Driver compatibility flag */ 255 opromopen(dev_t *devp, int flag, int otyp, cred_t *credp) argument 302 opromclose(dev_t dev, int flag, int otype, cred_t *cred_p) argument 1181 oprom_copytree(struct oprom_state *st, uint_t flag) argument 1185 prom_nextnode(0), flag, &st->snapshot, &st->size)); 1191 uint_t flag; local 1196 /* copyin flag and create snapshot */ 1197 if ((copyin((void *)arg, &flag, sizeof (uint_t)) != 0) || 1198 (oprom_copytree(st, flag) != 0)) { 1205 flag 1255 oprom_copyprop(pnode_t nodeid, uint_t flag, nvlist_t *nvl) argument 1317 oprom_copychild(pnode_t nodeid, uint_t flag, char **buf, size_t *size) argument 1349 oprom_copynode(pnode_t nodeid, uint_t flag, char **buf, size_t *size) argument [all...] |
H A D | ramdisk.c | 972 rd_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument 984 if ((flag & FEXCL) != FEXCL || otyp != OTYP_CHR) { 1023 rd_close(dev_t dev, int flag, int otyp, struct cred *credp) argument 1093 * bootops_obp_ramdisk_disabled flag to true, and we check if the operation
|
H A D | rlmod.c | 311 rlmodclose(queue_t *q, int flag, cred_t *credp) argument 1099 * control flag and the start and stop flow control 1199 * Send negative ack if RL_DISABLED flag is not set 1222 * control flag and the start and stop flow control
|
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/ |
H A D | spppasyn.c | 114 * Don't send HDLC start flag if last transmit is within 1.5 seconds - 393 spppasyn_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument 429 spppasyn_close(queue_t *q, int flag, cred_t *credp) argument 543 /* Grab flag value */ 574 /* Grab flag value */ 1170 * any) and a trailing flag byte. 1230 * And finally append the HDLC flag, and send it away 1445 * So we have a HDLC flag ... 1534 /* Neither flag can possibly be set here. */ 1547 * escape, set the flag fo [all...] |
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | spppcomp.c | 234 spppcomp_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument 270 spppcomp_close(queue_t *q, int flag, cred_t *credp) argument 319 int flag; local 344 flag = spppcomp_mctl(q, mp); 346 if (flag != 0) 979 int flag; local 993 flag = spppcomp_inner_ioctl(q, mp); 995 if (flag == -1) { 997 } else if (flag == 0) { 1001 miocnak(q, mp, 0, flag); [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_net.c | 445 int flag = msg->msg_flags; local 446 (void) ksocket_sendmsg(ks, msg, flag, &sent, CRED());
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses.c | 149 D_MP | D_NEW | D_HOTPLUG /* Driver compatibility flag */ 151 D_MP | D_NEW | D_HOTPLUG, /* Driver compatibility flag */ 664 ses_open(dev_t *dev_p, int flag, int otyp, cred_t *cred_p) argument 694 ses_close(dev_t dev, int flag, int otyp, cred_t *cred_p) argument
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_fp.c | 996 uint16_t flag) 1002 * flag can be specified. 1004 ASSERT((flag & ~MAC_DROP_ON_NO_DESC) == 0); 1025 if ((flag & MAC_DROP_ON_NO_DESC) != 0) 1048 if ((flag & MAC_DROP_ON_NO_DESC) != 0) 995 softmac_fastpath_wput_data(softmac_upper_t *sup, mblk_t *mp, uintptr_t f_hint, uint16_t flag) argument
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbkbm/ |
H A D | usbkbm.c | 592 usbkbm_close(register queue_t *q, int flag, cred_t *crp) argument 604 * our open flag first, so we don't accept any more input
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbskel/ |
H A D | usbskel.c | 553 usbskel_open(dev_t *devp, int flag, int otyp, cred_t *cred_p) argument 636 usbskel_close(dev_t dev, int flag, int otyp, cred_t *cred_p) argument
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhci.c | 47 static int uhci_close(dev_t dev, int flag, int otyp, cred_t *credp); 73 D_MP /* Driver compatibility flag */ 488 int i, flag, ret; local 523 flag = (intr_type == DDI_INTR_TYPE_MSI) ? 528 intr_type, 0, count, &actual, flag); 1148 /* set tw->tw_claim flag, so that nobody else works on this td. */ 1258 * Check usb flag whether USB_FLAGS_ONE_XFER flag is set 1272 /* Clear the tw->tw_claim flag */ 1665 * And set the tw_claim flag 1890 uhci_close(dev_t dev, int flag, int otyp, cred_t *credp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/usb/usb_mid/ |
H A D | usb_mid.c | 111 uint_t flag, 116 uint_t flag, 433 usb_mid_bus_config(dev_info_t *dip, uint_t flag, ddi_bus_config_op_t op, argument 443 flag |= NDI_DEVI_DEBUG; 453 rval = ndi_busop_bus_config(dip, flag, op, arg, child, 0); 461 usb_mid_bus_unconfig(dev_info_t *dip, uint_t flag, ddi_bus_config_op_t op, argument 474 flag |= NDI_DEVI_DEBUG; 482 flag &= ~(NDI_DEVI_REMOVE | NDI_UNCONFIG); 486 rval = ndi_busop_bus_unconfig(dip, flag, op, arg); 489 (flag 1491 usb_mid_close(dev_t dev, int flag, int otyp, cred_t *credp) argument [all...] |