/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 63 * longer serve any purpose, and the system will always be in wrthru mode. 186 * libcfg locked (mode describes type of lock) 189 convert_config(CFGFILE *cfg, CFGLOCK mode) argument 206 if (mode != CFG_WRLOCK) { 214 mode = CFG_WRLOCK; 235 if (mode != CFG_WRLOCK) { 236 if (!cfg_lock(cfg, mode)) {
|
/illumos-gate/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalppm.c | 665 * 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 D | pci_pci.c | 142 static int ppb_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 1644 ppb_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 1662 return (pcie_ioctl(ppb_p->dip, dev, cmd, arg, mode, credp, 1665 return ((pcihp_get_cb_ops())->cb_ioctl(dev, cmd, arg, mode, 1678 return (ndi_devctl_ioctl(self, cmd, arg, mode, 0));
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 422 mode_t mode; local 429 mode = IPADM_FILE_MODE; 432 mode = 0; 441 mode, db_op); 473 mode, db_op);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | name.c | 692 long mode, add=0; local 741 mode = (c=='.' || (flags&NV_NOADD))?add:NV_ADD; 743 mode |= HASH_NOSCOPE; 762 if(mode==0) 791 if(np || (np = nv_search(name,root,mode))) 894 mode &= ~HASH_NOSCOPE; 901 n = mode|nv_isarray(np); 902 if(!mode && (flags&NV_ARRAY) && ((c=sp[1])=='*' || c=='@') && sp[2]==']') 963 else if(c==0 && mode && (n=nv_aindex(np))>0) 985 n = mode|((flag 1154 long mode = ((flags&NV_NOADD)?0:NV_ADD); local 3181 hashlook(Dt_t *root, const char *name, int mode,int size) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fem.c | 434 vhead_open(vnode_t **vpp, int mode, cred_t *cr, caller_context_t *ct) argument 446 errc = (*func)(arg0, mode, cr, ct); 453 errc = (*func)(arg0, mode, cr, ct); 651 vhead_access(vnode_t *vp, int mode, int flags, cred_t *cr, argument 664 errc = (*func)(arg0, mode, flags, cr, ct); 672 errc = (*func)(arg0, mode, flags, cr, ct); 711 int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, 724 errc = (*func)(arg0, name, vap, excl, mode, vpp, cr, flag, 733 errc = (*func)(arg0, name, vap, excl, mode, vpp, cr, flag, 2044 vnext_open(femarg_t *vf, int mode, cred_ argument 710 vhead_create(vnode_t *dvp, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument 2163 vnext_access(femarg_t *vf, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 2195 vnext_create(femarg_t *vf, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_srv.c | 613 * We need the mode so that we can correctly determine access 1586 if (args->how.mode == EXCLUSIVE) { 1604 if (args->how.mode == GUARDED) 1610 * During creation of file in non-exclusive mode 1681 * Must specify the mode. 1697 * The file open mode used is VWRITE. If the client needs 1699 * itself. It would have been nice to have the file open mode 1720 if (error != EEXIST || args->how.mode == GUARDED) 1755 if (args->how.mode == EXCLUSIVE && (vap == NULL || 1765 if ((args->how.mode 2205 int mode; local [all...] |
H A D | nfs3_xdr.c | 507 na->mode = IXDR_GET_U_INT32(ptr); 525 IXDR_PUT_U_INT32(ptr, na->mode); 545 xdr_u_int(xdrs, &na->mode) && 994 if (!xdr_bool(xdrs, &objp->mode.set_it)) 996 if (objp->mode.set_it) 997 if (!xdr_u_int(xdrs, &objp->mode.mode)) 1718 if (!xdr_enum(xdrs, (enum_t *)&howp->mode)) 1720 switch (howp->mode) {
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 125 static int mptsas_ioctl(dev_t dev, int cmd, intptr_t data, int mode, 252 uint32_t dataout_size, short timeout, int mode); 278 int mode); 405 int mode, int *rval); 407 int mode, int *rval); 409 int mode, int *rval); 412 int mode); 4338 * memory space and in 64-bit DMA mode each element is 4680 * memory space and in 64-bit DMA mode each element is 10782 uint32_t dataout_size, short timeout, int mode) 10779 mptsas_do_passthru(mptsas_t *mpt, uint8_t *request, uint8_t *reply, uint8_t *data, uint32_t request_size, uint32_t reply_size, uint32_t data_size, uint32_t direction, uint8_t *dataout, uint32_t dataout_size, short timeout, int mode) argument 11140 mptsas_pass_thru(mptsas_t *mpt, mptsas_pass_thru_t *data, int mode) argument 12056 mptsas_diag_action(mptsas_t *mpt, mptsas_diag_action_t *user_data, int mode) argument 12106 mptsas_event_query(mptsas_t *mpt, mptsas_event_query_t *data, int mode, int *rval) argument 12135 mptsas_event_enable(mptsas_t *mpt, mptsas_event_enable_t *data, int mode, int *rval) argument 12161 mptsas_event_report(mptsas_t *mpt, mptsas_event_report_t *data, int mode, int *rval) argument 12316 mptsas_reg_access(mptsas_t *mpt, mptsas_reg_access_t *data, int mode) argument 12367 led_control(mptsas_t *mpt, intptr_t data, int mode) argument 12423 get_disk_info(mptsas_t *mpt, intptr_t data, int mode) argument 12510 mptsas_ioctl(dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rval) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | fct.c | 54 static int fct_ioctl(dev_t dev, int cmd, intptr_t data, int mode, 56 static int fct_fctiocmd(intptr_t data, int mode); 215 fct_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument 230 ret = fct_fctiocmd(data, mode); 241 fct_copyin_iocdata(intptr_t data, int mode, fctio_t **fctio, argument 250 if (ddi_copyin((void *)data, *fctio, sizeof (fctio_t), mode)) { 258 *ibuf, (*fctio)->fctio_ilen, mode)) { 266 *abuf, (*fctio)->fctio_alen, mode)) { 294 fct_copyout_iocdata(intptr_t data, int mode, fctio_t *fctio, void *obuf) argument 301 mode); 776 fct_fctiocmd(intptr_t data, int mode) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr.c | 354 static int dr_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 556 dr_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 596 hp->h_mode = mode; 2114 int nstat, mode, ncm, sz, pbsz, pnstat; local 2131 mode = hp->h_mode; 2199 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2289 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2406 hp->h_sbdcmd.cmd_stat.s_statp, pbsz, mode) != 0) { 2417 pbsz, mode) != 0) {
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr.c | 352 static int dr_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 558 dr_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 598 hp->h_mode = mode; 2146 int nstat, mode, ncm, sz, pbsz, pnstat; local 2163 mode = hp->h_mode; 2231 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2322 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 2439 hp->h_sbdcmd.cmd_stat.s_statp, pbsz, mode) != 0) { 2450 pbsz, mode) != 0) {
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_cmds.c | 1024 mdb.m_symdist, mdb.m_symdist ? "absolute mode" : "smart mode"); 1216 int i, mode = MDB_MOD_LOCAL; local 1220 'd', MDB_OPT_SETBITS, MDB_MOD_DEFER, &mode, 1222 'f', MDB_OPT_SETBITS, MDB_MOD_FORCE, &mode, 1223 'g', MDB_OPT_SETBITS, MDB_MOD_GLOBAL, &mode, 1224 's', MDB_OPT_SETBITS, MDB_MOD_SILENT, &mode, 1235 if (mdb_module_load(argv->a_un.a_str, mode) < 0) 1255 int mode = 0; local 1260 'd', MDB_OPT_SETBITS, MDB_MOD_DEFER, &mode, [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ftp.c | 84 static FILE *dataconn(char *mode); 312 * Set passive mode flag on by default only if a native IPv6 address 489 /* Need to save reply reponse from server for use in EPSV mode */ 619 /* starting passive mode */ 1049 recvrequest(char *cmd, char *local, char *remote, char *mode, int allowpipe) argument 1213 fout = fopen(local, mode); 1389 * send IAC in urgent mode instead of DM because UNIX places oob 1509 "Passive mode refused. Try EPRT\n"); 1523 (void) fprintf(stderr, "Extended passive mode" 1533 "Extended passive mode" 1699 dataconn(char *mode) argument [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | setkey.c | 1274 pk_crypt(uid, remote_name, remote_key, key, mode) 1279 int mode; 1337 DES_HW | mode); 1541 int mode 1553 uid, arg, key, mode)); 1624 DES_HW | mode, ivec);
|
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port_fop.c | 214 static int port_fop_open(femarg_t *vf, int mode, cred_t *cr, 226 vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flag, 2102 port_fop_open(femarg_t *vf, int mode, cred_t *cr, caller_context_t *ct) argument 2107 retval = vnext_open(vf, mode, cr, ct); 2180 int mode, vnode_t **vpp, cred_t *cr, int flag, 2197 retval = vnext_create(vf, name, vap, excl, mode, vpp, cr, 2179 port_fop_create(femarg_t *vf, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_phy.c | 96 /* mode - 0( LOW ) /1(HIGH)*/ 97 u8 elink_cb_gpio_write(struct elink_dev *cb, u16 gpio_num, u8 mode, u8 port) argument 99 return lm_gpio_write(cb, gpio_num, mode, port); 102 u8 elink_cb_gpio_mult_write(struct elink_dev *cb, u8 pins, u8 mode) argument 104 return lm_gpio_mult_write(cb, pins, mode); 114 u8 elink_cb_gpio_int_write(struct elink_dev *cb, u16 gpio_num, u8 mode, u8 port) argument 116 return lm_gpio_int_write(cb, gpio_num, mode, port); 694 // if we are in multifunction mode and function is disabled indicate OS link down (unless loopback medium is set) 704 //in NIV mode, link_status is modified only from lm_niv_vif_set or from the FUNCTION_UPDATE completion(for loopback) 833 // in case we are not PMF we still want to run this code in AFEX mode [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_sops.c | 868 so_ioctl(struct sonode *so, int cmd, intptr_t arg, int mode, argument 873 SO_BLOCK_FALLBACK(so, SOP_IOCTL(so, cmd, arg, mode, cr, rvalp)); 892 (error = sof_filter_ioctl(so, cmd, arg, mode, 894 (error = socket_ioctl_common(so, cmd, arg, mode, cr, rvalp)) < 0 && 895 (error = socket_strioc_common(so, cmd, arg, mode, cr, rvalp)) < 0) { 897 cmd, arg, mode, rvalp, cr);
|
/illumos-gate/usr/src/uts/common/io/urtw/ |
H A D | urtw.c | 1494 urtw_set_mode(struct urtw_softc *sc, uint32_t mode) argument 1501 data = (data & ~URTW_EPROM_CMD_MASK) | (mode << URTW_EPROM_CMD_SHIFT); 1681 urtw_led_mode0(struct urtw_softc *sc, int mode) argument 1684 "urtw_led_mode0: mode = %d\n", mode)); 1685 switch (mode) { 1700 cmn_err(CE_CONT, "unsupported LED mode 0x%x", mode); 1744 urtw_led_mode1(struct urtw_softc *sc, int mode) argument 1746 cmn_err(CE_WARN, "urtw sc %p, mode 1751 urtw_led_mode2(struct urtw_softc *sc, int mode) argument 1758 urtw_led_mode3(struct urtw_softc *sc, int mode) argument 1814 urtw_led_ctl(struct urtw_softc *sc, int mode) argument [all...] |
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/ |
H A D | module.c | 600 switch (reqinfo->mode) { 620 "mode %d\n", reqinfo->mode);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_solaris.c | 933 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local 957 fd = open(*filenames, O_RDWR|O_CREAT|O_NOFOLLOW|O_NOLINKS, mode);
|
/illumos-gate/usr/src/lib/librsm/common/ |
H A D | rsmlib.c | 2490 rsm_barrier_mode_t *mode) 2498 *mode = seg->rsmseg_barmode; 2503 mode)); 2515 rsm_barrier_mode_t mode) 2522 if ((mode == RSM_BARRIER_MODE_IMPLICIT || 2523 mode == RSM_BARRIER_MODE_EXPLICIT)) { 2524 seg->rsmseg_barmode = mode; 2530 mode)); 2533 "bad barrier mode\n")); 2489 rsm_memseg_import_get_mode(rsm_memseg_import_handle_t im_memseg, rsm_barrier_mode_t *mode) argument 2514 rsm_memseg_import_set_mode(rsm_memseg_import_handle_t im_memseg, rsm_barrier_mode_t mode) argument
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | rcfile.c | 87 rc_open(const char *filename, const char *mode, struct rcfile **rcfile) argument 100 f = fopen(filename, mode);
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_files.c | 740 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local 758 if ((fd = open(tmpfilename, O_RDWR | O_CREAT | O_TRUNC, mode)) < 0)
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | depcomp | 43 depmode Dependency tracking mode. 335 # Important note: in order to support this mode, a compiler *must* 341 while test $1 != '--mode=compile'; do 384 # run, as this mode is specially recognized in the preamble. 392 while test $1 != '--mode=compile'; do 431 # Important note: in order to support this mode, a compiler *must* 437 while test $1 != '--mode=compile'; do 473 # Important note: in order to support this mode, a compiler *must* 516 # mode: shell-script
|