/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | multiboot.c | 259 * If the console is in mirror mode, set the kernel console from $os_console. 261 * If $console is "ttyX", also pass $ttyX-mode, since it may have been set by 275 char mode[10]; local 289 snprintf(mode, sizeof (mode), "%s-mode", os_console); 290 ttymode = getenv(mode); /* never NULL */ 304 len += 13; /* ",ttyX-mode=\"\"" */ 314 "%s -B console=%s,%s-mode=\"%s\"", 320 /* console is set, do we need tty mode [all...] |
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | adm1031.c | 38 #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...] |
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 28 #include <sys/mode.h> 58 int mode, 64 if (mode & FREAD) 66 if (mode & FWRITE) 300 int mode, 381 int mode, 423 fd = openat(dvp->v_fd, name, omode, mode); 549 mode_t mode = vap->va_mode & 0777; local 551 if (mkdirat(dvp->v_fd, name, mode) == -1) 1280 v_mode_t mode) 56 fop_open( vnode_t **vpp, int mode, cred_t *cr, caller_context_t *ct) argument 298 fop_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 376 fop_create( vnode_t *dvp, char *name, vattr_t *vap, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cr, int flags, caller_context_t *ct, vsecattr_t *vsecp) argument 1278 vn_has_other_opens( vnode_t *vp, v_mode_t mode) argument 1312 vn_is_opened( vnode_t *vp, v_mode_t mode) argument 1347 vn_is_mapped( vnode_t *vp, v_mode_t mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 338 static int rsm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 453 static int rsm_unpublish(rsmseg_t *seg, int mode); 1057 rsm_getadapter(rsm_ioctlmsg_t *msg, int mode) argument 1073 if (ddi_copyin(msg->cname, adapter_devname, msg->cname_len, mode)) 1324 /* Find resource and lock it in READER mode */ 1365 /* Find resource and lock it in READER mode */ 2308 rsm_bind(rsmseg_t *seg, rsm_ioctlmsg_t *msg, intptr_t dataptr, int mode) argument 2316 adapter = rsm_getadapter(msg, mode); 2394 if ((mode & DATAMODEL_MASK) == DATAMODEL_ILP32) { 2400 sizeof (minor_t), mode)) { 2656 rsmacl_build(rsm_ioctlmsg_t *msg, int mode, rsmapi_access_entry_t **list, int *len, int loopback) argument 2849 rsm_publish(rsmseg_t *seg, rsm_ioctlmsg_t *msg, intptr_t dataptr, int mode) argument 3104 rsm_republish(rsmseg_t *seg, rsm_ioctlmsg_t *msg, int mode) argument 3261 rsm_unpublish(rsmseg_t *seg, int mode) argument 6066 rsm_access(uid_t owner, gid_t group, int perm, int mode, const struct cred *cr) argument 6086 rsm_connect(rsmseg_t *seg, rsm_ioctlmsg_t *msg, cred_t *cred, intptr_t dataptr, int mode) argument 6852 rsmexport_ioctl(rsmseg_t *seg, rsm_ioctlmsg_t *msg, int cmd, intptr_t arg, int mode, cred_t *credp) argument 6895 rsmimport_ioctl(rsmseg_t *seg, rsm_ioctlmsg_t *msg, int cmd, intptr_t arg, int mode, cred_t *credp) argument 6920 rsmbar_ioctl(rsmseg_t *seg, rsm_ioctlmsg_t *msg, int cmd, intptr_t arg, int mode) argument 7061 rsm_consumeevent_copyin(caddr_t arg, rsm_consume_event_msg_t *msgp, rsm_poll_event_t **eventspp, int mode) argument 7180 rsm_consumeevent_copyout(rsm_consume_event_msg_t *msgp, rsm_poll_event_t *eventsp, int mode) argument 7258 rsm_consumeevent_ioctl(caddr_t arg, int mode) argument 7303 iovec_copyin(caddr_t user_vec, rsmka_iovec_t *iovec, int count, int mode) argument 7359 sgio_copyin(caddr_t arg, rsmka_scat_gath_t *sg_io, int mode) argument 7398 sgio_resid_copyout(caddr_t arg, rsmka_scat_gath_t *sg_io, int mode) argument 7458 rsm_iovec_ioctl(dev_t dev, caddr_t arg, int cmd, int mode, cred_t *credp) argument 7748 rsmaddr_ioctl(int cmd, rsm_ioctlmsg_t *msg, int mode) argument 7804 rsm_ddi_copyin(caddr_t arg, rsm_ioctlmsg_t *msg, int mode) argument 7850 rsmattr_ddi_copyout(adapter_t *adapter, caddr_t arg, int mode) argument 7959 rsm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | rmclomv.c | 59 #define RMCLOMV_WATCHDOG_MODE "rmclomv-watchdog-mode" 86 static int rmclomv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 112 static int do_psu_cmd(intptr_t arg, int mode, envmon_indicator_t *env_ind, 1827 do_psu_cmd(intptr_t arg, int mode, envmon_indicator_t *env_ind, argument 1837 sizeof (envmon_indicator_t), mode) != 0) 1900 sizeof (envmon_indicator_t), mode) != 0) 1908 rmclomv_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, argument 2036 sizeof (lomv_sysinfo), mode) != 0) 2042 sizeof (envmon_sensor_t), mode) != 0) 2122 sizeof (envmon_sensor_t), mode) ! [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg_lex.l | 166 <TSTATE>activation-mode { return ACTIVATION_MODE; } 174 <TSTATE>priority-mode { return PRIORITY_MODE; } 214 <TSTATE>security-mode { return WLAN_SECURITY_MODE; }
|
/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_fopen.c | 35 memp_fopen(dbmp, path, flags, mode, pagesize, finfop, retp) 39 int mode; 62 NULL, path, flags, mode, pagesize, 1, finfop, retp)); 73 __memp_fopen(dbmp, mfp, path, flags, mode, pagesize, needlock, finfop, retp) 78 int mode, needlock; 145 DB_CREATE | DB_RDONLY, mode, &dbmfp->fd)) != 0) {
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipnat.c | 113 int fd, c, mode; local 122 mode = O_RDWR; 147 mode = O_RDONLY; 157 mode = O_RDONLY; 167 mode = O_RDONLY; 201 if (((fd = open(IPNAT_NAME, mode)) == -1) &&
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | profile.c | 417 int mode; local 420 mode = DTRACE_MODE_KERNEL; 422 mode = DTRACE_MODE_USER; 426 mode |= DTRACE_MODE_NOPRIV_RESTRICT; 429 mode |= DTRACE_MODE_NOPRIV_DROP; 432 return (mode);
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_lookup.c | 133 /* mode(I) - file mode bits used with open */ 139 int ip_lookup_ioctl(data, cmd, mode, uid, ctx, ifs) 142 int mode, uid; 149 mode = mode; /* LINT */ 634 int ip_lookup_ioctl(data, cmd, mode, uid, ifs) 637 int mode, uid;
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | gzread.c | 307 if (state->mode != GZ_READ || 403 if (state->mode != GZ_READ || 438 if (state->mode != GZ_READ || 502 if (state->mode != GZ_READ || 562 if (state->mode == GZ_READ && state->how == LOOK && state->x.have == 0) 582 if (state->mode != GZ_READ)
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | action.c | 385 * code will still behave properly in notouch mode (when restats 392 int mode, maj, min, type; local 438 mode = sp->f_mode; /* modes for the new file */ 461 if (dp->f_mode != mode) 543 fprintf(stdout, " chmod %o %s;\n", mode, noblanks(dst)); 554 rc = opt_notouch ? 0 : mkdir(dst, mode); 561 dp->f_mode = mode; 609 : mknod(dst, mode|type, makedev(maj, min)); 618 if (dp->f_mode != mode) 689 dp->f_mode = mode; 1064 copy(char *src, char *dst, int mode) argument [all...] |
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 48 t4_ioctl(struct adapter *sc, int cmd, void *data, int mode) argument 55 rc = pci_rw(sc, data, mode, cmd == T4_IOCTL_PCIPUT32); 59 rc = reg_rw(sc, data, mode, cmd == T4_IOCTL_PUT32); 62 rc = regdump(sc, data, mode); 65 rc = get_sge_context(sc, data, mode); 68 rc = get_devlog(sc, data, mode); 71 rc = read_card_mem(sc, data, mode); 74 rc = read_tid_tab(sc, data, mode); 77 rc = read_mbox(sc, data, mode); 80 rc = read_cim_la(sc, data, mode); [all...] |
/illumos-gate/usr/src/uts/intel/io/heci/ |
H A D | io_heci.c | 85 struct heci_file_private *file_ext, int mode) 120 if (ddi_copyout(res_msg.data, k_msg.data, res_msg.size, mode)) { 124 if (ddi_copyout(&res_msg.size, &u_msg->size, sizeof (uint32_t), mode)) { 148 struct heci_file *file, int mode) 205 if (ddi_copyin(k_msg.data, req_msg.data, k_msg.size, mode)) { 289 if (ddi_copyout(res_msg.data, k_msg.data, res_msg.size, mode)) { 295 sizeof (uint32_t), mode)) { 351 if (ddi_copyout(res_msg.data, k_msg.data, res_msg.size, mode)) { 356 sizeof (uint32_t), mode)) { 407 struct heci_file_private *file_ext, int mode) 82 heci_ioctl_get_version(struct iamt_heci_device *dev, int if_num, struct heci_message_data *u_msg, struct heci_message_data k_msg, struct heci_file_private *file_ext, int mode) argument 145 heci_ioctl_connect_client(struct iamt_heci_device *dev, int if_num, struct heci_message_data *u_msg, struct heci_message_data k_msg, struct heci_file *file, int mode) argument 405 heci_ioctl_wd(struct iamt_heci_device *dev, int if_num, struct heci_message_data k_msg, struct heci_file_private *file_ext, int mode) argument 489 heci_ioctl_bypass_wd(struct iamt_heci_device *dev, int if_num, struct heci_message_data k_msg, struct heci_file_private *file_ext, int mode) argument [all...] |
/illumos-gate/usr/src/common/bzip2/ |
H A D | bzlib.c | 274 s->mode = BZ_M_RUNNING; 333 s->mode = BZ_M_RUNNING; 432 if (s->mode == BZ_M_RUNNING) { 511 if (s->mode == BZ_M_FINISHING && 516 if (s->mode == BZ_M_FLUSHING && 523 if (s->mode != BZ_M_RUNNING && s->avail_in_expect == 0) { 525 BZ2_compressBlock ( s, (Bool)(s->mode == BZ_M_FINISHING) ); 556 switch (s->mode) { 569 s->mode = BZ_M_FLUSHING; 575 s->mode 1558 bzopen_or_bzdopen( const char *path, int fd, const char *mode, int open_mode) argument [all...] |
H A D | bzlib.h | 261 const char *mode 266 const char *mode
|
/illumos-gate/usr/src/lib/librsm/inc/ |
H A D | rsmapi.h | 264 rsm_barrier_mode_t *mode); 267 rsm_barrier_mode_t mode);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_dictlog.cc | 195 if (mode != PICKLE_READ) { 228 if (mode != PICKLE_APPEND) {
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | tputcfent.c | 130 if (ept->ainfo.mode == BADMODE) 131 (void) fprintf(fp, pkg_gt("Expected mode: %s\n"), 134 (void) fprintf(fp, pkg_gt("Expected mode: %04lo\n"), 135 ept->ainfo.mode);
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppmisc.c | 39 if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || ref == REF_DELETE && (pp.mode & (INIT|READONLY)))) 53 if (ref == REF_IF && sym && (sym->flags & SYM_PREDEFINED) && *name != '_' && !(pp.mode & (HOSTED|INACTIVE)))
|
H A D | pptrace.c | 170 * return string given pp.mode 174 ppmodestr(register long mode) argument 176 return(ppflagstr(ppmodemap, elementsof(ppmodemap), mode));
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_libssl_setup.c | 268 solaris_locking_callback(int mode, int type, char *file, int line) argument 270 if (mode & CRYPTO_LOCK) {
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_rfd.c | 153 void(*revoke)(struct rfd *), void *data, int oflag, mode_t mode) 158 while ((fd = open(name, oflag, mode)) == -1 && (errno == ENFILE || 152 rfd_open(char *name, int revoke_ok, rfd_class_t class, void(*revoke)(struct rfd *), void *data, int oflag, mode_t mode) argument
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_promif_isadep.c | 204 int valid, mode; local 211 if (prom_translate_virt((caddr_t)vabase, &valid, &pa, &mode) != 0)
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | files.c | 226 const char *mode, *group; local 281 mode = MSG_ORIG(MSG_MODE_GLOBNODEL); 283 mode = MSG_ORIG(MSG_MODE_GLOB); 285 mode = MSG_ORIG(MSG_MODE_NODEL); 287 mode = MSG_ORIG(MSG_STR_EMPTY); 289 dbg_print(lml, MSG_INTL(str), NAME(lmp), mode, group); 571 Dbg_file_mode_promote(Rt_map *lmp, int mode) argument 581 conv_dl_mode(mode, 0, &dl_mode_buf));
|