Searched defs:mode (Results 326 - 350 of 1040) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci_tpgs.c42 int *mode);
190 * get the failover mode, ownership and if it has extended failover
191 * capability. The mode(bits5-4/byte5) is defined as implicit, explicit, or
196 * Online-nonoptimized will be a mode of secondary
197 * and an ownership of online. Thought about using a different mode but
198 * it appears the states are really for the states for secondary mode.
205 vhci_tpgs_get_target_fo_mode(struct scsi_device *sd, int *mode, argument
215 *mode = *state = *xlf_capable = 0;
224 if (vhci_tpgs_inquiry(ap, bp, mode)) {
248 vhci_tpgs_inquiry(struct scsi_address *ap, struct buf *bp, int *mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dsrn.c46 #include <sys/mode.h>
375 srn_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval_p) argument
446 sizeof (srn_event_info_t), mode) != 0) {
H A Dtclient.c256 tcli_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
H A Dtphci.c231 tphci_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument
H A Dtvhci.c244 tvhci_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument
/illumos-gate/usr/src/uts/common/io/vnic/
H A Dvnic_ctl.c195 vnic_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
300 vnic_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
312 vnic_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
321 vnic_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
/illumos-gate/usr/src/uts/common/io/vscan/
H A Dvscan_drv.c588 vscan_drv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtokenmtddi.c128 uint32_t mode; local
287 /* parse mode, if present */
289 &mode)) != 0) {
292 cfg_parms->colour_aware = (mode == 0) ? B_FALSE : B_TRUE;
395 uint32_t bstats, mode; local
560 /* parse mode */
561 if (nvlist_lookup_uint32(nvlp, TOKENMT_COLOUR_AWARE, &mode) == 0) {
562 cfg_parms->colour_aware = (mode == 0) ? B_FALSE : B_TRUE;
924 tokenmt0dbg(("tokenmt_info: error adding mode\n"));
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap.c282 int mode)
472 status = krb5_ldap_read_server_params(context, conf_section, mode & 0x0300);
279 krb5_ldap_open(krb5_context context, char *conf_section, char **db_args, int mode) argument
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevtab.c570 * int _opendevtab(mode)
571 * char *mode
576 * mode The open mode to use to open the file. (i.e. "r" for
584 _opendevtab(char *mode) argument
597 if (oam_devtab = fopen(devtabname, mode))
/illumos-gate/usr/src/lib/libast/common/include/
H A Dtar.h71 * bits used in mode field
95 char mode[TMODLEN]; member in struct:header
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200_hw.c250 uint32_t mode; member in struct:header
/illumos-gate/usr/src/uts/common/io/lvm/notify/
H A Dmd_notify.c299 int mode)
312 err = ddi_copyout(data, ioctl_in, sz, mode);
334 int mode, IOLOCK *lockp)
351 ((void *)ioctl, ioctl_in, sz, mode);
372 notify_ioctl(dev_t dev, int icmd, void *ioctl_in, int mode, IOLOCK *lockp) argument
387 if (ddi_copyin(ioctl_in, (void *)ioctl, sz, mode)) {
413 ((void *)ioctl, ioctl_in, sz, mode);
490 ioctl, sz, mode, lockp);
501 ((void *)ioctl, ioctl_in, sz, mode);
503 err = ddi_copyout((void *)ioctl, ioctl_in, sz, mode);
298 notify_fillin_empty_ioctl(void *data, void *ioctl_in, size_t sz, int mode) argument
332 md_wait_for_event(md_event_queue_t *event_queue, void *ioctl_in, md_event_ioctl_t *ioctl, size_t sz, int mode, IOLOCK *lockp) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dmdesc.c480 mdesc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
500 if (!(mode & FREAD))
504 switch (ddi_model_convert_from(mode & FMODELS)) {
508 mode) != 0)
514 mode) != 0)
520 ddi_model_convert_from(mode & FMODELS));
524 if (ddi_copyout(&sz, (void *)arg, sizeof (size_t), mode) != 0)
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx_tools.c53 static int niumx_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
82 static int niumxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode);
161 niumx_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
202 rv = niumxtool_intr(dip, (void *)arg, cmd, mode);
254 niumxtool_intr_info(dev_info_t *dip, void *arg, int mode) argument
260 if (ddi_copyin(arg, &intr_info, sizeof (pcitool_intr_info_t), mode) !=
273 if (ddi_copyout(&intr_info, arg, sizeof (pcitool_intr_info_t), mode) !=
292 niumxtool_get_intr(dev_info_t *dip, void *arg, int mode) argument
310 if (ddi_copyin(arg, &partial_iget, PCITOOL_IGET_SIZE(0), mode) !=
341 if (ddi_copyin(arg, iget_p, iget_kmem_alloc_size, mode) !
405 niumxtool_set_intr(dev_info_t *dip, void *arg, int mode) argument
494 niumxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_tools_4v.c457 pxtool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode) argument
473 mode) != DDI_SUCCESS) {
529 mode) != DDI_SUCCESS) {
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_tools.c71 pxtool_intr_info(dev_info_t *dip, void *arg, int mode) argument
79 if (ddi_copyin(arg, &intr_info, sizeof (pcitool_intr_info_t), mode) !=
92 if (ddi_copyout(&intr_info, arg, sizeof (pcitool_intr_info_t), mode) !=
111 pxtool_get_intr(dev_info_t *dip, void *arg, int mode) argument
125 if (ddi_copyin(arg, &partial_iget, PCITOOL_IGET_SIZE(0), mode) !=
176 if (ddi_copyin(arg, iget, iget_kmem_alloc_size, mode) !=
230 ddi_copyout(iget, arg, PCITOOL_IGET_SIZE(iget->num_devs_ret), mode);
248 pxtool_set_intr(dev_info_t *dip, void *arg, int mode) argument
265 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS)
274 if (ddi_copyin(arg, &iset, copyinout_size, mode) !
398 pxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode) argument
629 pxtool_dev_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Depic.c327 epic_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
377 sizeof (in_command), mode) != DDI_SUCCESS) {
H A Dgpio_87317.c342 gpio_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
357 mode) != 0)
401 sizeof (gpio_87317_op_t), mode) != 0) {
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dadm1026.c595 adm1026_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
622 sizeof (i2c_gpio_t), mode) != DDI_SUCCESS) {
643 sizeof (i2c_gpio_t), mode);
658 sizeof (i2c_gpio_t), mode);
H A Dadm1031.c38 #include <sys/mode.h>
69 * automatic monitoring mode to manual mode and vice-versa. A control minor
607 adm1031_s_ioctl(dev_t dev, int cmd, intptr_t arg, int mode) argument
668 sizeof (write_value), mode) != DDI_SUCCESS) {
740 sizeof (temp), mode) != DDI_SUCCESS) {
746 sizeof (write_value), mode) != DDI_SUCCESS) {
795 sizeof (write_value16), mode) != DDI_SUCCESS) {
803 sizeof (write_value), mode) != DDI_SUCCESS) {
844 mode) !
880 adm1031_i_ioctl(dev_t dev, int cmd, intptr_t arg, int mode) argument
1062 adm1031_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
[all...]
H A Dmax1617.c531 int mode)
542 if (ddi_copyin(arg, (caddr_t)&temp, sizeof (int16_t), mode) !=
564 int mode)
581 mode) != DDI_SUCCESS) {
593 max1617_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
662 sizeof (int16_t), mode) != DDI_SUCCESS) {
680 sizeof (uint8_t), mode) != DDI_SUCCESS) {
696 sizeof (uint8_t), mode) != DDI_SUCCESS) {
712 sizeof (uint8_t), mode) != DDI_SUCCESS) {
725 (caddr_t)arg, mode);
528 set_temp_limit(struct max1617_unit *unitp, uchar_t device_reg, caddr_t arg, int mode) argument
561 get_temp_limit(struct max1617_unit *unitp, uchar_t reg, caddr_t arg, int mode) argument
[all...]
H A Dpca9556.c38 #include <sys/mode.h>
212 * been suspended, perform the following i2c transfers in poll-mode.
460 * resumed yet, perform the following i2c transfers in poll-mode.
601 pca9556_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
638 sizeof (i2c_gpio_t), mode) != DDI_SUCCESS) {
718 sizeof (i2c_gpio_t), mode);
H A Dpcf8591.c224 pcf8591_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
308 sizeof (int32_t), mode) != DDI_SUCCESS) {
338 sizeof (int32_t), mode) != DDI_SUCCESS) {
368 (caddr_t)arg, sizeof (int32_t), mode)
381 sizeof (uint_t), mode) != DDI_SUCCESS) {
391 " value is not a valid mode\n",
H A Dssc100.c296 ssc100_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
329 sizeof (i2c_port_t), mode) != DDI_SUCCESS) {
345 sizeof (i2c_port_t), mode) != DDI_SUCCESS) {
357 sizeof (uint8_t), mode) != DDI_SUCCESS) {
374 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) {
404 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) {
413 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) {
452 sizeof (i2c_reg_t), mode) != DDI_SUCCESS) {
463 sizeof (i2c_reg_t), mode) != DDI_SUCCESS) {

Completed in 76 milliseconds

<<11121314151617181920>>