Searched defs:mode (Results 501 - 525 of 1040) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnskernd.c324 char *mst, *shd, *bmp, *mode, *ovr, *cnode, *opt, *grp; local
387 mode = strtok(NULL, " ");
413 mst, shd, bmp, mode, ovr, cnode, newflags, grp);
449 * data2 is read(0)/write(1) lock mode.
461 int mode; local
480 mode = CFG_RDLOCK;
482 mode = CFG_WRLOCK;
487 if (cfg_lock(cfg, mode)) {
/illumos-gate/usr/src/cmd/avs/sv/
H A Dsvadm.c108 sv_cfg_open(CFGLOCK mode) argument
124 if (!cfg_lock(cfg, mode)) {
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c1392 safe_open_common(const char *filename, int mode, int perms, int device) argument
1430 working_mode = mode & (O_WRONLY|O_RDWR|O_RDONLY);
1540 if (mode & O_TRUNC) {
1559 if (mode & O_RDONLY) {
1577 safe_file_open(const char *filename, int mode, int perms) argument
1579 return (safe_open_common(filename, mode, perms, 0));
1586 safe_device_open(const char *filename, int mode, int perms) argument
1588 return (safe_open_common(filename, mode, perms, 1));
1612 msg(gettext("internal error: safe_fopen: invalid mode `%s'\n"),
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c44 mode_t mode; member in struct:modeinfo
70 #define INIT_MODEFILE() INIT_TEMPFILE(modefile, "mode")
112 * If genmode is requested, save mode, owner, and times for all
648 * Set the mode, owner, and times for all new or changed directories
667 vprintf(stdout, gettext("Set directory mode, owner, and times.\n"));
675 gettext("cannot open mode file %s\n"), modefile);
677 gettext("directory mode, owner, and times not set\n"));
708 reply(gettext("set owner/mode for '.'")) == FAIL) {
731 if (chmod(cp, node.mode) < 0 && !complained_chmod) {
859 * If requested, save its pertinent mode, owne
[all...]
H A Dutilities.c570 safe_open(int dfd, const char *filename, int mode, int perms) argument
621 working_mode = mode & (O_WRONLY|O_RDWR|O_RDONLY);
715 if (mode & (O_WRONLY|O_TRUNC)) {
735 if (mode & O_RDONLY) {
771 gettext("internal error: safe_fopen: invalid mode `%s'\n"),
/illumos-gate/usr/src/cmd/bart/
H A Dcompare.c43 char *mode, char *acl, char *mtime, char *uid, char *gid, char *contents,
221 /* For programmatic mode, add a newline for cosmetic reasons */
229 parse_line(char *line, char *fname, char *type, char *size, char *mode, argument
241 get_token(line, &pos, line_len, mode, MISC_SIZE);
497 /* Verbose mode */
510 /* Programmatic mode */
/illumos-gate/usr/src/cmd/bnu/
H A Dpk.h155 short mode; member in struct:piocb
/illumos-gate/usr/src/cmd/busstat/
H A Dbusstat.c384 parse_cmd(int mode) argument
396 if (mode == READ_EVT) {
/illumos-gate/usr/src/cmd/cdrw/
H A Dmisc_scsi.c97 * will get the mode page only i.e. will strip off the header.
127 * will take care of adding mode header and any extra bytes at the end.
458 uchar_t mode; local
463 mode = 0xff;
465 mode = buf[0];
467 return (mode);
471 * Set page code 5 for TAO mode.
501 * If the device is already in simulation mode and again a
503 * 1st and then take it to simulation mode. This will flush any
514 /* set TAO or DAO writing mode */
1045 write_init(int mode) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dpktool.c51 int mode; member in struct:verbcmd_s
613 /* Display this block only in command-line mode. */
622 /* Display only those verbs that match the current tool mode. */
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp_var.h136 EXTERN char modename[32]; /* name of file transfer mode */
137 EXTERN int mode; /* file transfer mode */ variable
140 EXTERN int passivemode; /* passive transfer mode toggle */
321 extern void recvrequest(char *cmd, char *local, char *remote, char *mode,
334 extern FILE *mypopen(char *cmd, char *mode);
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c468 int mode; local
621 * Set to automatic mode such that threads are automatically
624 mode = RPC_SVC_MT_AUTO;
625 if (!rpc_control(RPC_SVC_MTMODE_SET, &mode)) {
627 "statd:unable to set automatic MT mode.");
632 * Set non-blocking mode and maximum record size for
820 * it's a directory, also makes sure that it is mode 755.
834 * Some older systems might have mode 777 directories. Fix that.
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c52 static int lfmode = 01700; /* mode to use when creating l+f dir */
167 int salvaged; /* when to report SALVAGED in preen mode */
260 * so if we are in fix mode, just extend its record size
384 * in preen mode, and are on a file system using logging,
651 mode_t mode; local
656 mode = dp->di_mode & IFMT;
657 lostdir = (mode == IFDIR) || (mode == IFATTRDIR);
1062 newdir(fsck_ino_t parent, fsck_ino_t request, int mode, caddr_t name) argument
1071 dino = allocdir(parent, request, mode,
1095 reallocdir(fsck_ino_t parent, fsck_ino_t request, int mode, caddr_t name) argument
1123 allocdir(fsck_ino_t parent, fsck_ino_t request, int mode, int update_parent) argument
[all...]
H A Dsetup.c366 mode_t mode; local
374 mode = statb.st_mode & S_IFMT;
375 switch (mode) {
640 * this. -y mode could've gotten us this far, so
664 "mode. If you wish to run in "
665 "that mode using\nthe alternate "
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/
H A Dncheck.c76 ushort_t mode; member in struct:ilist
387 ilist[i].mode = ip->di_mode;
399 ilist[ilist_index].mode = ip->di_mode;
477 (void) printf("mode %-6o uid %-5ld gid %-5ld ino ",
478 ilist[k].mode, ilist[k].uid, ilist[k].gid);
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dhermon.c535 mode_t mode = S_IRUSR | S_IWUSR; local
541 if ((fd = open(filename, O_RDWR|O_CREAT|O_DSYNC, mode)) < 0) {
H A Dtavor.c118 mode_t mode = S_IRUSR | S_IWUSR; local
133 if ((fd = open(filename, O_RDWR|O_CREAT|O_DSYNC, mode)) < 0) {
372 * can boot up in a functional mode even if the burn process
450 * mode for you to re-flash.
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c226 const char *mode, *group; local
281 mode = MSG_ORIG(MSG_MODE_GLOBNODEL);
283 mode = MSG_ORIG(MSG_MODE_GLOB);
285 mode = MSG_ORIG(MSG_MODE_NODEL);
287 mode = MSG_ORIG(MSG_STR_EMPTY);
289 dbg_print(lml, MSG_INTL(str), NAME(lmp), mode, group);
571 Dbg_file_mode_promote(Rt_map *lmp, int mode) argument
581 conv_dl_mode(mode, 0, &dl_mode_buf));
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c477 install(wchar_t *nam, wchar_t *val, int mode) argument
483 if (mode == PUSH)
807 xfopen(char *name, char *mode) argument
811 if ((fp = fopen(name, mode)) == NULL)
824 m4open(char ***argvec, char *mode, int *argcnt) argument
834 if ((fp = fopen(arg, mode)) == NULL) {
/illumos-gate/usr/src/cmd/lms/heci/
H A DPTHICommand.cpp221 * mode - reference to the pre-allocated structure
227 AMT_STATUS PTHICommand::GetProvisioningMode(CFG_PROVISIONING_MODE &mode) argument
242 mode = tmp_response->ProvisioningMode;
251 AMT_STATUS PTHICommand::GetProvisioningMode(CFG_PROVISIONING_MODE &mode, AMT_BOOLEAN &legacy) argument
266 mode = tmp_response->ProvisioningMode;
534 * tlsEnabled true if AMT on TLS mode. (OUT)
641 * EnterpriseAccess enterprise access mode
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c105 extern void attrpreset(int mode, char *owner, char *group);
271 if (entry.ainfo.mode == NOMODE) {
272 entry.ainfo.mode = CURMODE;
299 (int)entry.ainfo.mode,
503 * This function reads the default mode, owner and group from the prototype
510 int mode; local
556 * For mode, don't use scanf, since we want to force an octal
561 mode = strtol(mode_ptr, &pt, 8);
566 gettext("unreadable at mode"));
576 d_mod[nfp] = mode;
[all...]
/illumos-gate/usr/src/cmd/troff/
H A Dn1.c455 static int mode; local
460 mode = stbuf.st_mode;
461 chmod(ttyp, mode & ~0122); /* turn off writing for others */
463 if (ttyp && *ttyp && mode)
464 chmod(ttyp, mode);
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c417 int mode; local
420 mode = DTRACE_MODE_KERNEL;
422 mode = DTRACE_MODE_USER;
426 mode |= DTRACE_MODE_NOPRIV_RESTRICT;
429 mode |= DTRACE_MODE_NOPRIV_DROP;
432 return (mode);
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c41 #include <sys/mode.h>
310 int mode,
328 error = VOP_ACCESS(newvp, mode, 0, cred, ct);
344 fnp->fn_mode << shift, mode);
668 int mode,
691 mode, vpp, cred, flag, ct, vsecp);
1430 * drop the fn_lock and retry next time in blocking mode.
308 auto_access( vnode_t *vp, int mode, int flags, cred_t *cred, caller_context_t *ct) argument
663 auto_create( vnode_t *dvp, char *nm, vattr_t *va, vcexcl_t excl, int mode, vnode_t **vpp, cred_t *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c310 #include <sys/mode.h>
563 sdev_unlocked_access(void *vdv, int mode, struct cred *cr) argument
576 dv->sdev_attr->va_mode << shift, mode));
580 sdev_self_access(sdev_node_t *dv, int mode, int flags, struct cred *cr, argument
587 ret = VOP_ACCESS(dv->sdev_attrvp, mode, flags, cr, ct);
589 ret = sdev_unlocked_access(dv, mode, cr);
598 sdev_access(struct vnode *vp, int mode, int flags, struct cred *cr, argument
605 ret = sdev_self_access(dv, mode, flags, cr, ct);
638 int mode, struct vnode **vpp, struct cred *cred, int flag,
683 } else if ((vp->v_type == VDIR) && (mode
637 sdev_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, int mode, struct vnode **vpp, struct cred *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
[all...]

Completed in 102 milliseconds

<<21222324252627282930>>