Searched refs:mode (Results 701 - 725 of 1589) sorted by relevance

<<21222324252627282930>>

/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/svc/startd/
H A Dutmpx.c396 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local
404 O_WRONLY | O_CREAT | O_TRUNC, mode)) != -1) {
405 (void) fchmod(fd, mode); /* force mode regardless of umask() */
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ptsops.c332 int mode, struct vnode **vpp, struct cred *cred, int flag,
345 else if (vp->v_type == VDIR && (mode & VWRITE))
348 error = VOP_ACCESS(vp, mode, 0, cred, ct);
331 devpts_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
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...]
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_rrip.c48 #include <sys/mode.h>
125 hdp->mode = RRIP_MODE(px_ptr);
135 hdp->type = IFTOVT(hdp->mode);
/illumos-gate/usr/src/uts/common/des/
H A Ddes_soft.c73 uint_t mode; local
78 mode = desp->des_mode;
82 switch (mode) {
/illumos-gate/usr/src/uts/common/io/
H A Dbofi.c911 bofi_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
941 switch (ddi_model_convert_from(mode & FMODELS)) {
951 sizeof (struct bofi_errdef32), mode)) {
979 sizeof (struct bofi_errdef), mode))
985 sizeof (struct bofi_errdef), mode) != 0)
1035 switch (ddi_model_convert_from(mode & FMODELS)) {
1066 sizeof (struct bofi_errdef32), mode) != 0) {
1076 sizeof (struct bofi_errdef), mode) != 0) {
1086 sizeof (struct bofi_errdef), mode) != 0) {
1099 sizeof (void *), mode) !
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c84 * mode: open permission bits
92 __bt_open(fname, flags, mode, openinfo, dflags)
94 int flags, mode, dflags;
206 if ((t->bt_fd = open(fname, flags | O_BINARY, mode)) < 0)
433 /* Ensure the fd is in binary mode. */
/illumos-gate/usr/src/uts/common/io/lvm/hotspares/
H A Dhotspares.c1069 int mode
1108 if (ddi_copyout(ghsp, (caddr_t)(uintptr_t)migp->mdp, size, mode))
1160 int mode,
1173 if ((mode & DATAMODEL_MASK) != DATAMODEL_ILP32) {
1188 if (! (mode & FWRITE)) {
1196 if (ddi_copyin(data, d, sz, mode)) {
1207 if (! (mode & FREAD)) {
1215 if (ddi_copyin(data, d, sz, mode)) {
1226 if (! (mode & FREAD)) {
1234 if (ddi_copyin(data, d, sz, mode)) {
1156 hotspares_ioctl( dev_t dev, int cmd, void *data, int mode, IOLOCK *lockp ) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dgpio_87317.c342 gpio_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
357 mode) != 0)
401 sizeof (gpio_87317_op_t), mode) != 0) {
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h361 mode_t va_mode; /* file access mode */
489 mode32_t va_mode; /* file access mode */
693 #define MODEMASK 07777 /* mode bits plus permission bits */
706 #define MANDMODE(mode) (((mode) & (VSGID|(VEXEC>>3))) == VSGID)
707 #define MANDLOCK(vp, mode) ((vp)->v_type == VREG && MANDMODE(mode))
1026 #define VOP_OPEN(vpp, mode, cr, ct) \
1027 fop_open(vpp, mode, cr, ct)
1042 #define VOP_ACCESS(vp, mode,
[all...]
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Ddosys.cc76 my_open(const char *path, int oflag, mode_t mode) { argument
77 int res = open(path, oflag, mode);
80 res = open(path, oflag, mode);
/illumos-gate/usr/src/uts/common/sys/
H A Dvnode.h366 mode_t va_mode; /* file access mode */
494 mode32_t va_mode; /* file access mode */
698 #define MODEMASK 07777 /* mode bits plus permission bits */
711 #define MANDMODE(mode) (((mode) & (VSGID|(VEXEC>>3))) == VSGID)
712 #define MANDLOCK(vp, mode) ((vp)->v_type == VREG && MANDMODE(mode))
1039 #define VOP_OPEN(vpp, mode, cr, ct) \
1040 fop_open(vpp, mode, cr, ct)
1055 #define VOP_ACCESS(vp, mode,
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c595 vhci_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument
599 return (vhci_devctl(dev, cmd, data, mode, credp, rval));
601 return (vhci_mpapi_ctl(dev, cmd, data, mode, credp, rval));
603 return (vhci_ctl(dev, cmd, data, mode, credp, rval));
1445 * SCSI-II RESERVE cmd is not expected in polled mode.
5402 vhci_ctl(dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rval) argument
5531 retval = vhci_get_iocdata((const void *)data, pioc, mode, s);
5536 mode, s);
5561 if (vhci_ioc_get_client_path(pioc, client_path, mode, s)) {
5581 sizeof (num_paths), mode)) {
6080 vhci_devctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
6186 vhci_ioc_get_phci_path(sv_iocdata_t *pioc, caddr_t phci_path, int mode, caddr_t s) argument
6206 vhci_ioc_get_client_path(sv_iocdata_t *pioc, caddr_t client_path, int mode, caddr_t s) argument
6225 vhci_ioc_get_paddr(sv_iocdata_t *pioc, caddr_t paddr, int mode, caddr_t s) argument
6243 vhci_ioc_send_client_path(caddr_t client_path, sv_iocdata_t *pioc, int mode, caddr_t s) argument
6433 vhci_get_iocdata(const void *data, sv_iocdata_t *pioc, int mode, caddr_t s) argument
6485 vhci_get_iocswitchdata(const void *data, sv_switch_to_cntlr_iocdata_t *piocsc, int mode, caddr_t s) argument
6537 vhci_ioc_alloc_pathinfo(sv_path_info_t **upibuf, sv_path_info_t **kpibuf, uint_t num_paths, sv_iocdata_t *pioc, int mode, caddr_t s) argument
6678 vhci_ioc_send_pathinfo(sv_path_info_t *upibuf, sv_path_info_t *kpibuf, uint_t num_paths, sv_iocdata_t *pioc, int mode, caddr_t s) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c1285 soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type)
1480 if (mode == SOFT_CREATE_OBJ) {
1544 if ((mode == SOFT_CREATE_OBJ) && (keytype == (CK_KEY_TYPE)~0UL)) {
1549 if ((mode == SOFT_GEN_KEY) && (keytype == (CK_KEY_TYPE)~0UL)) {
1553 if ((mode == SOFT_GEN_KEY) && (keytype != key_type)) {
1568 if (mode == SOFT_CREATE_OBJ) {
1616 /* mode is SOFT_GEN_KEY */
1657 if (mode == SOFT_CREATE_OBJ) {
1692 if (mode == SOFT_CREATE_OBJ) {
1726 if (mode
1284 soft_build_public_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument
1850 soft_build_private_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument
2518 soft_build_secret_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_ULONG key_len, CK_KEY_TYPE key_type) argument
3662 soft_build_key(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG key_len, CK_ULONG mode) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobject.c816 CK_ULONG mode,
845 rc = template_add_default_attributes(tmpl, class, subclass, mode);
862 rc = template_validate_attributes(tmpl2, class, subclass, mode);
867 rc = template_check_required_attributes(tmpl2, class, subclass, mode);
814 object_create_skel(CK_ATTRIBUTE * pTemplate, CK_ULONG ulCount, CK_ULONG mode, CK_ULONG class, CK_ULONG subclass, OBJECT ** obj) argument
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dsimplefileattributetree1.sh102 typeset out.mode="${str/~(Elr)[[:space:]]*([[:digit:]]+)[[:space:]]+([[:digit:]]+)[[:space:]]+([[:alpha:]-]+)[[:space:]]+([[:digit:]]+)[[:space:]]+([[:alnum:]]+)[[:space:]]+([[:alnum:]]+)[[:space:]]+([[:digit:]]+)[[:space:]]+([[:alpha:]]*[[:space:]]+[[:digit:]]*[[:space:]]+[[:digit:]:]+)[[:space:]]+(.+)/\3}"
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg.h110 char *cfg_location(char *location, int mode, char *altroot);
129 * lock mode
/illumos-gate/usr/src/lib/libc/inc/
H A Dbase_conversion.h225 int status, mode; member in struct:__anon2904
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c376 mq_open(const char *path, int oflag, /* mode_t mode, mq_attr *attr */ ...)
379 mode_t mode = 0; local
406 mode = va_arg(ap, mode_t);
412 mode, &cr_flag)) < 0)
451 mode = mode | (mode & 0444) >> 1 | (mode & 0222) << 1;
453 (O_RDWR|O_CREAT|O_EXCL), mode, &err)) < 0)
459 if (fchmod(fd, mode) <
[all...]
/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/shared/zone/
H A Dcommon.ksh171 typeset mode="$3"
204 chmod $mode $filename
212 typeset mode="$3"
233 chmod $mode $filename
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ntp.c41 * In verbose mode, how many octets of the control-mode data payload
232 /* NTP Control Message, mode 6 */
314 /* NTP Private Message, mode 7 */
364 /* Unknown mode */
389 show_mode(int mode) argument
391 switch (mode) {
405 show_ref(int mode, ulong_t refid) argument
411 switch (mode) {
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Ddef.h194 #define M 0200 /* Legal from send mode bit */
297 #define MFMODE 0600 /* create mode for `/var/mail' files */
342 #define CANY 0 /* Execute in send or receive mode */
343 #define CRCV 1 /* Execute in receive mode only */
344 #define CSEND 2 /* Execute in send mode only */
424 extern FILE *Fdopen(int fildes, char *mode);
516 extern int lock(FILE *fp, char *mode, int blk);
531 extern FILE *my_fopen(char *file, char *mode);
537 extern FILE *npopen(char *cmd, char *mode);
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java542 "\t-q set quiet mode (only output explicitly traced data)\n" +
546 "\t-v set verbose mode (report stability attributes, " +
642 Mode mode = Mode.EXEC;
732 mode = Mode.INFO;
755 mode = Mode.LIST;
784 outFileName + " in write mode");
826 mode = Mode.VERSION;
859 if (mode == Mode.VERSION) {
896 if (mode == Mode.LIST) {
945 if (mode
[all...]

Completed in 3757 milliseconds

<<21222324252627282930>>