/illumos-gate/usr/src/cmd/rexd/ |
H A D | rex.c | 114 * xdr_rex_ttymode - process the tty mode information 117 xdr_rex_ttymode(XDR *xdrs, struct rex_ttymode *mode) argument 126 speedp = &mode->basic.sg_ispeed; 127 morep = (char *)&mode->more; 128 yetmorep = (char *)&mode->yetmore; 132 xdr_short(xdrs, (short *) &mode->basic.sg_flags) && 135 xdr_u_long(xdrs, &mode->andmore);
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfsk.c | 41 reg int local, mode; local 48 { if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0) 53 if(f->mode == SF_READ && (f->bits&SF_MMAP) && f->data)
|
H A D | sfread.c | 52 if(f->mode&SF_PEEK) 53 { if(!(f->mode&SF_READ) ) 56 if(f->mode&SF_GETR) 60 f->mode &= ~SF_PEEK; 66 f->mode &= ~SF_PEEK; 67 if(f->mode&SF_PKRD) 69 f->mode &= ~SF_PKRD; 82 for(;; f->mode &= ~SF_LOCK) 83 { /* check stream mode */
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_ioctl.c | 51 static int ioat_ioctl_rdreg(ioat_state_t *state, void *arg, int mode); 53 static int ioat_ioctl_wrreg(ioat_state_t *state, void *arg, int mode); 54 static int ioat_ioctl_test(ioat_state_t *state, void *arg, int mode); 62 ioat_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, int *rval) argument 84 e = ioat_ioctl_rdreg(state, (void *)arg, mode); 88 e = ioat_ioctl_wrreg(state, (void *)arg, mode); 91 e = ioat_ioctl_test(state, (void *)arg, mode); 107 ioat_ioctl_rdreg(ioat_state_t *state, void *arg, int mode) argument 113 e = ddi_copyin(arg, &rdreg, sizeof (ioat_ioctl_rdreg_t), mode); 143 e = ddi_copyout(&rdreg, arg, sizeof (ioat_ioctl_rdreg_t), mode); 157 ioat_ioctl_wrreg(ioat_state_t *state, void *arg, int mode) argument 206 ioat_ioctl_test(ioat_state_t *state, void *arg, int mode) argument [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_hdlr.c | 207 * Code for setting or clearing interval mode on US-III and above. 222 * If a handling mode is in effect, apply it; otherwise invoke the 231 int mode, i; local 260 /* get the handling mode */ 261 mode = FEX_NOHANDLER; 265 mode = thr_handlers[(int)e].__mode; 271 __fex_mklog(uap, (char *)sip->si_addr, i, e, mode, (void *)handler); local 273 /* handle the exception based on the mode */ 274 if (mode == FEX_NOHANDLER) 276 else if (mode 393 int mode, simd_mode[4], i, len, accrued, *ap; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpool.c | 196 pool_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 232 model = ddi_model_convert_from(mode & FMODELS); 261 sizeof (pool_status_t), mode) != 0) 274 sizeof (pool_status_t), mode) != 0) 282 sizeof (pool_query32_t), mode) != 0) 291 sizeof (pool_query_t), mode) != 0) 329 sizeof (pool_query32_t), mode) != 0) 337 sizeof (pool_query_t), mode) != 0) 341 ddi_copyout(kbuf, query.pq_io_buf, size, mode) != 0) 350 &create, sizeof (pool_create_t), mode) ! [all...] |
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | inflate.c | 120 state->mode = HEAD; 589 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */ 595 switch (state->mode) { 598 state->mode = TYPEDO; 607 state->mode = FLAGS; 619 state->mode = BAD; 624 state->mode = BAD; 631 state->mode = BAD; 637 state->mode [all...] |
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | completion.c | 96 int mode=*type; local 122 if(mode!='*' && (isaletter(c) || c=='{')) 148 *type = mode; 191 * mode is '*' for inline expansion, 192 * mode is '\' for filename completion 193 * mode is '=' cause files to be listed in select format 196 int ed_expand(Edit_t *ep, char outbuff[],int *cur,int *eol,int mode, int count) argument 207 if(mode=='=' && count>0) 211 mode = '?'; 246 var = mode; [all...] |
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | xstat.c | 73 _xmknod(int version, const char *path, mode_t mode, dev_t dev) argument 79 return (mknod(path, mode, dev));
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | shm.c | 38 shm_open(const char *path, int oflag, mode_t mode) argument 51 fd = __pos4obj_open(path, SHM_DATA_TYPE, oflag, mode, &crflag);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | chmod.c | 35 "according to mode, which can be either a symbolic representation " 38 "[+?Symbolic mode strings consist of one or more comma separated list " 39 "of operations that can be perfomed on the mode. Each operation is of " 73 "[+?A numeric mode is from one to four octal digits (0-7), " 84 "[+?For symbolic links, by default, \bchmod\b changes the mode on the file " 86 "The \b-h\b options can be specified to change the mode of the link. " 95 "\b%s: mode changed to %0.4o (%s)\b, with arguments of the " 96 "pathname, the numeric mode, and the resulting permission bits as " 100 "symbolic mode specification, \bchmod\b treats this as a mode " 153 register int mode; local [all...] |
H A D | wc.h | 49 int mode; member in struct:__anon3094
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_list.c | 156 * entries present in the source list, depending on the mode 159 void list_modify_str_array(destlist, sourcelist, mode) 162 int mode; 174 if (mode == LIST_MODE_ADD) { 198 } else if (mode == LIST_MODE_DELETE) { 224 * entries present in the source list, depending on the mode 227 int list_modify_int_array(destlist, sourcelist, mode) 230 int mode; 242 if (mode == LIST_MODE_ADD) { 267 } else if (mode [all...] |
/illumos-gate/usr/src/cmd/lms/SyncLib/Include/ |
H A D | Lock.h | 53 Lock(RWLock &rw_lock, RWLock::RWMode mode = RWLock::READ_ONLY) : 56 _rw_lock->acquire(mode);
|
/illumos-gate/usr/src/cmd/tput/ |
H A D | tput.c | 583 #define GTTY(fd, mode) ioctl(fd, TCGETA, mode) 584 #define GTTYS(fd, mode) \ 585 (istermios = ioctl(fd, TCGETS, mode)) 586 #define STTY(fd, mode) ioctl(fd, TCSETAW, mode) 587 #define STTYS(fd, mode) ioctl(fd, TCSETSW, mode) 588 #define SPEED(mode) (mode [all...] |
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | mkdirp.c | 52 mkdirp(const char *d, mode_t mode) argument 65 if (mkdir(str, mode) == 0) { 96 if (mkdir(str, mode) != 0 && errno != EEXIST) { 109 if (mkdir(str, mode) != 0 && errno != EEXIST) {
|
/illumos-gate/usr/src/lib/libnsctl/common/ |
H A D | llib-lnsctl | 34 nsc_fd_t *nsc_open(char *path, int flag, int mode); 35 nsc_fd_t *nsc_fdopen(int id, char *path, int mode);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | popen.c | 19 #define tst(a,b) (*mode == 'r'? (b) : (a)) 30 popen(cmd,mode) 32 char *mode; 76 return (fdopen(myside, mode));
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | shm.c | 111 ** SM_SHMSETOWNER -- set owner/group/mode of shared memory segment. 117 ** mode -- mode to use 125 sm_shmsetowner(shmid, uid, gid, mode) 129 mode_t mode; 139 shmid_ds.shm_perm.mode = mode;
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioUnixfile_inline.h | 74 // Return the access mode 77 return (mode); 80 // Return the blocking i/o mode
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_rate.h | 51 void ath_rate_setup(ath_t *asc, uint32_t mode);
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/ |
H A D | scsi_vhci_tpgs.h | 54 extern int vhci_tpgs_get_target_fo_mode(struct scsi_device *sd, int *mode,
|
/illumos-gate/usr/src/common/acl/ |
H A D | acl_common.h | 41 uint32_t owner; /* allow mask matching mode */ 42 uint32_t group; /* allow mask matching mode */ 43 uint32_t everyone; /* allow mask matching mode */ 47 extern void adjust_ace_pair(ace_t *pair, mode_t mode); 59 int acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count); 60 void acl_trivial_access_masks(mode_t mode, boolean_t isdir,
|
/illumos-gate/usr/src/cmd/mkfifo/ |
H A D | mkfifo.c | 65 mode_t mode = ALLRW & (~umsk); local 82 mode = newmode(optarg, ALLRW, umsk, "", ""); 98 if (mkfifo(path, mode) < 0) { 112 gettext("usage: mkfifo [-m mode] file ...\n"));
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_cmds.c | 184 cmd_run_send(const inj_mode_ops_t *mode, void *hdl, inj_defn_t *ev) argument 204 mode->mo_send(hdl, ev->defn_nvl); 211 cmd_run_random(const inj_mode_ops_t *mode, void *hdl, inj_cmd_t *cmd) argument 221 cmd_run_send(mode, hdl, cmd->cmd_rand[i - 1]->re_event); 225 cmd_run(const inj_mode_ops_t *mode, void *hdl, inj_cmd_t *cmd) argument 229 cmd_run_send(mode, hdl, cmd->cmd_event); 241 cmd_run_random(mode, hdl, cmd); 250 inj_program_run(inj_list_t *prog, const inj_mode_ops_t *mode, void *mode_arg) argument 252 void *hdl = mode->mo_open(mode_arg); 263 cmd_run(mode, hd [all...] |