Searched defs:mode (Results 701 - 725 of 1040) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c245 k5db2_dbopen(krb5_db2_context *dbc, char *fname, int flags, int mode, int tempdb) argument
277 db = dbopen(fname, flags, mode,
289 db = dbopen(fname, flags, mode,
607 int mode, gotlock, tries; local
611 mode = KRB5_DB_LOCKMODE_EXCLUSIVE;
614 mode = KRB5_LOCKMODE_EXCLUSIVE;
618 mode = KRB5_LOCKMODE_SHARED;
629 if (db_ctx->db_locks_held && (db_ctx->db_lock_mode >= mode)) {
635 if ((mode != KRB5_LOCKMODE_SHARED) && (mode !
1418 krb5_db2_db_set_lockmode(krb5_context context, krb5_boolean mode) argument
1450 krb5_db2_open(krb5_context kcontext, char *conf_section, char **db_args, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_ioctl.c77 extern int med_get_t_size_ioctl(mddb_med_t_parm_t *tpp, int mode);
78 extern int med_get_t_ioctl(mddb_med_t_parm_t *tpp, int mode);
79 extern int med_set_t_ioctl(mddb_med_t_parm_t *tpp, int mode);
211 setnm_ioctl(mdnm_params_t *nm, int mode) argument
228 if ((mode & FWRITE) == 0)
244 (size_t)nm->devname_len, mode);
259 devid, devid_sz, mode);
272 minorname, (size_t)nm->minorname_len, mode);
316 int mode
421 strlen(name) + 1, mode);
751 remnm_ioctl(mdnm_params_t *nm, int mode) argument
774 getdrvnm_ioctl(md_dev64_t dev, md_i_driverinfo_t *di, int mode) argument
798 getnext_ioctl(md_i_getnext_t *gn, int mode) argument
852 getnum_ioctl(void *d, int mode) argument
1152 mddb_userreq_ioctl(mddb_userreq_t *ur, int mode) argument
1408 mddb_didstat_from_user( void **d, caddr_t data, int mode, caddr_t *ds_ctd_addr ) argument
1455 mddb_didstat_to_user( void *d, caddr_t data, int mode, caddr_t ds_ctd_addr ) argument
1497 mddb_config_from_user( void **d, caddr_t data, int mode, caddr_t *c_devid_addr, caddr_t *c_old_devid_addr ) argument
1570 mddb_config_to_user( void *d, caddr_t data, int mode, caddr_t c_devid_addr, caddr_t c_old_devid_addr ) argument
1755 md_base_ioctl(md_dev64_t dev, int cmd, caddr_t data, int mode, IOLOCK *lockp) argument
3545 md_admin_ioctl(md_dev64_t dev, int cmd, caddr_t data, int mode, IOLOCK *lockp) argument
4114 md_dkiocgetefi(minor_t mnum, void *data, int mode) argument
4166 md_dkiocsetefi(minor_t mnum, void *data, int mode) argument
4224 md_dkiocpartition(minor_t mnum, void *data, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_ioctl.c162 int mode
223 (uint_t)msp->size, mode)) {
287 int mode,
308 un->c.un_size, mode))
316 int mode,
348 sizeof (*udevs), mode) != 0)
928 /* in dryrun mode, don't leave the device open */
2468 mirror_admin_ioctl(int cmd, void *data, int mode, IOLOCK *lockp) argument
2475 if ((mode & DATAMODEL_MASK) != DATAMODEL_ILP32) {
2483 if (! (mode
285 mirror_get( void *migp, int mode, IOLOCK *lock ) argument
314 mirror_getdevs( void *mgdp, int mode, IOLOCK *lock ) argument
3015 md_mirror_ioctl( dev_t ddi_dev, int cmd, void *data, int mode, IOLOCK *lockp ) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c880 * int mode - must be FWRITE
886 raid_set(void *d, int mode) argument
942 msp->size, mode)) {
1053 * int mode - must be FREAD
1062 int mode,
1088 un->c.un_size, mode))
1478 * int mode - must be FWRITE
1592 * int mode - must be FWRITE
1670 * int mode - must be FWRITE
1678 raid_grow(void *mgp, int mode, IOLOC argument
1060 raid_get( void *migp, int mode, IOLOCK *lock ) argument
2175 raid_getdevs( void *mgdp, int mode, IOLOCK *lock ) argument
2333 raid_admin_ioctl( int cmd, void *data, int mode, IOLOCK *lockp ) argument
2648 md_raid_ioctl( dev_t dev, int cmd, void *data, int mode, IOLOCK *lockp ) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/softpart/
H A Dsp.c1084 * mode - access mode for copying data out.
1094 sp_directed_read(minor_t mnum, vol_directed_rd_t *vdr, int mode) argument
1213 (mode | FKIOCTL), NULL);
1227 cvdr.vdr_bytesread, mode)) {
/illumos-gate/usr/src/uts/common/io/lvm/trans/
H A Dtrans_ioctl.c134 trans_get_transstats(void *d, int mode) argument
149 sizeof (struct transstats), mode))
162 trans_test_trygetblk(void *d, int mode, IOLOCK *lock) argument
270 trans_test_trypage(void *d, int mode, IOLOCK *lock) argument
514 trans_test_tsd(void *d, int mode) argument
976 trans_inject_errors(void *d, int mode, IOLOCK *lock) argument
994 * it is in count down mode.
1037 trans_stop_errors(void *d, int mode, IOLOCK *lock) argument
1104 trans_ufserror(void *d, int mode, IOLOCK *lock) argument
1123 trans_set_shadow(void *d, int mode, IOLOC argument
1157 trans_get(void *d, int mode, IOLOCK *lock) argument
1261 trans_grow(void *d, int mode, IOLOCK *lock) argument
1294 trans_detach_ioctl(void *d, int mode, IOLOCK *lock) argument
1324 trans_get_log(void *d, int mode, IOLOCK *lock) argument
1355 trans_getdevs(void *d, int mode, IOLOCK *lock) argument
1506 trans_admin_ioctl(int cmd, void *data, int mode, IOLOCK *lockp) argument
1935 md_trans_ioctl(dev_t dev, int cmd, void *data, int mode, IOLOCK *lockp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_ht.c789 * Calculate HT protection mode from current
902 * done (e.g. in sta mode when parsing the contents of a
930 /* NB: honor operating mode constraint */
1646 * so we can restrict it but for sta mode in_htrates isn't
1728 /* protection mode */
1870 ht_announce(struct ieee80211com *ic, int mode, argument
1876 ieee80211_phymode_name[mode]);
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_chip.c686 nge_mode_cntl mode; local
708 mode.mode_val = nge_reg_get32(ngep, NGE_MODE_CNTL);
709 mode.mode_bits.dma_dis = NGE_SET;
710 mode.mode_bits.desc_type = ngep->desc_mode;
711 nge_reg_put32(ngep, NGE_MODE_CNTL, mode.mode_val);
715 mode.mode_val = nge_reg_get32(ngep, NGE_MODE_CNTL);
716 if (mode.mode_bits.dma_status == NGE_SET)
781 mode.mode_val = nge_reg_get32(ngep, NGE_MODE_CNTL);
782 mode.mode_bits.bm_reset = NGE_SET;
783 mode
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvlds.c98 static int vlds_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp,
119 size_t *msglenp, int mode);
123 size_t *msglenp, int mode);
451 vlds_get_string(vlds_string_t *strp, char **rstrp, int mode) argument
467 if (ddi_copyin(ARGTOPTR(strp->vlds_strp), str, len, mode) != 0) {
485 vlds_put_string(char *str, vlds_string_t *strp, int mode) argument
509 rv = ddi_copyout(str, ARGTOPTR(strp->vlds_strp), len, mode);
522 vlds_get_ucap(vlds_cap_t *capp, ds_capability_t *ucap, int mode) argument
532 if (ddi_copyin(capp, &vlds_cap, sizeof (vlds_cap), mode) != 0) {
546 if ((rv = vlds_get_string(&vlds_cap.vlds_service, &servp, mode)) !
587 vlds_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
1509 vlds_recvq_get_data(vlds_svc_info_t *dpsp, void *buf, size_t buflen, size_t *msglenp, int mode) argument
1680 vlds_recv_msg(ds_svc_hdl_t hdl, void *buf, size_t buflen, size_t *msglenp, int mode) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c334 hpc3130_get(intptr_t arg, int reg, hpc3130_unit_t *unitp, int mode) argument
367 sizeof (uint8_t), mode) != DDI_SUCCESS) {
377 hpc3130_set(intptr_t arg, int reg, hpc3130_unit_t *unitp, int mode) argument
389 sizeof (uint8_t), mode) != DDI_SUCCESS) {
415 hpc3130_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
454 mode);
459 mode);
469 mode);
474 unitp, mode);
479 unitp, mode);
[all...]
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c665 * the converter in low power mode and setting the bit puts it back in
666 * normal mode.
682 "switch to normal power mode.\n"));
690 * put in low power mode before CPUs made the transition
694 * before the DC/DC converter has been put to low power mode.
722 "switch to low power mode.\n"));
738 xcppm_rio_mode(xcppm_unit_t *unitp, int mode) argument
745 if (mode == XCPPM_SETBIT)
754 (mode == XCPPM_SETBIT) ? "DOWN" : "UP", buf32, data32));
810 * mode bi
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dsimba.c156 static int simba_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
1117 simba_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
1141 return (ndi_devctl_ioctl(self, cmd, arg, mode, 0));
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dlw8.c84 static int lw8_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
1076 lw8_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, argument
1115 sizeof (lw8_mprog), mode) != 0) {
1121 sizeof (lw8_ctl2), mode) != 0) {
1130 sizeof (*lw8_progp), mode) != 0) {
1144 sizeof (lw8_info2), mode) != 0) {
1160 sizeof (lw8_info), mode) != 0) {
1174 sizeof (lw8_fled_info), mode) != 0) {
1180 sizeof (lw8_aldata), mode) != 0) {
1197 sizeof (lw8_aldata), mode) !
[all...]
H A Dntwdt.c43 * mode, one can only transition to SWDT mode via a reboot.
85 * machine global to ScApp and ntwdt is either in AWDT mode
86 * or in SWDT mode. These two peers communicate via the SBBC
130 * puts the system in AWDT mode, it disables todsg's
240 * possible) tell ScApp of the current mode of the
242 * when Solaris is re-loaded while in AWDT mode; having
245 * are not in the same mode.
251 * ScApp could be re-loaded after AWDT mode had been
409 * Also, if this is non-zero, then system is in AWDT mode,
1043 ntwdt_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
[all...]
H A Dsgfru.c280 sgfru_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, argument
299 init_arg.mode = mode;
1418 if (ddi_model_convert_from(argp->mode & FMODELS) == DDI_MODEL_ILP32) {
1423 sizeof (frup32_info_t), argp->mode) != DDI_SUCCESS) {
1437 sizeof (frup_info_t), argp->mode) != DDI_SUCCESS) {
1455 sizeof (fru_info_t), argp->mode) != DDI_SUCCESS) {
1474 sizeof (segment_t), argp->mode) != DDI_SUCCESS) {
1492 if (ddi_model_convert_from(argp->mode & FMODELS) == DDI_MODEL_ILP32) {
1497 sizeof (append32_info_t), argp->mode) !
[all...]
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dintel_nhm.h261 char mode; member in struct:sad
270 char mode; member in struct:tad
H A Dmem_addr.c92 if (node && tad[node][rule].mode == 2)
127 switch (sad[i].mode) {
199 switch (tad[node][i].mode) {
335 int mode; local
343 mode = tad[node][rule].mode;
347 if (mode == 2) {
366 if (mode == 2)
549 switch (tad[node][i].mode) {
923 sad[i].mode
[all...]
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_main.c259 amd8111s_set_loop_mode(struct LayerPointers *adapter, uint32_t mode) argument
263 * If the mode isn't being changed, there's nothing to do ...
265 if (mode == adapter->pOdl->loopback_mode)
269 * Validate the requested mode and prepare a suitable message
273 switch (mode) {
362 * the PHY and/or MAC for the new mode ...
364 adapter->pOdl->loopback_mode = mode;
1615 * (GLD Entry Point) set/unset promiscus mode
/illumos-gate/usr/src/uts/common/io/
H A Demul64.c61 static int emul64_ioctl(dev_t, int cmd, intptr_t arg, int mode,
1036 * taskq_dispatch in no sleep mode, so that we can
1041 * sleep mode below.
1396 int mode,
1439 rv = scsi_hba_ioctl(dev, cmd, arg, mode, credp, rvalp);
1393 emul64_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
H A Dfd.c452 * 3D mode should be enabled only if a dual-
968 * Ignoring return in non DEBUG mode because success is checked by
2005 fd_rawioctl(struct fcu_obj *fjp, int unit, caddr_t arg, int mode) argument
2023 switch (ddi_model_convert_from(mode & FMODELS)) {
2028 if (ddi_copyin(arg, &fdr32, sizeof (fdr32), mode))
2042 if (ddi_copyin(arg, &fdr, sizeof (fdr), mode))
2068 (size_t)fdr.fdr_nbytes, mode)) {
2096 mode)) {
2136 if (ddi_copyout(fdr.fdr_addr, uaddr, ucount, mode)) {
2140 if (ddi_copyout(fdr.fdr_result, arg_result, sizeof (fdr.fdr_cmd), mode))
[all...]
/illumos-gate/usr/src/uts/common/io/fcoe/
H A Dfcoe.c109 static int fcoe_ioctl(dev_t dev, int cmd, intptr_t data, int mode,
111 static int fcoe_copyin_iocdata(intptr_t data, int mode, fcoeio_t **fcoeio,
113 static int fcoe_copyout_iocdata(intptr_t data, int mode, fcoeio_t *fcoeio,
115 static int fcoe_iocmd(fcoe_soft_state_t *ss, intptr_t data, int mode);
526 fcoe_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument
550 ret = fcoe_iocmd(ss, data, mode);
562 fcoe_copyin_iocdata(intptr_t data, int mode, fcoeio_t **fcoeio, argument
571 if (ddi_copyin((void *)data, *fcoeio, sizeof (fcoeio_t), mode) != 0) {
586 *ibuf, (*fcoeio)->fcoeio_ilen, mode) != 0) {
595 *abuf, (*fcoeio)->fcoeio_alen, mode) !
622 fcoe_copyout_iocdata(intptr_t data, int mode, fcoeio_t *fcoeio, void *obuf) argument
639 fcoe_iocmd(fcoe_soft_state_t *ss, intptr_t data, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c915 /* Target mode only uses this routine for linkdowns */
916 if ((port->mode == MODE_TARGET) && (scope != 0xffffffff) &&
1011 if (port->mode == MODE_INITIATOR) {
1015 else if (port->mode == MODE_TARGET) {
1067 if (port->mode == MODE_INITIATOR) {
1071 else if (port->mode == MODE_TARGET) {
1095 if (port->mode == MODE_TARGET) {
1479 char mode[32]; local
1497 /* Check for mode */
1498 if (port->mode
[all...]
H A Demlxs_hba.c137 int32_t mode; local
253 mode = 0;
262 "MSI: %s: mode=%d types=0x%x nintrs=%d", s_type,
390 /* Set mode */
393 mode = EMLXS_MSI_MODE8;
397 mode = EMLXS_MSI_MODE4;
401 mode = EMLXS_MSI_MODE2;
405 mode = EMLXS_MSI_MODE1;
415 hba->intr_mask = emlxs_msi_mask[mode];
425 hba->intr_map[i] = emlxs_msi_map[mode][
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_vc.c111 static const char no_nonblock_str[] = "could not set transport blocking mode";
162 /* Default size of the IO buffer used in non blocking mode */
175 * Change the mode of the underlying fd.
183 * If the underlying fd is already in the required mode,
1330 /* Handle the non-blocking mode */
1335 * mode is non blocking, we return RPC_CANTSEND.
1569 set_flush_mode(struct ct_data *ct, int mode) argument
1571 switch (mode) {
1578 ct->ct_blocking_mode = mode;
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c950 * Opens host database with the given mode.
953 smb_nic_dbopen(int mode) argument
958 db = sqlite_open(SMB_NIC_DB_NAME, mode, &errmsg);

Completed in 256 milliseconds

<<21222324252627282930>>