/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efinet.c | 67 dump_mode(EFI_SIMPLE_NETWORK_MODE *mode) argument 71 printf("State = %x\n", mode->State); 72 printf("HwAddressSize = %u\n", mode->HwAddressSize); 73 printf("MediaHeaderSize = %u\n", mode->MediaHeaderSize); 74 printf("MaxPacketSize = %u\n", mode->MaxPacketSize); 75 printf("NvRamSize = %u\n", mode->NvRamSize); 76 printf("NvRamAccessSize = %u\n", mode->NvRamAccessSize); 77 printf("ReceiveFilterMask = %x\n", mode->ReceiveFilterMask); 78 printf("ReceiveFilterSetting = %u\n", mode->ReceiveFilterSetting); 79 printf("MaxMCastFilterCount = %u\n", mode [all...] |
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | checklib.c | 49 if (hndl->mode == KERNEL_MODE) { 93 assert(hndl->mode == INTERNAL_MODE); 125 assert(hndl->mode == INTERNAL_MODE); 149 assert(hndl->mode == INTERNAL_MODE);
|
/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | m_nls.h | 42 extern char *m_nlspath(const char* catalog, int mode);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_pickle.cc | 40 /* Constructor. Creates pickle_file with given name and mode. */ 50 mode = m; 54 * Opens pickle_file with mode specified with constructor. 61 if (mode == PICKLE_READ) { 65 } else if (mode == PICKLE_WRITE) { 71 } else if (mode == PICKLE_APPEND) { 101 * dump or load is determined by 'mode' with which pickle_file was created. 102 * Returns 0 if successful; 1 if file cannot be opened in mode
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | ipc.h | 37 ushort mode; /* access modes */ member in struct:ipc_perm
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_fdio.c | 45 int flags, mode_t mode) 44 mdb_fdio_create_path(const char *path[], const char *fname, int flags, mode_t mode) argument
|
/illumos-gate/usr/src/cmd/mdb/intel/libstand/ |
H A D | stat.c | 63 _xmknod(const int ver, const char *path, mode_t mode, dev_t dev) argument
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_ctl.c | 39 aggr_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 81 aggr_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 107 ports_size, mode) != 0) { 127 aggr_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 137 int mode; member in struct:aggr_ioc_info_state 161 if (ddi_copyout(&grp, state->where, sizeof (grp), state->mode) != 0) 185 if (ddi_copyout(&port, state->where, sizeof (port), state->mode) != 0) 196 aggr_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 203 state.mode = mode; 210 aggr_ioc_add_remove(laioc_add_rem_t *add_rem_arg, intptr_t arg, int cmd, int mode) argument 247 aggr_ioc_add(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument 254 aggr_ioc_remove(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | mkdir.c | 37 mkdir(const char* path, mode_t mode) 59 return(chmod(path, mode));
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfset.c | 46 if((oflags = (f->mode&SF_RDWR)) != (int)f->mode && _sfmode(f,oflags,0) < 0) 71 /* turn to appropriate mode as necessary */ 78 if((flags == SF_WRITE && !(f->mode&SF_WRITE)) || 79 (flags == SF_READ && !(f->mode&(SF_READ|SF_SYNCED))) )
|
H A D | sfnew.c | 58 else if(f->mode&SF_AVAIL) 69 if(((f->mode&SF_RDWR) != f->mode && _sfmode(f,0,0) < 0) || 88 { if(f->mode&SF_AVAIL) 108 f->mode = (flags&SF_READ) ? SF_READ : SF_WRITE; 115 f->mode |= SF_INIT; 126 (void)_sfmode(f,f->mode&SF_RDWR,0);
|
H A D | sfsize.c | 36 reg int mode; local 42 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0) 81 if(f->here != s && (f->mode&SF_READ) ) 100 else if(f->mode&SF_WRITE)
|
H A D | sfstack.c | 55 if(f1 && (f1->mode&SF_RDWR) != f1->mode && _sfmode(f1,0,0) < 0) 57 if(f2 && (f2->mode&SF_RDWR) != f2->mode && _sfmode(f2,0,0) < 0) 68 f2->mode &= ~SF_PUSH; 100 f2->mode |= SF_PUSH; 106 f1->mode &= ~SF_PUSH;
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | gzclose.c | 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
H A D | inflate.c | 115 state->mode = HEAD; 633 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */ 639 switch (state->mode) { 642 state->mode = TYPEDO; 651 state->mode = FLAGS; 663 state->mode = BAD; 668 state->mode = BAD; 677 state->mode = BAD; 683 state->mode [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/trivial/ |
H A D | zfs_acl_aclmode_restricted_001_pos.ksh | 95 typeset mode 96 mode=$(get_mode ${node}) 98 if [[ $mode != "-${argv[((i + 2))]}"* && \ 99 $mode != "d${argv[((i + 2))]}"* ]]
|
H A D | zfs_acl_chmod_001_pos.ksh | 96 typeset mode 97 mode=$(get_mode ${node}) 99 if [[ $mode != "-${argv[((i + 2))]}"* && \ 100 $mode != "d${argv[((i + 2))]}"* ]]
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | pathchk.c | 103 static int pathchk(char* path, int mode) argument 112 if (mode & PATH) 116 if(mode & COMPONENTS) 199 if((mode & PATH) && *cp == '-') 205 if((mode & COMPONENTS) && !isport(c)) 233 register int mode = 0; local 244 mode |= COMPONENTS|PATH; 247 mode |= COMPONENTS; 250 mode |= PATH; 265 pathchk(s, mode); [all...] |
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmopen.c | 48 Vmalloc_t* vmopen(Vmdisc_t* disc, Vmethod_t* meth, int mode) argument 50 Vmalloc_t* vmopen(disc, meth, mode) 53 int mode; /* type of region */ 91 if((vd->mode&meth->meth) != 0) 120 vd->mode = (mode&VM_FLAGS) | meth->meth; 125 if(vd->mode&(VM_TRACE|VM_MTDEBUG)) 126 vd->mode &= ~VM_TRUST; 128 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE)) 163 if(vd->mode [all...] |
H A D | vmstat.c | 54 if(!(vd->mode&VM_TRUST)) 67 if(vd->mode&VM_MTLAST) 69 else if((vd->mode&VM_MTPOOL) && (s = vd->pool) > 0) 82 if(vd->mode&(VM_MTDEBUG|VM_MTBEST|VM_MTPROFILE)) 92 { if(vd->mode&VM_MTDEBUG) 94 else if(vd->mode&VM_MTPROFILE) 105 else if(vd->mode&VM_MTLAST) 115 else if((vd->mode&VM_MTPOOL) && s > 0) 122 if((vd->mode&VM_MTPOOL) && s > 0)
|
/illumos-gate/usr/src/lib/libnsctl/common/ |
H A D | cache.c | 56 nsc_open(path, flag, mode) 58 int flag, mode; 70 if ((mode & O_ACCMODE) == O_WRONLY) { 71 mode &= ~O_ACCMODE; 72 mode |= O_RDWR; 76 fd->sf_fmode = mode; 95 nsc_fdopen(id, path, mode) 96 int id, mode; 121 if ((mode & O_ACCMODE) != O_RDONLY) { 128 if ((mode [all...] |
/illumos-gate/usr/src/cmd/id/ |
H A D | id.c | 56 static PRINT mode = CURR; variable 91 if (mode != CURR) 93 mode = ALLGROUPS; 97 if (mode != CURR) 99 mode = GROUP; 115 if (mode != CURR) 117 mode = USER; 121 if (mode != CURR) 138 if ((mode == CURR && (nflag || rflag)) || 139 (mode [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_ioctl.c | 77 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/lib/libshell/common/scripts/ |
H A D | mandelbrotset1.sh | 221 typeset mode="parallel" 237 which runs either in serial or parallel mode (using multiple worker jobs).] 243 [S:serial?Run in serial mode.] 244 [P:parallel?Run in parallel mode.] 245 [M:mode?Execution mode.]:[mode] 258 S) mode="serial" ;; 259 +S) mode="parallel" ;; 260 P) mode [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | stat.h | 406 #define S_IAMB 0x1FF /* access mode bits */ 444 #define S_ISFIFO(mode) (((mode)&0xF000) == 0x1000) 445 #define S_ISCHR(mode) (((mode)&0xF000) == 0x2000) 446 #define S_ISDIR(mode) (((mode)&0xF000) == 0x4000) 447 #define S_ISBLK(mode) (((mode)&0xF000) == 0x6000) 448 #define S_ISREG(mode) (((mod [all...] |