cmode
static const struct cmode modes[] = {
u_int maxchans, int *nchans, const struct cmode *cm, REG_DOMAIN *rd,
const struct cmode *cm;
int error, i, flags, oflags, cmode;
cmode = S_IRUSR | S_IWUSR;
error = vn_open_cred(&nd, &flags, cmode, oflags, td->td_ucred,
int cmode, error, flags, i, indexpos, indexlen, oflags, ncores;
cmode = S_IRUSR | S_IWUSR;
error = vn_open_cred(&nd, &flags, cmode, oflags, td->td_ucred,
alq_open_flags(struct alq **alqp, const char *file, struct ucred *cred, int cmode,
error = vn_open_cred(&nd, &oflags, cmode, 0, cred, NULL);
alq_open(struct alq **alqp, const char *file, struct ucred *cred, int cmode,
if ((ret = alq_open_flags(alqp, file, cred, cmode,
ret = alq_open_flags(alqp, file, cred, cmode, size, 0);
acl_posix1e_newfilemode(mode_t cmode, struct acl *dacl)
mode = cmode;
mode |= (ACL_OVERRIDE_MASK & cmode & acl_posix1e_acl_to_mode(dacl));
int fd, error, len, cmode;
cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT;
cmode);
mode_t cmode;
cmode = (mode & ~pdp->pd_cmask) & ACCESSPERMS;
shmfd = shm_alloc(td->td_ucred, cmode, largepage);
shmfd = shm_alloc(td->td_ucred, cmode,
int cmode, error, indx;
cmode = ((mode & ~pdp->pd_cmask) & ALLPERMS) & ~S_ISTXT;
error = vn_open_cred(&nd, &flags, cmode, VN_OPEN_WANTIOCTLCAPS,
vn_open(struct nameidata *ndp, int *flagp, int cmode, struct file *fp)
return (vn_open_cred(ndp, flagp, cmode, 0, td->td_ucred, fp));
vn_open_cred(struct nameidata *ndp, int *flagp, int cmode, u_int vn_open_flags,
vap->va_mode = cmode;
mode_t acl_posix1e_newfilemode(mode_t cmode,
int alq_open_flags(struct alq **alqp, const char *file, struct ucred *cred, int cmode,
int alq_open(struct alq **alqp, const char *file, struct ucred *cred, int cmode,
int vn_open(struct nameidata *ndp, int *flagp, int cmode, struct file *fp);
int vn_open_cred(struct nameidata *ndp, int *flagp, int cmode,