Searched refs:mode (Results 251 - 275 of 1589) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libshell/common/include/
H A Dfault.h99 int mode; member in struct:checkpt
108 #define sh_pushcontext(bp,n) ( (bp)->mode=(n) , (bp)->olist=0, \
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dprint.c59 int setuplen, int mode)
88 ioc.ioc_prmode = mode;
58 smb_open_printer(struct smb_ctx *ctx, const char *title, int setuplen, int mode) argument
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfex_handler.c52 int fex_set_handling(int e, int mode, void (*handler)()) argument
62 thr_handlers[i].__mode = mode;
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_log.c125 openlogfile(char *fname, char *mode) argument
128 mode != NULL && *mode != '\0');
130 if ((logfp = fopen(fname, mode)) == NULL) {
191 * Open the log file either for append or write mode. This function should
197 char *fname, *mode, *lpath; local
257 mode = "w";
259 mode = "a";
261 return (openlogfile(fname, mode));
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrio.c210 ** flags -- flags for methods of access (was mode)
307 ** SM_STRSETMODE -- set mode info for the file
309 ** Note: changing the mode can be a safe way to have the "parent"
314 ** mode -- location of new mode to set
322 sm_strsetmode(fp, mode)
324 const int *mode;
329 switch (*mode)
353 ** SM_STRGETMODE -- get mode info for the file
357 ** mode
[all...]
H A Dsmstdio.c317 ** mode -- the mode argument to fopen() which describes stream
322 ** Abort if mode is gibberish or stream is bad.
327 sm_io_stdioopen(stream, mode)
329 char *mode;
340 switch (mode[0])
350 sm_abort("sm_io_stdioopen: mode '%s' is bad", mode);
352 if (strchr(&mode[1], '+') != NULL)
/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.h76 int scan_for_cd_device(int mode, cd_device **found);
77 void write_next_track(int mode, bstreamhandle h);
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dtpmadm.h47 int set_policy_options(TSS_HPOLICY hPolicy, TSS_FLAG mode, char *prompt,
49 int set_object_policy(TSS_HOBJECT handle, TSS_FLAG mode, char *prompt,
/illumos-gate/usr/src/uts/common/fs/
H A Dnbmlock.c41 * requests. "mode" specifies whether the caller intends to update
46 nbl_start_crit(vnode_t *vp, krw_t mode) argument
48 rw_enter(&vp->v_nbllock, mode);
128 * Determine if the given file has mode bits for System V mandatory locks.
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_common.c64 objfs_dir_access(vnode_t *vp, int mode, int flags, cred_t *cr, argument
67 if (mode & VWRITE)
/illumos-gate/usr/src/tools/cscope-fast/
H A Dlibrary.h50 FILE *mypopen(char *cmd, char *mode);
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_aux.h61 void ath_rate_setup(ath_t *asc, uint32_t mode);
62 void ath_setcurmode(ath_t *asc, enum ieee80211_phymode mode);
/illumos-gate/usr/src/test/zfs-tests/cmd/largest_file/
H A Dlargest_file.c63 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local
73 fd = open(testfile, O_CREAT | O_RDWR, mode);
/illumos-gate/usr/src/test/zfs-tests/cmd/randfree_file/
H A Drandfree_file.c59 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local
85 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, mode)) < 0) {
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmwalk.c49 { if(!(vm->data->mode&VM_TRUST) && ISLOCK(vm->data,0) )
62 { if(!(vm->data->mode&VM_TRUST) && ISLOCK(vm->data,0) )
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs.conf57 # LOG_TGTM 0x00000800 /* FCP target mode events */
136 # 0 = attempt loop mode, if it fails attempt point-to-point mode
137 # 2 = attempt point-to-point mode only
138 # 4 = attempt loop mode only
139 # 6 = attempt point-to-point mode, if it fails attempt loop mode
141 # Set point-to-point mode if you want to run as an N_Port.
142 # Set loop mode if you want to run as an NL_Port.
270 # Requires SLI3 mode suppor
[all...]
/illumos-gate/usr/src/cmd/make/include/vroot/
H A Dvroot.h47 extern int open_vroot(char *path, int flags, int mode, pathpt vroot_path, pathpt vroot_vroot);
53 extern int access_vroot(char *path, int mode, pathpt vroot_path, pathpt vroot_vroot);
/illumos-gate/usr/src/boot/include/ufs/ufs/
H A Ddir.h100 #define IFTODT(mode) (((mode) & 0170000) >> 12)
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dbananapi.dts68 phy-mode = "rgmii-bpi";
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c70 open_com(char *path, int flags, int mode) argument
105 return (_syscall(SYS_openat, AT_FDCWD, locbuf, nflags, mode));
109 return (open_mnt("/etc/mnttab", "mtab", nflags, mode));
112 return (open_mnt("/etc/vfstab", "fstab", nflags, mode));
115 if ((fd = _syscall(SYS_openat, AT_FDCWD, path, nflags, mode))
124 AT_FDCWD, "/var/adm/utmpx", nflags, mode);
132 AT_FDCWD, "/var/adm/wtmpx", nflags, mode);
138 return (_syscall(SYS_openat, AT_FDCWD, path, nflags, mode));
142 open_mnt(char *fname, char *tname, int flags, int mode) argument
297 _fopen(char *file, char *mode) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dfault.c130 if(pp->mode < SH_JMPFUN)
131 pp->mode = SH_JMPFUN;
133 pp->mode = SH_JMPEXIT;
160 if(pp->mode==SH_JMPCMD)
179 if(pp->mode==SH_JMPCMD && sh_isstate(SH_STOPOK))
202 if(pp->mode==SH_JMPCMD && sh_isstate(SH_STOPOK))
308 * Free the trap strings if mode is non-zero
309 * If mode>1 then ignored traps cause signal to be ignored
311 void sh_sigreset(register int mode) argument
322 if(mode)
435 sh_trap(const char *trap, int mode) argument
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppinput.c109 if ((pp.mode & (DUMP|INIT)) == DUMP)
121 if (!(pp.mode & DUMP))
167 if (!(pp.option & NOPROTO) && !(pp.test & TEST_noproto) && ((pp.state & (COMPATIBILITY|TRANSITION)) == COMPATIBILITY || (pp.option & PLUSPLUS) || (pp.mode & EXTERNALIZE)) && (cur->buffer = pppopen(NiL, cur->fd, NiL, NiL, NiL, NiL, (PROTO_HEADER|PROTO_RETAIN)|(((pp.mode & EXTERNALIZE) || (pp.option & PROTOTYPED)) ? PROTO_FORCE : PROTO_PASS)|((pp.mode & EXTERNALIZE) ? PROTO_EXTERNALIZE : 0)|((pp.mode & MARKC) ? PROTO_PLUSPLUS : 0))))
178 if (pp.incref && !(pp.mode & INIT))
194 pp.mode |= MARKHOSTED;
206 if (pp.mode & HOSTED) cur->flags |= IN_hosted;
208 if (pp.mode
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Dsupport.c297 * mode Mode to open the file (passed directly to fopen)
304 dst_s_fopen(const char *filename, const char *mode, int perm) argument
318 fp = fopen(pathname, mode);
325 dst_s_dump(const int mode, const u_char *data, const int size, argument
335 printf("%s: %x %d %s\n", msg, mode, n, scratch);
337 printf("%s,%x %d\n", msg, mode, size);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dcache.c129 * mode - the read/write mode of the lock.
136 int mode
141 switch (mode) {
184 * mode - the read/write mode which the cache data was locked for.
192 int mode,
196 if (mode != CACHE_NO_ACTION) {
198 if (mode == CACHE_WRITE) {
191 cache_unlock( int mode, int ec ) argument
/illumos-gate/usr/src/tools/install.bin/
H A Dinstall.bin.c56 "usage: install [-sd][-m mode][-g group][-u owner] "
166 int mode = -1; local
185 mode = strtol(optarg, NULL, 8);
234 if (mode != -1) {
236 if (chmod(dest_file, mode) == -1) {
238 "install: chmod of %s to mode %o failed "
240 dest_file, mode, errno, strerror(errno));

Completed in 149 milliseconds

<<11121314151617181920>>