Searched defs:mode (Results 476 - 500 of 1040) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstreval.c127 static void arith_error(const char *message,const char *expr, int mode) argument
130 mode = (mode&3)!=0;
131 errormsg(SH_DICT,ERROR_exit(mode),message,expr);
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_vols.c60 char *mode; member in union:hash_data_s::__anon3185
69 mode_t mode; member in struct:__anon3186
703 char *path, *mode, *cnode; local
725 if (!(mode = strtok(0, " "))) {
739 data = make_svol_data(path, mode, cnode, set - offset);
950 make_svol_data(char *path, char *mode, char *cnode, int set) argument
959 data->u.mode = strdup(mode);
973 free(p->u.mode);
1019 if (!S_ISCHR(statinfo->mode))
[all...]
/illumos-gate/usr/src/lib/libexacct/common/
H A Dexacct_ops.c1158 int aflags, int oflags, mode_t mode)
1169 if ((fd = open(name, oflags, mode)) == -1) {
1157 ea_open(ea_file_t *ef, const char *name, const char *creator, int aflags, int oflags, mode_t mode) argument
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dmain.c478 sqlite *sqlite_open(const char *zFilename, int mode, char **pzErrMsg){ argument
H A Dtclsqlite.c1026 int mode; local
1079 mode = 0666;
1080 }else if( Tcl_GetIntFromObj(interp, objv[3], &mode)!=TCL_OK ){
1094 p->db = sqlite_open(zFile, mode, &zErrMsg);
/illumos-gate/usr/src/lib/libtnfctl/
H A Dtnfctl_int.h130 enum proc_mode mode; /* mode of handle */ member in struct:tnfctl_handle
335 if (hndl->mode == INTERNAL_MODE) { \
343 if (hndl->mode == INTERNAL_MODE) { \
356 if (hndl->mode == INTERNAL_MODE) \
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_files.c740 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local
758 if ((fd = open(tmpfilename, O_RDWR | O_CREAT | O_TRUNC, mode)) < 0)
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c248 start_mode_t mode)
313 if (!first || mode == NEVER)
338 switch (mode) {
361 server->onetime |= (mode == RUN_ONCE);
366 if (mode == FLUSH_LOG)
395 pkgparsemode(const char *mode) argument
397 if (strcasecmp(mode, MODE_PERMANENT) == 0) {
399 } else if (strncasecmp(mode, MODE_TIMEOUT,
401 const char *pidstr = mode + sizeof (MODE_TIMEOUT) - 1;
409 } else if (strcasecmp(mode, MODE_RUN_ONC
247 pkgopenserver_i(const char *root, const char *sadmdir, boolean_t readonly, start_mode_t mode) argument
419 pkgmodeargument(start_mode_t mode) argument
441 pkgserversetmode(start_mode_t mode) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl.c426 /* Mask value : Non MTP mode - 00-7f, MTP mode - 80-ff */
455 int mode = 0; local
462 (find_prop(pnode, "mirror-mode")));
465 mode = (*mirror_mode);
491 cs_stat, ngrps, mode);
576 int i_factor = 2; /* default to non-mirror mode */
586 * Obtain "mirror-mode" property from pseudo-mc.
594 * Mirror mode:
597 * Non-mirror mode
[all...]
H A Dopl_picl.c722 uint16_t sec_status, mode; local
737 mode = (sec_status >> PCI_CLASS_BRIDGE) &
739 if (mode) {
741 if (mode == PCI_MODE_66)
743 else if (mode == PCI_MODE_100)
745 else if (mode == PCI_MODE_133)
928 err = picl_get_prop_by_name(nodeh, "SPARC64-VII-mode", &proph);
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c219 * called separately with a different mode set for each step. The
222 * mode A bit mask used to specify operation(s) to be performed.
243 dst_sign_data(const int mode, DST_KEY *in_key, void **context, argument
247 DUMP(data, mode, len, "dst_sign_data()");
249 if (mode & SIG_MODE_FINAL &&
254 return (in_key->dk_func->sign(mode, in_key, context, data, len,
266 * called separately with a different mode set for each step. The
269 * mode Operations to perform this time.
286 dst_verify_data(const int mode, DST_KEY *in_key, void **context, argument
290 DUMP(data, mode, le
592 int mode; local
[all...]
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c122 lio_listio(int mode, aiocb_t *_RESTRICT_KYWD const *_RESTRICT_KYWD list, argument
147 switch (mode) {
182 error = (int)_kaio(AIOLIO, mode, list, nent, sigevp);
196 if (mode == LIO_WAIT ||
204 head->lio_mode = mode;
206 if (mode == LIO_NOWAIT && sigevp != NULL) {
280 if (mode == LIO_WAIT && oerrno == ENOTSUP) {
286 (void) _kaio(AIOLIOWAIT, mode, list, nent, sigevp);
1319 lio_listio64(int mode, aiocb64_t *_RESTRICT_KYWD const *_RESTRICT_KYWD list, argument
1344 switch (mode) {
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c159 dbm_open(const char *file, int flags, mode_t mode) argument
183 db->dbm_pagf = open64(db->dbm_pagbuf, flags, mode);
195 db->dbm_dirf = open64(db->dbm_pagbuf, flags, mode);
/illumos-gate/usr/src/lib/libcmd/common/
H A Djoin.c560 outrec(register Join_t* jp, int mode) argument
569 if (mode < 0 && jp->file[0].hit++)
571 if (mode > 0 && jp->file[1].hit++)
579 i = mode >= 0;
585 j = (mode<0 && i || mode>0 && !i) ?
595 if (mode >= 0)
600 if (mode>0 && i==0)
606 if (mode||i==0)
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c112 s10_openat(sysret_t *rval, int fd, const char *path, int oflag, mode_t mode) argument
115 fd, path, oflag, mode));
119 s10_open(sysret_t *rval, char *path, int oflag, mode_t mode) argument
122 AT_FDCWD, path, oflag, mode));
126 s10_creat(sysret_t *rval, char *path, mode_t mode) argument
129 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode));
135 s10_openat64(sysret_t *rval, int fd, const char *path, int oflag, mode_t mode) argument
138 fd, path, oflag, mode));
142 s10_open64(sysret_t *rval, char *path, int oflag, mode_t mode) argument
145 AT_FDCWD, path, oflag, mode));
149 s10_creat64(sysret_t *rval, char *path, mode_t mode) argument
208 s10_chmod(sysret_t *rval, const char *name, mode_t mode) argument
215 s10_fchmod(sysret_t *rval, int filedes, mode_t mode) argument
453 s10_xmknod(sysret_t *rval, int version, const char *path, mode_t mode, dev_t dev) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c241 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/cmd-inet/usr.bin/telnet/
H A Dencrypt.c226 EncryptEnable(char *type, char *mode) argument
235 if (EncryptType(type, mode))
236 return (EncryptStart(mode));
242 EncryptDisable(char *type, char *mode) argument
257 if ((mode == 0) || (isprefix(mode, "input") ? 1 : 0)) {
263 if ((mode == 0) || (isprefix(mode, "output"))) {
271 "%s: invalid encryption mode\n"), mode);
277 EncryptType(char *type, char *mode) argument
310 EncryptStart(char *mode) argument
358 EncryptStop(char *mode) argument
[all...]
/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/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c64 /* Load balance mode. Value of argv[4]. */
85 * argv[4] is the load balance mode, "DSR", "NAT", "HALF-NAT"
101 enum lb_mode mode; /* argv[4] */ member in struct:__anon149
220 param->mode = dsr;
222 param->mode = nat;
224 param->mode = half_nat;
253 switch (param->mode) {
333 /* DSR mode, need to set the next hop */
659 /* DSR mode, need to set the next hop */
779 /* DSR mode, nee
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs3.c770 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/csh/
H A Dsh.tchar.c364 creat_(tchar *name_, int mode) argument
370 fd = creat((char *)chbuf, mode);
379 open_(path_, flags, mode)
382 int mode; /* May be omitted. */
388 fd = open((char *)chbuf, flags, mode);
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetaclust.c285 * and do the action specified in mode
288 reset_state(uint_t mode, mdsetname_t *sp, char *drivername, md_error_t *ep) argument
308 if ((mode & (RESET_OWNER | CHOOSE_OWNER)) && !mirror_dev) {
324 if (mode & RESET_OWNER) {
340 if ((mode & GET_MIRROR_STATE) && mirror_dev) {
379 if (mode & (RESET_OWNER | CHOOSE_OWNER)) {
411 if (mode & RESET_OWNER) {
447 if (mode & CHOOSE_OWNER) {
477 if (mode & RESET_ABR) {
522 if (mode
[all...]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c50 int resourceType, int flags, int mode);
373 int resourceType, int flags, int mode)
384 printHBAPortInfo(&port, &attrs, mode);
615 int mode; local
664 "Error: Unsupported option for target mode: %c.\n"),
669 mode = TARGET_MODE;
672 mode = INITIATOR_MODE;
692 processHBA_flags, mode);
733 int mode; local
786 /* now see if it is a target mode F
371 processHBA(HBA_HANDLE handle, HBA_ADAPTERATTRIBUTES attrs, int portIndex, HBA_PORTATTRIBUTES port, HBA_FCPTARGETMAPPINGV2 *map, int resourceType, int flags, int mode) argument
[all...]
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c319 int mode = O_RDONLY; local
322 if ((c->obj->fd = open(c->obj->ename, mode)) < 0) {
1633 case 's': /* silent mode to turn off stderr messages */
/illumos-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c143 static int path_open(char *fname, int flags, mode_t mode, char *path);
916 path_open(char *fname, int flags, mode_t mode, char *path) argument
937 return (open(fname, flags, mode));
984 return (open(fullpath, flags, mode));
995 return (open(fname, flags, mode));

Completed in 115 milliseconds

<<11121314151617181920>>