Searched refs:mountListIndex (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10.1/DiskArbitration-268/diskarbitrationd/
H A DDAPrivate.c149 int mountListIndex; local
153 for ( mountListIndex = 0; mountListIndex < mountListCount; mountListIndex++ )
155 if ( strcmp( _DAVolumeGetID( mountList + mountListIndex ), DADiskGetID( disk ) ) == 0 )
161 if ( mountListIndex == mountListCount )
203 int mountListIndex; local
207 for ( mountListIndex = 0; mountListIndex < mountListCount; mountListIndex
[all...]
H A DDAInternal.c133 int mountListIndex; local
150 for ( mountListIndex = 0; mountListIndex < mountListCount; mountListIndex++ )
152 if ( strcmp( mountList[mountListIndex].f_mntonname, path ) == 0 )
156 *buf = mountList[mountListIndex];
158 if ( mountList[mountListIndex].f_owner == geteuid( ) )
H A DDABase.c88 int mountListIndex; local
102 for ( mountListIndex = 0; mountListIndex < mountListCount; mountListIndex++ )
104 if ( strcmp( mountList[mountListIndex].f_fstypename, "autofs" ) == 0 )
106 if ( strncmp( mountList[mountListIndex].f_mntonname, path, strlen( mountList[mountListIndex].f_mntonname ) ) == 0 )
118 return ( mountListIndex < mountListCount );
H A DDAStage.c1003 int mountListIndex; local
1011 for ( mountListIndex = 0; mountListIndex < mountListCount; mountListIndex++ )
1013 if ( mountList[mountListIndex].f_fsid.val[0] == DADiskGetBSDNode( disk ) )
1022 ( void * ) mountList[mountListIndex].f_mntonname,
1023 strlen( mountList[mountListIndex].f_mntonname ),
1037 if ( strcmp( mountList[mountListIndex].f_mntonname, "/" ) == 0 )
H A DDAServer.c2045 int mountListIndex; local
2049 for ( mountListIndex = 0; mountListIndex < mountListCount; mountListIndex++ )
2053 disk = __DADiskListGetDisk( _DAVolumeGetID( mountList + mountListIndex ) );
2071 if ( strncmp( mountList[mountListIndex].f_mntfromname, _PATH_DEV "disk", strlen( _PATH_DEV "disk" ) ) )
2073 if ( ( mountList[mountListIndex].f_flags & MNT_UNION ) == 0 )
2075 if ( strcmp( mountList[mountListIndex].f_fstypename, "devfs" ) )
2077 disk = DADiskCreateFromVolumePath( kCFAllocatorDefault, mountList + mountListIndex );
/macosx-10.10.1/DiskArbitration-268/DiskArbitration/
H A DDiskArbitrationPrivate.c473 int mountListIndex; local
477 for ( mountListIndex = 0; mountListIndex < mountListCount; mountListIndex++ )
481 if ( strcmp( mountList[mountListIndex].f_mntfromname, disk ) == 0 )
486 if ( strcmp( mountList[mountListIndex].f_mntonname, disk ) == 0 )
493 if ( strncmp( mountList[mountListIndex].f_mntfromname, _PATH_DEV, strlen( _PATH_DEV ) ) == 0 )
495 if ( strcmp( mountList[mountListIndex].f_mntfromname + strlen( _PATH_DEV ), disk ) == 0 )
503 return ( mountListIndex < mountListCount ) ? ( mountList + mountListIndex )
[all...]

Completed in 136 milliseconds