Home
last modified time | relevance | path

Searched refs:mode (Results 201 – 225 of 1887) sorted by relevance

12345678910>>...76

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfstack.c55 if(f1 && (f1->mode&SF_RDWR) != f1->mode && _sfmode(f1,0,0) < 0)
57 if(f2 && (f2->mode&SF_RDWR) != f2->mode && _sfmode(f2,0,0) < 0)
68 f2->mode &= ~SF_PUSH;
100 f2->mode |= SF_PUSH;
106 f1->mode &= ~SF_PUSH;
H A Dsfread.c52 if(f->mode&SF_PEEK)
53 { if(!(f->mode&SF_READ) )
56 if(f->mode&SF_GETR)
60 f->mode &= ~SF_PEEK;
66 f->mode &= ~SF_PEEK;
67 if(f->mode&SF_PKRD)
69 f->mode &= ~SF_PKRD;
82 for(;; f->mode &= ~SF_LOCK)
H A Dsfsize.c36 reg int mode; local
42 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
81 if(f->here != s && (f->mode&SF_READ) )
100 else if(f->mode&SF_WRITE)
H A Dsfrd.c46 (f->mode&SF_WRITE) && f->extent < 0 ) in _sfwrsync()
55 (f->mode&SF_WRITE) && f->extent < 0 ) in _sfwrsync()
78 if((rcrv = f->mode & (SF_RC|SF_RV)) )
79 f->mode &= ~(SF_RC|SF_RV);
82 if(f->mode&SF_PKRD)
93 f->mode &= ~SF_SYNCED;
249 f->mode |= rcrv;
257 f->mode &= ~rcrv;
269 f->mode |= SF_PKRD;
270 else f->mode |= SF_RC;
[all …]
H A Dsfseek.c44 f->endb = (f->mode&SF_WRITE) ? f->data+f->size : f->data;
61 int mode, local, hardseek, mustsync; local
70 if(hardseek && f->mode == (SF_READ|SF_SYNCED) )
72 f->mode = SF_READ;
76 if((int)SFMODE(f,local) != (mode = f->mode&SF_RDWR))
81 mode = _sfmode(f,mode,local);
85 if(mode < 0)
90 (f->mode&SF_READ) && !(f->flags&SF_STRING);
144 if(f->mode&SF_WRITE)
161 if(type == SEEK_END || (f->mode&SF_WRITE) )
/illumos-gate/usr/src/common/acl/
H A Dacl_common.c746 mode |= S_IROTH; in ace_mask_to_mode()
766 *modep = mode; in ace_mask_to_mode()
1585 if (!(mode & S_IRUSR) && (mode & (S_IRGRP|S_IROTH))) in acl_trivial_access_masks()
1587 if (!(mode & S_IWUSR) && (mode & (S_IWGRP|S_IWOTH))) in acl_trivial_access_masks()
1589 if (!(mode & S_IXUSR) && (mode & (S_IXGRP|S_IXOTH))) in acl_trivial_access_masks()
1593 if (!(mode & S_IRGRP) && (mode & S_IROTH)) in acl_trivial_access_masks()
1595 if (!(mode & S_IWGRP) && (mode & S_IWOTH)) in acl_trivial_access_masks()
1597 if (!(mode & S_IXGRP) && (mode & S_IXOTH)) in acl_trivial_access_masks()
1601 if ((mode & S_IRUSR) && (!(mode & S_IRGRP) && (mode & S_IROTH))) in acl_trivial_access_masks()
1603 if ((mode & S_IWUSR) && (!(mode & S_IWGRP) && (mode & S_IWOTH))) in acl_trivial_access_masks()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_open.c110 int mode; in vn_open() local
117 mode = 0; in vn_open()
120 mode |= VREAD; in vn_open()
122 mode |= VWRITE; in vn_open()
124 mode |= VEXEC; in vn_open()
149 vn_create(pnamep, seg, &vattr, excl, mode, &vp, crwhy, in vn_open()
191 if (error = VOP_ACCESS(vp, mode, accessflags, CRED(), NULL)) in vn_open()
276 int mode, in vn_create() argument
332 excl, mode, vpp, CRED(), flag, NULL, NULL); in vn_create()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dulimit.c71 register int mode=0, n; in b_ulimit() local
90 mode |= HARD; in b_ulimit()
93 mode |= SOFT; in b_ulimit()
125 if(mode==0) in b_ulimit()
126 mode = (HARD|SOFT); in b_ulimit()
159 if(mode&HARD) in b_ulimit()
161 if(mode&SOFT) in b_ulimit()
178 if(mode&HARD) in b_ulimit()
180 if(mode&SOFT) in b_ulimit()
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun_ctl.c39 iptun_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_create() argument
46 iptun_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_delete() argument
53 iptun_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_modify() argument
60 iptun_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_info() argument
67 iptun_ioc_set_6to4relay(void *karg, intptr_t arg, int mode, cred_t *cred, in iptun_ioc_set_6to4relay() argument
81 iptun_ioc_get_6to4relay(void *karg, intptr_t arg, int mode, cred_t *cred, in iptun_ioc_get_6to4relay() argument
/illumos-gate/usr/src/uts/i86pc/io/xsvc/
H A Dxsvc.c434 err = xsvc_ioctl_alloc_memory(state, (void *)arg, mode); in xsvc_ioctl()
438 err = xsvc_ioctl_free_memory(state, (void *)arg, mode); in xsvc_ioctl()
442 err = xsvc_ioctl_flush_memory(state, (void *)arg, mode); in xsvc_ioctl()
474 mode); in xsvc_ioctl_alloc_memory()
482 err = ddi_copyin(arg, &params, sizeof (xsvc_mem_req), mode); in xsvc_ioctl_alloc_memory()
570 sizeof (xsvc_mloc_32), mode); in xsvc_ioctl_alloc_memory()
579 mode); in xsvc_ioctl_alloc_memory()
593 mode); in xsvc_ioctl_alloc_memory()
601 err = ddi_copyout(&sgl, &usgl[i], sizeof (xsvc_mloc), mode); in xsvc_ioctl_alloc_memory()
643 mode); in xsvc_ioctl_flush_memory()
[all …]
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes.c97 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) in cbc_crypt() argument
104 err = common_crypt(key, buf, len, mode, &dp); in cbc_crypt()
114 ecb_crypt(char *key, char *buf, size_t len, unsigned int mode) in ecb_crypt() argument
120 ret = common_crypt(key, buf, len, mode, &dp); in ecb_crypt()
130 unsigned mode, struct desparams *desp) in common_crypt() argument
140 ((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT; in common_crypt()
142 desdev = mode & DES_DEVMASK; in common_crypt()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dmktemp.c69 mode_t mode = 0; in b_mktemp() local
90 mode = strperm(pfx = opt_info.arg, &opt_info.arg, S_IRWXU); in b_mktemp()
127 if (!mode) in b_mktemp()
128 mode = (fdp ? (S_IRUSR|S_IWUSR) : S_IRWXU) & ~mask; in b_mktemp()
129 umask(~mode & (S_IRWXU|S_IRWXG|S_IRWXO)); in b_mktemp()
154 if (fdp || unsafe || !mkdir(path, mode)) in b_mktemp()
H A Dmkfifo.c56 register mode_t mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; in b_mkfifo() local
67 mode = strperm(arg = opt_info.arg, &opt_info.arg, mode); in b_mkfifo()
86 mode &= ~mask; in b_mkfifo()
91 if (mkfifo(arg, mode) < 0) in b_mkfifo()
H A Dcut.c157 cut->sflag = (mode&C_SUPRESS) != 0; in cutinit()
576 int mode = 0; in b_cut() local
593 if(mode&C_FIELDS) in b_cut()
600 mode |= C_BYTES; in b_cut()
602 mode |= C_CHARS; in b_cut()
635 if(mode&(C_CHARS|C_BYTES)) in b_cut()
641 mode |= C_FIELDS; in b_cut()
644 mode |= C_NOSPLIT; in b_cut()
647 mode |= C_NONEWLINE; in b_cut()
655 mode |= C_SUPRESS; in b_cut()
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-kernel-platform.p5m58 mode=0755
91 mode=0755
93 mode=0755
95 mode=0755
99 mode=0755
103 mode=0755
105 mode=0755
153 mode=0755
155 mode=0755
161 mode=0755
[all …]
H A Dsystem-file-system-smb.p5m33 file path=etc/security/exec_attr.d/SUNWsmbfs mode=0644 \
42 file path=lib/svc/method/smb-client mode=0555
45 file path=usr/bin/smbutil mode=0555
65 file path=usr/lib/fs/smbfs/dfshares mode=0555
67 file path=usr/lib/fs/smbfs/mount mode=0555
68 file path=usr/lib/fs/smbfs/share mode=0555
69 file path=usr/lib/fs/smbfs/umount mode=0555
70 file path=usr/lib/fs/smbfs/unshare mode=0555
76 file path=usr/lib/mdb/kvm/$(ARCH64)/nsmb.so mode=0555
86 file path=usr/lib/smbfs/smbiod mode=0555
[all …]
H A Dservice-file-system-nfs.p5m43 file path=kernel/misc/$(ARCH64)/nfssrv group=sys mode=0755
50 file path=lib/svc/manifest/network/nfs/rquota.xml group=sys mode=0444
53 file path=lib/svc/method/nfs-server mode=0555
63 file path=usr/lib/nfs/dtrace/nfs-time.d mode=0555
64 file path=usr/lib/nfs/dtrace/nfs-trace.d mode=0555
65 file path=usr/lib/nfs/mountd mode=0555
66 file path=usr/lib/nfs/nfsd mode=0555
67 file path=usr/lib/nfs/nfslogd mode=0555
68 file path=usr/lib/nfs/rquotad mode=0555
76 file path=usr/sbin/exportfs mode=0555
[all …]
H A Dservice-network-legacy.p5m37 file path=lib/svc/manifest/network/chargen.xml group=sys mode=0444
38 file path=lib/svc/manifest/network/daytime.xml group=sys mode=0444
39 file path=lib/svc/manifest/network/discard.xml group=sys mode=0444
40 file path=lib/svc/manifest/network/echo.xml group=sys mode=0444
41 file path=lib/svc/manifest/network/time.xml group=sys mode=0444
45 file path=usr/lib/inet/in.chargend mode=0555
46 file path=usr/lib/inet/in.daytimed mode=0555
47 file path=usr/lib/inet/in.discardd mode=0555
48 file path=usr/lib/inet/in.echod mode=0555
49 file path=usr/lib/inet/in.timed mode=0555
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_tools.c114 static int pcitool_intr_get_max_ino(uint32_t *arg, int mode);
253 pcitool_intr_info(dev_info_t *dip, void *arg, int mode) in pcitool_intr_info() argument
342 if (ddi_copyin(arg, iget, iget_kmem_alloc_size, mode) != in pcitool_get_intr()
393 PCITOOL_IGET_SIZE(num_devs_ret), mode); in pcitool_get_intr()
512 pcitool_intr_admn(dev_t dev, void *arg, int cmd, int mode) in pcitool_intr_admn() argument
522 rval = pcitool_intr_info(dip, arg, mode); in pcitool_intr_admn()
527 rval = pcitool_get_intr(dip, arg, mode, pci_p); in pcitool_intr_admn()
532 rval = pcitool_set_intr(dip, arg, mode, pci_p); in pcitool_intr_admn()
622 pcitool_bus_reg_ops(dev_t dev, void *arg, int cmd, int mode) in pcitool_bus_reg_ops() argument
642 if (ddi_copyin(arg, &prg, sizeof (pcitool_reg_t), mode) != in pcitool_bus_reg_ops()
[all …]
H A Dpci_devctl.c50 static int pci_devctl_ioctl(dev_info_t *dip, int cmd, intptr_t arg, int mode,
52 static int pci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
167 pci_devctl_ioctl(dev_info_t *dip, int cmd, intptr_t arg, int mode, in pci_devctl_ioctl() argument
182 return (ndi_devctl_ioctl(dip, cmd, arg, mode, 0)); in pci_devctl_ioctl()
235 pci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) in pci_ioctl() argument
268 dev, (void *)arg, cmd, mode); in pci_ioctl()
279 dev, (void *)arg, cmd, mode); in pci_ioctl()
300 rv = pcitool_intr_admn(dev, (void *)arg, cmd, mode); in pci_ioctl()
315 dev, cmd, arg, mode, credp, rvalp); in pci_ioctl()
318 dip, cmd, arg, mode, credp, rvalp); in pci_ioctl()
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_proto.c405 enum ieee80211_phymode mode) in ieee80211_setbasicrates() argument
423 ASSERT(mode < IEEE80211_MODE_MAX); in ieee80211_setbasicrates()
538 enum ieee80211_phymode mode; in ieee80211_wme_initparams() local
553 mode = IEEE80211_MODE_AUTO; in ieee80211_wme_initparams()
557 pPhyParam = &phyParamForAC_BK[mode]; in ieee80211_wme_initparams()
561 pPhyParam = &phyParamForAC_VI[mode]; in ieee80211_wme_initparams()
651 enum ieee80211_phymode mode; in ieee80211_wme_updateparams() local
683 mode = IEEE80211_MODE_AUTO; in ieee80211_wme_updateparams()
703 phyParam[mode].logcwmin; in ieee80211_wme_updateparams()
705 phyParam[mode].logcwmax; in ieee80211_wme_updateparams()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvatpit.c89 uint8_t mode; member
136 switch (c->mode) { in vatpit_get_out()
171 if (c->mode == TIMER_RATEGEN || c->mode == TIMER_SQWAVE) { in vatpit_callout_handler()
320 uint8_t mode; in vatpit_update_mode() local
328 mode &= ~TIMER_SWSTROBE; in vatpit_update_mode()
342 if (mode != TIMER_INTTC && in vatpit_update_mode()
344 mode != TIMER_SQWAVE && in vatpit_update_mode()
345 mode != TIMER_SWSTROBE) in vatpit_update_mode()
353 c->mode = mode; in vatpit_update_mode()
560 chan->vac_mode = src->mode; in vatpit_data_read()
[all …]
/illumos-gate/usr/src/ucbcmd/install.d/
H A Dinstall.c58 int mode = DEF_MODE; variable
101 mode = atoo(optarg); in main()
148 mode = (mode & ~S_ISGID) | (stb.st_mode & S_ISGID); in main()
149 if (mflag && chmod(dirname, mode)) { in main()
236 if (fchmod(to_fd, mode)) {
328 mkdirp(dir, mode) in mkdirp() argument
330 int mode;
337 if (mkdir(dir, mode) == 0)
349 return mkdir(dir, mode);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c44 char *name, *mode; in interpret_tftp() local
80 mode = name + (strlen(name) + 1); in interpret_tftp()
82 "TFTP Read \"%s\" (%s)", name, mode); in interpret_tftp()
86 mode = name + (strlen(name) + 1); in interpret_tftp()
88 "TFTP Write \"%s\" (%s)", name, mode); in interpret_tftp()
126 mode = name + (strlen(name) + 1); in interpret_tftp()
131 get_line(mode - dlc_header, strlen(mode) + 1), in interpret_tftp()
132 "Transfer mode = %s", mode); in interpret_tftp()
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_list.c157 void list_modify_str_array(destlist, sourcelist, mode) in list_modify_str_array() argument
160 int mode;
171 if (mode == LIST_MODE_ADD) {
195 } else if (mode == LIST_MODE_DELETE) {
222 int list_modify_int_array(destlist, sourcelist, mode) in list_modify_int_array() argument
225 int mode;
237 if (mode == LIST_MODE_ADD) {
262 } else if (mode == LIST_MODE_DELETE) {

12345678910>>...76