Searched refs:mode (Results 451 - 475 of 1589) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/common/ficl/
H A Dfileaccess.c29 char mode[4]; local
35 *mode = 0;
43 strcat(mode, "r");
46 strcat(mode, writeMode);
49 strcat(mode, writeMode);
50 strcat(mode, "+");
54 strcat(mode, (fam & FICL_FAM_BINARY) ? "b" : "t");
56 f = fopen(filename, mode);
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dimx53-qsb.dts108 phy-mode = "rmii";
H A Dwandboard-dual.dts65 phy-mode = "rgmii";
H A Dwandboard-quad.dts65 phy-mode = "rgmii";
H A Dwandboard-solo.dts65 phy-mode = "rgmii";
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c44 #include <sys/mode.h>
889 * Determine mode of file based on ACL.
896 mode_t mode; local
904 mode = (fmode & (S_IFMT | S_ISUID | S_ISGID | S_ISVTX));
926 mode |= S_IRUSR;
933 mode |= S_IWUSR;
940 mode |= S_IXUSR;
949 mode |= S_IRGRP;
956 mode |= S_IWGRP;
963 mode |
1187 uint64_t mode; local
1333 zfs_acl_chmod(vtype_t vtype, uint64_t mode, boolean_t split, boolean_t trim, zfs_acl_t *aclp) argument
1454 zfs_acl_chmod_setattr(znode_t *zp, zfs_acl_t **aclp, uint64_t mode) argument
1496 zfs_acl_inherit(zfsvfs_t *zfsvfs, vtype_t vtype, zfs_acl_t *paclp, uint64_t mode) argument
2344 zfs_zaccess(znode_t *zp, int mode, int flags, boolean_t skipaclchk, cred_t *cr) argument
2497 zfs_zaccess_rwx(znode_t *zp, mode_t mode, int flags, cred_t *cr) argument
2506 zfs_zaccess_unix(znode_t *zp, mode_t mode, cred_t *cr) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaUtil.c509 meta_do_operation(CK_FLAGS optype, int mode, argument
616 if (optype == CKF_ENCRYPT && mode == MODE_SINGLE) {
619 } else if (optype == CKF_ENCRYPT && mode == MODE_UPDATE) {
622 } else if (optype == CKF_ENCRYPT && mode == MODE_FINAL) {
626 } else if (optype == CKF_DECRYPT && mode == MODE_SINGLE) {
629 } else if (optype == CKF_DECRYPT && mode == MODE_UPDATE) {
632 } else if (optype == CKF_DECRYPT && mode == MODE_FINAL) {
636 } else if (optype == CKF_DIGEST && mode == MODE_SINGLE) {
639 } else if (optype == CKF_DIGEST && mode == MODE_UPDATE) {
643 } else if (optype == CKF_DIGEST && mode
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c654 * mode can be one of
660 Namfun_t *nv_disc(register Namval_t *np, register Namfun_t* fp, int mode) argument
665 if(mode==NV_CLONE && !fp)
672 if(mode==NV_CLONE)
677 if(mode==NV_FIRST || mode==0)
680 if(mode==NV_POP)
682 if(mode==NV_LAST && (lp->next==0 || lp->next->disc==0))
693 if(mode==NV_LAST && fp->next==0)
695 if(mode
1011 nv_search(const char *name, Dt_t *root, int mode) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dshiocmd_solaris.c122 * mode formatting related
126 mode_t mode = nv_getn(np,nfp); local
127 return(fmtperm(mode));
134 int32_t mode; local
139 mode = *(Sfdouble_t*)val;
141 mode = *(double*)val;
145 mode = strperm(val, &last,0);
147 errormsg(SH_DICT, ERROR_exit(1),"%s: invalid mode string", val);
149 nv_putv(np,(char*)&mode,NV_INTEGER,nfp);
408 { "mode", NV_INTEGE
496 mode_t mode = 0666; local
[all...]
/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/libast/common/vmalloc/
H A Dvmhdr.h209 /* these bits share the "mode" field with the public bits */
215 #define VMETHOD(vd) ((vd)->mode&VM_METHODS)
218 #define SETINUSE(vd,iu) (((iu) = (vd)->mode&VM_INUSE), ((vd)->mode |= VM_INUSE) )
219 #define CLRINUSE(vd,iu) ((iu) ? 0 : ((vd)->mode &= ~VM_INUSE) )
220 #define SETLOCAL(vd) ((vd)->mode |= VM_LOCAL)
221 #define GETLOCAL(vd,l) (((l) = (vd)->mode&VM_LOCAL), ((vd)->mode &= ~VM_LOCAL) )
222 #define ISLOCK(vd,l) ((l) ? 0 : ((vd)->mode & VM_LOCK) )
223 #define SETLOCK(vd,l) ((l) ? 0 : ((vd)->mode |
341 { int mode; /* current mode for region */ member in struct:_vmdata_s
[all...]
/illumos-gate/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c222 mode_t mode; local
227 mode = info->pr_mode;
229 switch (mode & S_IFMT) {
241 (void) sprintf(s, "0x%.4x ", (int)mode & S_IFMT);
245 (void) printf("%4d: %s mode:0%.3o", info->pr_fd, s,
246 (int)mode & ~S_IFMT);
251 if ((mode & S_IFMT) == S_IFPORT) {
270 (mode & (S_IFMT|S_ENFMT|S_IXGRP)) == (S_IFREG|S_ENFMT),
271 (mode & S_IFMT) == S_IFDOOR);
276 if ((mode
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_regd.c489 if (IS_HT40_MODE(cm->mode) &&
498 if (IS_HT40_MODE(cm->mode) &&
507 if (IS_HT40_MODE(cm->mode) &&
564 if ((cm->mode == ATH9K_MODE_11A) ||
565 (cm->mode == ATH9K_MODE_11NA_HT20) ||
566 (cm->mode == ATH9K_MODE_11NA_HT40PLUS) ||
567 (cm->mode == ATH9K_MODE_11NA_HT40MINUS)) {
769 if (!is_set(cm->mode, modes_avail)) {
771 "%s: !avail mode %d flags 0x%x\n",
772 __func__, cm->mode, c
[all...]
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dlw8.c84 static int lw8_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
1076 lw8_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, argument
1115 sizeof (lw8_mprog), mode) != 0) {
1121 sizeof (lw8_ctl2), mode) != 0) {
1130 sizeof (*lw8_progp), mode) != 0) {
1144 sizeof (lw8_info2), mode) != 0) {
1160 sizeof (lw8_info), mode) != 0) {
1174 sizeof (lw8_fled_info), mode) != 0) {
1180 sizeof (lw8_aldata), mode) != 0) {
1197 sizeof (lw8_aldata), mode) !
[all...]
/illumos-gate/usr/src/uts/common/io/fcoe/
H A Dfcoe.c109 static int fcoe_ioctl(dev_t dev, int cmd, intptr_t data, int mode,
111 static int fcoe_copyin_iocdata(intptr_t data, int mode, fcoeio_t **fcoeio,
113 static int fcoe_copyout_iocdata(intptr_t data, int mode, fcoeio_t *fcoeio,
115 static int fcoe_iocmd(fcoe_soft_state_t *ss, intptr_t data, int mode);
526 fcoe_ioctl(dev_t dev, int cmd, intptr_t data, int mode, argument
550 ret = fcoe_iocmd(ss, data, mode);
562 fcoe_copyin_iocdata(intptr_t data, int mode, fcoeio_t **fcoeio, argument
571 if (ddi_copyin((void *)data, *fcoeio, sizeof (fcoeio_t), mode) != 0) {
586 *ibuf, (*fcoeio)->fcoeio_ilen, mode) != 0) {
595 *abuf, (*fcoeio)->fcoeio_alen, mode) !
622 fcoe_copyout_iocdata(intptr_t data, int mode, fcoeio_t *fcoeio, void *obuf) argument
639 fcoe_iocmd(fcoe_soft_state_t *ss, intptr_t data, int mode) argument
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppop.c48 r = p == &pp.state ? &pp.ro_state : p == &pp.mode ? &pp.ro_mode : &pp.ro_option;
49 if (!(pp.mode & INIT) || !(pp.in->type == IN_FILE) || !(*r & op))
51 if (!pp.initialized && !(pp.mode & INIT))
58 debug((-7, "set(%s)=%s", p == &pp.state ? "state" : p == &pp.mode ? "mode" : "option", p == &pp.state ? ppstatestr(*p) : p == &pp.mode ? ppmodestr(*p) : ppoptionstr(*p)));
493 if (pp.mode & DUMP)
496 if (pp.mode & FILEDEPS)
513 set(&pp.mode, DUMP, va_arg(ap, int));
515 if (pp.mode
[all...]
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c148 int mode; /* KD_TEXT or KD_GRAPHICS */ member in struct:vgatext_softc
191 static int vgatext_kdsetmode(struct vgatext_softc *softc, int mode);
588 /* only do this if not in graphics mode */
725 do_gfx_ioctl(int cmd, intptr_t data, int mode, struct vgatext_softc *softc) argument
737 kd_mode = softc->mode;
738 if (ddi_copyout(&kd_mode, (void *)data, sizeof (int), mode))
744 sizeof (struct vis_identifier), mode))
750 if (!(mode & FKIOCTL)) {
768 sizeof (struct vis_conscopy), mode))
780 sizeof (display_request), mode))
835 vgatext_ioctl( dev_t dev, int cmd, intptr_t data, int mode, cred_t *cred, int *rval) argument
914 vgatext_kdsetmode(struct vgatext_softc *softc, int mode) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c382 hdl_initialize(Grp_hdl *ghp, Rt_map *nlmp, int mode, int promote) argument
389 * mode hasn't been promoted, there's no need to recompute the modes of
426 (void) update_mode(dlmp, MODE(dlmp), mode);
640 dlmopen_core(Lm_list *lml, Lm_list *olml, const char *path, int mode, argument
649 (path ? path : MSG_ORIG(MSG_STR_ZERO)), in_nfavl, mode));
655 if (((mode & (RTLD_GROUP | RTLD_WORLD)) == 0) &&
656 ((mode & RTLD_NOLOAD) == 0))
657 mode |= (RTLD_GROUP | RTLD_WORLD);
658 if ((mode & RTLD_NOW) && (rtld_flags2 & RT_FL2_BINDLAZY)) {
659 mode
856 dlmopen_intn(Lm_list *lml, const char *path, int mode, Rt_map *clmp, uint_t flags, uint_t orig) argument
973 dlmopen_check(Lm_list *lml, const char *path, int mode, Rt_map *clmp) argument
1016 dlopen(const char *path, int mode) argument
1041 dlmopen(Lmid_t lmid, const char *path, int mode) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c115 static int vdc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
197 static int vd_process_ioctl(dev_t dev, int cmd, caddr_t arg, int mode,
205 int mode, int dir);
207 int mode, int dir);
209 int mode, int dir);
211 int mode, int dir);
213 int mode, int dir);
215 int mode, int dir);
217 int mode, int dir);
219 int mode, in
1420 vdc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
5512 int mode; member in struct:vdc_dk_arg
5935 vdc_uscsi_cmd(vdc_t *vdc, caddr_t arg, int mode) argument
6188 vdc_mhd_inkeys(vdc_t *vdc, caddr_t arg, int mode) argument
6300 vdc_mhd_inresv(vdc_t *vdc, caddr_t arg, int mode) argument
6428 vdc_mhd_register(vdc_t *vdc, caddr_t arg, int mode) argument
6467 vdc_mhd_reserve(vdc_t *vdc, caddr_t arg, int mode) argument
6508 vdc_mhd_preemptabort(vdc_t *vdc, caddr_t arg, int mode) argument
6553 vdc_mhd_registerignore(vdc_t *vdc, caddr_t arg, int mode) argument
6940 vdc_failfast(vdc_t *vdc, caddr_t arg, int mode) argument
7285 vd_process_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, int *rvalp) argument
7669 vdc_null_copy_func(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7681 vdc_get_wce_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7696 vdc_set_wce_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7736 vdc_get_vtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7797 vdc_set_vtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7847 vdc_get_extvtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7873 vdc_set_extvtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7931 vdc_get_geom_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7974 vdc_set_geom_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
8004 vdc_get_efi_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
8052 vdc_set_efi_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c2738 /* mode */
2749 mode; /* current inflate mode */ member in struct:internal_state
2751 /* mode dependent information */
2761 /* mode independent information */
2779 z->state->mode = z->state->nowrap ? BLOCKS : METHOD;
2868 while (1) switch (z->state->mode)
2874 z->state->mode = BAD;
2881 z->state->mode = BAD;
2886 z->state->mode
3062 mode; /* current inflate_block mode */ member in struct:inflate_blocks_state
4097 mode; /* current inflate_codes mode */ member in struct:inflate_codes_state
[all...]
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c128 static char l_changed; /* set if mode bits changed */
226 * This routine will set the tty in cooked mode.
259 * This routine will set the tty in raw mode.
805 int mode = -1; local
808 mode = 1;
811 mode = 1;
869 rv = sfpkrd(fd,buff,size,delim,-1L,mode);
906 else if(rv>=0 && mode>0)
1011 * routine to perform read from terminal for vi and emacs mode
1012 * <mode> ca
1019 ed_getchar(register Edit_t *ep,int mode) argument
1500 tcsetattr(int fd,int mode,struct termios *tt) argument
1544 keytrap(Edit_t *ep,char *inbuff,register int insize, int bufsize, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dwinlockio.c514 winlock_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
527 return (seglock_graballoc(arg, OLDSTYLE_LOCK, mode));
529 return (seglock_grabfree(arg, mode));
531 return (seglock_grabinfo(arg, mode));
536 return (seglock_graballoc(arg, NEWSTYLE_LOCK, mode));
538 return (seglock_grabfree(arg, mode));
540 return (seglock_settimeout(arg, mode));
542 return (seglock_gettimeout(arg, mode));
1093 seglock_grabinfo(intptr_t arg, int mode) argument
1098 if (ddi_copyout((caddr_t)&i, (caddr_t)arg, sizeof (int), mode) !
1104 seglock_graballoc(intptr_t arg, enum winlock_style style, int mode) argument
1178 seglock_grabfree(intptr_t arg, int mode) argument
1214 seglock_settimeout(intptr_t arg, int mode) argument
1254 seglock_gettimeout(intptr_t arg, int mode) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcrypto.h47 dh_key_set_t keys, cipher_mode_t mode);
/illumos-gate/usr/src/lib/librstp/common/
H A Dstp_vectors.h68 int (*set_hardware_mode) (int vlan_id, UID_STP_MODE_T mode);
/illumos-gate/usr/src/lib/libsmedia/library/common/
H A Dl_defines.h52 uint32_t mode; member in struct:format_flags

Completed in 133 milliseconds

<<11121314151617181920>>