Searched refs:c_mode (Results 1 - 8 of 8) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_cnode.h178 #define c_mode c_attr.ca_mode macro
251 #define CTOV(cp,rsrc) (((rsrc) && S_ISREG((cp)->c_mode)) ? \
H A Dhfs_cprotect.c139 if (!S_ISREG(cp->c_mode) && !S_ISDIR(cp->c_mode)) {
168 sub_error = cp_entry_create_keys (&entry, NULL, hfsmp, PROTECTION_CLASS_D, cp->c_fileid, cp->c_mode);
177 if (S_ISREG(cp->c_mode)) {
833 if (!S_ISREG(cp->c_mode))
1510 if (!S_ISREG(cp->c_mode)) {
H A Dhfs_link.c152 type = S_ISDIR(cp->c_mode) ? DIR_HARDLINKS : FILE_HARDLINKS;
230 link_desc.cd_flags = S_ISDIR(cp->c_mode) ? CD_ISDIR : 0;
267 link_desc.cd_flags = S_ISDIR(cp->c_mode) ? CD_ISDIR : 0;
1058 int maxorigins = (S_ISDIR(cp->c_mode)) ? MAX_CACHED_ORIGINS : MAX_CACHED_FILE_ORIGINS;
H A Dhfs_vnops.c732 vap->va_mode = cp->c_mode;
957 vap->va_mode = cp->c_mode;
1412 cp->c_mode &= ~ALLPERMS;
1413 cp->c_mode |= (mode & ALLPERMS);
1452 return ((cp->c_mode & S_IWUSR) == S_IWUSR ? 0 : EACCES);
1456 return ((cp->c_mode & S_IWGRP) == S_IWGRP ? 0 : EACCES);
1460 return ((cp->c_mode & S_IWOTH) == S_IWOTH ? 0 : EACCES);
1836 from_cp->c_mode = to_cp->c_mode;
1881 to_cp->c_mode
[all...]
H A Dhfs_lookup.c519 desc.cd_flags = S_ISDIR(cp->c_mode) ? CD_ISDIR : 0;
H A Dhfs_readwrite.c759 if (cp->c_mode & (S_ISUID | S_ISGID)) {
766 cp->c_mode &= ~(S_ISUID | S_ISGID);
1059 cnattrp->ca_mode = skip_cp->c_mode;
3114 if (cp->c_mode & (S_ISUID | S_ISGID)) {
3116 cp->c_mode &= ~(S_ISUID | S_ISGID);
4264 if ((cp->c_mode & (S_ISUID | S_ISGID)) &&
4267 cp->c_mode &= ~(S_ISUID | S_ISGID);
H A Dhfs_xattr.c129 if ( !S_ISREG(cp->c_mode) ) {
172 if ( !S_ISREG(cp->c_mode) ) {
335 if ( !S_ISREG(cp->c_mode) ) {
1704 if (S_ISREG(cp->c_mode) && RSRC_FORK_EXISTS(cp)) {
H A Dhfs_vfsops.c628 cp->c_mode = cnattr.ca_mode;

Completed in 126 milliseconds