Searched refs:fileMode (Results 1 - 16 of 16) sorted by relevance

/macosx-10.10/smb-759.0/mount_smbfs/
H A Dmount_smbfs.c114 mode_t fileMode = 0, dirMode = 0; local
134 fileMode = strtol(optarg, &next, 8);
207 mntOptions, fileMode, dirMode, setNetworkAccountSID, NULL);
/macosx-10.10/kext_tools-384.1.4/
H A Dkernelcache.h49 mode_t fileMode,
H A Dkcgen_main.h196 mode_t fileMode,
H A Dkcgen_main.c1222 mode_t fileMode = 0; local
1226 &prelinkedArchs, &fileMode, prelinkedKernelTimes);
1294 prelinkedArchs, fileMode, prelinkedKernelTimes);
H A Dkernelcache.c43 mode_t fileMode,
86 if (-1 == fchmod(fileDescriptor, fileMode & ~procMode)) {
39 writeFatFile( const char * filePath, CFArrayRef fileSlices, CFArrayRef fileArchs, mode_t fileMode, const struct timeval fileTimes[2]) argument
H A Dkextcache_main.c3133 mode_t fileMode = 0; local
3137 &prelinkedArchs, &fileMode, prelinkedKernelTimes);
3212 prelinkedArchs, fileMode, prelinkedKernelTimes);
/macosx-10.10/smb-759.0/lib/smbclient/
H A Dsmbclient_internal.h92 * @param fileMode Specify permissions that should be assigned to files. The
108 mode_t fileMode,
H A Dserver.c308 mode_t fileMode,
373 if (fileMode || dirMode) {
374 if (fileMode) {
375 numRef = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt16Type, &fileMode);
302 SMBMountShareEx( SMBHANDLE inConnection, const char *targetShare, const char *mountPoint, unsigned mountFlags, uint64_t mountOptions, mode_t fileMode, mode_t dirMode, void (*callout)(void *, void *), void *args) argument
/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A DCatalogCheck.c986 if (((file->bsdInfo.fileMode & S_IFMT) == S_IFREG) &&
1013 if (((file->bsdInfo.fileMode & S_IFMT) == S_IFLNK) ||
1018 if (((file->bsdInfo.fileMode & S_IFMT) != S_IFLNK) ||
1298 if (bsdInfo->fileMode == 0)
1301 switch (bsdInfo->fileMode & FT_MASK) {
1323 gScavGlobals->TarBlock = bsdInfo->fileMode & FT_MASK;
1336 p->incorrect = bsdInfo->fileMode;
H A Dhfs_endian.c626 srcRec->bsdInfo.fileMode = SWAP_BE16 (srcRec->bsdInfo.fileMode);
660 srcRec->bsdInfo.fileMode = SWAP_BE16 (srcRec->bsdInfo.fileMode);
H A DSRepair.c120 static int BuildFileRec(UInt16 fileType, UInt16 fileMode, UInt32 fileID, Boolean isHFSPlus, CatalogRecord *catRecord);
1024 rec.hfsPlusFolder.bsdInfo.fileMode |= S_ISVTX;
2316 ((UInt16)p->incorrect == rec.hfsPlusFile.bsdInfo.fileMode)) {
2321 rec.hfsPlusFile.bsdInfo.fileMode = (UInt16)p->correct;
6081 theRecPtr->hfsPlusFolder.bsdInfo.fileMode = S_IFDIR;
6082 theRecPtr->hfsPlusFolder.bsdInfo.fileMode |= theMode;
6154 * and fileMode.
6158 * 2. fileMode - file mode desired.
6168 static int BuildFileRec(UInt16 fileType, UInt16 fileMode, UInt32 fileID, Boolean isHFSPlus, CatalogRecord *catRecord) argument
6192 catRecord->hfsPlusFile.bsdInfo.fileMode
[all...]
H A Ddirhardlink.c418 fileMode should have S_ISVTX set */
421 ((rec->bsdInfo.fileMode & S_ISVTX) == 0)) {
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_endian.c613 srcRec->bsdInfo.fileMode = SWAP_BE16 (srcRec->bsdInfo.fileMode);
649 srcRec->bsdInfo.fileMode = SWAP_BE16 (srcRec->bsdInfo.fileMode);
H A Dhfs_format.h263 u_int16_t fileMode; /* file type and permission bits */ member in struct:HFSPlusBSDInfo
H A Dhfs_catalog.c1899 if ((dir->bsdInfo.fileMode != 0) ||
1905 if ((dir->bsdInfo.fileMode == 0) ||
1912 dir->bsdInfo.fileMode = attrp->ca_mode;
1975 ((file->bsdInfo.fileMode != 0) ||
1981 if ((file->bsdInfo.fileMode == 0) ||
1988 file->bsdInfo.fileMode = attrp->ca_mode;
3207 type = MODE_TO_DT(crp->hfsPlusFile.bsdInfo.fileMode);
4236 bsdp->fileMode = attrp->ca_mode;
4339 if ((bsd->fileMode & S_IFMT) == 0) {
4356 attrp->ca_mode = (mode_t)bsd->fileMode;
[all...]
/macosx-10.10/hfs-285/newfs_hfs/
H A Dmakehfs.c1642 cdp->bsdInfo.fileMode = SWAP_BE16 (dp->mask | S_IFDIR);
1692 cfp->bsdInfo.fileMode = SWAP_BE16 (S_IFREG);
1730 cfp->bsdInfo.fileMode = SWAP_BE16 (S_IFREG);

Completed in 221 milliseconds