Lines Matching refs:ca_mode
997 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;
2024 if (S_ISBLK(attrp->ca_mode) || S_ISCHR(attrp->ca_mode)) {
2437 * ca_mode (S_IFREG)
3057 if (S_ISREG(cep->ce_attr.ca_mode) &&
3062 if (S_ISREG(cep->ce_attr.ca_mode) &&
4202 int type = attrp->ca_mode & S_IFMT;
4249 bsdp->fileMode = attrp->ca_mode;
4357 attrp->ca_mode = S_IFDIR | (hfsmp->hfs_dir_mask & ACCESSPERMS);
4359 attrp->ca_mode = S_IFREG | (hfsmp->hfs_file_mask & ACCESSPERMS);
4369 attrp->ca_mode = (mode_t)bsd->fileMode;
4370 switch (attrp->ca_mode & S_IFMT) {
4405 if (!S_ISDIR(attrp->ca_mode)) {
4406 attrp->ca_mode &= ~S_IFMT;
4407 attrp->ca_mode |= S_IFDIR;