/external/syslinux/efi/ |
D | diskio.c | 23 static int efi_rdwr_sectors(struct disk *disk, void *buf, in efi_rdwr_sectors() argument 26 struct efi_disk_private *priv = (struct efi_disk_private *)disk->private; in efi_rdwr_sectors() 29 UINTN bytes = count * disk->sector_size; in efi_rdwr_sectors() 32 status = write_blocks(bio, disk->disk_number, lba, bytes, buf); in efi_rdwr_sectors() 34 status = read_blocks(bio, disk->disk_number, lba, bytes, buf); in efi_rdwr_sectors() 41 return count << disk->sector_shift; in efi_rdwr_sectors() 44 struct disk *efi_disk_init(void *private) in efi_disk_init() 46 static struct disk disk; in efi_disk_init() local 66 disk.disk_number = bio->Media->MediaId; in efi_disk_init() 68 disk.sector_size = bio->Media->BlockSize; in efi_disk_init() [all …]
|
/external/syslinux/core/fs/ |
D | diskio_bios.c | 8 static inline sector_t chs_max(const struct disk *disk) in chs_max() argument 10 return (sector_t)disk->secpercyl << 10; in chs_max() 45 static int chs_rdwr_sectors(struct disk *disk, void *buf, in chs_rdwr_sectors() argument 51 int sector_shift = disk->sector_shift; in chs_rdwr_sectors() 52 uint32_t xlba = lba + disk->part_start; /* Truncated LBA (CHS is << 2 TB) */ in chs_rdwr_sectors() 59 uint32_t maxtransfer = disk->maxtransfer; in chs_rdwr_sectors() 61 if (lba + disk->part_start >= chs_max(disk)) in chs_rdwr_sectors() 67 ireg.edx.b[0] = disk->disk_number; in chs_rdwr_sectors() 87 s = xlba % disk->s; in chs_rdwr_sectors() 88 t = xlba / disk->s; in chs_rdwr_sectors() [all …]
|
D | diskio.c | 14 void getoneblk(struct disk *disk, char *buf, block_t block, int block_size) in getoneblk() argument 16 int sec_per_block = block_size / disk->sector_size; in getoneblk() 18 disk->rdwr_sectors(disk, buf, block * sec_per_block, sec_per_block, 0); in getoneblk() 28 dev.disk = firmware->disk_init(args); in device_init()
|
/external/cros/system_api/dbus/vm_concierge/ |
D | service.proto | 16 // Path to the disk image that should be used as the root file system for 21 // The type of disk image. 26 // A qcow2-compatible disk image. 30 // Describes any additional disk images that should be mounted inside the VM. 32 // Path to the disk image on the host. 35 // Path where this disk image will be mounted inside the VM. 38 // The file system type for this disk image. 48 // If true, the disk image will be mounted writable. 51 // If true, the disk image will be mounted. 54 // Image type of the disk. [all …]
|
/external/curl/packages/vms/ |
D | build_gnv_curl_release_notes.com | 40 $ curl_readme = f$search("sys$disk:[--]readme.") 43 $ curl_readme = f$search("sys$disk:[--]$README.") 51 $ curl_copying = f$search("sys$disk:[--]copying.") 54 $ curl_copying = f$search("sys$disk:[--]$COPYING.") 62 $ vms_readme = f$search("sys$disk:[]readme.") 65 $ vms_readme = f$search("sys$disk:[]$README.") 73 $ curl_release_notes = f$search("sys$disk:[--]release-notes.") 76 $ curl_release_notes = f$search("sys$disk:[--]$RELEASE-NOTES.") 84 $ if f$search("sys$disk:[]hp_ssl_release_info.txt") .eqs. "" 92 sys$disk:[]curl_release_note_start.txt, - [all …]
|
/external/ltp/testscripts/ |
D | autofs1.sh | 221 echo "disk -fstype=auto,rw,sync :$disk_partition " > /etc/auto.disk 228 mkdir /AUTOFS/DISK/disk/test 229 cp /etc/auto.master /etc/auto.media /AUTOFS/DISK/disk/test 235 if [ -e /AUTOFS/DISK/disk/test ]; then 236 cd /AUTOFS/DISK/disk/test 237 umount /AUTOFS/DISK/disk/ >/dev/null 2>&1 241 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS 246 umount /AUTOFS/DISK/disk/ 250 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS 260 ls -l /AUTOFS/DISK/disk [all …]
|
D | autofs4.sh | 210 echo "disk -fstype=ext2 :$disk_partition " > /etc/auto.disk 215 mkdir /AUTOFS/DISK/disk/test 216 cp /etc/auto.master /etc/auto.media /AUTOFS/DISK/disk/test 221 cd /AUTOFS/DISK/disk/test 222 umount /AUTOFS/DISK/disk/ >/dev/null 2>&1 226 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS 232 umount /AUTOFS/DISK/disk/ >/dev/null 2>&1 236 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS 246 ls -l /AUTOFS/DISK/disk 257 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
|
/external/syslinux/core/ |
D | ldlinux-c.c | 12 di->disk.filesystem = SYSLINUX_FS_SYSLINUX; in get_derivative_info() 13 di->disk.sector_shift = SectorShift; in get_derivative_info() 14 di->disk.drive_number = DriveNumber; in get_derivative_info() 16 di->disk.ptab_ptr = &PartInfo; in get_derivative_info() 17 di->disk.esdi_ptr = &OrigESDI; in get_derivative_info() 18 di->disk.partoffset = &Hidden; in get_derivative_info()
|
/external/syslinux/com32/modules/ |
D | disk.c | 30 for (int disk = 0x80; disk < 0xff; disk++) { in main() local 32 d->disk = disk; in main() 44 printf("DISK 0x%X:\n", d->disk); in main()
|
/external/autotest/client/tests/disktest/ |
D | disktest.py | 37 def test_one_disk_chunk(self, disk, chunk): argument 45 self.chunk_mb, disk, self.memory_mb, chunk) 47 (self.srcdir, self.chunk_mb, disk, chunk)) 70 for disk in disks: 71 free = min(utils.freespace(disk) / 1024**3, free) 87 for disk in disks: 88 pid = self.test_one_disk_chunk(disk, i)
|
/external/syslinux/core/fs/ufs/ |
D | ufs.c | 36 do_checksb(struct ufs_super_block *sb, struct disk *disk, in do_checksb() argument 44 count = sizeof *sb >> disk->sector_shift; in do_checksb() 46 lba = sblock_off >> (disk->sector_shift); in do_checksb() 48 disk->rdwr_sectors(disk, sb, lba, count, 0); in do_checksb() 61 ufs_checksb(struct ufs_super_block *sb, struct disk *disk) in ufs_checksb() argument 64 if (do_checksb(sb, disk, UFS1_SBLOCK_OFFSET, UFS1_SUPER_MAGIC)) in ufs_checksb() 67 if (do_checksb(sb, disk, UFS2_SBLOCK_OFFSET, UFS2_SUPER_MAGIC)) in ufs_checksb() 70 if (do_checksb(sb, disk, UFS2_SBLOCK2_OFFSET, UFS2_SUPER_MAGIC)) in ufs_checksb() 442 struct disk *disk = fs->fs_dev->disk; in ufs_fs_init() local 446 int ufs_type = ufs_checksb(&sb, disk); in ufs_fs_init() [all …]
|
/external/vboot_reference/tests/ |
D | load_kernel_tests.sh | 62 dd if=/dev/zero of=disk.test bs=1024 count=1024 63 ${CGPT} create disk.test 64 ${CGPT} add -i 1 -S 1 -P 1 -b 64 -s 960 -t kernel -l kernelA disk.test 65 ${CGPT} show disk.test 68 dd if=kernel.test of=disk.test bs=512 seek=64 conv=notrunc 72 ${BUILD_RUN}/tests/verify_kernel disk.test \
|
/external/fio/tools/plot/ |
D | fio2gnuplot | 246 for disk in xrange(len(fio_data_file)): 248 min_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk])) 249 max_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk])) 250 average_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk])) 251 stddev_file.write("# Disk%d was coming from %s\n" % (disk,fio_data_file[disk])) 252 avg = average(disk_perf[disk]) 253 variance = map(lambda x: (x - avg)**2, disk_perf[disk]) 256 average_file.write('%d %d\n' % (disk, avg)) 257 stddev_file.write('%d %d\n' % (disk, standard_deviation)) 258 local_min=min(disk_perf[disk]) [all …]
|
/external/e2fsprogs/misc/ |
D | base_device.c | 45 const char **hier, *disk; in base_device() local 126 disk = 0; in base_device() 128 disk = "disc"; in base_device() 130 disk = "disk"; in base_device() 131 if (disk) { in base_device() 133 if (strncmp(cp, disk, 4) != 0) in base_device()
|
/external/fio/tools/ |
D | genfio | 48 one test after another then one disk after another 56 Separated each disk with a comma 112 for disk in $(echo $@ | tr "," " "); do 113 R=$(basename $disk | sed 's|/|_|g') 135 disk=$2 136 PRINTABLE_DISK=$(diskname_to_printable $disk) 141 filename=$disk 150 for disk in $(echo $DISKS | tr "," " "); do 152 gen_seq_suite "$mode" "$disk" 162 for disk in $(echo $DISKS | tr "," " "); do [all …]
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/ |
D | Containers_and_folders.py | 18 class disk(aetools.ComponentItem): class 64 disks = disk 150 disk._superclassnames = ['container'] 153 disk._privpropdict = { 163 disk._privelemdict = { 184 'disk' : disk, 251 'cdis' : disk,
|
/external/syslinux/core/include/ |
D | disk.h | 20 struct disk { struct 33 int (*rdwr_sectors)(struct disk *, void *, sector_t, size_t, bool); argument 37 extern void getoneblk(struct disk *, char *, block_t, int); 40 struct disk *bios_disk_init(void *);
|
/external/autotest/client/site_tests/kernel_HdParm/ |
D | kernel_HdParm.py | 19 disk = utils.get_fixed_dst_drive() 21 logging.debug("Using device %s", disk) 23 result = utils.system_output('hdparm -T %s' % disk) 26 result = utils.system_output('hdparm -t %s' % disk)
|
/external/e2fsprogs/lib/support/ |
D | quotaio_tree.h | 38 void (*mem2disk_dqblk)(void *disk, struct dquot *dquot); 40 void (*disk2mem_dqblk)(struct dquot *dquot, void *disk); 42 int (*is_id)(void *disk, struct dquot *dquot); 58 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
|
/external/f2fs-tools/fsck/ |
D | quotaio_tree.h | 44 void (*mem2disk_dqblk)(void *disk, struct dquot *dquot); 46 void (*disk2mem_dqblk)(struct dquot *dquot, void *disk); 48 int (*is_id)(void *disk, struct dquot *dquot); 64 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/ |
D | Disk_Folder_File_Suite.py | 74 class disk(aetools.ComponentItem): class 125 disks = disk 225 'disk' : disk, 235 disk._superclassnames = ['item'] 236 disk._privpropdict = { 251 disk._privelemdict = { 339 'cdis' : disk,
|
/external/autotest/server/site_tests/firmware_DevBootUSB/ |
D | control | 9 PURPOSE = "Press Ctrl-U on developer screen to boot USB disk" 10 CRITERIA = "This test will fail if firmware does not boot USB disk" 19 This test requires a USB disk plugged-in, which contains a Chrome OS test 22 screen should not boot the USB disk. When dev_boot_usb=1, pressing Ctrl-U 23 should boot the USB disk.
|
/external/autotest/client/site_tests/platform_CrosDisksDBus/ |
D | platform_CrosDisksDBus.py | 32 def validate_disk_properties(self, disk): argument 55 if prop_name not in disk: 59 prop_value = disk[prop_name] 66 if not disk['DeviceFile']: 72 mount_paths = disk['DeviceMountPaths'] 73 if disk['DeviceIsMounted']:
|
/external/autotest/client/site_tests/hardware_DiskSize/ |
D | control | 7 PURPOSE = 'Ensure the hard disk is large enough.' 8 CRITERIA = 'Fails if the main disk is less than gb_main_disk_size.' 15 This test will find the disk where /dev is located by searching /proc/cmdline, 16 and will then determine the size of the main disk by reading /proc/partitions.
|
/external/gptfdisk/ |
D | README.Windows | 6 Most versions of Windows cannot boot from a GPT disk on BIOS-based 12 GPT fdisk on a BIOS-mode boot disk, or perhaps even on a data disk, you may 58 won't be able to edit hard disk partition tables, although you will be able 59 to edit raw disk image files. 61 The program requires a hard disk identifier as an option. You can specify 68 on the first disk. The second way to specify a disk device is via a 74 table on the first physical disk. Change the number at the end of the 75 device name to change the disk edited. 77 If you pass the "-l" option to gdisk.exe in addition to the disk 80 never writes data back to the disk when used in this way. [all …]
|