Searched refs:mode (Results 301 - 325 of 1589) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/efcode/engine/
H A Dextend.c38 int mode; local
41 mode = POP(DS);
43 pl = dlopen(name, mode);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c93 int mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local
108 fd = open(dlipath, oflag, mode);
112 if (fchmod(fd, mode) < 0) {
/illumos-gate/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c88 open_daemon_lock(const char *name, int mode) argument
124 if ((fd = open(lock_file, mode, 0644)) == -1)
127 if (mode & O_CREAT)
/illumos-gate/usr/src/lib/libpkg/common/
H A Dmappath.c41 #define mode(flag, pt) (!flag || ((flag == 1) && islower(pt[1])) || \ macro
83 if (mode(flag, pt)) {
206 if (mode(flag, varname)) {
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcksum.c52 "[b:binary?Read files in binary mode. This is the default.]"
61 " then the file mode, user and group are also checked. Empty lines,"
74 " mode, user and group between the checksum and path. User and group"
76 " specified then the mode, user and group for each path in \afile\a"
88 "[T:text?Read files in text mode (i.e., treat \b\\r\\n\b as \b\\n\b).]"
128 int permissions; /* include mode,uer,group */
145 * open path for read mode
149 openfile(const char* path, const char* mode) argument
156 sfopen(sp, NiL, mode);
158 else if (!(sp = sfopen(NiL, path, mode)))
264 int mode; local
[all...]
H A Dcut.c133 cutinit(int mode, char* str, Delim_t* wdelim, Delim_t* ldelim, size_t reclen) argument
157 cut->cflag = (mode&C_CHARS) && cut->mb;
158 cut->nosplit = (mode&(C_BYTES|C_NOSPLIT)) == (C_BYTES|C_NOSPLIT) && cut->mb;
159 cut->sflag = (mode&C_SUPRESS) != 0;
160 cut->nlflag = (mode&C_NONEWLINE) != 0;
580 int mode = 0; local
597 if(mode&C_FIELDS)
604 mode |= C_BYTES;
606 mode |= C_CHARS;
639 if(mode
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dpclose.c79 #define tst(a, b) (*mode == 'r'? (b) : (a))
88 mypopen(char *cmd, char *mode) argument
130 return (fdopen(myside, mode));
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkeytab.c430 enum { UNDEF, SPEC, HIGH, ALL, OLD } mode; local
442 mode = UNDEF;
444 mode = HIGH;
447 mode = ALL;
450 mode = OLD;
453 mode = SPEC;
465 if (mode != SPEC)
497 ((mode == ALL) ||
498 (mode == SPEC && entry.vno == kvno) ||
499 (mode
[all...]
/illumos-gate/usr/src/cmd/tic/
H A Dtic_main.c242 * mkdir(dirname, mode)
248 mkdir(dirname, mode)
253 int mode;
272 if ((status != 0) || (chmod(dirname, mode) == -1))
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsffilbuf.c51 rcrv = f->mode&(SF_RC|SF_RV|SF_LOCK);
56 for(first = 1;; first = 0, (f->mode &= ~SF_LOCK) )
57 { /* check mode */
103 f->mode |= rcrv;
H A Dsfsetbuf.c122 if(_Sfexiting && !(f->flags&SF_STRING) && (f->mode&SF_WRITE))
127 if((init = f->mode&SF_INIT) )
131 else if((f->mode&SF_RDWR) != SFMODE(f,local) && _sfmode(f,0,local) < 0)
135 f->mode = (f->mode&SF_RDWR)|SF_LOCK;
140 if(f->proc && (f->flags&SF_READ) && (f->mode&SF_WRITE) &&
150 f->mode &= ~SF_SYNCED;
267 /* set line mode for terminals */
301 if(okmmap && size && (f->mode&SF_READ) && f->extent >= 0 )
326 else if(f == sfstderr && (f->mode
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/notify/
H A Dmd_notify.c299 int mode)
312 err = ddi_copyout(data, ioctl_in, sz, mode);
334 int mode, IOLOCK *lockp)
351 ((void *)ioctl, ioctl_in, sz, mode);
372 notify_ioctl(dev_t dev, int icmd, void *ioctl_in, int mode, IOLOCK *lockp) argument
387 if (ddi_copyin(ioctl_in, (void *)ioctl, sz, mode)) {
413 ((void *)ioctl, ioctl_in, sz, mode);
490 ioctl, sz, mode, lockp);
501 ((void *)ioctl, ioctl_in, sz, mode);
503 err = ddi_copyout((void *)ioctl, ioctl_in, sz, mode);
298 notify_fillin_empty_ioctl(void *data, void *ioctl_in, size_t sz, int mode) argument
332 md_wait_for_event(md_event_queue_t *event_queue, void *ioctl_in, md_event_ioctl_t *ioctl, size_t sz, int mode, IOLOCK *lockp) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dprom_plat.h54 * 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 Dlm75.c220 lm75_get16(intptr_t arg, int reg, struct lm75_unit *unitp, int mode) { argument
264 sizeof (int16_t), mode) != DDI_SUCCESS) {
275 lm75_set16(intptr_t arg, int reg, struct lm75_unit *unitp, int mode) { argument
281 sizeof (int16_t), mode) != DDI_SUCCESS) {
318 lm75_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
349 err = lm75_get16(arg, LM75_TEMPERATURE_REG, unitp, mode);
353 err = lm75_get16(arg, LM75_HYST_REG, unitp, mode);
357 err = lm75_set16(arg, LM75_HYST_REG, unitp, mode);
361 err = lm75_get16(arg, LM75_OVERTEMP_REG, unitp, mode);
365 err = lm75_set16(arg, LM75_OVERTEMP_REG, unitp, mode);
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c97 int mode; local
102 CALLBACK(stat, f->f_fsdata, &mode, &uid, &gid, &size);
103 sb->st_mode = mode;
/illumos-gate/usr/src/uts/i86pc/io/xsvc/
H A Dxsvc.c59 static int xsvc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred,
115 static int xsvc_ioctl_alloc_memory(xsvc_state_t *state, void *arg, int mode);
116 static int xsvc_ioctl_flush_memory(xsvc_state_t *state, void *arg, int mode);
117 static int xsvc_ioctl_free_memory(xsvc_state_t *state, void *arg, int mode);
412 xsvc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, int *rval) argument
434 err = xsvc_ioctl_alloc_memory(state, (void *)arg, mode);
438 err = xsvc_ioctl_free_memory(state, (void *)arg, mode);
442 err = xsvc_ioctl_flush_memory(state, (void *)arg, mode);
457 xsvc_ioctl_alloc_memory(xsvc_state_t *state, void *arg, int mode) argument
473 if (ddi_model_convert_from(mode
631 xsvc_ioctl_flush_memory(xsvc_state_t *state, void *arg, int mode) argument
672 xsvc_ioctl_free_memory(xsvc_state_t *state, void *arg, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c880 * int mode - must be FWRITE
886 raid_set(void *d, int mode) argument
942 msp->size, mode)) {
1053 * int mode - must be FREAD
1062 int mode,
1088 un->c.un_size, mode))
1478 * int mode - must be FWRITE
1592 * int mode - must be FWRITE
1670 * int mode - must be FWRITE
1678 raid_grow(void *mgp, int mode, IOLOC argument
1060 raid_get( void *migp, int mode, IOLOCK *lock ) argument
2175 raid_getdevs( void *mgdp, int mode, IOLOCK *lock ) argument
2333 raid_admin_ioctl( int cmd, void *data, int mode, IOLOCK *lockp ) argument
2648 md_raid_ioctl( dev_t dev, int cmd, void *data, int mode, IOLOCK *lockp ) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_ioctl.c162 int mode
223 (uint_t)msp->size, mode)) {
287 int mode,
308 un->c.un_size, mode))
316 int mode,
348 sizeof (*udevs), mode) != 0)
928 /* in dryrun mode, don't leave the device open */
2468 mirror_admin_ioctl(int cmd, void *data, int mode, IOLOCK *lockp) argument
2475 if ((mode & DATAMODEL_MASK) != DATAMODEL_ILP32) {
2483 if (! (mode
285 mirror_get( void *migp, int mode, IOLOCK *lock ) argument
314 mirror_getdevs( void *mgdp, int mode, IOLOCK *lock ) argument
3015 md_mirror_ioctl( dev_t ddi_dev, int cmd, void *data, int mode, IOLOCK *lockp ) argument
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dfile.c135 int mode, open_disp, req_acc, share_acc; local
153 mode = (oflag & 3) + 1;
162 if (mode & FREAD) {
169 if (mode & FWRITE) {
/illumos-gate/usr/src/lib/libcrypt/common/
H A Dllib-lcrypt58 int cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec);
59 int ecb_crypt(char *key, char *buf, size_t len, unsigned int mode);
/illumos-gate/usr/src/head/
H A Dpkgstrct.h58 mode_t mode; member in struct:ainfo
/illumos-gate/usr/src/cmd/projadd/
H A Dprojadd.pl128 my ($mode, $uid, $gid);
133 # Read the project file. sysopen() is used so we can control the file mode.
137 $mode = 0644;
144 ($mode, $uid, $gid) = (stat($pfh))[2,4,5];
278 sysopen($pfh, $tmpprojf, O_WRONLY | O_CREAT | O_EXCL, $mode) ||
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c80 static char mode[32]; variable
121 static char vhelp[] = "toggle verbose mode";
128 static char mhelp[] = "set file transfer mode";
132 static char ashelp[] = "set mode to netascii";
133 static char bnhelp[] = "set mode to octet";
143 { "mode", mhelp, modecmd },
187 (void) strlcpy(mode, "netascii", sizeof (mode));
321 (void) fprintf(stderr, "Using %s mode to transfer files.\n",
322 mode);
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.h80 #define S_ISSPARSE(mode) \
81 (S_ISREG(mode) && (mode & HIGH_ORD_MASK) == S_IFSPARSE)
189 #define INPUT 0 /* -i mode (used for chgreel() */
190 #define OUTPUT 1 /* -o mode (used for chgreel() */
249 char mode[8]; member in struct:b_block::bar_header
/illumos-gate/usr/src/cmd/format/
H A Danalyze.h101 int do_scan(int flags, int mode);

Completed in 122 milliseconds

<<11121314151617181920>>