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

/darwin-on-arm/xnu/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)) {
685 if (S_ISREG(cap->ca_mode)) {
689 else if (S_ISDIR(cap->ca_mode)) {
732 cap->ca_mode & ~(S_ISUID | S_ISGID) : cap->ca_mode;
747 cap->ca_mode, mp, proc_ucred(current_proc()), 0);
880 if (S_ISBLK(cattrp->ca_mode) || S_ISCH
[all...]
H A Dhfs_catalog.c753 if (S_ISREG(attrp->ca_mode) && (attrp->ca_linkcount > 1)) {
811 attrp->ca_mode &= S_IFMT | S_IRUSR | S_IRGRP | S_IROTH;
899 modeformat = attrp->ca_mode & S_IFMT;
941 S_ISDIR(attrp->ca_mode));
1017 if (!std_hfs || S_ISDIR(attrp->ca_mode)) {
1044 encoding, S_ISDIR(attrp->ca_mode), out_descp);
1672 ((attrp->ca_mode & ALLPERMS) !=
1681 dir->bsdInfo.fileMode = attrp->ca_mode;
1748 ((attrp->ca_mode & ALLPERMS) !=
1757 file->bsdInfo.fileMode = attrp->ca_mode;
[all...]
H A Dhfs_cnode.c993 if (IFTOVT(attrp->ca_mode) == VFIFO) {
998 vtype = IFTOVT(attrp->ca_mode);
1593 if (S_ISREG(attrp->ca_mode)) {
1598 else if (S_ISDIR(attrp->ca_mode)) {
1626 if (S_ISREG(cp->c_attr.ca_mode)) {
1630 else if (S_ISDIR(cp->c_attr.ca_mode)) {
H A Dhfs_catalog.h86 mode_t ca_mode; /* file access mode and type (16 bits) */ member in struct:cat_attr
H A Dhfs_xattr.c243 if (S_ISREG(cp->c_attr.ca_mode)) {
247 else if (S_ISDIR(cp->c_attr.ca_mode)) {
760 if (S_ISREG(cp->c_attr.ca_mode)) {
764 else if (S_ISDIR(cp->c_attr.ca_mode)) {
1374 if (S_ISREG(cp->c_attr.ca_mode)) {
1378 else if (S_ISDIR(cp->c_attr.ca_mode)) {
1396 if (S_ISREG(cp->c_attr.ca_mode)) {
1400 else if (S_ISDIR(cp->c_attr.ca_mode)) {
2240 cat_attr.ca_mode = S_IFREG;
H A Dhfs_cnode.h178 #define c_mode c_attr.ca_mode
H A Dhfs_lookup.c321 int type = (attr.ca_mode & S_IFMT);
H A Dhfs_link.c99 attr.ca_mode = S_IFREG | S_IRUSR | S_IRGRP | S_IROTH;
955 priv_attrp->ca_mode = S_IFDIR;
957 priv_attrp->ca_mode |= S_ISVTX | S_IRUSR | S_IXUSR | S_IRGRP |
H A Dhfs_btreeio.c671 cnattr.ca_mode = S_IFREG;
H A Dhfs_readwrite.c1038 cip->mode = attrp->ca_mode;
1059 cnattrp->ca_mode = skip_cp->c_mode;
1069 cnattrp->ca_mode = c_info.mode;
1204 int mode = cnattr.ca_mode & S_IFMT;
1205 myPerms = DerivePermissionSummary(cnattr.ca_uid, cnattr.ca_gid, cnattr.ca_mode, hfsmp->hfs_mp,myp_ucred, theProcPtr);
1481 cnattr.ca_mode, hfsmp->hfs_mp, cred, p);
H A Dhfs_vfsutils.c169 cnattr.ca_mode = S_IFREG;
464 cnattr.ca_mode = S_IFREG;
1558 mode = cnode.c_attr.ca_mode & S_IFMT;
H A Dhfs_hotfiles.c236 !S_ISREG(cattr.ca_mode) &&
555 if (cnid != 0 && S_ISREG(cattr.ca_mode)) {
H A Dhfs_search.c990 matched = CompareRange((u_int32_t)c_attr.ca_mode,
H A Dhfs_vnops.c1881 to_cp->c_mode = tempattr.ca_mode;
5135 attr.ca_mode = mode;
5241 error = cp_entry_create_keys (&entry, dcp, hfsmp, cp_class, 0, attr.ca_mode);
H A Dhfs_vfsops.c628 cp->c_mode = cnattr.ca_mode;
3275 cnattr.ca_mode = (S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO);

Completed in 194 milliseconds