Searched refs:mountList (Results 1 - 6 of 6) sorted by relevance
/macosx-10.10.1/DiskArbitration-268/diskarbitrationd/ |
H A D | DAPrivate.c | 147 struct statfs * mountList; local 151 mountListCount = getmntinfo( &mountList, MNT_NOWAIT ); 155 if ( strcmp( _DAVolumeGetID( mountList + mountListIndex ), DADiskGetID( disk ) ) == 0 ) 201 struct statfs * mountList; local 205 mountListCount = getmntinfo( &mountList, MNT_NOWAIT ); 209 if ( strcmp( _DAVolumeGetID( mountList + mountListIndex ), DADiskGetID( disk ) ) == 0 ) 220 ( void * ) mountList[mountListIndex].f_mntonname, 221 strlen( mountList[mountListIndex].f_mntonname ),
|
H A D | DAInternal.c | 131 struct statfs * mountList; local 142 mountList = malloc( mountListCount * sizeof( struct statfs ) ); 144 if ( mountList ) 146 mountListCount = getfsstat( mountList, mountListCount * sizeof( struct statfs ), flags ); 152 if ( strcmp( mountList[mountListIndex].f_mntonname, path ) == 0 ) 156 *buf = mountList[mountListIndex]; 158 if ( mountList[mountListIndex].f_owner == geteuid( ) ) 166 free( mountList );
|
H A D | DABase.c | 86 struct statfs * mountList; local 94 mountList = malloc( mountListCount * sizeof( struct statfs ) ); 96 if ( mountList ) 98 mountListCount = getfsstat( mountList, mountListCount * sizeof( struct statfs ), MNT_NOWAIT ); 104 if ( strcmp( mountList[mountListIndex].f_fstypename, "autofs" ) == 0 ) 106 if ( strncmp( mountList[mountListIndex].f_mntonname, path, strlen( mountList[mountListIndex].f_mntonname ) ) == 0 ) 114 free( mountList );
|
H A D | DAStage.c | 1001 struct statfs * mountList; local 1009 mountListCount = getmntinfo( &mountList, MNT_NOWAIT ); 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 D | DAServer.c | 2043 struct statfs * mountList; local 2047 mountListCount = getmntinfo( &mountList, MNT_NOWAIT ); 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 D | DiskArbitrationPrivate.c | 471 struct statfs * mountList; local 475 mountListCount = getmntinfo( &mountList, MNT_NOWAIT ); 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 ) : ( NULL );
|
Completed in 201 milliseconds