/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xdb.c | 170 xdb_kstat_update(kstat_t *ksp, int flag) argument 175 if (flag != KSTAT_READ)
|
H A D | xnb.c | 157 xnb_ks_aux_update(kstat_t *ksp, int flag) argument 162 if (flag != KSTAT_READ) 1401 * The peer used flag bits that we do not 1405 "unexpected flag bits (0x%x) from peer "
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_mbx.c | 1581 uint16_t flag; local 1590 flag = (uint16_t)(RESERVED_LOOP_ID(ha, tq->loop_id) ? 1593 rval = ql_log_iocb(ha, tq, tq->loop_id, flag, &mr); 1595 flag = (uint16_t)(RESERVED_LOOP_ID(ha, tq->loop_id) ? 1 : 0); 1599 mcp->mb[10] = flag; 1602 mcp->mb[1] = (uint16_t)(tq->loop_id << 8 | flag);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap.c | 156 static int snap_open(dev_t *devp, int flag, int otyp, cred_t *cred); 157 static int snap_close(dev_t dev, int flag, int otyp, cred_t *cred); 481 snap_open(dev_t *devp, int flag, int otyp, cred_t *cred) argument 487 if (flag & FWRITE) 494 if (((flag & FEXCL) != FEXCL) || (otyp != OTYP_CHR)) 515 if ((flag & FEXCL) && SID_BUSY(sidp)) { 559 snap_close(dev_t dev, int flag, int otyp, cred_t *cred) argument 1376 * if an error was founds somewhere the DELETE flag will be
|
H A D | gen_drv.c | 61 uint_t flag; member in struct:dstate 86 static int gen_open(dev_t *devp, int flag, int otyp, cred_t *cred); 87 static int gen_close(dev_t devp, int flag, int otyp, cred_t *cred); 117 D_NEW | D_MP | D_HOTPLUG, /* flag */ 349 dstatep->flag &= ~OPEN_FLAG; 350 dstatep->flag &= ~PWR_HAS_CHANGED_ON_RESUME_FLAG; 351 dstatep->flag &= ~FAIL_SUSPEND_FLAG; 352 dstatep->flag &= ~PUP_WITH_PWR_HAS_CHANGED_FLAG; 353 dstatep->flag |= LOWER_POWER_FLAG; 354 dstatep->flag 840 gen_open(dev_t *devp, int flag, int otyp, cred_t *cred) argument 866 gen_close(dev_t dev, int flag, int otyp, cred_t *cred) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cq.c | 84 uint32_t status, flag; local 239 flag = (sleepflag == HERMON_SLEEP) ? IBT_MR_SLEEP : IBT_MR_NOSLEEP; 243 mr_attr.mr_flags = flag | IBT_MR_ENABLE_LOCAL_WRITE; 589 int status, flag; local 665 flag = (sleepflag == HERMON_SLEEP) ? IBT_MR_SLEEP : IBT_MR_NOSLEEP; 669 mr_attr.mr_flags = flag | IBT_MR_ENABLE_LOCAL_WRITE; 1429 * the flag only if it is non-QP1. 1601 * flag in the cq_hdl, and release the resize_hdl. When we return
|
H A D | hermon_misc.c | 866 * MCG by checking the 'qp_found' flag returned from the 926 * not added on to the list again. Check the flag 'qp_found' 968 * MCG by checking the 'qp_found' flag returned 1025 * the list again. Check the flag 'qp_found' if this value is needed 1745 * The next 4 bits are the "flag" bits. These are valid only 2164 * an additional flag to indicate which type is being filled and do each one 2212 /* If "grh" flag is set, then check for valid SGID index too */ 2220 * flag. Because "grh" is not set unless "av_send_grh" is set, the 2283 * they are slightly different, we pass an additional flag to indicate which 2326 * flag 2401 int flag, status; local [all...] |
H A D | hermon_rsrc.c | 185 int flag, status = DDI_FAILURE; local 196 flag = (sleepflag == HERMON_SLEEP) ? KM_SLEEP : KM_NOSLEEP; 197 tmp_rsrc_hdl = kmem_cache_alloc(state->hs_rsrc_cache, flag); 310 int flag, status = DDI_FAILURE; local 321 flag = (sleepflag == HERMON_SLEEP) ? KM_SLEEP : KM_NOSLEEP; 322 tmp_rsrc_hdl = kmem_cache_alloc(state->hs_rsrc_cache, flag); 381 int flag, status; local 396 flag = (sleepflag == HERMON_SLEEP) ? VM_SLEEP : VM_NOSLEEP; 400 addr = vmem_xalloc(vmp, num, num, 0, 0, NULL, NULL, flag | VM_FIRSTFIT); 481 int flag, statu local 1902 int flag; local 1963 int flag; local 2308 int flag; local 2351 int flag, status; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor.c | 316 tavor_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument 341 if ((otyp != OTYP_CHR) || ((flag & FEXCL) && 484 tavor_close(dev_t dev, int flag, int otyp, cred_t *credp) argument 900 * "ts_operational_mode" flag (described above) to indicate that we 1007 * the capability flag, we have to call either ddi_intr_block_enable()
|
H A D | tavor_cmd.c | 59 uint_t length, uint_t flag); 714 uint_t dma_cookiecnt, flag, sync; local 740 flag = state->ts_cfg_profile->cp_streaming_consistent; 765 rsrc->tr_addr, rsrc->tr_len, (DDI_DMA_RDWR | flag), 778 /* Set sync flag appropriately */ 1257 uint_t flag) 1274 status = ddi_dma_sync(dmahdl, (off_t)offset, (size_t)length, flag); 1299 /* Make sure we are called with the correct flag */ 1338 /* Make sure we are called with the correct flag */ 1376 /* Make sure we are called with the correct flag */ 1256 tavor_mbox_sync(tavor_mbox_t *mbox, uint_t offset, uint_t length, uint_t flag) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ucma/ |
H A D | sol_ucma.c | 345 sol_ucma_open(dev_t *devp, int flag, int otype, cred_t *credp) argument 351 devp, flag, otype, credp); 523 sol_ucma_close(dev_t dev, int flag, int otype, cred_t *credp) argument 530 dev, flag, otype, credp);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_umad/ |
H A D | sol_umad.c | 1371 * flag Unused 1387 umad_open(dev_t *dev, int flag, int otyp, cred_t *cred) argument 1401 dummy(flag); 1497 * flag Unused 1511 umad_close(dev_t dev, int flag, int otyp, cred_t *cred) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs.c | 66 static int sol_uverbs_open(dev_t *devp, int flag, int otyp, cred_t *cred); 67 static int sol_uverbs_close(dev_t dev, int flag, int otyp, cred_t *cred); 733 * flags - Only possible flag value is DDI_PROP_DONTPASS. 763 * flag - Flags specified by caller (FEXCL, FNDELAY, FREAD, FWRITE). 784 sol_uverbs_open(dev_t *devp, int flag, int otyp, cred_t *cred) argument 869 * flag - File status flag. 883 sol_uverbs_close(dev_t dev, int flag, int otyp, cred_t *cred) argument 1184 * Set uctxt_free_pending flag. This will be freed when 2870 * Enable free flag, s [all...] |
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 113 ibnex_open(dev_t *dev, int flag, int otyp, cred_t *credp) argument 125 ibnex_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_utils.c | 549 * flag: IBCM_FLAG_LOOKUP - just lookup 558 ibcm_ud_state_data_t **ud_statep, ibcm_lookup_flag_t flag) 569 if (flag == IBCM_FLAG_ADD) { 611 if (flag == IBCM_FLAG_LOOKUP) { 557 ibcm_find_sidr_entry(ibcm_sidr_srch_t *srch_param, ibcm_hca_info_t *hcap, ibcm_ud_state_data_t **ud_statep, ibcm_lookup_flag_t flag) argument
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 93 D_MP | D_NEW, /* driver compatibility flag */ 424 ppm_open(dev_t *devp, int flag, int otyp, cred_t *cred_p) argument 428 PPMD(D_OPEN, ("ppm_open: devp 0x%p, flag 0x%x, otyp %d\n", 429 (void *)devp, flag, otyp)) 436 ppm_close(dev_t dev, int flag, int otyp, cred_t *credp) argument 438 PPMD(D_CLOSE, ("ppm_close: dev 0x%lx, flag 0x%x, otyp %d\n", 439 dev, flag, otyp)) 872 * initialization process. The initializing flag remains 927 * the initializing flag will still be set, so clear it. 1353 * set ppm_cpr_window global flag t [all...] |
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_chip.c | 44 #define RGE_DBG RGE_DBG_REGS /* debug flag for this code */ 1283 void rge_chip_blank(void *arg, time_t ticks, uint_t count, int flag); 1288 rge_chip_blank(void *arg, time_t ticks, uint_t count, int flag) argument 1337 #define RGE_DBG RGE_DBG_INT /* debug flag for this code */ 1549 #define RGE_DBG RGE_DBG_FACT /* debug flag for this code */ 1747 #define RGE_DBG RGE_DBG_PPIO /* debug flag for this code */
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 834 pmcs_scsi_reset_notify(struct scsi_address *ap, int flag, argument 838 return (scsi_hba_reset_notify_setup(ap, flag, callback, arg, 2387 xp->special_needed = 1; /* Set the special_needed flag */
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 179 D_MP | D_NEW | D_HOTPLUG /* Driver compatibility flag */ 1054 sgen_open(dev_t *dev_p, int flag, int otyp, cred_t *cred_p) argument 1084 (SGEN_IS_OPEN(sg_state) && (flag & FEXCL))) { 1089 if (flag & FEXCL) 1105 sgen_close(dev_t dev, int flag, int otyp, cred_t *cred_p) argument 1136 int cmd, intptr_t arg, int flag, cred_t *cred_p, int *rval_p) 1183 retval = sgen_uscsi_cmd(dev, (struct uscsi_cmd *)arg, flag); 1202 sgen_uscsi_cmd(dev_t dev, struct uscsi_cmd *ucmd, int flag) argument 1229 err = scsi_uscsi_alloc_and_copyin((intptr_t)ucmd, flag, 1263 uioseg = (flag 1135 sgen_ioctl(dev_t dev, int cmd, intptr_t arg, int flag, cred_t *cred_p, int *rval_p) argument [all...] |
/illumos-gate/usr/src/uts/common/io/tpm/ |
H A D | tpm.c | 1437 /* Zeroize the flag, which is used to keep track of what is allocated */ 1712 tpm_open(dev_t *devp, int flag, int otyp, cred_t *cred) argument 1756 tpm_close(dev_t dev, int flag, int otyp, cred_t *cred) argument
|
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/ |
H A D | usb_as.c | 521 usb_as_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument 579 usb_as_close(dev_t dev, int flag, int otyp, cred_t *credp) argument 948 /* reset setup flag */ 1550 "\tfno=%" PRId64 ", n_pkts=%u, flag=0x%x, data=0x%p, cnt=%d",
|
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/ |
H A D | hid.c | 773 hid_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument 797 if (!(flag & FREAD)) { 967 hid_close(queue_t *q, int flag, cred_t *credp) argument 1076 int flag; local 1174 flag = hidp->hid_internal_flag; 1178 flag = hidp->hid_external_flag; 1182 if (flag != HID_STREAMS_OPEN) { 1511 "completion_reason = 0x%x, data = 0x%p, flag = 0x%x", 1571 "completion_reason = 0x%x, data = 0x%p, flag = 0x%x",
|
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/ |
H A D | usbprn.c | 947 usbprn_open(dev_t *devp, int flag, int sflag, cred_t *credp) argument 984 devp, flag, sflag, credp); 1044 usbprn_close(dev_t dev, int flag, int otyp, cred_t *credp) argument 1060 dev, flag, otyp, credp); 1328 usbprn_ioctl(dev_t dev, int cmd, intptr_t arg, int flag, argument 1381 switch (ddi_model_convert_from(flag & FMODELS)) { 1386 sizeof (struct ecpp_device_id32), flag)) { 1404 len, flag)) { 1411 sizeof (struct ecpp_device_id32), flag)) { 1421 sizeof (struct ecpp_device_id), flag)) { 1741 usbprn_getparms(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 1760 usbprn_setparms(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 1804 usbprn_geterr(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 1880 usbprn_testio(usbprn_state_t *usbprnp, int flag) argument 1913 usbprn_prnio_get_status(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 1951 usbprn_prnio_get_1284_status(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 1987 usbprn_prnio_get_ifcap(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 2007 usbprn_prnio_set_ifcap(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 2034 usbprn_prnio_get_ifinfo(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 2110 usbprn_prnio_get_1284_devid(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 2182 usbprn_prnio_get_timeouts(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument 2201 usbprn_prnio_set_timeouts(usbprn_state_t *usbprnp, intptr_t arg, int flag) argument [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/usbinput/usbwcm/ |
H A D | usbwcm.c | 1423 usbwcm_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument 1468 usbwcm_close(queue_t *q, int flag, cred_t *credp) argument
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbms/ |
H A D | usbms.c | 254 int flag, 420 int flag, 252 usbms_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument 419 usbms_close(queue_t *q, int flag, cred_t *credp) argument
|