/illumos-gate/usr/src/uts/common/io/atu/ |
H A D | atu.c | 149 atu_get_opmode(struct atu_softc *sc, uint8_t *mode) argument 152 0x0000, 1, mode); 1083 uint8_t mode, chan; local 1088 err = atu_get_opmode(sc, &mode); 1090 if (mode == ATU_DEV_READY) 1101 if (mode == ATU_DEV_STAGE2)
|
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_med.c | 1727 med_get_t_size_ioctl(mddb_med_t_parm_t *tpp, int mode) argument 1733 if ((mode & FREAD) == 0) 1743 med_get_t_ioctl(mddb_med_t_parm_t *tpp, int mode) argument 1750 if ((mode & FREAD) == 0) 1768 med_set_t_ioctl(mddb_med_t_parm_t *tpp, int mode) argument 1775 if ((mode & FWRITE) == 0)
|
/illumos-gate/usr/src/uts/common/io/mega_sas/ |
H A D | megaraid_sas.h | 127 * MFIMODE : Discard (possible) low MFA posted in 64-bit mode (??) 1654 struct megasas_ioctl *ioctl, int mode); 1656 struct megasas_ioctl *ioctl, int mode); 1667 megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode); 1669 megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode); 1671 megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode); 1673 megasas_ioctl *ioctl, struct megasas_cmd *cmd, int mode);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpoll.c | 65 static int dpioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, 749 * The epoll compat mode was enabled while we were waiting to 791 * If we're in epoll compatibility mode, check 885 * regardless of epoll compatibility mode, as the flag 886 * is harmless if not in epoll compatibility mode. 1018 dpioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 1100 STRUCT_INIT(dvpoll, mode); 1114 if ((mode & FKIOCTL) != 0) { 1144 if ((mode & FKIOCTL) != 0) { 1323 STRUCT_INIT(dvpoll, mode); [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 523 acquire_file_lock(int *fd, char *fname, mode_t mode) { argument 527 if ((mode == O_RDWR) || (mode == O_WRONLY)) { 558 *fd = open_nointr(fname, mode|O_NONBLOCK); 579 * Open the keystore description file in the specified mode. 584 open_and_lock_keystore_desc(mode_t mode, boolean_t do_create_keystore, argument 591 /* open the keystore description file in requested mode */ 593 fd = open_nointr(fname, mode|O_NONBLOCK); 599 fd = open_nointr(fname, mode|O_NONBLOCK); 613 if (acquire_file_lock(&fd, fname, mode) ! [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_timers.c | 274 timer->mode |= EV_TMR_RATE; 276 timer->mode &= ~EV_TMR_RATE;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rcp.c | 1418 int amt, count, exists, first, mask, mode; local 1513 mode = 0; 1516 SCREWUP("bad mode"); 1517 mode = (mode << 3) | (*cp - '0'); 1520 SCREWUP("mode not delimited"); 1562 (void) chmod(np, mode); 1563 } else if (mkdir(np, mode) < 0) { 1600 if ((ofd = open(np, O_WRONLY|O_CREAT, mode)) < 0) { 1613 (void) fchmod(ofd, mode); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | rstp.c | 225 set_hardware_mode(int vlan_id, UID_STP_MODE_T mode) argument 228 syslog(LOG_DEBUG, "setting hardware mode on vlan %d to %d", 229 vlan_id, mode);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm_impl.h | 436 static void s_mkdirp(const char *path, const mode_t mode); 459 mode_t *mode, uid_t *uid, gid_t *gid);
|
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/ldc/ |
H A D | ldc.c | 189 ldcp.id, addr, ldcp.mode, ldc_mode_bits, 206 if (ldcp.mode == LDC_MODE_RELIABLE) {
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_callbacks.c | 1071 * mode (input) - bitmask of the following: 1076 * conditions specified by mode. 1084 ulong_t mode, ndmpd_file_handler_func_t *func) 1088 return (ndmpd_add_file_handler(session, cookie, fd, mode, HC_MODULE, 1083 ndmpd_api_add_file_handler(void *daemon_cookie, void *cookie, int fd, ulong_t mode, ndmpd_file_handler_func_t *func) argument
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_region.c | 145 flags, flags, infop->mode, &infop->fd)) == 0) 157 flags, flags, infop->mode, &infop->fd)) != 0) 305 * open a file mode 0.
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_put.c | 564 flags, flags, dblp->lp->persist.mode, fdp)) == 0) 586 flags, flags, dblp->lp->persist.mode, fdp)) == 0) {
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | util.c | 649 ** SET_DELIVERY_MODE -- set and record the delivery mode 652 ** mode -- delivery mode 663 set_delivery_mode(mode, e) 664 int mode; 669 e->e_sendmode = (char) mode; 670 buf[0] = (char) mode; 676 ** SET_OP_MODE -- set and record the op mode 679 ** mode -- op mode [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | fsck.h | 223 * OR'd flags for find_dup_ref()'s mode argument 331 char rerun; /* rerun fsck. Only used in non-preen mode */ 416 * LINK_CLEAR(text, ino, mode, idp); 425 #define LINK_CLEAR(text, ino, mode, idp) { \ 426 pwarn("%s LINK COUNT %s", file_id((ino), (mode)), (text)); \
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4macs.c | 93 def(wchar_t **ap, int c, int mode) argument 112 install(ap[1], arg(2), mode);
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_ddi.c | 389 audio_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 398 rv = (c->c_ioctl == NULL) ? ENXIO : c->c_ioctl(c, cmd, arg, mode,
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_irq.c | 393 * drm_modeset_ctl - handle vblank event counter changes across mode switch 399 * Generally the counter will reset across mode sets. If interrupts are 470 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 548 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/ |
H A D | acpinex_drv.c | 506 acpinex_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 509 _NOTE(ARGUNUSED(cmd, arg, mode, credp, rvalp));
|
/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_init.c | 347 * Lets go to 4-bit bus mode, if possible. 441 sda_slot_err(slot, "Unable to set slot 1-bit mode (%d)", rv); 458 * 4-bit bus mode. This is a limitation of our implementation. 471 sda_slot_err(slot, "Unable to set card 4-bit mode (%d, %x)", 481 * to use 4-bit mode, but the host is not complying. It 484 sda_slot_err(slot, "Unable to set slot 4-bit mode (%d)", rv); 582 sda_init_switch(sda_slot_t *slot, uint8_t mode, uint8_t grp, uint8_t val, argument 593 arg = (mode << 31) | 0xffffff; 645 sda_slot_err(slot, "Failed setting slot to high speed mode");
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | kdb_ldap.c | 282 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 D | devtab.c | 570 * 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/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 344 static int fcp_ioctl(dev_t dev, int cmd, intptr_t data, int mode, 355 int cmd, intptr_t data, int mode, cred_t *credp, int *rval, 401 int mode, int *rval); 404 int mode, int *rval); 406 struct fcp_scsi_cmd *fscsi, int mode); 408 caddr_t base_addr, int mode); 583 static int fcp_get_statec_count(struct fcp_ioctl *data, int mode, int *rval); 587 static int fcp_get_target_mappings(struct fcp_ioctl *data, int mode, 592 static int fcp_get_target_mappings(struct fcp_ioctl *data, int mode, 1366 fcp_ioctl(dev_t dev, int cmd, intptr_t data, int mode, cred_ argument 1434 fcp_setup_device_data_ioctl(int cmd, struct fcp_ioctl *data, int mode, int *rval) argument 1740 fcp_get_target_mappings(struct fcp_ioctl *data, int mode, int *rval) argument 1975 fcp_setup_scsi_ioctl(struct fcp_scsi_cmd *u_fscsi, int mode, int *rval) argument 2145 fcp_copyin_scsi_cmd(caddr_t base_addr, struct fcp_scsi_cmd *fscsi, int mode) argument 2214 fcp_copyout_scsi_cmd(struct fcp_scsi_cmd *fscsi, caddr_t base_addr, int mode) argument 3019 fcp_get_statec_count(struct fcp_ioctl *data, int mode, int *rval) argument 3101 fcp_copyin_fcp_ioctl_data(struct fcp_ioctl *data, int mode, int *rval, struct fcp_ioctl *fioctl, struct fcp_port **pptr) argument 3711 fcp_port_ioctl(opaque_t ulph, opaque_t port_handle, dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rval, uint32_t claimed) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_znode.h | 142 * Convert mode bits (zp_mode) to BSD-style DT_* values for storing in 145 #define IFTODT(mode) (((mode) & S_IFMT) >> 12) 195 mode_t z_mode; /* mode (cached) */
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | zlib.h | 1227 ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode)); 1229 Opens a gzip (.gz) file for reading or writing. The mode parameter is as 1258 insufficient memory to allocate the gzFile state, or if an invalid mode was 1264 ZEXTERN gzFile ZEXPORT gzdopen OF((int fd, const char *mode)); 1268 has been previously opened with fopen). The mode parameter is as in gzopen. 1271 descriptor fd, just like fclose(fdopen(fd, mode)) closes the file descriptor 1273 mode);. The duplicated descriptor should be saved to avoid a leak, since 1281 gzFile state, if an invalid mode was specified (an 'r', 'w', or 'a' was not 1504 requested ("wT" for the gzopen() mode), or false (0) otherwise. (Note: 1754 const char *mode)); [all...] |