Searched refs:disk (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium/chrome/browser/chromeos/extensions/
H A Dfile_browser_event_router.cc40 const chromeos::MountLibrary::Disk* disk) {
42 result->SetString("mountPath", disk->mount_path());
43 result->SetString("label", disk->device_label());
44 result->SetString("deviceType", DeviceTypeToString(disk->device_type()));
45 result->SetInteger("totalSizeKB", disk->total_size() / 1024);
46 result->SetBoolean("readOnly", disk->is_read_only());
92 const chromeos::MountLibrary::Disk* disk) {
94 OnDiskAdded(disk);
96 OnDiskRemoved(disk);
98 OnDiskChanged(disk);
39 DiskToDictionaryValue( const chromeos::MountLibrary::Disk* disk) argument
90 DiskChanged( chromeos::MountLibraryEventType event, const chromeos::MountLibrary::Disk* disk) argument
114 DispatchEvent( const chromeos::MountLibrary::Disk* disk, bool added) argument
136 OnDiskAdded( const chromeos::MountLibrary::Disk* disk) argument
158 OnDiskRemoved( const chromeos::MountLibrary::Disk* disk) argument
176 OnDiskChanged( const chromeos::MountLibrary::Disk* disk) argument
[all...]
H A Dfile_browser_event_router.h22 // Used to monitor disk mount changes and signal when new mounted usb device is
36 const chromeos::MountLibrary::Disk* disk);
50 void OnDiskAdded(const chromeos::MountLibrary::Disk* disk);
51 void OnDiskRemoved(const chromeos::MountLibrary::Disk* disk);
52 void OnDiskChanged(const chromeos::MountLibrary::Disk* disk);
62 void DispatchEvent(const chromeos::MountLibrary::Disk* disk, bool added);
/external/chromium/chrome/browser/chromeos/cros/
H A Dmount_library.cc112 virtual void RefreshDiskProperties(const Disk* disk) OVERRIDE {
114 DCHECK(disk); variable
116 OnGetDiskProperties(disk->device_path().c_str(),
122 GetDiskProperties(disk->device_path().c_str(),
158 // Callback for disk information retrieval calls.
161 const DiskInfo* disk,
167 disk,
206 // disk might have been removed by now?
209 Disk* disk = iter->second; local
210 DCHECK(disk);
159 GetDiskPropertiesCallback(void* object, const char* device_path, const DiskInfo* disk, MountMethodErrorType error, const char* error_message) argument
231 Disk* disk = iter->second; local
254 const DiskInfoAdvanced* disk = local
350 Disk* disk = iter->second; local
378 Disk* disk = iter->second; local
407 FireDiskStatusUpdate(MountLibraryEventType evt, const Disk* disk) argument
[all...]
H A Dmock_mount_library.cc100 scoped_ptr<MountLibrary::Disk> disk(new MountLibrary::Disk(
116 std::string(kTestDevicePath), disk.get()));
117 UpdateDiskChanged(chromeos::MOUNT_DISK_REMOVED, disk.get());
121 const MountLibrary::Disk* disk) {
125 FOR_EACH_OBSERVER(Observer, observers_, DiskChanged(evt, disk));
120 UpdateDiskChanged(MountLibraryEventType evt, const MountLibrary::Disk* disk) argument
H A Dmock_mount_library.h45 const MountLibrary::Disk* disk);
H A Dmount_library.h61 // If disk is a parent, then its label, else parents label.
103 const Disk* disk) = 0;
/external/e2fsprogs/misc/
H A Dbase_device.c6 * one time. Otherwise, the disk heads will be seeking all over the
44 const char **hier, *disk; local
64 * on one disk, since we don't know how to parallelize them.
124 /* Now handle devfs /dev/disc or /dev/disk names */
125 disk = 0;
127 disk = "disc";
129 disk = "disk";
130 if (disk) {
132 if (strncmp(cp, disk,
[all...]
/external/webkit/Tools/BuildSlaveSupport/
H A Dbuild-launcher-dmg30 # Script used by build slaves to create a disk-image containing WebKit.app.
70 print "Creating disk image...\n";
72 die "Creating disk image failed" if $?;
78 print "Compressing disk image...\n";
79 system("mv", "-f", $nightlyLauncherDiskImagePath, "$nightlyLauncherDiskImagePath.uncompressed.dmg") == 0 or die "Renaming disk image failed";
81 die "Compressing disk image failed" if $?;
91 system("rsync", "-vP", $nightlyLauncherDiskImagePath, "$nightlyRemoteHost:$nightlyRemoteDiskImagePath") == 0 or die "Failed uploading disk image";
92 system("ssh", $nightlyRemoteHost, $nightlyRemoteLatestPath, $buildTag, "mac", $nightlyRemoteDiskImagePath, $revision) == 0 or die "Failed linking disk image to latest";
98 system("rsync", "-vP", $nightlyLauncherDiskImagePath, $remoteDiskImagePath) == 0 or die "Failed uploading disk image";
/external/kernel-headers/original/linux/
H A Dgenhd.h6 * Generic hard disk header file by
141 * Macros to operate on percpu disk statistics:
195 /* Inlines to alloc and free disk stats in struct gendisk */
197 static inline int init_disk_stats(struct gendisk *disk) argument
199 disk->dkstats = alloc_percpu(struct disk_stats);
200 if (!disk->dkstats)
205 static inline void free_disk_stats(struct gendisk *disk) argument
207 free_percpu(disk->dkstats);
210 static inline int init_disk_stats(struct gendisk *disk) argument
215 static inline void free_disk_stats(struct gendisk *disk) argument
241 get_capacity(struct gendisk *disk) argument
245 set_capacity(struct gendisk *disk, sector_t size) argument
415 bdget_disk(struct gendisk *disk, int index) argument
[all...]
H A Dblkdev.h594 extern int blk_register_queue(struct gendisk *disk);
595 extern void blk_unregister_queue(struct gendisk *disk);
H A Dfs.h2071 extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk);
2073 struct gendisk *disk);
2076 struct gendisk *disk)
2081 struct gendisk *disk)
2148 extern void check_disk_size_change(struct gendisk *disk,
2075 bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) argument
2080 bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) argument
/external/webkit/Tools/android/flex-2.5.4a/MISC/VMS/
H A Dbuild.com90 $ then 'COPY' [.misc]parse.% sys$disk:[]y_tab.*
120 $ open/Write optfile sys$disk:[]crtl.opt
130 $ open/Write optfile sys$disk:[]ident.opt
139 sys$disk:[]crtl.opt/Opt,sys$disk:[]ident.opt/Opt
146 $ mcr sys$disk:[]flex.exe -t -p scan.l > scan.chk
/external/qemu/block/
H A Dbochs.c2 * Block driver for the various disk image formats used by Bochs
54 uint64_t disk; // disk size member in struct:bochs_header_v1::__anon11187::__anon11188
75 uint64_t disk; // disk size member in struct:bochs_header::__anon11189::__anon11190
133 bs->total_sectors = le64_to_cpu(header_v1.extra.redolog.disk) / 512;
135 bs->total_sectors = le64_to_cpu(bochs.extra.redolog.disk) / 512;
/external/grub/docs/
H A Dmenu.lst75 # For installing GRUB into the hard disk
76 title Install GRUB into the hard disk
/external/chromium/chrome/browser/chromeos/
H A Dboot_times_loader.cc38 // Prefix for the disk usage files.
39 static const FilePath::CharType kDiskPrefix[] = FPL("disk-");
44 // Delay in milliseconds before writing the login times to disk.
237 const std::string& disk) {
245 AppendFile(disk_output, disk.data(), disk.size());
313 RecordStatsDelayed, name, stats.uptime, stats.disk));
322 file_util::ReadFileToString(kDiskStat, &stats.disk);
235 RecordStatsDelayed(const FilePath::StringType& name, const std::string& uptime, const std::string& disk) argument
H A Dboot_times_loader.h84 // Records current uptime and disk usage for metrics use.
149 std::string disk; member in struct:chromeos::BootTimesLoader::Stats
/external/e2fsprogs/lib/blkid/
H A Dgetsize.c39 #include <sys/disk.h>
142 * Note that FreeBSD >= 4.0 has disk devices as unbuffered (raw,
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/
H A DSDL_syscdrom.c470 Boolean disk = false; local
495 disk = true;
499 /* If no disk is present, just eject the tray */
500 if (! disk) {
/external/chromium/chrome/browser/ui/webui/chromeos/
H A Dimageburner_ui.h183 const chromeos::MountLibrary::Disk* disk) OVERRIDE;
/external/e2fsprogs/lib/ext2fs/
H A Dgetsize.c39 #include <sys/disk.h>
/external/grub/util/
H A Dmkbimage77 Type of the file system to create on the virtual disk. Choices
336 # We start by creating a virtual disk which size is the number of
338 # Create the empty virtual disk
341 # We then format the virtual disk
410 mkisofs -b <image> -hard-disk-boot -c boot.catalog -o raw.iso <dir>
/external/stressapptest/src/
H A Dsat.cc141 // Get a space separated sting of disk locations.
146 // Copy and remove the disk name.
147 string disk = locations.back(); local
150 logprintf(12, "Log: disk at %s\n", disk.c_str());
152 filename_.push_back(disk + "/sat_disk.a");
154 filename_.push_back(disk + "/sat_disk.b");
169 "with disk/network DMA.\n");
838 // Size of read blocks for disk test.
841 // Size of write blocks for disk tes
[all...]
/external/ceres-solver/docs/
H A Dchanges.tex114 \item \texttt{BALProblem} can now write a problem back to disk.
236 \item Support for writing the linear least squares problems to disk in text format so that they can loaded into \texttt{MATLAB}.
/external/blktrace/doc/
H A Dblktrace.tex42 into either long-term on-disk storage, or provides direct formatted
138 Now to simply watch what is going on for a specific disk (to stop the
424 specific disk location at a given size. These requests typically
426 the vm flushing dirty data to disk or the file system syncing
427 a super or journal block to disk. \emph{pc} requests are SCSI
/external/grub/lib/
H A Ddevice.c121 # include <sys/disk.h>
449 /* Make sure CD-ROMs don't get assigned a BIOS disk number
615 FLOPPY_DISKS is the number of floppy disk drives which will be probed.
827 /* Linux-only functions, because Linux has a bug that the disk cache for
828 a whole disk is not consistent with the one for a partition of the
829 disk. */
837 /* For now, disk devices under Linux are all block devices. */

Completed in 854 milliseconds

123