Searched refs:ca_mode (Results 1 - 15 of 15) sorted by relevance

/xnu-2422.115.4/bsd/hfs/
H A Dhfs_attrlist.c437 if (attrlistp->dirattr && S_ISDIR(attrp->ca_mode))
440 if (attrlistp->fileattr && !S_ISDIR(attrp->ca_mode))
571 *((fsobj_type_t *)attrbufptr) = IFTOVT(cap->ca_mode);
675 if (S_ISLNK(cap->ca_mode)) {
687 if (S_ISREG(cap->ca_mode) || S_ISLNK(cap->ca_mode)) {
693 else if (S_ISDIR(cap->ca_mode)) {
738 cap->ca_mode & ~(S_ISUID | S_ISGID) : cap->ca_mode;
754 cap->ca_mode, m
[all...]
H A Dhfs_cnode.c1011 if (IFTOVT(attrp->ca_mode) == VFIFO) {
1016 vtype = IFTOVT(attrp->ca_mode);
1630 if (S_ISREG(attrp->ca_mode)) {
1635 else if (S_ISDIR(attrp->ca_mode)) {
1663 if (S_ISREG(cp->c_attr.ca_mode)) {
1667 else if (S_ISDIR(cp->c_attr.ca_mode)) {
1699 if (S_ISREG(attrp->ca_mode)) {
1721 if (S_ISREG(cp->c_attr.ca_mode)) {
1792 return hfs_get_gencount_internal(cp->c_finderinfo, cp->c_attr.ca_mode);
H A Dhfs_xattr.c242 if (S_ISREG(cp->c_attr.ca_mode) || S_ISLNK(cp->c_attr.ca_mode)) {
247 } else if (S_ISDIR(cp->c_attr.ca_mode)) {
767 if (S_ISREG(cp->c_attr.ca_mode) || S_ISLNK(cp->c_attr.ca_mode)) {
771 } else if (S_ISDIR(cp->c_attr.ca_mode)) {
805 if (S_ISREG(cp->c_attr.ca_mode) || S_ISLNK(cp->c_attr.ca_mode)) {
810 } else if (S_ISDIR(cp->c_attr.ca_mode)) {
1423 if (S_ISREG(cp->c_attr.ca_mode) || S_ISLN
[all...]
H A Dhfs_readwrite.c450 if (S_ISREG(cp->c_attr.ca_mode) || S_ISLNK(cp->c_attr.ca_mode)) {
1041 cip->mode = attrp->ca_mode;
1062 cnattrp->ca_mode = skip_cp->c_mode;
1072 cnattrp->ca_mode = c_info.mode;
1207 int mode = cnattr.ca_mode & S_IFMT;
1208 myPerms = DerivePermissionSummary(cnattr.ca_uid, cnattr.ca_gid, cnattr.ca_mode, hfsmp->hfs_mp,myp_ucred, theProcPtr);
1484 cnattr.ca_mode, hfsmp->hfs_mp, cred, p);
1686 if (S_ISREG(cp->c_attr.ca_mode) || S_ISLNK(cp->c_attr.ca_mode)) {
[all...]
H A Dhfs_catalog.c997 if (S_ISREG(attrp->ca_mode) && (attrp->ca_linkcount > 1)) {
1067 attrp->ca_mode &= S_IFMT | S_IRUSR | S_IRGRP | S_IROTH;
1162 modeformat = attrp->ca_mode & S_IFMT;
1188 S_ISDIR(attrp->ca_mode));
1221 if (!std_hfs || S_ISDIR(attrp->ca_mode)) {
1251 encoding, S_ISDIR(attrp->ca_mode), out_descp);
1903 ((attrp->ca_mode & ALLPERMS) !=
1912 dir->bsdInfo.fileMode = attrp->ca_mode;
1979 ((attrp->ca_mode & ALLPERMS) !=
1988 file->bsdInfo.fileMode = attrp->ca_mode;
[all...]
H A Dhfs_catalog.h86 mode_t ca_mode; /* file access mode and type (16 bits) */ member in struct:cat_attr
H A Dhfs_cnode.h178 #define c_mode c_attr.ca_mode
H A Dhfs_lookup.c345 int type = (attr.ca_mode & S_IFMT);
H A Dhfs_link.c99 attr.ca_mode = S_IFREG | S_IRUSR | S_IRGRP | S_IROTH;
976 priv_attrp->ca_mode = S_IFDIR;
978 priv_attrp->ca_mode |= S_ISVTX | S_IRUSR | S_IXUSR | S_IRGRP |
H A Dhfs_btreeio.c696 cnattr.ca_mode = S_IFREG;
H A Dhfs_vfsutils.c176 cnattr.ca_mode = S_IFREG;
473 cnattr.ca_mode = S_IFREG;
1711 mode = cnode.c_attr.ca_mode & S_IFMT;
H A Dhfs_vnops.c2220 to_cp->c_mode = tempattr.ca_mode;
2293 if (S_ISREG(cp->c_attr.ca_mode) || S_ISLNK(cp->c_attr.ca_mode)) {
5843 attr.ca_mode = mode;
5958 error = cp_setup_newentry(hfsmp, dcp, cp_class, attr.ca_mode, &entry);
6706 cp->c_attr.ca_mode));
H A Dhfs_hotfiles.c236 !S_ISREG(cattr.ca_mode) &&
555 if (cnid != 0 && S_ISREG(cattr.ca_mode)) {
H A Dhfs_search.c1086 matched = CompareRange((u_int32_t)c_attr.ca_mode,
H A Dhfs_vfsops.c599 cp->c_mode = cnattr.ca_mode;
3307 cnattr.ca_mode = (S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO);

Completed in 109 milliseconds