/illumos-gate/usr/src/boot/lib/libz/ |
H A D | inffast.c | 42 state->mode == LEN 48 On return, state->mode is one of: 179 state->mode = BAD; 193 state->mode = BAD; 289 state->mode = BAD; 299 state->mode = TYPE; 304 state->mode = BAD;
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | array.c | 942 * <mode> can be a number, plus or more of symbolic constants 945 * not already array and the ARRAY_ADD bit of <mode> is not set. 950 Namval_t *nv_putsub(Namval_t *np,register char *sp,register long mode) argument 953 register int size = (mode&ARRAY_MASK); 976 if(size==0 && !(mode&ARRAY_FILL)) 983 ap->header.nelem |= (mode&(ARRAY_SCAN|ARRAY_NOCHILD|ARRAY_UNDEF|ARRAY_NOSCOPE)); 1001 if((mode&ARRAY_SCAN) && (ap->cur--,!nv_nextsub(np))) 1003 if(mode&(ARRAY_FILL|ARRAY_ADD)) 1005 if(!(mode&ARRAY_ADD)) 1029 else if(!(mode 1067 nv_endsubscript(Namval_t *np, register char *cp, int mode) argument 1183 nv_associative(register Namval_t *np,const char *sp,int mode) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/btx/btx/ |
H A D | btx.S | 26 .set MEM_ESPR,0x5e00 # Real mode stack 46 .set PSL_VM,0x00020000 # Virtual 8086 mode flag 53 .set SEL_RCODE,0x18 # Real mode code 54 .set SEL_RDATA,0x20 # Real mode data 101 .set BDA_SCR,0x449 # Video mode 148 * Update real mode IDT for reflecting hardware interrupts. 152 mov $0x20*4,%di # First real mode IDT entry 192 mov $0x2820,%bx # Set protected mode 197 inc %ax # mode 236 iret # To user mode [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_misc.c | 64 * be in write through mode when NVRAM is present. This should 94 static int sdbcioctl(dev_t dev, int cmd, void *arg, int mode, cred_t *crp, 273 * write through mode(when NVRAM is present) 642 convert_ioctl_args(int cmd, void *arg, int mode, _sdbc_ioctl_t *args) argument 655 if (ddi_copyin(arg, &args32, sizeof (_sdbc_ioctl32_t), mode)) 811 sdbc_get_cd_blk(_sdbc_ioctl_t *args, int mode) argument 832 mode)) { 837 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 839 mode)) { 848 if (ddi_copyin((void *)args->arg2, addr, sizeof (addr), mode)) { 923 sdbcioctl(dev_t dev, int cmd, void *arg, int mode, cred_t *crp, int *rvp) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_tools.c | 128 pcitool_set_intr(dev_info_t *dip, void *arg, int mode) argument 141 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) 150 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) 257 if (ddi_copyout(&iset, arg, copyinout_size, mode) != DDI_SUCCESS) 275 pcitool_get_intr(dev_info_t *dip, void *arg, int mode) argument 292 if (ddi_copyin(arg, &partial_iget, PCITOOL_IGET_SIZE(0), mode) != 362 if (ddi_copyin(arg, iget, iget_kmem_alloc_size, mode) != 435 PCITOOL_IGET_SIZE(num_devs_ret), mode); 448 pcitool_intr_info(dev_info_t *dip, void *arg, int mode) argument 456 if (ddi_copyin(arg, &intr_info, sizeof (pcitool_intr_info_t), mode) ! 509 pcitool_intr_admn(dev_info_t *dip, void *arg, int cmd, int mode) argument 542 pcitool_bus_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode) argument 933 pcitool_dev_reg_ops(dev_info_t *dip, void *arg, int cmd, int mode) argument [all...] |
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_generic.c | 113 smedia_format(smedia_handle_t handle, uint32_t flavor, uint32_t mode) argument 119 ffl.mode = mode;
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | prb_proc.c | 562 long mode; local 569 mode = PR_RLC; 573 retval = ioctl(procfd, PIOCSET, &mode); 584 retval = ioctl(procfd, PIOCRESET, &mode); 608 long mode; local 615 mode = PR_KLC; 619 retval = ioctl(procfd, PIOCSET, &mode); 630 retval = ioctl(procfd, PIOCRESET, &mode); 652 long mode; local 660 mode [all...] |
H A D | open.c | 77 hdl->mode = DIRECT_MODE; 152 hdl->mode = DIRECT_MODE; 228 hdl->mode = INDIRECT_MODE; 274 hdl->mode = KERNEL_MODE; 330 if (hdl->mode == KERNEL_MODE) { 331 /* trace_file_name is ignored in kernel mode */ 354 * Deallocate the trace buffer - only works for kernel mode 361 if (hdl->mode != KERNEL_MODE)
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | verify.c | 136 * - VE_ATTR = path mode/group/user is not what was expected 378 * - VE_ATTR = path mode/group/user is not what was expected 607 if (mkdir(path, ainfo->mode)) { 619 mkdir(p, ainfo->mode)) 661 if (mknod(path, ainfo->mode | S_IFCHR, 691 if (mknod(path, ainfo->mode | S_IFBLK, 698 if (mknod(path, ainfo->mode | S_IFIFO, NULL) || 729 /* compare specified mode w/ actual mode excluding sticky bit */ 730 if (setval || (ainfo->mode [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs3.c | 770 xdr_skip(4); /* mode */ 864 detail_mode(mode) 865 int mode; 868 (void) sprintf(get_line(0, 0), " Mode = 0%o", mode); 871 (mode & S_ISUID) != 0, 872 (mode & S_ISGID) != 0, 873 (mode & S_ISVTX) != 0); 875 perms(mode >> 6 & 0x7)); 877 perms(mode >> 3 & 0x7)); 879 perms(mode 885 uint_t fltype, mode, nlinks, uid, gid; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_open.c | 31 memp_open(path, flags, mode, dbenv, retp) 34 int mode; 72 path, cachesize, mode, is_private, LF_ISSET(DB_CREATE))) != 0)
|
/illumos-gate/usr/src/cmd/initpkg/ |
H A D | umountall.sh | 253 while read dev mountp fstype mode dummy 320 for option in `echo $mode | tr , '\012'`; do 334 for option in `echo $mode | tr , '\012'`; do
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | kmem.c | 77 kvm_t kvm_open(kernel, core, swap, mode, errstr) 79 int mode; 90 fd = open(core, mode);
|
/illumos-gate/usr/src/cmd/sqlite/ |
H A D | shell.c | 170 int mode; member in struct:previous_mode_data 177 ** state and mode information. 184 int mode; /* An output mode setting */ member in struct:callback_data 185 int showHeader; /* True to show column names in List or Column mode */ 188 int colWidth[100]; /* Requested width of each column when in column mode*/ 193 /* Holds the mode information just before 209 #define MODE_NUM_OF 6 /* The number of modes (not a mode itself) */ 292 switch( p->mode ){ 370 }else if( p->mode [all...] |
/illumos-gate/usr/src/cmd/krb5/klist/ |
H A D | klist.c | 149 int mode; local 168 mode = DEFAULT; 193 if (mode != DEFAULT) usage(); 194 mode = CCACHE; 197 if (mode != DEFAULT) usage(); 198 mode = KEYTAB; 230 if (mode == DEFAULT || mode == CCACHE) { 279 if (mode == DEFAULT || mode [all...] |
/illumos-gate/usr/src/cmd/tsol/lslabels/ |
H A D | lslabels.c | 146 int mode = M_LABEL; local 158 mode = M_INTERNAL; 204 if (label_to_str(label, &labelstr, mode,
|
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nskernd.c | 187 nskernd_command(intptr_t arg, int mode, int *rvalp) argument 197 if (ddi_copyin((void *)arg, udata, sizeof (*udata), mode) < 0) { 246 sizeof (*udata), mode) < 0) {
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_scatter.c | 98 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 125 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) { 163 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
|
/illumos-gate/usr/src/uts/common/io/usb/hubd/ |
H A D | hubd.c | 43 static int hubd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, 200 hubd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument 205 return (usba_hubdi_ioctl(dip, dev, cmd, arg, mode,
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/rds/ |
H A D | rdsib_ep.h | 317 void rds_session_close(rds_session_t *sp, ibt_execution_mode_t mode, 340 ibt_execution_mode_t mode, ibt_channel_hdl_t *chanhdl); 341 int rds_close_rc_channel(ibt_channel_hdl_t chanhdl, ibt_execution_mode_t mode);
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | prom_plat.h | 54 * MMU node virtualized "mode" arguments and results for Spitfire MMU: 56 * The default virtualized "mode" for client program mappings created 80 * If the virtualized "mode" is -1, the defaults as shown above are used, 81 * otherwise the virtualized "mode" is set (and returned) based on the 82 * following virtualized "mode" abstractions. The mmu node "translations" 83 * property contains the actual tte-data, not the virtualized "mode". 107 #define PROM_MMU_MODE_DEFAULT ((int)-1) /* Default "mode", see above */ 148 extern int prom_map_phys(int mode, size_t size, caddr_t virt, 169 * prom_translate_virt returns the physical address and virtualized "mode" 172 * "mode" wer [all...] |
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | ssc050.c | 308 ssc050_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 346 sizeof (i2c_port_t), mode) != DDI_SUCCESS) { 378 sizeof (i2c_port_t), mode) != DDI_SUCCESS) { 385 sizeof (i2c_port_t), mode) != DDI_SUCCESS) { 458 sizeof (int32_t), mode) != DDI_SUCCESS) { 468 sizeof (int32_t), mode) != DDI_SUCCESS) { 475 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) { 516 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) { 523 sizeof (i2c_bit_t), mode) != DDI_SUCCESS) { 542 sizeof (i2c_reg_t), mode) ! [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 170 if ((sym->flags & SYM_FINAL) && (pp.mode & HOSTED)) return 0; 317 if ((pp.state & (COMPATIBILITY|STRICT)) == COMPATIBILITY || (pp.mode & HOSTED)) pp.state &= ~NOVERTICAL; 319 if (pp.mode & HOSTED) pp.state &= ~NOVERTICAL; 325 if ((pp.state & STRICT) && !(pp.mode & (HOSTED|RELAX))) 438 if (!(pp.mode & HOSTED)) 469 if (*pp.token == '/' && !(pp.mode & (HOSTED|RELAX))) 507 pp.mode |= EXPOSE; 511 pp.mode &= ~EXPOSE; 540 if ((pp.state & (STRICT|WARN)) && !(pp.mode & (HOSTED|RELAX))) 577 if (directive != PRAGMA && (!(*pp.control & SKIP) || !(pp.mode [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | server.c | 241 opts &= ~WHOLE; /* WHOLE mode only useful if renaming */ 781 int f, mode, opts, wrerr, olderrno; local 798 mode = 0; 800 mode = (mode << 3) | (*cp++ - '0'); 802 error("recvf: mode not delimited\n"); 861 if ((stb.st_mode & 07777) == mode) { 865 sendrem("%s: Warning: remote mode %o != " 866 "local mode %o", target, 867 stb.st_mode & 07777, mode); 1090 int mode = stb.st_mode & S_IFMT; local [all...] |
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 93 int ch, mode; local 173 mode = EXPMODE; 178 mode = EXPMODE; 183 num_arg(*argv, mode); 184 mode = FALSE; 187 mode = LINMODE; 442 * the number and checks for validity. Next num_arg checks the mode 444 * of times. If the mode is not set properly its an error.
|