Searched refs:mode (Results 426 - 450 of 1589) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/bnu/
H A Duudecode.c108 static int mode_err = 0; /* mode conversion error flag */
117 mode_t mode, p_umask; local
181 /* suppress message if we printed a mode error */
191 * octal or symbolic file mode.
198 ((sscanf(modebits, "%lo", &mode) == 1) ||
199 ((mode = newmode(modebits, 0, p_umask,
207 ((sscanf(modebits, "%lo", &mode) == 1) ||
208 ((mode = newmode(modebits, 0, p_umask,
270 (void) chmod(dest, mode & 0777);
522 * from here) which tells us whether or not a valid mode ha
[all...]
H A Dlimits.c45 static char * _Lwords[] = {"service", "max", "system", "mode"};
86 * limit per site, and the mode for uucico.
104 * limit per site, and the mode for uucico.
179 * limit per site, and the mode for uucico.
185 * service=uucico system=ihnp1:ihnp3 [max=5] [mode=master]
208 strcpy(limitval->mode,"master:slave");
210 strncpy(limitval->mode,flds[U_MODE],strlen(flds[U_MODE]));
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c432 int mode,
437 if (mode & VWRITE)
450 int mode,
455 if (mode & (VWRITE | VEXEC))
468 int mode,
473 if (mode & VEXEC)
430 ctfs_access_dir( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
448 ctfs_access_readonly( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
466 ctfs_access_readwrite( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
H A Dctfs_latest.c100 int mode,
107 if (mode & (VEXEC | VWRITE))
121 * After checking the mode bits, opens and returns the status file for
98 ctfs_latest_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu.c55 static int amd_iommu_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
411 amd_iommu_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
426 if (!(mode & (FREAD|FWRITE))) {
427 cmn_err(CE_WARN, "%s: invalid mode %d", f, mode);
431 if (mode & FKIOCTL) {
432 cmn_err(CE_WARN, "%s: FKIOCTL unsupported mode %d", f, mode);
/illumos-gate/usr/src/uts/sun4u/io/
H A Dpic16f747.c343 pic_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
358 mode) != DDI_SUCCESS) {
391 (void) ddi_copyout(&tempr, (caddr_t)arg, sizeof (tempr), mode);
409 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode);
429 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode);
449 (void) ddi_copyout(&in_command, (caddr_t)arg, 1, mode);
H A Dppm_xgsubr.c425 ppm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
430 char *rwfmt = "%s: mode error: 0x%x is missing %s perm, cmd 0x%x\n";
436 DPRINTF(D_IOCTL, ("%s: dev 0x%lx, cmd 0x%x, arg 0x%lx, mode 0x%x\n",
437 str, dev, cmd, arg, mode));
439 if (ddi_copyin((caddr_t)arg, &req, sizeof (req), mode)) {
459 } else if (!(mode & FWRITE)) {
460 DPRINTF(D_IOCTL, (rwfmt, str, mode, "write"));
478 if (!(mode & FREAD)) {
479 DPRINTF(D_IOCTL, (rwfmt, str, mode, "read"));
487 sizeof (req), mode)) {
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/checksum/sha2/
H A Dsha2_test.c196 #define SHA2_ALGO_TEST(_m, mode, diglen, testdigest) \
200 SHA2Init(SHA ## mode ## _MECH_INFO_TYPE, &ctx); \
204 "\tResult: ", #mode); \
214 #define SHA2_PERF_TEST(mode, diglen) \
225 SHA2Init(SHA ## mode ## _MECH_INFO_TYPE, &ctx); \
236 (void) printf("SHA%-9s%llu us (%.02f CPB)\n", #mode, \
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c639 mode_t mode; local
643 mode = va_arg(ap, mode_t);
645 return (__open(path, oflag, mode));
652 mode_t mode; local
656 mode = va_arg(ap, mode_t);
658 return (__openat(fd, path, oflag, mode));
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_aclmode_001_pos.ksh222 # $2 newmode indicates the mode changed using chmod
228 typeset mode=$2
236 gbit=${mode:1:1}
237 ebit=${mode:2:1}
328 # the new mode of the file or directory.
332 # the mode of the file.
480 for mode in "${aclmode_flag[@]}"; do
481 log_must zfs set aclmode=$mode $TESTPOOL/$TESTFS
525 log_must verify_aclmode $mode $obj $newmode
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtnf_trace.c170 TNF_ASSERT(ops->mode == TNF_ALLOC_REUSABLE);
171 ALLOC(ops, sizeof (*buffer), buffer, sched->record_p, ops->mode);
/illumos-gate/usr/src/lib/librdc/common/
H A Dlibrdc.h56 char mode[NSC_MAXPATH]; member in struct:rdcconfig_s
79 const char *mode, const char *group, const char *ctag, const char *options,
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_connects.c68 int mode; local
72 OKFREE(mode = fcntl(fd, F_GETFL, NULL), new); /*%< side effect: validate fd. */
80 if ((mode & PORT_NONBLOCK) == 0) {
85 OKFREE(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK), new);
120 /* Do the select() first to get the socket into nonblocking mode. */
160 int mode; local
165 mode = fcntl(this->fd, F_GETFL, NULL);
166 if (mode == -1) {
174 OK(fcntl(this->fd, F_SETFL, mode & ~PORT_NONBLOCK));
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tape.c55 static boolean_t validmode(int mode);
114 int mode; local
126 } else if (request->mode != NDMP_TAPE_READ_MODE &&
127 request->mode != NDMP_TAPE_WRITE_MODE &&
128 request->mode != NDMP_TAPE_RAW1_MODE) {
182 * If mode is set to this value, tape_open() won't fail if
185 if (request->mode != NDMP_TAPE_RAW1_MODE &&
192 mode = (request->mode == NDMP_TAPE_READ_MODE) ? O_RDONLY : O_RDWR;
193 mode |
1169 validmode(int mode) argument
1207 int mode; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmndbm.c466 ** mode -- File permisions on a created database.
486 smdb_ndbm_open(database, db_name, mode, mode_mask, sff, type, user_info,
490 int mode;
524 bitset(mode, O_CREAT))
528 result = smdb_lock_file(&lock_fd, db_name, mode, sff,
538 result = smdb_lock_file(&pag_fd, db_name, mode, sff,
547 mode |= O_TRUNC;
548 mode &= ~(O_CREAT|O_EXCL);
565 dbm = dbm_open(db_name, mode, DBMMODE);
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dprint.c191 int mode = MODE_GRAPHICS; /* treat as raw data */ local
195 pfd = smb_open_printer(ctx, title, setup_len, mode);
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c47 tmp_taccess(void *vtp, int mode, struct cred *cred) argument
62 tp->tn_mode << shift, mode));
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_original_elf_init.c94 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
/illumos-gate/usr/src/uts/common/syscall/
H A Dstrcalls.c61 int mode, unsigned char *prip, int *flagsp);
191 int mode, unsigned char *prip, int *flagsp)
203 if ((fp->f_flag & mode) == 0) {
234 if (mode == FREAD) {
290 int *rval, int mode, unsigned char *prip, int *flagsp);
420 int mode, unsigned char *prip, int *flagsp)
433 if ((fp->f_flag & mode) == 0) {
472 if (mode == FREAD) {
190 msgio(int fdes, struct strbuf *ctl, struct strbuf *data, int *rval, int mode, unsigned char *prip, int *flagsp) argument
419 msgio32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int *rval, int mode, unsigned char *prip, int *flagsp) argument
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dtpgs_tape.c99 int mode; local
118 } else if (vhci_tpgs_get_target_fo_mode(sd, &mode, &state, &xlf,
121 "mode: sd(%p)", (void *) sd));
/illumos-gate/usr/src/lib/libast/common/comp/
H A Domitted.c222 chmod(const char* path, mode_t mode) argument
228 if ((r = _chmod(path, mode)) && errno == ENOENT && execrate(path, buf, sizeof(buf), 0))
231 return _chmod(buf, mode);
233 if (!(r = _chmod(path, mode)) &&
234 (mode & (S_IXUSR|S_IXGRP|S_IXOTH)) &&
351 runve(int mode, const char* path, char* const* argv, char* const* envv) argument
380 if (mode == _P_DETACH)
388 mode = _P_NOWAIT;
510 sfprintf(sfstderr, "%s %s [", mode == _P_OVERLAY ? "_execve" : "_spawnve", path);
524 if (mode !
561 spawnve(int mode, const char* path, char* const* argv, char* const* envv) argument
664 int mode; local
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/
H A Dttymux_dacf.c423 * mode the device will support.
470 find_obp_consoles(sm_mux_state_t *ms, io_mode_t mode) argument
478 if (mode == FORINPUT)
480 else if (mode == FOROUTPUT)
508 cn->sm_mode |= mode;
510 if (mode == FORINPUT)
794 io_mode_t *mode)
816 *mode = 0;
819 *mode = FORINPUT;
821 *mode |
793 validate_reservation(dacf_infohdl_t di, dev_info_t **dip, dev_t *dev, io_mode_t *mode) argument
845 io_mode_t mode; local
[all...]
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dballoon_drv.c107 balloon_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, argument
121 mode))
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c84 * running in interactive mode or forcing stuff that comes back from the printer
205 setupstdin(int mode) argument
216 * Save (mode = 0), reset (mode = 1), or restore (mode = 2) the tty settings for
217 * stdin. Expect something like raw mode with no echo will be set up. Explicit
219 * to 1 when we're in interactive mode, but I've included it anyway.
225 switch ( mode ) {
228 error(FATAL, "stdin not a terminal - can't run interactive mode");
260 int ch; /* for interactive mode */
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvcc.c72 static int vcc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
92 caddr_t buf, int mode);
93 static int i_vcc_del_cons_ok(vcc_t *vccp, caddr_t buf, int mode);
422 attr.mode = LDC_MODE_RAW;
1326 i_vcc_cons_tbl(vcc_t *vccp, uint_t num_ports, caddr_t buf, int mode) argument
1377 sizeof (vcc_console_t), mode)) {
1408 sizeof (vcc_console_t), mode) != 0) {
1456 i_vcc_cons_info(vcc_t *vccp, caddr_t buf, int mode) argument
1464 if (ddi_copyin((void*)buf, &portno, sizeof (uint_t), mode)) {
1502 sizeof (vcc_console_t), mode) !
1519 i_vcc_inquiry(vcc_t *vccp, caddr_t buf, int mode) argument
1612 i_vcc_force_close(vcc_t *vccp, caddr_t buf, int mode) argument
1649 i_vcc_cons_status(vcc_t *vccp, caddr_t buf, int mode) argument
1694 i_vcc_ctrl_ioctl(vcc_t *vccp, int cmd, void* arg, int mode) argument
1791 i_vcc_port_ioctl(vcc_t *vccp, minor_t minor, int portno, int cmd, void *arg, int mode) argument
1945 vcc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
[all...]

Completed in 110 milliseconds

<<11121314151617181920>>