Searched refs:mode (Results 176 - 200 of 1589) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c213 ** SM_STDSETMODE -- set the access mode for the file
219 ** mode -- new mode to set the file access to
227 sm_stdsetmode(fp, mode)
229 const int *mode;
233 switch (SM_IO_MODE(*mode))
255 ** SM_STDGETMODE -- for getinfo determine open mode
260 ** fp -- the file mode being determined
261 ** mode -- internal mode t
482 MODE_T mode; local
[all...]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dhash.c54 get_hash(Hash_tbl * tbl, Addr key, Half id, int mode) argument
67 if (mode & HASH_FND_ENT) {
81 if (!(mode & HASH_ADD_ENT))
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmclose.c49 if(!(vd->mode&VM_TRUST) && ISLOCK(vd,0))
57 vd->mode &= ~VM_TRUST;
60 if((vd->mode&VM_MTPROFILE) && _Vmpfclose)
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_unix.c262 unixex(opt, up, newstdin, mode)
264 int newstdin, mode;
276 if ((mode & 1) && pipe(pvec) < 0) {
288 if (mode & 1) {
298 if (mode & 2) {
303 if (mode & 1) {
328 if (mode & 1) {
339 * F is for restoration of tty mode if from open/visual.
365 * Setup a pipeline for the filtration implied by mode
371 vi_filter(int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dasym_sun.c80 int *mode, int *ownership, int *xlf_capable);
88 int xlf = 0, mode = 0, ownership = 0; local
98 purple_get_fo_mode(sd, &mode, &ownership, &xlf);
99 if (mode == SCSI_EXPLICIT_FAILOVER)
118 purple_get_fo_mode(struct scsi_device *sd, int *mode, argument
127 *mode = *ownership = *xlf_capable = 0;
154 VHCI_DEBUG(4, (CE_NOTE, NULL, "!(sd:%p)failed to get mode"
166 " implicit mode\n", (void *)sd));
167 *mode = SCSI_IMPLICIT_FAILOVER;
172 *mode
227 int mode, ownership, retval, xlf; local
442 int retval, mode, ownership, xlf; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dencrypt.c226 EncryptEnable(char *type, char *mode) argument
235 if (EncryptType(type, mode))
236 return (EncryptStart(mode));
242 EncryptDisable(char *type, char *mode) argument
257 if ((mode == 0) || (isprefix(mode, "input") ? 1 : 0)) {
263 if ((mode == 0) || (isprefix(mode, "output"))) {
271 "%s: invalid encryption mode\n"), mode);
277 EncryptType(char *type, char *mode) argument
310 EncryptStart(char *mode) argument
358 EncryptStop(char *mode) argument
[all...]
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dacquire-lock.c36 static void acq_flock(int fd, int mode);
41 acq_fcntl(int fd, int cmd, int mode) argument
52 flock_reinit(&fl, mode);
77 acq_flock(int fd, int mode) argument
88 ret = flock(fd, mode);
/illumos-gate/usr/src/lib/libcmd/common/
H A Duniq.c85 static int uniq(Sfio_t *fdin, Sfio_t *fdout, int fields, int chars, int width, int mode, int* all, Compare_f compare) argument
91 if(mode&C_FLAG)
161 if(((mode&D_FLAG)&&count==0) || ((mode&U_FLAG)&&count))
248 register int n, mode=0; local
260 mode |= C_FLAG;
263 mode |= D_FLAG;
266 mode |= D_FLAG;
285 mode |= U_FLAG;
307 if(all && (mode
[all...]
/illumos-gate/usr/src/uts/intel/io/
H A Ducode_drv.c139 ucode_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval) argument
155 STRUCT_INIT(h, mode);
157 STRUCT_BUF(h), STRUCT_SIZE(h), mode))
173 if (ddi_copyin((void *)rev_array, revp, size, mode) != 0) {
182 if (ddi_copyout(revp, (void *)rev_array, size, mode) != 0) {
190 STRUCT_SIZE(h), mode))
209 STRUCT_INIT(h, mode);
211 mode))
227 if (ddi_copyin((void *)uw_ucode, ucodep, size, mode) != 0) {
236 STRUCT_SIZE(h), mode))
[all...]
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes.c94 * CBC mode encryption
97 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) argument
104 err = common_crypt(key, buf, len, mode, &dp);
111 * ECB mode encryption
114 ecb_crypt(char *key, char *buf, size_t len, unsigned int mode) argument
120 ret = common_crypt(key, buf, len, mode, &dp);
130 unsigned mode, struct desparams *desp)
140 ((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT;
142 desdev = mode & DES_DEVMASK;
129 common_crypt(char *key, char *buf, unsigned len, unsigned mode, struct desparams *desp) argument
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Diso9660.h63 typedef int int8_t __attribute__((mode(QI)));
64 typedef unsigned int u_int8_t __attribute__((mode(QI)));
65 typedef int int16_t __attribute__((mode(HI)));
66 typedef unsigned int u_int16_t __attribute__((mode(HI)));
67 typedef int int32_t __attribute__((mode(SI)));
68 typedef unsigned int u_int32_t __attribute__((mode(SI)));
172 iso_32bit_t mode; member in struct:rock_ridge::__anon2191::PX
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Ddl.c62 conv_dl_mode(int mode, int fabricate, Conv_dl_mode_buf_t *dl_mode_buf) argument
81 conv_arg.oflags = conv_arg.rflags = mode;
84 if (mode & RTLD_NOW) {
86 } else if ((mode & RTLD_LAZY) || fabricate) {
89 if (mode & RTLD_GLOBAL) {
95 conv_arg.oflags = mode;
96 conv_arg.rflags = mode & ~(RTLD_LAZY | RTLD_NOW | RTLD_GLOBAL);
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch.c233 av1394_isoch_ioctl(av1394_inst_t *avp, int cmd, intptr_t arg, int mode, argument
240 ret = av1394_ioctl_isoch_init(avp, (void *)arg, mode);
243 ret = av1394_ioctl_isoch_fini(avp, (void *)arg, mode);
246 ret = av1394_ioctl_start(avp, (void *)arg, mode);
249 ret = av1394_ioctl_stop(avp, (void *)arg, mode);
252 ret = av1394_ioctl_recv(avp, (void *)arg, mode);
255 ret = av1394_ioctl_xmit(avp, (void *)arg, mode);
258 ret = av1394_ioctl_plug_init(avp, (void *)arg, mode);
261 ret = av1394_ioctl_plug_fini(avp, (void *)arg, mode);
264 ret = av1394_ioctl_plug_reg_read(avp, (void *)arg, mode);
535 av1394_ioctl_isoch_init(av1394_inst_t *avp, void *arg, int mode) argument
606 av1394_ioctl_isoch_fini(av1394_inst_t *avp, void *arg, int mode) argument
622 av1394_ioctl_start(av1394_inst_t *avp, void *arg, int mode) argument
639 av1394_ioctl_stop(av1394_inst_t *avp, void *arg, int mode) argument
655 av1394_ioctl_recv(av1394_inst_t *avp, void *arg, int mode) argument
697 av1394_ioctl_xmit(av1394_inst_t *avp, void *arg, int mode) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfwrite.c51 if(f->mode&SF_PEEK)
52 { if(!(f->mode&SF_WRITE) && (f->flags&SF_RDWR) != SF_RDWR)
59 f->mode &= ~SF_PEEK;
61 if(f->mode&SF_PKRD)
76 f->mode &= ~SF_PKRD;
81 if((f->mode&SF_READ) && f->proc)
86 for(;; f->mode &= ~SF_LOCK)
87 { /* check stream mode */
H A Dsfrd.c46 (f->mode&SF_WRITE) && f->extent < 0 )
55 (f->mode&SF_WRITE) && f->extent < 0 )
78 if((rcrv = f->mode & (SF_RC|SF_RV)) )
79 f->mode &= ~(SF_RC|SF_RV);
82 if(f->mode&SF_PKRD)
86 { if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
91 if((f->mode&(SF_SYNCED|SF_READ)) == (SF_SYNCED|SF_READ) )
93 f->mode &= ~SF_SYNCED;
249 f->mode |= rcrv;
257 f->mode
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/stripe/
H A Dstripe_ioctl.c131 stripe_set(void *d, int mode) argument
199 (size_t)msp->size, mode)) {
299 stripe_get(void *d, int mode, IOLOCK *lock) argument
332 un->c.un_size, mode))
398 stripe_grow(void *d, int mode, IOLOCK *lockp) argument
449 (npar * sizeof (*par)), mode) != 0) {
514 (size_t)mgp->size, mode);
744 int mode,
792 sizeof (*devsp), mode) != 0)
899 stripe_admin_ioctl(int cmd, void *data, int mode, IOLOC argument
742 stripe_getdevs( void *d, int mode, IOLOCK *lock ) argument
1064 md_stripe_ioctl(dev_t dev, int cmd, void *data, int mode, IOLOCK *lockp) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx_tools.c53 static int niumx_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
82 static int niumxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode);
161 niumx_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
202 rv = niumxtool_intr(dip, (void *)arg, cmd, mode);
254 niumxtool_intr_info(dev_info_t *dip, void *arg, int mode) argument
260 if (ddi_copyin(arg, &intr_info, sizeof (pcitool_intr_info_t), mode) !=
273 if (ddi_copyout(&intr_info, arg, sizeof (pcitool_intr_info_t), mode) !=
292 niumxtool_get_intr(dev_info_t *dip, void *arg, int mode) argument
310 if (ddi_copyin(arg, &partial_iget, PCITOOL_IGET_SIZE(0), mode) !=
341 if (ddi_copyin(arg, iget_p, iget_kmem_alloc_size, mode) !
405 niumxtool_set_intr(dev_info_t *dip, void *arg, int mode) argument
494 niumxtool_intr(dev_info_t *dip, void *arg, int cmd, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_ioctl.c55 * mode - mode which comes from application
59 cpqary3_ioctl_driver_info(uintptr_t ioctl_reqp, int mode) argument
75 sizeof (cpqary3_ioctl_request_t), mode)) {
99 sizeof (cpqary3_driver_info_t), mode)) {
109 sizeof (cpqary3_ioctl_request_t), mode)) {
132 * mode - mode which comes from application
136 cpqary3_ioctl_ctlr_info(uintptr_t ioctl_reqp, cpqary3_t *cpqary3p, int mode) argument
153 sizeof (cpqary3_ioctl_request_t), mode)) {
226 cpqary3_ioctl_bmic_pass(uintptr_t ioctl_reqp, cpqary3_t *cpqary3p, int mode) argument
320 cpqary3_ioctl_send_bmiccmd(cpqary3_t *cpqary3p, cpqary3_bmic_pass_t *bmic_pass, int mode) argument
499 cpqary3_ioctl_scsi_pass(uintptr_t ioctl_reqp, cpqary3_t *cpqary3p, int mode) argument
589 cpqary3_ioctl_send_scsicmd(cpqary3_t *cpqary3p, cpqary3_scsi_pass_t *scsi_pass, int mode) argument
[all...]
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c112 s10_openat(sysret_t *rval, int fd, const char *path, int oflag, mode_t mode) argument
115 fd, path, oflag, mode));
119 s10_open(sysret_t *rval, char *path, int oflag, mode_t mode) argument
122 AT_FDCWD, path, oflag, mode));
126 s10_creat(sysret_t *rval, char *path, mode_t mode) argument
129 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode));
135 s10_openat64(sysret_t *rval, int fd, const char *path, int oflag, mode_t mode) argument
138 fd, path, oflag, mode));
142 s10_open64(sysret_t *rval, char *path, int oflag, mode_t mode) argument
145 AT_FDCWD, path, oflag, mode));
149 s10_creat64(sysret_t *rval, char *path, mode_t mode) argument
208 s10_chmod(sysret_t *rval, const char *name, mode_t mode) argument
215 s10_fchmod(sysret_t *rval, int filedes, mode_t mode) argument
453 s10_xmknod(sysret_t *rval, int version, const char *path, mode_t mode, dev_t dev) argument
[all...]
/illumos-gate/usr/src/cmd/avs/errgen/
H A Derrgen.c57 static enum {C_MODE, J_MODE, M_MODE, E_MODE, T_MODE, X_MODE} mode = E_MODE; variable in typeref:enum:__anon28
111 switch (mode) {
132 switch (mode) {
212 switch (mode) {
273 mode = C_MODE;
276 mode = J_MODE;
279 mode = E_MODE;
282 mode = M_MODE;
285 mode = T_MODE;
288 mode
[all...]
/illumos-gate/usr/src/ucbcmd/install.d/
H A Dinstall.c56 #define DEF_MODE 0755 /* default mode */
60 int mode = DEF_MODE; variable
103 mode = atoo(optarg);
150 mode = (mode & ~S_ISGID) | (stb.st_mode & S_ISGID);
151 if (mflag && chmod(dirname, mode)) {
233 /* open target, set mode, owner, group */
238 if (fchmod(to_fd, mode)) {
320 fputs(gettext("usage: install [-cs] [-g group] [-m mode] [-o owner] file ... destination\n"), stderr);
321 fputs(gettext(" install -d [-g group] [-m mode] [
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
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, argument
182 return (ndi_devctl_ioctl(dip, cmd, arg, mode, 0));
235 pci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
268 dev, (void *)arg, cmd, mode);
279 dev, (void *)arg, cmd, mode);
300 rv = pcitool_intr_admn(dev, (void *)arg, cmd, mode);
315 dev, cmd, arg, mode, credp, rvalp);
318 dip, cmd, arg, mode, cred
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_module_load.c65 mdb_module_load(const char *fname, int mode) argument
87 kmc->kmc_loadmode = mode;
104 if (!(mode & MDB_MOD_DEFER) &&
108 if (!(mode & MDB_MOD_SILENT))
114 if (!(mode & MDB_MOD_SILENT))
207 mdb_module_load_all(int mode) argument
211 ASSERT(mode & MDB_MOD_DEFER);
226 kmdb_module_request_unload(kmdb_modctl_t *kmc, const char *modname, int mode) argument
237 if (!(mode & MDB_MOD_DEFER) &&
241 if (!(mode
247 mdb_module_unload(const char *name, int mode) argument
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppexpr.c208 if ((pp.state & STRICT) && !(pp.mode & HOSTED)) switch (index)
226 pp.mode |= HOSTED;
248 if (warn && !(pp.mode & HOSTED) && (sym = ppsymref(pp.symtab, pred)) && (sym->flags & SYM_PREDICATE))
288 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "more tokens expected";
319 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "too many )'s";
328 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "closing ) expected";
334 if (!errmsg && !(pp.mode & INACTIVE)) errmsg = "operator expected";
348 x = pp.mode;
349 pp.mode |= INACTIVE;
351 pp.mode
[all...]
/illumos-gate/usr/src/tools/scripts/
H A Dvalidate_pkg.py51 ("mode", "mode="),
58 ("mode", "mode="),
90 self.mode = None
119 m = int(self.mode, 8)
213 return lhs.mode != rhs.mode
264 mode = self.mode
[all...]

Completed in 116 milliseconds

1234567891011>>