Searched defs:amode (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/libgen/common/
H A Deaccess.c42 eaccess(const char *path, int amode) argument
45 return (access(path, 010|amode));
/illumos-gate/usr/src/lib/libc/port/sys/
H A Daccess.c33 faccessat(int fd, const char *fname, int amode, int flag) argument
35 return (syscall(SYS_faccessat, fd, fname, amode, flag));
40 access(const char *fname, int amode) argument
43 return (syscall(SYS_access, fname, amode));
45 return (faccessat(AT_FDCWD, fname, amode, 0));
/illumos-gate/usr/src/tools/cscope-fast/
H A Dvpaccess.c41 vpaccess(char *path, mode_t amode) argument
47 if ((returncode = access(path, amode)) == -1 && path[0] != '/') {
51 if ((returncode = access(buf, amode)) != -1) {
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dstrsave.c52 * amode:
61 eaccess(char *path, mode_t amode) argument
68 amode &= 07;
77 if ((amode & s.st_mode) == amode)
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_open.c170 pr_access(struct ps_prochandle *Pr, const char *path, int amode) argument
178 return (access(path, amode));
194 adp++; /* amode argument */
195 adp->arg_value = (long)amode;
/illumos-gate/usr/src/lib/libcmd/common/
H A Dchmod.c115 "[F:reference?Omit the \amode\a operand and use the mode of \afile\a "
156 register char* amode = 0; local
206 amode = "";
232 if (error_info.errors || !*argv || !amode && !*(argv + 1))
238 if (amode)
239 amode = 0;
242 amode = *argv++;
243 mode = strperm(amode, &last, 0);
248 error(ERROR_exit(1), "%s: invalid mode", amode);
277 if (amode)
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_init.c170 int amode, /* R_OK | W_OK */
178 if (! (amode & W_OK))
207 int amode, /* R_OK | W_OK */
242 if (check_sys(rqstp, amode, ep) != 0)
277 int amode, /* R_OK | W_OK */
291 if ((amode & W_OK) == W_OK) {
168 check_sys( struct svc_req *rqstp, int amode, md_error_t *ep ) argument
205 svc_init( struct svc_req *rqstp, int amode, md_error_t *ep ) argument
276 check_set_lock( int amode, md_setkey_t *cl_sk, md_error_t *ep ) argument
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_init.c291 int amode, /* R_OK | W_OK */
301 if (! (amode & W_OK))
336 int amode, /* R_OK | W_OK */
361 if (check_sys(rqstp, amode, medep) != 0)
289 check_sys( struct svc_req *rqstp, int amode, med_err_t *medep ) argument
334 med_init( struct svc_req *rqstp, int amode, med_err_t *medep ) argument
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_init.c285 int amode, /* R_OK | W_OK */
293 if (! (amode & W_OK))
322 int amode, /* R_OK | W_OK */
341 if (check_sys(rqstp, amode, mhep) != 0)
283 check_sys( struct svc_req *rqstp, int amode, mhd_error_t *mhep ) argument
320 mhd_init( struct svc_req *rqstp, int amode, mhd_error_t *mhep ) argument
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c322 s10_faccessat(sysret_t *rval, int fd, const char *fname, int amode, int flag) argument
325 fd, fname, amode, flag));
329 s10_access(sysret_t *rval, const char *fname, int amode) argument
332 AT_FDCWD, fname, amode, 0));
/illumos-gate/usr/src/uts/sun4u/io/
H A Denvctrl_targets.c968 int autoinc, int amode, int aenable, uint8_t *buf, int size)
977 ASSERT(amode < 4);
987 control = ((aenable << 6) | (amode << 4) | (autoinc << 2) | channel);
1088 int autoinc, int amode, int aenable, uint8_t *buf, int size)
1096 control = ((aenable << 6) | (amode << 4) | (autoinc << 2) | channel);
967 ehc_read_pcf8591(struct ehc_envcunit *ehcp, int byteaddress, int channel, int autoinc, int amode, int aenable, uint8_t *buf, int size) argument
1087 ehc_write_pcf8591(struct ehc_envcunit *ehcp, int byteaddress, int channel, int autoinc, int amode, int aenable, uint8_t *buf, int size) argument
/illumos-gate/usr/src/uts/sun4u/tazmo/io/
H A Denvctrl.c3991 int autoinc, int amode, int aenable, uint8_t *buf, int size)
4000 ASSERT(amode < 4);
4010 control = ((aenable << 6) | (amode << 4) | (autoinc << 2) | channel);
3990 eHc_read_pcf8591(struct eHc_envcunit *ehcp, int byteaddress, int channel, int autoinc, int amode, int aenable, uint8_t *buf, int size) argument
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1938 const char *amode = ascmode; local
1945 if (*amode >= '0' && *amode <= '7') {
1949 while (*amode >= '0' && *amode <= '7')
1950 mode = (mode<<3) + *amode++ - '0';
1951 if (*amode != '\0')
1984 while ((t = iswho(*amode)) != 0) {
1985 ++amode;
2002 if (!isop(pp->p_op = *amode
[all...]
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c1492 zonecfg_access(const char *zonename, int amode) argument
1498 if (access(path, amode) == 0)
1504 if (access(path, amode) == 0)

Completed in 114 milliseconds