Searched refs:mode (Results 101 - 125 of 1589) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c48 "mode",
154 led_modeid_t mode = LED_MODE_UNK; local
163 mode = LED_MODE_FAULTED;
167 mode = LED_MODE_OFF;
171 mode = LED_MODE_ON;
175 mode = LED_MODE_UNK;
177 cfga_led_msg(msgp, apidp, LED_STR_LOCATOR, mode);
186 led_modeid_t mode = LED_MODE_UNK; local
195 mode = LED_MODE_ON;
199 mode
213 opl_setlocator( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
266 opl_setled( const char *mode, apid_t *apidp, char **errstring, struct cfga_msg *msgp) argument
[all...]
/illumos-gate/usr/src/lib/libgen/common/
H A Dpathfind.c34 * mode and type. Return a pointer to the path. If the
100 pathfind(const char *path, const char *name, const char *mode) argument
114 if (mode == ((char *)0))
115 mode = "";
116 for (cp = (char *)mode; *cp; cp++) {
184 fullck(char *name, mode_t mode, int nzflag) argument
189 if ((mode & 0177000) == 0 && nzflag == 0) /* no special info wanted */
193 xor = (sbuf.st_mode ^ mode) & 077000; /* see mknod(2) */
194 if ((mode & 0170000) == 0)
196 if ((mode
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c40 char *name, *mode; local
58 mode = name + (strlen(name) + 1);
60 "TFTP Read \"%s\" (%s)", name, mode); local
64 mode = name + (strlen(name) + 1);
66 "TFTP Write \"%s\" (%s)", name, mode); local
102 mode = name + (strlen(name) + 1);
108 get_line(mode - dlc_header, strlen(mode) + 1),
109 "Transfer mode = %s",
110 mode);
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfsetfd.c74 if((f->mode&SF_INIT) && f->file < 0)
81 if((f->mode&SF_RDWR) != f->mode && _sfmode(f,0,0) < 0)
96 if(((f->mode&SF_WRITE) && f->next > f->data) ||
97 (f->mode&SF_READ) || f->disc == _Sfudisc)
104 if(((f->mode&SF_WRITE) && f->next > f->data) ||
105 ((f->mode&SF_READ) && f->extent < 0 &&
121 f->mode = (f->mode&SF_RDWR)|SF_INIT;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlock_file.c65 krb5_lock_file(krb5_context context, int fd, int mode) argument
74 switch (mode & ~KRB5_LOCKMODE_DONTBLOCK) {
98 if (mode & KRB5_LOCKMODE_DONTBLOCK) {
132 krb5_lock_file(context, fd, mode)
135 int mode;
/illumos-gate/usr/src/lib/libcmd/common/
H A Dmkfifo.c34 "default, the mode of created FIFO is \ba=rw\b minus the "
36 "[m:mode]:[mode?Set the mode of created FIFO to \amode\a. "
37 "\amode\a is symbolic or octal mode as in \bchmod\b(1). Relative "
38 "modes assume an initial mode of \ba=rw\b.]"
56 register mode_t mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; local
69 mode = strperm(arg = opt_info.arg, &opt_info.arg, mode);
71 error(ERROR_exit(0), "%s: invalid mode", ar
[all...]
H A Dmktemp.c31 "temporary file will have mode \brw-------\b and a temporary directory "
32 "will have mode \brwx------\b, subject to \bumask\b(1). Generated paths "
44 "[m:mode]:[mode?Set the mode of the created temporary to \amode\a. "
45 "\amode\a is symbolic or octal mode as in \bchmod\b(1). Relative modes "
46 "assume an initial mode of \bu=rwx\b.]"
69 mode_t mode = 0; local
92 mode = strperm(pfx = opt_info.arg, &opt_info.arg, S_IRWXU);
94 error(ERROR_exit(0), "%s: invalid mode", pf
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/
H A Ddb.c50 kdb2_dbopen(fname, flags, mode, type, openinfo)
52 int flags, mode;
66 mode, openinfo, flags & DB_FLAGS));
69 mode, openinfo, flags & DB_FLAGS));
72 mode, openinfo, flags & DB_FLAGS));
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfopen.c82 char plus, mode; local
110 mode = type[0];
111 if (mode != 'r' && mode != 'w' && mode != 'a') {
126 * specified, the old access mode needs to be O_RDWR. When 'r' is
127 * specified, the old access mode needs to be O_RDONLY or O_RDWR.
128 * When 'a' or 'w' is specified, the old access mode needs to be
130 * the underlying file descriptor was not opened with a mode that
131 * would allow the stream to do successful I/O with the requested mode
[all...]
H A Dmse.c78 _setorientation(FILE *iop, _IOP_orientation_t mode) argument
80 switch (mode) {
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_module_load.c45 mdb_module_load(const char *name, int mode) argument
52 ASSERT(!(mode & MDB_MOD_DEFER));
55 ASSERT(!(mode & MDB_MOD_BUILTIN));
91 return (mdb_module_create(name, fullname, mode, NULL));
116 mode, NULL));
126 mode, NULL));
137 return (mdb_module_create(name, buf, mode, NULL));
140 if (!(mode & MDB_MOD_SILENT))
188 mdb_module_load_all(int mode) argument
194 mld.mld_mode = mode | MDB_MOD_LOCA
208 mdb_module_unload(const char *name, int mode) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_seek.c54 * USHORT Mode; Seek mode: 0, 1 or 2
96 ushort_t mode; local
101 if (smbsr_decode_vwv(sr, "wwl", &sr->smb_fid, &mode, &off) != 0)
112 if ((rc = smb_ofile_seek(sr->fid_ofile, mode, off, &off_ret)) != 0) {
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c38 * may pass file descriptor FDIN as an open file with mode SPECIAL if
102 int mode; local
125 * by root and is mode SPECIAL, then this is proof that it was
207 mode = 0;
216 mode = S_ISGID;
219 if(mode)
222 mode |= S_ISUID;
227 mode = S_ISUID;
230 if(mode)
231 setids(mode, effui
293 eaccess(register const char *name, register int mode) argument
344 setids(int mode,int owner,int group) argument
364 setids(int mode,uid_t owner,gid_t group) argument
[all...]
/illumos-gate/usr/src/cmd/projadd/
H A Dprojmod.pl78 # argument is the mode which can be one of:
86 my ($new, $old, $mode) = @_;
89 if ($mode eq 'add') {
109 } elsif ($mode eq 'remove') {
136 } elsif ($mode eq 'replace' || $mode eq 'substitute') {
142 # merge_values(ref to listA, ref to listB, mode
154 my ($new, $old, $mode) = @_;
166 if ($mode eq 'add') {
176 } elsif ($mode e
[all...]
/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) argument
46 iptun_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
53 iptun_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
60 iptun_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) argument
67 iptun_ioc_set_6to4relay(void *karg, intptr_t arg, int mode, cred_t *cred, argument
81 iptun_ioc_get_6to4relay(void *karg, intptr_t arg, int mode, cred_t *cred, argument
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathpath.c27 * return full path to p with mode access using $PATH
39 pathpath(register char* path, const char* p, const char* a, int mode) argument
59 if (pathexists(path, mode))
61 if (*p != '/' && (mode & PATH_ABSOLUTE))
98 if (s = pathaccess(path, path, p, a, mode))
108 if (!(s = pathaccess(path, x, p, a, mode)) && !*x && (x = getenv("FPATH")))
109 s = pathaccess(path, x, p, a, mode);
/illumos-gate/usr/src/cmd/sgs/moe/common/
H A Dmoe.c116 * returned handle. Borrow the internal mode, RTLD_CONFGEN, from
160 int var, verbose = 0, silent = 0, error = 0, mode = 0, class = 0; local
176 if ((optarg[0] == '2') && (mode == 0))
177 mode = ONLY32;
183 if ((optarg[0] == '4') && (mode == 0))
184 mode = ONLY64;
219 if (mode != ONLY64) {
222 if (mode)
228 if (mode == ONLY32)
/illumos-gate/usr/src/uts/common/rpc/
H A Ddes_crypt.h76 * The mode is created by oring together the appropriate parameters.
84 * Cipher Block Chaining mode
87 int cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec);
94 * Electronic Code Book mode
97 int ecb_crypt(char *key, char *buf, size_t len, unsigned int mode);
/illumos-gate/usr/src/boot/sys/sys/
H A Ddirent.h80 #define IFTODT(mode) (((mode) & 0170000) >> 12)
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_rsa.c57 static int dca_pkcs1_unpadding(char *buf, int *tlen, int flen, int mode);
59 static int dca_x509_unpadding(char *buf, int tlen, int flen, int mode);
60 static int decrypt_error_code(int mode, int decrypt, int verify, int def);
64 crypto_req_handle_t req, int mode)
82 if (mode == DCA_RSA_ENC || mode == DCA_RSA_SIGN ||
83 mode == DCA_RSA_SIGNR) {
104 rv = decrypt_error_code(mode, CRYPTO_ENCRYPTED_DATA_LEN_RANGE,
113 if (len < reqp->dr_ctx.modlen && (mode == DCA_RSA_DEC ||
114 mode
63 dca_rsastart(crypto_ctx_t *ctx, crypto_data_t *in, crypto_data_t *out, crypto_req_handle_t req, int mode) argument
630 dca_rsaatomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input, crypto_data_t *output, int kmflag, crypto_req_handle_t req, int mode) argument
716 dca_pkcs1_unpadding(char *buf, int *tlen, int flen, int mode) argument
798 dca_x509_unpadding(char *buf, int tlen, int flen, int mode) argument
815 decrypt_error_code(int mode, int decrypt, int verify, int def) argument
[all...]
/illumos-gate/usr/src/tools/pmodes/
H A Dpmodes.c55 * d o owner -> newowner pathname [mode]
294 int modelen; /* number of mode bytes (3 or 4); */
295 int mode; /* the complete file mode */ member in struct:parsed_line
311 line->modelen, line->mode, line->owner, line->rest);
318 * third the class, the fourth the mode, when appropriate.
383 * [ <mode> <owner> <group> .... ]
404 * At this point, we could have no mode because we are
422 case 'p': /* FIFO - assume mode is sensible, don't treat as file */
445 * the mode i
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dbeep.c101 if (beep_state.mode != BEEP_UNINIT) {
123 beep_state.mode = BEEP_OFF;
150 if (beep_state.mode == BEEP_UNINIT) {
162 beep_state.mode = BEEP_UNINIT;
188 if (beep_state.mode == BEEP_UNINIT) {
193 if (beep_state.mode == BEEP_TIMED) {
198 if (beep_state.mode != BEEP_OFF) {
199 beep_state.mode = BEEP_OFF;
319 if (beep_state.mode == BEEP_UNINIT) {
323 } else if (beep_state.mode
[all...]
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf.c381 tnf_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
386 if ((mode & FMODELS) != FNATIVE)
398 return (tnf_getmaxprobe((caddr_t)arg, mode));
400 return (tnf_getprobevals((caddr_t)arg, mode));
402 return (tnf_getprobestring((caddr_t)arg, mode));
404 return (tnf_setprobevals((caddr_t)arg, mode));
406 return (tnf_getstate((caddr_t)arg, mode));
418 return (tnf_getpidstate((caddr_t)arg, mode));
424 return (tnf_setpidstate(filterval, (pid_t)arg, mode));
426 return (tnf_pidfilterget((caddr_t)arg, mode));
443 tnf_getmaxprobe(caddr_t arg, int mode) argument
466 tnf_getprobevals(caddr_t arg, int mode) argument
496 tnf_getprobestring(caddr_t arg, int mode) argument
520 tnf_setprobevals(caddr_t arg, int mode) argument
560 tnf_getstate(caddr_t arg, int mode) argument
738 tnf_getpidstate(caddr_t arg, int mode) argument
764 tnf_setpidstate(int filterval, pid_t pid, int mode) argument
783 tnf_pidfilterset(int mode) argument
809 tnf_pidfilterget(caddr_t dest, int mode) argument
874 tnf_getheader(caddr_t arg, int mode) argument
884 tnf_getblock(caddr_t arg, int mode) argument
914 tnf_getfwzone(caddr_t arg, int mode) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c296 key_object_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
303 if (mode == MODE_CREATE) {
308 return (template_check_required_base_attributes(tmpl, mode));
312 key_object_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
322 if (mode)
377 CK_ATTRIBUTE *attr, CK_ULONG mode)
381 if (mode == MODE_CREATE || mode == MODE_DERIVE ||
382 mode == MODE_KEYGEN || mode
376 key_object_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
402 publ_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
407 publ_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
496 publ_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
519 priv_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
524 priv_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
726 priv_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
798 secret_key_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
804 secret_key_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
1020 secret_key_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
1101 rsa_publ_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
1131 rsa_publ_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
1187 rsa_publ_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
1226 rsa_priv_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
1309 rsa_priv_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
1360 rsa_priv_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
1524 generic_secret_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
1550 generic_secret_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode) argument
1600 generic_secret_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c144 * mode - pass-through to ddi_copyin.
157 sp_setstatus(void *d, int mode, IOLOCK *lockp) argument
180 if (err = ddi_copyin((void *)(uintptr_t)msp->minors, minors, sz, mode))
213 * mode - pass-through to ddi_copyin.
221 sp_update_watermarks(void *d, int mode) argument
271 if (ddi_copyin((void *)(uintptr_t)mup->wmp, watermarks, wsz, mode)) {
276 if (ddi_copyin((void *)(uintptr_t)mup->osp, offsets, osz, mode)) {
363 * mode - pass-through to ddi_copyin.
370 sp_read_watermark(void *d, int mode) argument
422 sizeof (mp_watermark_t), mode)) {
446 sp_set(void *d, int mode) argument
591 sp_get(void *d, int mode, IOLOCK *lock) argument
741 sp_grow(void *d, int mode, IOLOCK *lockp) argument
911 sp_getdevs( void *d, int mode, IOLOCK *lockp ) argument
1029 sp_admin_ioctl(int cmd, void *data, int mode, IOLOCK *lockp) argument
1238 md_sp_ioctl(dev_t dev, int cmd, void *data, int mode, IOLOCK *lockp) argument
[all...]

Completed in 988 milliseconds

1234567891011>>