Home
last modified time | relevance | path

Searched refs:mode (Results 151 – 175 of 1890) sorted by relevance

12345678910>>...76

/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathpath.c41 pathpath(char* path, const char* p, const char* a, int mode) in pathpath() argument
43 return pathpath_20100601(p, a, mode, path, PATH_MAX); in pathpath()
51 pathpath_20100601(const char* p, const char* a, int mode, register char* path, size_t size) in pathpath_20100601() argument
75 if (pathexists(path, mode)) in pathpath_20100601()
77 if (*p != '/' && (mode & PATH_ABSOLUTE)) in pathpath_20100601()
114 if (s = pathaccess(path, p, a, mode, path, size)) in pathpath_20100601()
124 if (!(s = pathaccess(x, p, a, mode, path, size)) && !*x && (x = getenv("FPATH"))) in pathpath_20100601()
125 s = pathaccess(x, p, a, mode, path, size); in pathpath_20100601()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpurge.c36 reg int mode; local
41 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode|SF_SYNCED,0) < 0)
51 if((f->flags&SF_STRING) && (f->mode&SF_READ) )
69 switch(f->mode&~SF_LOCK)
76 if(!f->proc || !(f->flags&SF_READ) || !(f->mode&SF_WRITE) )
H A Dsfmode.c97 pool = f->mode&SF_POOL; in _sfcleanup()
98 f->mode &= ~SF_POOL; in _sfcleanup()
99 if((f->flags&SF_WRITE) && !(f->mode&SF_WRITE)) in _sfcleanup()
103 ((f->mode&SF_WRITE) && f->next == f->data) ) ) in _sfcleanup()
105 f->mode |= pool; in _sfcleanup()
378 if((f->mode&(SF_SYNCED|SF_READ)) == (SF_SYNCED|SF_READ) )
380 f->mode &= ~SF_SYNCED;
405 if(f->mode&SF_GETR)
406 { f->mode &= ~SF_GETR;
421 if(f->mode&SF_STDIO) /* synchronizing with stdio pointers */
[all …]
H A Dsftell.c36 reg int mode; local
43 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0)
56 else p = f->here + ((f->mode&SF_WRITE) ? f->next-f->data : f->next-f->endb);
H A Dsfwalk.c43 if(sfstdin->mode & SF_INIT)
44 _sfmode(sfstdin, (sfstdin->mode & SF_RDWR), 0);
45 if(sfstdout->mode & SF_INIT)
46 _sfmode(sfstdout, (sfstdout->mode & SF_RDWR), 0);
47 if(sfstderr->mode & SF_INIT)
48 _sfmode(sfstderr, (sfstderr->mode & SF_RDWR), 0);
/illumos-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_ioctl.c49 static int ioat_ioctl_rdreg(ioat_state_t *state, void *arg, int mode);
51 static int ioat_ioctl_wrreg(ioat_state_t *state, void *arg, int mode);
52 static int ioat_ioctl_test(ioat_state_t *state, void *arg, int mode);
60 ioat_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, int *rval) in ioat_ioctl() argument
82 e = ioat_ioctl_rdreg(state, (void *)arg, mode); in ioat_ioctl()
86 e = ioat_ioctl_wrreg(state, (void *)arg, mode); in ioat_ioctl()
89 e = ioat_ioctl_test(state, (void *)arg, mode); in ioat_ioctl()
105 ioat_ioctl_rdreg(ioat_state_t *state, void *arg, int mode) in ioat_ioctl_rdreg() argument
111 e = ddi_copyin(arg, &rdreg, sizeof (ioat_ioctl_rdreg_t), mode); in ioat_ioctl_rdreg()
141 e = ddi_copyout(&rdreg, arg, sizeof (ioat_ioctl_rdreg_t), mode); in ioat_ioctl_rdreg()
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-network.p5m50 file path=etc/dladm/secobj.conf owner=dladm group=netadm mode=0660 \
53 file path=etc/inet/datemsk.ndpd group=sys mode=0444
55 file path=etc/inet/ike/config.sample group=sys mode=0444
60 file path=etc/inet/ipsecinit.sample group=sys mode=0444
61 dir path=etc/inet/secret group=sys mode=0700
62 file path=etc/inet/secret/ike.preshared group=sys mode=0600 \
64 dir path=etc/inet/secret/ike.privatekeys group=sys mode=0700
65 file path=etc/inet/secret/ipseckeys.sample group=sys mode=0600
66 file path=etc/inet/secret/tcpkeys.sample group=sys mode=0600
79 file path=sbin/dladm mode=0555
[all …]
H A Ddeveloper-appcert.p5m35 file path=usr/bin/appcert mode=0555
39 file path=usr/lib/abi/appcert/AppcertUtil.pm mode=0555
40 file path=usr/lib/abi/appcert/abi_index mode=0555
41 file path=usr/lib/abi/appcert/etc.alt mode=0444
42 file path=usr/lib/abi/appcert/etc.scoped mode=0444
43 file path=usr/lib/abi/appcert/etc.tweaks mode=0444
44 file path=usr/lib/abi/appcert/etc.warn mode=0444
45 file path=usr/lib/abi/appcert/static_prof mode=0555
46 file path=usr/lib/abi/appcert/symcheck mode=0555
47 file path=usr/lib/abi/appcert/symprof mode=0555
[all …]
H A Dsystem-test-smbsrvtest.p5m21 file path=opt/smbsrv-tests/README mode=0444
23 file path=opt/smbsrv-tests/bin/run_smbtorture mode=0555
24 file path=opt/smbsrv-tests/bin/smbsrvtests mode=0555
26 file path=opt/smbsrv-tests/include/default.cfg mode=0444
27 file path=opt/smbsrv-tests/include/smbtor-excl-rpc.txt mode=0444
28 file path=opt/smbsrv-tests/include/smbtor-excl-smb2.txt mode=0444
31 file path=opt/smbsrv-tests/tests/smb_sid/large_sids_kern mode=0555
32 file path=opt/smbsrv-tests/tests/smb_sid/large_sids_lib mode=0555
34 file path=opt/smbsrv-tests/tests/smbtorture/runst-rpc mode=0555
35 file path=opt/smbsrv-tests/tests/smbtorture/runst-smb2 mode=0555
H A Dservice-file-system-smb.p5m38 file path=lib/svc/manifest/network/smb/server.xml group=sys mode=0444
40 file path=lib/svc/method/svc-smbd mode=0555
49 file path=usr/kernel/kmdb/$(ARCH64)/smbsrv group=sys mode=0555
59 file path=usr/lib/mdb/kvm/$(ARCH64)/smbsrv.so group=sys mode=0555
61 file path=usr/lib/mdb/proc/libmlsvc.so group=sys mode=0555
76 file path=usr/lib/smbsrv/dtrace/nbl-conflict.d mode=0555
77 file path=usr/lib/smbsrv/dtrace/smb-trace.d mode=0555
78 file path=usr/lib/smbsrv/dtrace/smb2-trace.d mode=0555
79 file path=usr/lib/smbsrv/dtrace/smbd-all.d mode=0555
80 file path=usr/lib/smbsrv/dtrace/smbd-authsvc.d mode=0555
[all …]
H A Dlocale-da-extra.p5m31 file path=usr/lib/locale/da_DK.ISO8859-1/LC_COLLATE/LCL_DATA mode=0444
33 file path=usr/lib/locale/da_DK.ISO8859-1/LC_CTYPE/LCL_DATA mode=0444
35 file path=usr/lib/locale/da_DK.ISO8859-1/LC_MESSAGES/LCL_DATA mode=0444
37 file path=usr/lib/locale/da_DK.ISO8859-1/LC_MONETARY/LCL_DATA mode=0444
39 file path=usr/lib/locale/da_DK.ISO8859-1/LC_NUMERIC/LCL_DATA mode=0444
41 file path=usr/lib/locale/da_DK.ISO8859-1/LC_TIME/LCL_DATA mode=0444
44 file path=usr/lib/locale/da_DK.ISO8859-15/LC_COLLATE/LCL_DATA mode=0444
46 file path=usr/lib/locale/da_DK.ISO8859-15/LC_CTYPE/LCL_DATA mode=0444
48 file path=usr/lib/locale/da_DK.ISO8859-15/LC_MESSAGES/LCL_DATA mode=0444
50 file path=usr/lib/locale/da_DK.ISO8859-15/LC_MONETARY/LCL_DATA mode=0444
[all …]
H A Dlocale-nl-extra.p5m31 file path=usr/lib/locale/nl_BE.ISO8859-15/LC_COLLATE/LCL_DATA mode=0444
33 file path=usr/lib/locale/nl_BE.ISO8859-15/LC_CTYPE/LCL_DATA mode=0444
35 file path=usr/lib/locale/nl_BE.ISO8859-15/LC_MESSAGES/LCL_DATA mode=0444
37 file path=usr/lib/locale/nl_BE.ISO8859-15/LC_MONETARY/LCL_DATA mode=0444
39 file path=usr/lib/locale/nl_BE.ISO8859-15/LC_NUMERIC/LCL_DATA mode=0444
41 file path=usr/lib/locale/nl_BE.ISO8859-15/LC_TIME/LCL_DATA mode=0444
44 file path=usr/lib/locale/nl_NL.ISO8859-15/LC_COLLATE/LCL_DATA mode=0444
46 file path=usr/lib/locale/nl_NL.ISO8859-15/LC_CTYPE/LCL_DATA mode=0444
48 file path=usr/lib/locale/nl_NL.ISO8859-15/LC_MESSAGES/LCL_DATA mode=0444
50 file path=usr/lib/locale/nl_NL.ISO8859-15/LC_MONETARY/LCL_DATA mode=0444
[all …]
H A Dlocale-ru-extra.p5m31 file path=usr/lib/locale/ru_RU.ISO8859-5/LC_COLLATE/LCL_DATA mode=0444
33 file path=usr/lib/locale/ru_RU.ISO8859-5/LC_CTYPE/LCL_DATA mode=0444
35 file path=usr/lib/locale/ru_RU.ISO8859-5/LC_MESSAGES/LCL_DATA mode=0444
37 file path=usr/lib/locale/ru_RU.ISO8859-5/LC_MONETARY/LCL_DATA mode=0444
39 file path=usr/lib/locale/ru_RU.ISO8859-5/LC_NUMERIC/LCL_DATA mode=0444
41 file path=usr/lib/locale/ru_RU.ISO8859-5/LC_TIME/LCL_DATA mode=0444
44 file path=usr/lib/locale/ru_RU.KOI8-R/LC_COLLATE/LCL_DATA mode=0444
46 file path=usr/lib/locale/ru_RU.KOI8-R/LC_CTYPE/LCL_DATA mode=0444
48 file path=usr/lib/locale/ru_RU.KOI8-R/LC_MESSAGES/LCL_DATA mode=0444
50 file path=usr/lib/locale/ru_RU.KOI8-R/LC_MONETARY/LCL_DATA mode=0444
[all …]
H A Dsystem-test-libmlrpctest.p5m23 file path=opt/libmlrpc-tests/README mode=0444
25 file path=opt/libmlrpc-tests/bin/libmlrpctest mode=0555
27 file path=opt/libmlrpc-tests/cfg/krb5_pac.config mode=0644
28 file path=opt/libmlrpc-tests/cfg/samlogon.config mode=0644
30 file path=opt/libmlrpc-tests/runfiles/default.run mode=0444
35 mode=0444
37 mode=0555
39 mode=0555
42 mode=0555
43 file path=opt/libmlrpc-tests/tests/netrlogon/samlogon_tests/samlogon mode=0555
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Ddirname.c101 int mode = 0; in b_dirname() local
110 mode |= PATH_REGULAR; in b_dirname()
113 mode &= ~PATH_REGULAR; in b_dirname()
114 mode |= PATH_READ; in b_dirname()
117 mode |= PATH_EXECUTE; in b_dirname()
132 if(!mode) in b_dirname()
134 else if(pathpath(argv[0], "", mode, buf, sizeof(buf))) in b_dirname()
/illumos-gate/usr/src/contrib/zlib/
H A Dinfback.c270 state->mode = TYPE; in inflateBack()
282 switch (state->mode) { in inflateBack()
287 state->mode = DONE; in inflateBack()
297 state->mode = STORED; in inflateBack()
303 state->mode = LEN; /* decode codes */ in inflateBack()
308 state->mode = TABLE; in inflateBack()
312 state->mode = BAD; in inflateBack()
323 state->mode = BAD; in inflateBack()
346 state->mode = TYPE; in inflateBack()
361 state->mode = BAD; in inflateBack()
[all …]
/illumos-gate/usr/src/common/dis/i386/
H A Ddis_tables.c3230 dtrace_get_modrm(dis86_t *x, uint_t *mode, uint_t *reg, uint_t *r_m) in dtrace_get_modrm() argument
3235 dtrace_get_SIB(x, mode, reg, r_m); in dtrace_get_modrm()
3245 dtrace_rex_adjust(uint_t rex_prefix, uint_t mode, uint_t *reg, uint_t *r_m) in dtrace_rex_adjust() argument
3264 dtrace_vex_adjust(uint_t vex_byte1, uint_t mode, uint_t *reg, uint_t *r_m) in dtrace_vex_adjust() argument
3779 dtrace_get_operand(dis86_t *x, uint_t mode, uint_t r_m, int wbit, int opindex) in dtrace_get_operand() argument
3799 if (mode == REG_ONLY) { in dtrace_get_operand()
3864 if ((mode == 0 && r_m == 6) || mode == 2) in dtrace_get_operand()
3866 else if (mode == 1) in dtrace_get_operand()
3869 if (mode == 0 && r_m == 6) in dtrace_get_operand()
3871 else if (mode == 0) in dtrace_get_operand()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dcompletion.c102 int mode=*type; in find_begin() local
128 if(mode!='*' && (isaletter(c) || c=='{')) in find_begin()
159 *type = mode; in find_begin()
207 int ed_expand(Edit_t *ep, char outbuff[],int *cur,int *eol,int mode, int count) in ed_expand() argument
218 if(mode=='=' && count>0) in ed_expand()
222 mode = '?'; in ed_expand()
262 var = mode; in ed_expand()
290 if(mode=='?') in ed_expand()
291 mode = '*'; in ed_expand()
292 if(var!='$' && mode=='\\' && out[-1]!='*') in ed_expand()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstdio.c225 sm_stdsetmode(fp, mode) in sm_stdsetmode() argument
227 const int *mode;
231 switch (SM_IO_MODE(*mode))
267 sm_stdgetmode(fp, mode) in sm_stdgetmode() argument
269 int *mode;
274 *mode = SM_IO_RDWR;
277 *mode = SM_IO_RDONLY;
280 *mode = SM_IO_WRONLY;
480 MODE_T mode; local
489 mode = (MODE_T) SM_VA_ARG(ap, int);
[all …]
/illumos-gate/usr/src/cmd/sgs/moe/common/
H A Dmoe.c160 int var, verbose = 0, silent = 0, error = 0, mode = 0, class = 0; in main() local
176 if ((optarg[0] == '2') && (mode == 0)) in main()
177 mode = ONLY32; in main()
183 if ((optarg[0] == '4') && (mode == 0)) in main()
184 mode = ONLY64; in main()
219 if (mode != ONLY64) { in main()
222 if (mode) in main()
228 if (mode == ONLY32) in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs.c523 detail_mode(mode) in detail_mode() argument
524 int mode; in detail_mode()
528 switch (mode & S_IFMT) {
539 (void) sprintf(get_line(0, 0), "Mode = 0%o", mode);
543 (mode & S_ISUID) != 0,
544 (mode & S_ISGID) != 0,
545 (mode & S_ISVTX) != 0);
547 perms(mode >> 6 & 0x7));
549 perms(mode >> 3 & 0x7));
551 perms(mode & 0x7));
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmcadm.c50 static int rmcadm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
311 rmcadm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, in rmcadm_ioctl() argument
336 switch (ddi_model_convert_from(mode & FMODELS)) { in rmcadm_ioctl()
346 sizeof (rr32), mode)) { in rmcadm_ioctl()
362 sizeof (rr), mode)) { in rmcadm_ioctl()
369 sizeof (rr), mode) != 0) { in rmcadm_ioctl()
386 rr.req.msg_len, mode) != 0) { in rmcadm_ioctl()
477 rr.resp.msg_bytes, mode) != 0) { in rmcadm_ioctl()
494 switch (ddi_model_convert_from(mode & FMODELS)) { in rmcadm_ioctl()
515 sizeof (rr32), mode)) { in rmcadm_ioctl()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A DDialers68 # mode and not the Hayes mode.
108 # ATZ\r\p\p enter command mode, reset modem,
110 # ATZ\r enter command mode, reset modem
112 # \E turn on echo check mode
113 # ATDT\T\r\c enter command mode, tone dial the number
130 # atzod, enter command mode, reset modem, set options to default
131 # o12=y, set option 12 to 'y' (transparent data mode)
134 # atT\T\r\c enter command mode, tone dial the number
137 # Once transparent data mode is enabled, you
138 # cannot enter the interactive mode from the data mode.
[all …]
/illumos-gate/usr/src/uts/intel/io/
H A Ducode_drv.c137 ucode_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval) in ucode_ioctl() argument
147 STRUCT_INIT(h, mode); in ucode_ioctl()
149 STRUCT_BUF(h), STRUCT_SIZE(h), mode)) in ucode_ioctl()
165 if (ddi_copyin((void *)rev_array, revp, size, mode) != 0) { in ucode_ioctl()
174 if (ddi_copyout(revp, (void *)rev_array, size, mode) != 0) { in ucode_ioctl()
182 STRUCT_SIZE(h), mode)) in ucode_ioctl()
201 STRUCT_INIT(h, mode); in ucode_ioctl()
203 mode)) in ucode_ioctl()
219 if (ddi_copyin((void *)uw_ucode, ucodep, size, mode) != 0) { in ucode_ioctl()
228 STRUCT_SIZE(h), mode)) in ucode_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_ioctl.c209 ql_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred_p, in ql_ioctl() argument
244 rval = ql_xioctl(ha, cmd, arg, mode, cred_p, rval_p); in ql_ioctl()
253 sizeof (bits), mode)) { in ql_ioctl()
263 sizeof (bits), mode)) { in ql_ioctl()
277 rval = ql_nv_util_load(ha, (void *)arg, mode); in ql_ioctl()
281 rval = ql_nv_util_dump(ha, (void *)arg, mode); in ql_ioctl()
285 rval = ql_adm_op(ha, (void *)arg, mode); in ql_ioctl()
937 ql_nv_util_load(ql_adapter_state_t *ha, void *bp, int mode) in ql_nv_util_load() argument
954 if (ddi_copyin(bp, nv, ha->nvram_cache->size, mode) != 0) { in ql_nv_util_load()
990 start_addr, mode)) != QL_SUCCESS) { in ql_nv_util_load()
[all …]

12345678910>>...76