/linux-4.1.27/drivers/block/paride/ |
D | pd.c | 250 static inline int status_reg(struct pd_unit *disk) in status_reg() argument 252 return pi_read_regr(disk->pi, 1, 6); in status_reg() 255 static inline int read_reg(struct pd_unit *disk, int reg) in read_reg() argument 257 return pi_read_regr(disk->pi, 0, reg); in read_reg() 260 static inline void write_status(struct pd_unit *disk, int val) in write_status() argument 262 pi_write_regr(disk->pi, 1, 6, val); in write_status() 265 static inline void write_reg(struct pd_unit *disk, int reg, int val) in write_reg() argument 267 pi_write_regr(disk->pi, 0, reg, val); in write_reg() 270 static inline u8 DRIVE(struct pd_unit *disk) in DRIVE() argument 272 return 0xa0+0x10*disk->drive; in DRIVE() [all …]
|
D | pf.c | 214 static void pf_release(struct gendisk *disk, fmode_t mode); 240 struct gendisk *disk; member 248 static unsigned int pf_check_events(struct gendisk *disk, 286 struct gendisk *disk = alloc_disk(1); in pf_init_units() local 287 if (!disk) in pf_init_units() 289 pf->disk = disk; in pf_init_units() 295 disk->major = major; in pf_init_units() 296 disk->first_minor = unit; in pf_init_units() 297 strcpy(disk->disk_name, pf->name); in pf_init_units() 298 disk->fops = &pf_fops; in pf_init_units() [all …]
|
D | pcd.c | 201 struct gendisk *disk; member 239 static void pcd_block_release(struct gendisk *disk, fmode_t mode) in pcd_block_release() argument 241 struct pcd_unit *cd = disk->private_data; in pcd_block_release() 260 static unsigned int pcd_block_check_events(struct gendisk *disk, in pcd_block_check_events() argument 263 struct pcd_unit *cd = disk->private_data; in pcd_block_check_events() 299 struct gendisk *disk = alloc_disk(1); in pcd_init_units() local 300 if (!disk) in pcd_init_units() 302 cd->disk = disk; in pcd_init_units() 318 disk->major = major; in pcd_init_units() 319 disk->first_minor = unit; in pcd_init_units() [all …]
|
D | mkd | 9 mknod $1 $2 $3 $4 ; chmod 0660 $1 ; chown root:disk $1
|
/linux-4.1.27/block/ |
D | genhd.c | 41 static void disk_alloc_events(struct gendisk *disk); 42 static void disk_add_events(struct gendisk *disk); 43 static void disk_del_events(struct gendisk *disk); 44 static void disk_release_events(struct gendisk *disk); 60 struct hd_struct *disk_get_part(struct gendisk *disk, int partno) in disk_get_part() argument 70 ptbl = rcu_dereference(disk->part_tbl); in disk_get_part() 94 void disk_part_iter_init(struct disk_part_iter *piter, struct gendisk *disk, in disk_part_iter_init() argument 100 ptbl = rcu_dereference(disk->part_tbl); in disk_part_iter_init() 102 piter->disk = disk; in disk_part_iter_init() 138 ptbl = rcu_dereference(piter->disk->part_tbl); in disk_part_iter_next() [all …]
|
D | partition-generic.c | 241 void delete_partition(struct gendisk *disk, int partno) in delete_partition() argument 243 struct disk_part_tbl *ptbl = disk->part_tbl; in delete_partition() 269 struct hd_struct *add_partition(struct gendisk *disk, int partno, in add_partition() argument 275 struct device *ddev = disk_to_dev(disk); in add_partition() 281 err = disk_expand_part_tbl(disk, partno); in add_partition() 284 ptbl = disk->part_tbl; in add_partition() 303 queue_limit_alignment_offset(&disk->queue->limits, start); in add_partition() 305 queue_limit_discard_alignment(&disk->queue->limits, start); in add_partition() 308 p->policy = get_disk_ro(disk); in add_partition() 311 struct partition_meta_info *pinfo = alloc_part_info(disk); in add_partition() [all …]
|
D | ioctl.c | 15 struct gendisk *disk; in blkpg_ioctl() local 29 disk = bdev->bd_disk; in blkpg_ioctl() 51 disk_part_iter_init(&piter, disk, in blkpg_ioctl() 64 part = add_partition(disk, partno, start, length, in blkpg_ioctl() 69 part = disk_get_part(disk, partno); in blkpg_ioctl() 89 delete_partition(disk, partno); in blkpg_ioctl() 107 part = disk_get_part(disk, partno); in blkpg_ioctl() 125 disk_part_iter_init(&piter, disk, in blkpg_ioctl() 155 struct gendisk *disk = bdev->bd_disk; in blkdev_reread_part() local 158 if (!disk_part_scan_enabled(disk) || bdev != bdev->bd_contains) in blkdev_reread_part() [all …]
|
D | blk-integrity.c | 396 bool blk_integrity_is_initialized(struct gendisk *disk) in blk_integrity_is_initialized() argument 398 struct blk_integrity *bi = blk_get_integrity(disk); in blk_integrity_is_initialized() 416 int blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) in blk_integrity_register() argument 420 BUG_ON(disk == NULL); in blk_integrity_register() 422 if (disk->integrity == NULL) { in blk_integrity_register() 429 &disk_to_dev(disk)->kobj, in blk_integrity_register() 438 bi->interval = queue_logical_block_size(disk->queue); in blk_integrity_register() 439 disk->integrity = bi; in blk_integrity_register() 441 bi = disk->integrity; in blk_integrity_register() 454 disk->queue->backing_dev_info.capabilities |= BDI_CAP_STABLE_WRITES; in blk_integrity_register() [all …]
|
D | blk-cgroup.c | 707 __acquires(rcu) __acquires(disk->queue->queue_lock) in blkg_conf_prep() 709 struct gendisk *disk; in blkg_conf_prep() local 718 disk = get_gendisk(MKDEV(major, minor), &part); in blkg_conf_prep() 719 if (!disk) in blkg_conf_prep() 722 put_disk(disk); in blkg_conf_prep() 727 spin_lock_irq(disk->queue->queue_lock); in blkg_conf_prep() 729 if (blkcg_policy_enabled(disk->queue, pol)) in blkg_conf_prep() 730 blkg = blkg_lookup_create(blkcg, disk->queue); in blkg_conf_prep() 737 spin_unlock_irq(disk->queue->queue_lock); in blkg_conf_prep() 738 put_disk(disk); in blkg_conf_prep() [all …]
|
D | blk-timeout.c | 43 struct gendisk *disk = dev_to_disk(dev); in part_timeout_show() local 44 int set = test_bit(QUEUE_FLAG_FAIL_IO, &disk->queue->queue_flags); in part_timeout_show() 52 struct gendisk *disk = dev_to_disk(dev); in part_timeout_store() local 56 struct request_queue *q = disk->queue; in part_timeout_store()
|
D | blk-sysfs.c | 540 int blk_register_queue(struct gendisk *disk) in blk_register_queue() argument 543 struct device *dev = disk_to_dev(disk); in blk_register_queue() 544 struct request_queue *q = disk->queue; in blk_register_queue() 578 blk_mq_register_disk(disk); in blk_register_queue() 595 void blk_unregister_queue(struct gendisk *disk) in blk_unregister_queue() argument 597 struct request_queue *q = disk->queue; in blk_unregister_queue() 603 blk_mq_unregister_disk(disk); in blk_unregister_queue() 610 blk_trace_remove_sysfs(disk_to_dev(disk)); in blk_unregister_queue() 611 kobject_put(&disk_to_dev(disk)->kobj); in blk_unregister_queue()
|
D | blk-mq-sysfs.c | 377 void blk_mq_unregister_disk(struct gendisk *disk) in blk_mq_unregister_disk() argument 379 struct request_queue *q = disk->queue; in blk_mq_unregister_disk() 397 kobject_put(&disk_to_dev(disk)->kobj); in blk_mq_unregister_disk() 421 int blk_mq_register_disk(struct gendisk *disk) in blk_mq_register_disk() argument 423 struct device *dev = disk_to_dev(disk); in blk_mq_register_disk() 424 struct request_queue *q = disk->queue; in blk_mq_register_disk() 444 blk_mq_unregister_disk(disk); in blk_mq_register_disk()
|
D | compat_ioctl.c | 51 static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, in compat_hdio_getgeo() argument 59 if (!disk->fops->getgeo) in compat_hdio_getgeo() 68 ret = disk->fops->getgeo(bdev, &geo); in compat_hdio_getgeo() 662 struct gendisk *disk = bdev->bd_disk; in compat_blkdev_ioctl() local 679 return compat_hdio_getgeo(disk, bdev, compat_ptr(arg)); in compat_blkdev_ioctl() 750 if (disk->fops->compat_ioctl) in compat_blkdev_ioctl() 751 ret = disk->fops->compat_ioctl(bdev, mode, cmd, arg); in compat_blkdev_ioctl()
|
/linux-4.1.27/drivers/block/ |
D | hd.c | 304 static void hd_out(struct hd_i_struct *disk, in hd_out() argument 320 if (!controller_ready(disk->unit, head)) { in hd_out() 325 outb_p(disk->ctl, HD_CMD); in hd_out() 327 outb_p(disk->wpcom >> 2, ++port); in hd_out() 332 outb_p(0xA0 | (disk->unit << 4) | head, ++port); in hd_out() 381 struct hd_i_struct *disk = &hd_info[i]; in reset_hd() local 382 disk->special_op = disk->recalibrate = 1; in reset_hd() 383 hd_out(disk, disk->sect, disk->sect, disk->head-1, in reset_hd() 384 disk->cyl, ATA_CMD_INIT_DEV_PARAMS, &reset_hd); in reset_hd() 420 struct hd_i_struct *disk = req->rq_disk->private_data; in bad_rw_intr() local [all …]
|
D | nbd.c | 56 struct gendisk *disk; member 84 return disk_to_dev(nbd->disk); in nbd_to_dev() 121 dev_warn(disk_to_dev(nbd->disk), "shutting down socket\n"); in sock_shutdown() 152 dev_err(disk_to_dev(nbd->disk), in sock_xmit() 250 dev_err(disk_to_dev(nbd->disk), in nbd_send_req() 270 dev_err(disk_to_dev(nbd->disk), in nbd_send_req() 323 dev_err(disk_to_dev(nbd->disk), in nbd_read_stat() 329 dev_err(disk_to_dev(nbd->disk), "Wrong magic (0x%lx)\n", in nbd_read_stat() 341 dev_err(disk_to_dev(nbd->disk), "Unexpected reply (%p)\n", in nbd_read_stat() 348 dev_err(disk_to_dev(nbd->disk), "Other side returned error (%d)\n", in nbd_read_stat() [all …]
|
D | virtio_blk.c | 35 struct gendisk *disk; member 156 blk_mq_start_stopped_hw_queues(vblk->disk->queue, true); in virtblk_done() 236 static int virtblk_get_id(struct gendisk *disk, char *id_str) in virtblk_get_id() argument 238 struct virtio_blk *vblk = disk->private_data; in virtblk_get_id() 243 bio = bio_map_kern(vblk->disk->queue, id_str, VIRTIO_BLK_ID_BYTES, in virtblk_get_id() 248 req = blk_make_request(vblk->disk->queue, bio, GFP_KERNEL); in virtblk_get_id() 255 err = blk_execute_rq(vblk->disk->queue, vblk->disk, req, false); in virtblk_get_id() 264 struct gendisk *disk = bdev->bd_disk; in virtblk_ioctl() local 265 struct virtio_blk *vblk = disk->private_data; in virtblk_ioctl() 318 struct gendisk *disk = dev_to_disk(dev); in virtblk_serial_show() local [all …]
|
D | osdblk.c | 106 struct gendisk *disk; /* blkdev's gendisk and rq */ member 383 struct gendisk *disk = osdev->disk; in osdblk_free_disk() local 385 if (!disk) in osdblk_free_disk() 388 if (disk->flags & GENHD_FL_UP) in osdblk_free_disk() 389 del_gendisk(disk); in osdblk_free_disk() 390 if (disk->queue) in osdblk_free_disk() 391 blk_cleanup_queue(disk->queue); in osdblk_free_disk() 392 put_disk(disk); in osdblk_free_disk() 397 struct gendisk *disk; in osdblk_init_disk() local 408 disk = alloc_disk(OSDBLK_MINORS_PER_MAJOR); in osdblk_init_disk() [all …]
|
D | pmem.c | 124 struct gendisk *disk; in pmem_alloc() local 158 disk = alloc_disk(PMEM_MINORS); in pmem_alloc() 159 if (!disk) in pmem_alloc() 164 disk->major = pmem_major; in pmem_alloc() 165 disk->first_minor = PMEM_MINORS * idx; in pmem_alloc() 166 disk->fops = &pmem_fops; in pmem_alloc() 167 disk->private_data = pmem; in pmem_alloc() 168 disk->queue = pmem->pmem_queue; in pmem_alloc() 169 disk->flags = GENHD_FL_EXT_DEVT; in pmem_alloc() 170 sprintf(disk->disk_name, "pmem%d", idx); in pmem_alloc() [all …]
|
D | ataflop.c | 221 struct gendisk *disk; member 372 static void floppy_release(struct gendisk *disk, fmode_t mode); 1076 set_capacity(unit[SelectedDrive].disk, in fd_rwsec_done1() 1091 set_capacity(unit[SelectedDrive].disk, in fd_rwsec_done1() 1328 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events() argument 1331 struct atari_floppy_struct *p = disk->private_data; in floppy_check_events() 1351 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate() argument 1353 struct atari_floppy_struct *p = disk->private_data; in floppy_revalidate() 1407 q = unit[fdc_queue].disk->queue; in set_next_request() 1454 set_capacity(floppy->disk, UDT->blocks); in redo_fd_request() [all …]
|
D | null_blk.c | 34 struct gendisk *disk; member 401 del_gendisk(nullb->disk); in null_del_dev() 405 put_disk(nullb->disk); in null_del_dev() 414 static void null_release(struct gendisk *disk, fmode_t mode) in null_release() argument 499 struct gendisk *disk; in null_add_dev() local 564 disk = nullb->disk = alloc_disk_node(1, home_node); in null_add_dev() 565 if (!disk) { in null_add_dev() 580 set_capacity(disk, size); in null_add_dev() 582 disk->flags |= GENHD_FL_EXT_DEVT | GENHD_FL_SUPPRESS_PARTITION_INFO; in null_add_dev() 583 disk->major = null_major; in null_add_dev() [all …]
|
D | swim.c | 192 struct gendisk *disk; member 676 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release() argument 678 struct floppy_state *fs = disk->private_data; in floppy_release() 741 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events() argument 744 struct floppy_state *fs = disk->private_data; in floppy_check_events() 749 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate() argument 751 struct floppy_state *fs = disk->private_data; in floppy_revalidate() 786 return get_disk(swd->unit[drive].disk); in floppy_find() 837 swd->unit[drive].disk = alloc_disk(1); in swim_floppy_init() 838 if (swd->unit[drive].disk == NULL) { in swim_floppy_init() [all …]
|
D | amiflop.c | 814 static unsigned long *putsec(int disk, unsigned long *raw, int cnt) in putsec() argument 819 disk&=3; in putsec() 825 hdr.track = unit[disk].track; in putsec() 827 hdr.ord = unit[disk].dtype->sects * unit[disk].type->sect_mult - cnt; in putsec() 832 hdr.datachk = checksum((ulong *)(unit[disk].trackbuf+cnt*512), 512); in putsec() 842 encode_block(raw, (ulong *)(unit[disk].trackbuf+cnt*512), 512); in putsec() 848 static void amiga_write(int disk) in amiga_write() argument 853 disk&=3; in amiga_write() 855 for (cnt = 0; cnt < 415 * unit[disk].type->sect_mult; cnt++) in amiga_write() 859 for (cnt = 0; cnt < unit[disk].dtype->sects * unit[disk].type->sect_mult; cnt++) in amiga_write() [all …]
|
D | swim3.c | 255 static void floppy_release(struct gendisk *disk, fmode_t mode); 256 static unsigned int floppy_check_events(struct gendisk *disk, 258 static int floppy_revalidate(struct gendisk *disk); 1024 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release() argument 1026 struct floppy_state *fs = disk->private_data; in floppy_release() 1038 static unsigned int floppy_check_events(struct gendisk *disk, in floppy_check_events() argument 1041 struct floppy_state *fs = disk->private_data; in floppy_check_events() 1045 static int floppy_revalidate(struct gendisk *disk) in floppy_revalidate() argument 1047 struct floppy_state *fs = disk->private_data; in floppy_revalidate() 1206 struct gendisk *disk; in swim3_attach() local [all …]
|
D | brd.c | 477 struct gendisk *disk; in brd_alloc() local 507 disk = brd->brd_disk = alloc_disk(max_part); in brd_alloc() 508 if (!disk) in brd_alloc() 510 disk->major = RAMDISK_MAJOR; in brd_alloc() 511 disk->first_minor = i * max_part; in brd_alloc() 512 disk->fops = &brd_fops; in brd_alloc() 513 disk->private_data = brd; in brd_alloc() 514 disk->queue = brd->brd_queue; in brd_alloc() 515 disk->flags = GENHD_FL_EXT_DEVT; in brd_alloc() 516 sprintf(disk->disk_name, "ram%d", i); in brd_alloc() [all …]
|
D | cpqarray.c | 163 static void ida_release(struct gendisk *disk, fmode_t mode); 177 static int ida_revalidate(struct gendisk *disk); 187 static inline drv_info_t *get_drv(struct gendisk *disk) in get_drv() argument 189 return disk->private_data; in get_drv() 192 static inline ctlr_info_t *get_host(struct gendisk *disk) in get_host() argument 194 return disk->queue->queuedata; in get_host() 465 struct gendisk *disk = ida_gendisk[i][j]; in cpqarray_register_ctlr() local 467 sprintf(disk->disk_name, "ida/c%dd%d", i, j); in cpqarray_register_ctlr() 468 disk->major = COMPAQ_SMART2_MAJOR + i; in cpqarray_register_ctlr() 469 disk->first_minor = j<<NWD_SHIFT; in cpqarray_register_ctlr() [all …]
|
D | sunvdc.c | 52 struct gendisk *disk; member 112 struct gendisk *disk = bdev->bd_disk; in vdc_getgeo() local 113 sector_t nsect = get_capacity(disk); in vdc_getgeo() 134 struct gendisk *disk; in vdc_ioctl() local 145 disk = bdev->bd_disk; in vdc_ioctl() 147 if (bdev->bd_disk && (disk->flags & GENHD_FL_CD)) in vdc_ioctl() 171 if (port->disk && blk_queue_stopped(port->disk->queue) && in vdc_blk_queue_start() 173 blk_start_queue(port->disk->queue); in vdc_blk_queue_start() 792 port->disk = g; in probe_disk() 959 blk_stop_queue(port->disk->queue); in vdc_port_remove() [all …]
|
D | sx8.c | 245 struct gendisk *disk; member 1334 struct gendisk *disk = port->disk; in carm_fsm_task() local 1336 set_capacity(disk, port->capacity); in carm_fsm_task() 1337 add_disk(disk); in carm_fsm_task() 1497 struct gendisk *disk; in carm_init_disks() local 1505 disk = alloc_disk(CARM_MINORS_PER_MAJOR); in carm_init_disks() 1506 if (!disk) { in carm_init_disks() 1511 port->disk = disk; in carm_init_disks() 1512 sprintf(disk->disk_name, DRV_NAME "/%u", in carm_init_disks() 1514 disk->major = host->major; in carm_init_disks() [all …]
|
D | cciss.c | 170 static void cciss_release(struct gendisk *disk, fmode_t mode); 175 static int cciss_revalidate(struct gendisk *disk); 1065 static inline ctlr_info_t *get_host(struct gendisk *disk) in get_host() argument 1067 return disk->queue->queuedata; in get_host() 1070 static inline drive_info_struct *get_drv(struct gendisk *disk) in get_drv() argument 1072 return disk->private_data; in get_drv() 1127 static void cciss_release(struct gendisk *disk, fmode_t mode) in cciss_release() argument 1133 h = get_host(disk); in cciss_release() 1134 drv = get_drv(disk); in cciss_release() 1135 dev_dbg(&h->pdev->dev, "cciss_release %s\n", disk->disk_name); in cciss_release() [all …]
|
D | nvme-core.c | 525 ts = ns->disk->integrity->tuple_size; in nvme_dif_remap() 568 blk_integrity_register(ns->disk, &integrity); in nvme_init_integrity() 1962 static void nvme_release(struct gendisk *disk, fmode_t mode) in nvme_release() argument 1964 struct nvme_ns *ns = disk->private_data; in nvme_release() 1989 static int nvme_revalidate_disk(struct gendisk *disk) in nvme_revalidate_disk() argument 1991 struct nvme_ns *ns = disk->private_data; in nvme_revalidate_disk() 2031 if (blk_get_integrity(disk) && (ns->pi_type != pi_type || in nvme_revalidate_disk() 2033 bs != queue_logical_block_size(disk->queue) || in nvme_revalidate_disk() 2035 blk_integrity_unregister(disk); in nvme_revalidate_disk() 2040 if (ns->ms && !blk_get_integrity(disk) && (disk->flags & GENHD_FL_UP) && in nvme_revalidate_disk() [all …]
|
D | pktcdvd.c | 1278 clear_bdi_congested(&pd->disk->queue->backing_dev_info, in pkt_handle_queue() 2208 set_capacity(pd->disk, lba << 2); in pkt_open_dev() 2317 static void pkt_close(struct gendisk *disk, fmode_t mode) in pkt_close() argument 2319 struct pktcdvd_device *pd = disk->private_data; in pkt_close() 2528 struct request_queue *q = pd->disk->queue; in pkt_init_queue() 2709 static unsigned int pkt_check_events(struct gendisk *disk, in pkt_check_events() argument 2712 struct pktcdvd_device *pd = disk->private_data; in pkt_check_events() 2746 struct gendisk *disk; in pkt_setup_dev() local 2783 disk = alloc_disk(1); in pkt_setup_dev() 2784 if (!disk) in pkt_setup_dev() [all …]
|
D | umem.c | 760 static int mm_revalidate(struct gendisk *disk) in mm_revalidate() argument 762 struct cardinfo *card = disk->private_data; in mm_revalidate() 763 set_capacity(disk, card->mm_size << 1); in mm_revalidate() 1090 struct gendisk *disk = mm_gendisk[i]; in mm_init() local 1091 sprintf(disk->disk_name, "umem%c", 'a'+i); in mm_init() 1093 disk->major = major_nr; in mm_init() 1094 disk->first_minor = i << MM_SHIFT; in mm_init() 1095 disk->fops = &mm_fops; in mm_init() 1096 disk->private_data = &cards[i]; in mm_init() 1097 disk->queue = cards[i].queue; in mm_init() [all …]
|
D | loop.c | 546 struct gendisk *disk = dev_to_disk(dev); in loop_attr_show() local 547 struct loop_device *lo = disk->private_data; in loop_attr_show() 1341 static void lo_release(struct gendisk *disk, fmode_t mode) in lo_release() argument 1343 struct loop_device *lo = disk->private_data; in lo_release() 1533 struct gendisk *disk; in loop_add() local 1578 disk = lo->lo_disk = alloc_disk(1 << part_shift); in loop_add() 1579 if (!disk) in loop_add() 1601 disk->flags |= GENHD_FL_NO_PART_SCAN; in loop_add() 1602 disk->flags |= GENHD_FL_EXT_DEVT; in loop_add() 1606 disk->major = LOOP_MAJOR; in loop_add() [all …]
|
D | rbd.c | 339 struct gendisk *disk; /* blkdev's gendisk and rq */ member 499 else if (rbd_dev->disk) in rbd_warn() 501 RBD_DRV_NAME, rbd_dev->disk->disk_name, &vaf); in rbd_warn() 566 static void rbd_release(struct gendisk *disk, fmode_t mode) in rbd_release() argument 568 struct rbd_device *rbd_dev = disk->private_data; in rbd_release() 611 set_disk_ro(rbd_dev->disk, ro ? 1 : 0); in rbd_ioctl_set_ro() 3506 struct gendisk *disk = rbd_dev->disk; in rbd_free_disk() local 3508 if (!disk) in rbd_free_disk() 3511 rbd_dev->disk = NULL; in rbd_free_disk() 3512 if (disk->flags & GENHD_FL_UP) { in rbd_free_disk() [all …]
|
D | Kconfig | 22 tristate "Normal floppy disk support" 25 If you want to use the floppy disk drive(s) of your PC under Linux, 84 There are many external CD-ROM and disk devices that connect through 188 bool "Always do synchronous disk IO for UBD" 192 host's disk; this may cause problems if, for example, the User-Mode 196 Synchronous operation (i.e. always writing data to the host's disk 233 a disk partition, floppy, or regular file, either using encryption 277 used as hard disk encryption. 281 instead, which can be configured to be on-disk compatible with the 376 Most normal users won't need the RAM disk functionality, and can [all …]
|
D | xen-blkfront.c | 1938 struct gendisk *disk; in blkfront_remove() local 1946 disk = info->gd; in blkfront_remove() 1947 if (disk) in blkfront_remove() 1948 bdev = bdget_disk(disk, 0); in blkfront_remove() 1965 info = disk->private_data; in blkfront_remove() 1967 dev_warn(disk_to_dev(disk), in blkfront_remove() 1973 disk->private_data = NULL; in blkfront_remove() 1992 struct gendisk *disk = bdev->bd_disk; in blkif_open() local 1998 info = disk->private_data; in blkif_open() 2018 static void blkif_release(struct gendisk *disk, fmode_t mode) in blkif_release() argument [all …]
|
D | skd_main.c | 284 struct gendisk *disk; member 1262 struct gendisk *disk = bdev->bd_disk; in skd_bdev_ioctl() local 1263 struct skd_device *skdev = disk->private_data; in skd_bdev_ioctl() 1268 disk->disk_name, current->comm, mode, cmd_in, arg); in skd_bdev_ioctl() 1277 rc = scsi_cmd_ioctl(disk->queue, disk, mode, cmd_in, p); in skd_bdev_ioctl() 1289 skdev->name, __func__, __LINE__, disk->disk_name, rc); in skd_bdev_ioctl() 2112 set_capacity(skdev->disk, skdev->read_cap_last_lba + 1); in skd_complete_internal() 2120 set_capacity(skdev->disk, skdev->read_cap_last_lba + 1); in skd_complete_internal() 4387 struct gendisk *disk; in skd_cons_disk() local 4391 disk = alloc_disk(SKD_MINORS_PER_DEVICE); in skd_cons_disk() [all …]
|
D | DAC960.c | 80 struct gendisk *disk = bdev->bd_disk; in DAC960_open() local 81 DAC960_Controller_T *p = disk->queue->queuedata; in DAC960_open() 82 int drive_nr = (long)disk->private_data; in DAC960_open() 109 struct gendisk *disk = bdev->bd_disk; in DAC960_getgeo() local 110 DAC960_Controller_T *p = disk->queue->queuedata; in DAC960_getgeo() 111 int drive_nr = (long)disk->private_data; in DAC960_getgeo() 143 static unsigned int DAC960_check_events(struct gendisk *disk, in DAC960_check_events() argument 146 DAC960_Controller_T *p = disk->queue->queuedata; in DAC960_check_events() 147 int drive_nr = (long)disk->private_data; in DAC960_check_events() 154 static int DAC960_revalidate_disk(struct gendisk *disk) in DAC960_revalidate_disk() argument [all …]
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | axonram.c | 63 struct gendisk *disk; member 214 bank->disk = alloc_disk(AXON_RAM_MINORS_PER_DISK); in axon_ram_probe() 215 if (bank->disk == NULL) { in axon_ram_probe() 221 bank->disk->major = azfs_major; in axon_ram_probe() 222 bank->disk->first_minor = azfs_minor; in axon_ram_probe() 223 bank->disk->fops = &axon_ram_devops; in axon_ram_probe() 224 bank->disk->private_data = bank; in axon_ram_probe() 225 bank->disk->driverfs_dev = &device->dev; in axon_ram_probe() 227 sprintf(bank->disk->disk_name, "%s%d", in axon_ram_probe() 230 bank->disk->queue = blk_alloc_queue(GFP_KERNEL); in axon_ram_probe() [all …]
|
/linux-4.1.27/drivers/md/bcache/ |
D | writeback.c | 23 struct cache_set *c = dc->disk.c; in __update_writeback_rate() 33 int64_t dirty = bcache_dev_sectors_dirty(&dc->disk); in __update_writeback_rate() 34 int64_t derivative = dirty - dc->disk.sectors_dirty_last; in __update_writeback_rate() 38 dc->disk.sectors_dirty_last = dirty; in __update_writeback_rate() 47 derivative = ewma_add(dc->disk.sectors_dirty_derivative, derivative, in __update_writeback_rate() 92 if (test_bit(BCACHE_DEV_DETACHING, &dc->disk.flags) || in writeback_delay() 151 atomic_inc(&PTR_BUCKET(dc->disk.c, &w->key, i)->pin); in write_dirty_finish() 153 ret = bch_btree_insert(dc->disk.c, &keys, NULL, &w->key); in write_dirty_finish() 159 ? &dc->disk.c->writeback_keys_failed in write_dirty_finish() 160 : &dc->disk.c->writeback_keys_done); in write_dirty_finish() [all …]
|
D | writeback.h | 28 unsigned stripe = offset_to_stripe(&dc->disk, offset); in bcache_dev_stripe_dirty() 31 if (atomic_read(dc->disk.stripe_sectors_dirty + stripe)) in bcache_dev_stripe_dirty() 34 if (nr_sectors <= dc->disk.stripe_size) in bcache_dev_stripe_dirty() 37 nr_sectors -= dc->disk.stripe_size; in bcache_dev_stripe_dirty() 45 unsigned in_use = dc->disk.c->gc_stats.in_use; in should_writeback() 48 test_bit(BCACHE_DEV_DETACHING, &dc->disk.flags) || in should_writeback()
|
D | super.c | 692 bd_unlink_disk_holder(ca->bdev, d->disk); in bcache_device_unlink() 703 bd_link_disk_holder(ca->bdev, d->disk); in bcache_device_link() 749 pr_info("%s stopped", d->disk->disk_name); in bcache_device_free() 753 if (d->disk && d->disk->flags & GENHD_FL_UP) in bcache_device_free() 754 del_gendisk(d->disk); in bcache_device_free() 755 if (d->disk && d->disk->queue) in bcache_device_free() 756 blk_cleanup_queue(d->disk->queue); in bcache_device_free() 757 if (d->disk) { in bcache_device_free() 758 ida_simple_remove(&bcache_minor, d->disk->first_minor); in bcache_device_free() 759 put_disk(d->disk); in bcache_device_free() [all …]
|
D | request.c | 367 struct cache_set *c = dc->disk.c; in check_should_bypass() 373 if (test_bit(BCACHE_DEV_DETACHING, &dc->disk.flags) || in check_should_bypass() 605 &s->d->disk->part0, s->start_time); in bio_complete() 673 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_bio_complete() 722 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done() 762 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done_bh() 781 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss() 815 dc->disk.bio_split); in cached_dev_cache_miss() 861 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_write_complete() 871 struct bkey start = KEY(dc->disk.id, bio->bi_iter.bi_sector, 0); in cached_dev_write() [all …]
|
D | sysfs.c | 112 disk.kobj); in SHOW() 122 sysfs_printf(data_csum, "%i", dc->disk.data_csum); in SHOW() 145 bch_hprint(dirty, bcache_dev_sectors_dirty(&dc->disk) << 9); in SHOW() 167 bcache_dev_sectors_dirty(&dc->disk) << 9); in SHOW() 169 sysfs_hprint(stripe_size, dc->disk.stripe_size << 9); in SHOW() 193 disk.kobj); in STORE() 202 sysfs_strtoul(data_csum, dc->disk.data_csum); in STORE() 249 if (dc->disk.c) { in STORE() 250 memcpy(dc->disk.c->uuids[dc->disk.id].label, in STORE() 252 bch_uuid_write(dc->disk.c); in STORE() [all …]
|
D | stats.c | 201 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in bch_mark_cache_accounting() 208 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in bch_mark_cache_readahead() 215 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in bch_mark_cache_miss_collision()
|
/linux-4.1.27/include/linux/ |
D | genhd.h | 21 #define disk_to_dev(disk) (&(disk)->part0.__dev) argument 240 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts() argument 242 if (disk->flags & GENHD_FL_EXT_DEVT) in disk_max_parts() 244 return disk->minors; in disk_max_parts() 247 static inline bool disk_part_scan_enabled(struct gendisk *disk) in disk_part_scan_enabled() argument 249 return disk_max_parts(disk) > 1 && in disk_part_scan_enabled() 250 !(disk->flags & GENHD_FL_NO_PART_SCAN); in disk_part_scan_enabled() 253 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() argument 255 return disk_to_dev(disk)->devt; in disk_devt() 263 extern struct hd_struct *disk_get_part(struct gendisk *disk, int partno); [all …]
|
D | dqblk_qtree.h | 21 …void (*mem2disk_dqblk)(void *disk, struct dquot *dquot); /* Convert given entry from in memory for… 22 …void (*disk2mem_dqblk)(struct dquot *dquot, void *disk); /* Convert given entry from disk format t… 23 int (*is_id)(void *disk, struct dquot *dquot); /* Is this structure for given id? */ 44 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk);
|
D | drbd.h | 272 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member 290 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */
|
D | amifd.h | 53 int disk; /* disk in drive (-1 == unknown) */ member
|
D | blkdev.h | 792 extern int blk_register_queue(struct gendisk *disk); 793 extern void blk_unregister_queue(struct gendisk *disk); 1027 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, 1508 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity() argument 1510 return disk->integrity; in blk_get_integrity() 1556 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity() argument 1607 unsigned int (*check_events) (struct gendisk *disk,
|
/linux-4.1.27/Documentation/ |
D | devices.txt | 105 1 block RAM disk 106 0 = /dev/ram0 First RAM disk 107 1 = /dev/ram1 Second RAM disk 109 250 = /dev/initrd Initial RAM disk 112 /dev/initrd refers to a RAM disk which was preloaded 200 3 block First MFM, RLL and IDE hard disk/CD-ROM interface 201 0 = /dev/hda Master: whole disk (or CD-ROM) 202 64 = /dev/hdb Slave: whole disk (or CD-ROM) 204 For partitions, add to the whole disk device number: 205 0 = /dev/hd? Whole disk [all …]
|
D | ldm.txt | 13 1MiB journalled database at the end of the physical disk. The size of 14 partitions is limited only by disk space. The maximum number of partitions is 25 Once the LDM driver has divided up the disk, you can use the MD driver to 28 To prevent legacy applications from repartitioning the disk, the LDM creates a 29 dummy MSDOS partition containing one disk-sized partition. This is what is 33 GPT label disk. This is not supported by the Linux LDM driver yet. 39 Below we have a 50MiB disk, divided into seven partitions. 40 N.B. The missing 1MiB at the end of the disk is where the LDM database is 55 disk, but the driver will sort them. 83 is a dummy MSDOS partition filling the whole disk. You won't be able to mount [all …]
|
D | iostats.txt | 5 more extensive disk statistics have been introduced to help measure disk 40 each snapshot of your disk statistics. 65 ultimately handed to the disk, and so it will be counted (and queued) 111 a disk address relative to a partition to the disk address relative to 112 the host disk happens much earlier. All merges and timings now happen 113 at the disk level rather than at both the disk and partition level as 129 Note that since the address is translated to a disk-relative one, and no 143 disk and partition statistics are consistent again. Since we still don't 159 In 2.6, all disk statistics were removed from /proc/stat. In 2.4, they
|
D | initrd.txt | 1 Using the initial RAM disk (initrd) 8 initrd provides the capability to load a RAM disk by the boot loader. 9 This RAM disk can then be mounted as the root file system and programs 27 1) the boot loader loads the kernel and the initial RAM disk 28 2) the kernel converts initrd into a "normal" RAM disk and 58 Loads the specified file as the initial RAM disk. When using LILO, you 59 have to specify the RAM disk image file in /etc/lilo.conf, using the 64 initrd data is preserved but it is not converted to a RAM disk and 77 with the RAM disk mounted as root. 85 disk with the desired initrd content, cd to that directory, and run (as an [all …]
|
D | md-cluster.txt | 4 1. On-disk format 8 and may not yet have finished. The on-disk layout is: 163 4. In userspace, the node searches for the disk, perhaps 165 5. Other nodes issue either of the following depending on whether the disk 172 8. If node 1 gets the lock, it sends METADATA_UPDATED after unmarking the disk 175 10. Other nodes get the information whether a disk is added or not
|
/linux-4.1.27/Documentation/blockdev/ |
D | ramdisk.txt | 1 Using the RAM disk block device with Linux 15 The RAM disk driver is a way to use main system memory as a block device. It 21 The RAM disk dynamically grows as more space is required. It does this by using 25 The RAM disk supports up to 16 RAM disks by default, and can be reconfigured 30 To use RAM disk support with your system, run './MAKEDEV ram' from the /dev 34 The new RAM disk also has the ability to load compressed RAM disk images, 36 rescue floppy disk. 47 This parameter tells the RAM disk driver to set up RAM disks of N k size. The 69 to 2 MB (2^11) of where to find the RAM disk (this used to be the size). Bit 70 14 indicates that a RAM disk is to be loaded, and bit 15 indicates whether a [all …]
|
D | cpqarray.txt | 75 /dev/ida/c0d0 Controller 0, disk 0, whole device 76 /dev/ida/c0d0p1 Controller 0, disk 0, partition 1 77 /dev/ida/c0d0p2 Controller 0, disk 0, partition 2 78 /dev/ida/c0d0p3 Controller 0, disk 0, partition 3 80 /dev/ida/c1d1 Controller 1, disk 1, whole device 81 /dev/ida/c1d1p1 Controller 1, disk 1, partition 1 82 /dev/ida/c1d1p2 Controller 1, disk 1, partition 2 83 /dev/ida/c1d1p3 Controller 1, disk 1, partition 3
|
D | cciss.txt | 71 /dev/cciss/c0d0 Controller 0, disk 0, whole device 72 /dev/cciss/c0d0p1 Controller 0, disk 0, partition 1 73 /dev/cciss/c0d0p2 Controller 0, disk 0, partition 2 74 /dev/cciss/c0d0p3 Controller 0, disk 0, partition 3 76 /dev/cciss/c1d1 Controller 1, disk 1, whole device 77 /dev/cciss/c1d1p1 Controller 1, disk 1, partition 1 78 /dev/cciss/c1d1p2 Controller 1, disk 1, partition 2 79 /dev/cciss/c1d1p3 Controller 1, disk 1, partition 3 145 physical SCSI disk drives are NOT presented to the SCSI mid layer. The 146 physical SCSI disk drives are controlled directly by the array controller [all …]
|
D | 00-INDEX | 10 - notes and driver options for the floppy disk driver. 18 - short guide on how to set up and use the RAM disk.
|
D | zram.txt | 61 Set disk size by writing the value to sysfs node 'disksize'. 75 size of the disk when not in use so a huge zram is wasteful. 108 disksize RW show and set the device's disk size 120 zero_pages RO the number of zero filled pages written to this disk 121 orig_data_size RO uncompressed size of data stored in this disk 122 compr_data_size RO compressed size of data stored in this disk 123 mem_used_total RO the amount of memory allocated for this disk
|
D | floppy.txt | 82 inverted convention for the disk change line. 129 disk. If you get a huge amount of "Over/Underrun - retrying" 173 Don't use the disk change line, but assume that the disk was 175 boxes where the disk change line is broken or unsupported. 187 Print informational messages for some operations (disk change 192 Uses a less noisy way to clear the disk change line (which 214 access high capacity disks (up to 1992K on a high density 3 1/2 disk!). 223 ftp://metalab.unc.edu/pub/Linux/utils/disk-management/
|
D | nbd.txt | 11 This can be used for stations with low disk space (or even diskless) 12 to borrow disk space from another computer.
|
/linux-4.1.27/drivers/scsi/ |
D | sr.c | 138 static inline struct scsi_cd *scsi_cd(struct gendisk *disk) in scsi_cd() argument 140 return container_of(disk->private_data, struct scsi_cd, driver); in scsi_cd() 160 static inline struct scsi_cd *scsi_cd_get(struct gendisk *disk) in scsi_cd_get() argument 165 if (disk->private_data == NULL) in scsi_cd_get() 167 cd = scsi_cd(disk); in scsi_cd_get() 369 if (error_sector < get_capacity(cd->disk) && in sr_done() 371 set_capacity(cd->disk, error_sector); in sr_done() 536 static void sr_block_release(struct gendisk *disk, fmode_t mode) in sr_block_release() argument 538 struct scsi_cd *cd = scsi_cd(disk); in sr_block_release() 582 static unsigned int sr_block_check_events(struct gendisk *disk, in sr_block_check_events() argument [all …]
|
D | sd_dif.c | 44 struct gendisk *disk = sdkp->disk; in sd_dif_config_host() local 61 blk_integrity_register(disk, &t10_pi_type3_ip); in sd_dif_config_host() 63 blk_integrity_register(disk, &t10_pi_type1_ip); in sd_dif_config_host() 65 disk->integrity->flags |= BLK_INTEGRITY_IP_CHECKSUM; in sd_dif_config_host() 68 blk_integrity_register(disk, &t10_pi_type3_crc); in sd_dif_config_host() 70 blk_integrity_register(disk, &t10_pi_type1_crc); in sd_dif_config_host() 73 "Enabling DIX %s protection\n", disk->integrity->name); in sd_dif_config_host() 78 disk->integrity->flags |= BLK_INTEGRITY_DEVICE_CAPABLE; in sd_dif_config_host() 84 disk->integrity->tag_size = sizeof(u16) + sizeof(u32); in sd_dif_config_host() 86 disk->integrity->tag_size = sizeof(u16); in sd_dif_config_host() [all …]
|
D | sd.h | 66 struct gendisk *disk; member 99 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk() argument 101 return container_of(disk->private_data, struct scsi_disk, driver); in scsi_disk() 105 (sdsk)->disk ? \ 107 (sdsk)->disk->disk_name, fmt, ##a) : \ 253 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host() argument
|
D | sd.c | 104 static void sd_unlock_native_capacity(struct gendisk *disk); 147 blk_queue_flush(sdkp->disk->queue, flush); in sd_set_flush_flag() 214 revalidate_disk(sdkp->disk); in cache_type_store() 567 static struct scsi_disk *scsi_disk_get(struct gendisk *disk) in scsi_disk_get() argument 573 if (disk->private_data) { in scsi_disk_get() 574 sdkp = scsi_disk(disk); in scsi_disk_get() 634 struct request_queue *q = sdkp->disk->queue; in sd_config_discard() 779 struct request_queue *q = sdkp->disk->queue; in sd_config_write_same() 887 struct gendisk *disk = rq->rq_disk; in sd_setup_read_write_cmnd() local 900 sdkp = scsi_disk(disk); in sd_setup_read_write_cmnd() [all …]
|
D | sg.c | 185 struct gendisk *disk; member 223 (sdp)->disk->disk_name, fmt, ##a) 806 blk_execute_rq_nowait(sdp->device->request_queue, sdp->disk, in sg_common_write() 1084 sdp->disk->disk_name, in sg_ioctl() 1394 sg_alloc(struct gendisk *disk, struct scsi_device *scsidp) in sg_alloc() argument 1430 sprintf(disk->disk_name, "sg%d", k); in sg_alloc() 1431 disk->first_minor = k; in sg_alloc() 1432 sdp->disk = disk; in sg_alloc() 1459 struct gendisk *disk; in sg_add_device() local 1465 disk = alloc_disk(1); in sg_add_device() [all …]
|
D | sr.h | 56 struct gendisk *disk; member
|
D | qlogicfas408.h | 107 int qlogicfas408_biosparam(struct scsi_device * disk,
|
/linux-4.1.27/fs/ |
D | block_dev.c | 812 struct gendisk *disk; in bd_start_claiming() local 822 disk = get_gendisk(bdev->bd_dev, &partno); in bd_start_claiming() 823 if (!disk) in bd_start_claiming() 835 whole = bdget_disk(disk, 0); in bd_start_claiming() 839 module_put(disk->fops->owner); in bd_start_claiming() 840 put_disk(disk); in bd_start_claiming() 862 struct gendisk *disk; member 867 struct gendisk *disk) in bd_find_holder_disk() argument 872 if (holder->disk == disk) in bd_find_holder_disk() 915 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_link_disk_holder() argument [all …]
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-fs-f2fs | 1 What: /sys/fs/f2fs/<disk>/gc_max_sleep_time 8 What: /sys/fs/f2fs/<disk>/gc_min_sleep_time 15 What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time 22 What: /sys/fs/f2fs/<disk>/gc_idle 28 What: /sys/fs/f2fs/<disk>/reclaim_segments 34 What: /sys/fs/f2fs/<disk>/ipu_policy 40 What: /sys/fs/f2fs/<disk>/min_ipu_util 47 What: /sys/fs/f2fs/<disk>/min_fsync_blocks 54 What: /sys/fs/f2fs/<disk>/max_small_discards 60 What: /sys/fs/f2fs/<disk>/max_victim_search [all …]
|
D | sysfs-block | 1 What: /sys/block/<disk>/stat 5 The /sys/block/<disk>/stat files displays the I/O 6 statistics of disk <disk>. They contain 11 fields: 21 What: /sys/block/<disk>/<part>/stat 25 The /sys/block/<disk>/<part>/stat files display the 27 same as the above-written /sys/block/<disk>/stat 31 What: /sys/block/<disk>/integrity/format 39 What: /sys/block/<disk>/integrity/read_verify 48 What: /sys/block/<disk>/integrity/tag_size 56 What: /sys/block/<disk>/integrity/device_is_integrity_capable [all …]
|
D | sysfs-block-bcache | 1 What: /sys/block/<disk>/bcache/unregister 11 What: /sys/block/<disk>/bcache/clear_stats 17 What: /sys/block/<disk>/bcache/cache 24 What: /sys/block/<disk>/bcache/cache_hits 31 What: /sys/block/<disk>/bcache/cache_misses 37 What: /sys/block/<disk>/bcache/cache_hit_ratio 43 What: /sys/block/<disk>/bcache/sequential_cutoff 51 What: /sys/block/<disk>/bcache/bypassed 59 What: /sys/block/<disk>/bcache/writeback 68 What: /sys/block/<disk>/bcache/writeback_running [all …]
|
D | sysfs-fs-ext4 | 1 What: /sys/fs/ext4/<disk>/mb_stats 10 What: /sys/fs/ext4/<disk>/mb_group_prealloc 18 What: /sys/fs/ext4/<disk>/mb_max_to_scan 25 What: /sys/fs/ext4/<disk>/mb_min_to_scan 32 What: /sys/fs/ext4/<disk>/mb_order2_req 40 What: /sys/fs/ext4/<disk>/mb_stream_req 51 What: /sys/fs/ext4/<disk>/inode_readahead_blks 59 What: /sys/fs/ext4/<disk>/delayed_allocation_blocks 67 What: /sys/fs/ext4/<disk>/lifetime_write_kbytes 75 What: /sys/fs/ext4/<disk>/session_write_kbytes [all …]
|
D | sysfs-fs-xfs | 1 What: /sys/fs/xfs/<disk>/log/log_head_lsn 10 What: /sys/fs/xfs/<disk>/log/log_tail_lsn 18 What: /sys/fs/xfs/<disk>/log/reserve_grant_head 29 What: /sys/fs/xfs/<disk>/log/write_grant_head
|
D | sysfs-block-zram | 5 The disksize file is read-write and specifies the disk size 7 that can be stored in this disk. 85 implies that this disk is being used as a swap disk. The latter 94 filled pages written to this disk. No memory is allocated for 102 size of data stored in this disk. This excludes zero-filled 111 size of data stored in this disk. So, compression ratio can be 121 overhead, allocated for this disk. So, allocator space
|
D | sysfs-power | 15 labels, which may be "mem", "standby", "freeze" and "disk" 35 What: /sys/power/disk 39 The /sys/power/disk file controls the operating mode of the 40 suspend-to-disk mechanism. Reading from this file returns 43 'firmware' - means that the memory image will be saved to disk 54 Additionally, /sys/power/disk can be used to turn on one of the 55 two testing modes of the suspend-to-disk mechanism: 'testproc' 56 or 'test'. If the suspend-to-disk mechanism is in the 57 'testproc' mode, writing 'disk' to /sys/power/state will cause 60 the 'test' mode, writing 'disk' to /sys/power/state will cause [all …]
|
/linux-4.1.27/arch/m68k/emu/ |
D | nfblock.c | 59 struct gendisk *disk; member 128 dev->disk = alloc_disk(16); in nfhd_init_one() 129 if (!dev->disk) in nfhd_init_one() 132 dev->disk->major = major_num; in nfhd_init_one() 133 dev->disk->first_minor = dev_id * 16; in nfhd_init_one() 134 dev->disk->fops = &nfhd_ops; in nfhd_init_one() 135 dev->disk->private_data = dev; in nfhd_init_one() 136 sprintf(dev->disk->disk_name, "nfhd%u", dev_id); in nfhd_init_one() 137 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one() 138 dev->disk->queue = dev->queue; in nfhd_init_one() [all …]
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_state.c | 74 if (device->state.disk != D_DISKLESS || in conn_all_vols_unconf() 146 disk_state = max_t(enum drbd_disk_state, disk_state, device->state.disk); in conn_highest_disk() 162 disk_state = min_t(enum drbd_disk_state, disk_state, device->state.disk); in conn_lowest_disk() 244 (os.disk != D_FAILED && ns.disk == D_FAILED))) || in cl_wide_st_chg() 448 drbd_disk_str(ns.disk), in print_st() 488 if (ns.disk != os.disk && flags & CS_DC_DISK) in print_state_change() 490 drbd_disk_str(os.disk), in print_state_change() 491 drbd_disk_str(ns.disk)); in print_state_change() 579 else if (ns.role == R_PRIMARY && ns.conn < C_CONNECTED && ns.disk < D_UP_TO_DATE) in is_valid_state() 586 else if (ns.role == R_PRIMARY && ns.disk <= D_INCONSISTENT && ns.pdsk <= D_INCONSISTENT) in is_valid_state() [all …]
|
D | drbd_nl.c | 495 mask.disk = D_MASK; in conn_try_outdate_peer() 496 val.disk = D_OUTDATED; in conn_try_outdate_peer() 602 (device->state.disk < D_UP_TO_DATE && in drbd_set_role() 603 device->state.disk >= D_INCONSISTENT)) { in drbd_set_role() 604 mask.disk = D_MASK; in drbd_set_role() 605 val.disk = D_UP_TO_DATE; in drbd_set_role() 611 device->state.disk == D_CONSISTENT && mask.pdsk == 0) { in drbd_set_role() 615 val.disk = D_UP_TO_DATE; in drbd_set_role() 616 mask.disk = D_MASK; in drbd_set_role() 1485 if (device->state.disk > D_DISKLESS) { in drbd_adm_attach() [all …]
|
D | drbd_state.h | 85 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */ member 99 unsigned disk:4 ; /* 8/16 from D_DISKLESS to D_UP_TO_DATE */
|
D | drbd_worker.c | 938 ns.disk = D_INCONSISTENT; in drbd_resync_finished() 941 ns.disk = D_UP_TO_DATE; in drbd_resync_finished() 945 ns.disk = D_UP_TO_DATE; in drbd_resync_finished() 1462 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now() 1493 if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) in _drbd_pause_after() 1517 if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) in _drbd_resume_next() 1567 if (!odev || !odev->ldev || odev->state.disk == D_DISKLESS) in drbd_resync_after_valid() 1595 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; in drbd_rs_controller_reset() local 1602 (int)part_stat_read(&disk->part0, sectors[0]) + in drbd_rs_controller_reset() 1603 (int)part_stat_read(&disk->part0, sectors[1]); in drbd_rs_controller_reset() [all …]
|
D | drbd_receiver.c | 2467 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; in drbd_rs_c_min_rate_throttle() local 2480 curr_events = (int)part_stat_read(&disk->part0, sectors[0]) + in drbd_rs_c_min_rate_throttle() 2481 (int)part_stat_read(&disk->part0, sectors[1]) - in drbd_rs_c_min_rate_throttle() 2973 device->state.disk >= D_NEGOTIATING ? drbd_bm_total_weight(device) : 0, 0); in drbd_uuid_compare() 3083 device->state.disk >= D_NEGOTIATING ? drbd_bm_total_weight(device) : 0, 0); in drbd_uuid_compare() 3130 mydisk = device->state.disk; in drbd_sync_handshake() 3132 mydisk = device->new_state_tmp.disk; in drbd_sync_handshake() 3230 device->state.role == R_PRIMARY && device->state.disk >= D_CONSISTENT) { in drbd_sync_handshake() 3767 device->state.disk >= D_OUTDATED && in receive_sizes() 3853 device->state.disk >= D_INCONSISTENT) { in receive_sizes() [all …]
|
/linux-4.1.27/drivers/ide/ |
D | ide-gd.c | 33 static struct ide_disk_obj *ide_disk_get(struct gendisk *disk) in ide_disk_get() argument 38 idkp = ide_drv_g(disk, ide_disk_obj); in ide_disk_get() 69 struct gendisk *g = idkp->disk; in ide_gd_remove() 85 struct gendisk *g = idkp->disk; in ide_disk_release() 185 struct gendisk *disk = bdev->bd_disk; local 190 idkp = ide_disk_get(disk); 204 ret = drive->disk_ops->init_media(drive, disk); 226 drive->disk_ops->set_doorlock(drive, disk, 1); 253 static void ide_gd_release(struct gendisk *disk, fmode_t mode) argument 255 struct ide_disk_obj *idkp = ide_drv_g(disk, ide_disk_obj); [all …]
|
D | ide-floppy_ioctl.c | 53 if (ide_queue_pc_tail(drive, floppy->disk, pc, pc_buf, pc->req_xfer)) { in ide_floppy_get_format_capacities() 129 if (ide_queue_pc_tail(drive, floppy->disk, pc, buf, pc->req_xfer)) in ide_floppy_get_sfrp_bit() 178 if (ide_queue_pc_tail(drive, floppy->disk, pc, buf, pc->req_xfer)) in ide_floppy_format_unit() 207 if (ide_queue_pc_tail(drive, floppy->disk, pc, sense_buf, in ide_floppy_get_format_progress() 239 struct gendisk *disk = floppy->disk; in ide_floppy_lockdoor() local 245 ide_set_media_lock(drive, disk, prevent); in ide_floppy_lockdoor() 248 ide_do_start_stop(drive, disk, 2); in ide_floppy_lockdoor()
|
D | ide-tape.c | 143 struct gendisk *disk; member 231 static struct ide_tape_obj *ide_tape_get(struct gendisk *disk, bool cdev, in ide_tape_get() argument 241 tape = ide_drv_g(disk, ide_tape_obj); in ide_tape_get() 684 struct gendisk *disk = tape->disk; in idetape_wait_ready() local 691 if (ide_do_test_unit_ready(drive, disk) == 0) in idetape_wait_ready() 698 ide_do_start_stop(drive, disk, IDETAPE_LU_LOAD_MASK); in idetape_wait_ready() 716 rc = ide_queue_pc_tail(drive, tape->disk, &pc, NULL, 0); in idetape_flush_tape_buffers() 736 if (ide_queue_pc_tail(drive, tape->disk, &pc, buf, pc.req_xfer)) in ide_tape_read_position() 804 struct gendisk *disk = tape->disk; in idetape_position_tape() local 812 ret = ide_queue_pc_tail(drive, disk, &pc, NULL, 0); in idetape_position_tape() [all …]
|
D | ide-floppy.c | 313 struct gendisk *disk = floppy->disk; in ide_floppy_get_flexible_disk_page() local 321 if (ide_queue_pc_tail(drive, disk, pc, buf, pc->req_xfer)) { in ide_floppy_get_flexible_disk_page() 331 set_disk_ro(disk, !!(drive->dev_flags & IDE_DFLAG_WP)); in ide_floppy_get_flexible_disk_page() 375 struct gendisk *disk = floppy->disk; in ide_floppy_get_capacity() local 390 if (ide_queue_pc_tail(drive, disk, &pc, pc_buf, pc.req_xfer)) { in ide_floppy_get_capacity() 519 static int ide_floppy_init_media(ide_drive_t *drive, struct gendisk *disk) in ide_floppy_init_media() argument 523 if (ide_do_test_unit_ready(drive, disk)) in ide_floppy_init_media() 524 ide_do_start_stop(drive, disk, 1); in ide_floppy_init_media() 528 set_capacity(disk, ide_gd_capacity(drive)); in ide_floppy_init_media()
|
D | ide-cd.c | 58 static struct cdrom_info *ide_cd_get(struct gendisk *disk) in ide_cd_get() argument 63 cd = ide_drv_g(disk, cdrom_info); in ide_cd_get() 201 if (sector < get_capacity(info->disk) && in cdrom_analyze_sense_data() 203 set_capacity(info->disk, sector); in cdrom_analyze_sense_data() 460 error = blk_execute_rq(drive->queue, info->disk, rq, 0); in ide_cd_queue_pc() 715 if (get_disk_ro(cd->disk)) in cdrom_start_rw() 991 set_capacity(info->disk, toc->capacity * sectors_per_frame); in ide_cd_read_toc() 1108 set_capacity(info->disk, toc->capacity * sectors_per_frame); in ide_cd_read_toc() 1201 devinfo->disk = info->disk; in ide_cdrom_register() 1547 del_gendisk(info->disk); in ide_cd_remove() [all …]
|
D | ide-probe.c | 920 void ide_register_region(struct gendisk *disk) in ide_register_region() argument 922 blk_register_region(MKDEV(disk->major, disk->first_minor), in ide_register_region() 923 disk->minors, NULL, exact_match, exact_lock, disk); in ide_register_region() 928 void ide_unregister_region(struct gendisk *disk) in ide_unregister_region() argument 930 blk_unregister_region(MKDEV(disk->major, disk->first_minor), in ide_unregister_region() 931 disk->minors); in ide_unregister_region() 936 void ide_init_disk(struct gendisk *disk, ide_drive_t *drive) in ide_init_disk() argument 941 disk->major = hwif->major; in ide_init_disk() 942 disk->first_minor = unit << PARTN_BITS; in ide_init_disk() 943 sprintf(disk->disk_name, "hd%c", 'a' + hwif->index * MAX_DRIVES + unit); in ide_init_disk() [all …]
|
D | ide-atapi.c | 89 int ide_queue_pc_tail(ide_drive_t *drive, struct gendisk *disk, in ide_queue_pc_tail() argument 109 error = blk_execute_rq(drive->queue, disk, rq, 0); in ide_queue_pc_tail() 116 int ide_do_test_unit_ready(ide_drive_t *drive, struct gendisk *disk) in ide_do_test_unit_ready() argument 123 return ide_queue_pc_tail(drive, disk, &pc, NULL, 0); in ide_do_test_unit_ready() 127 int ide_do_start_stop(ide_drive_t *drive, struct gendisk *disk, int start) in ide_do_start_stop() argument 138 return ide_queue_pc_tail(drive, disk, &pc, NULL, 0); in ide_do_start_stop() 142 int ide_set_media_lock(ide_drive_t *drive, struct gendisk *disk, int on) in ide_set_media_lock() argument 153 return ide_queue_pc_tail(drive, disk, &pc, NULL, 0); in ide_set_media_lock()
|
D | ide-gd.h | 19 struct gendisk *disk; member
|
D | ide-cd.h | 82 struct gendisk *disk; member
|
/linux-4.1.27/drivers/md/ |
D | dm-era-target.c | 194 struct superblock_disk *disk = dm_block_data(b); in sb_prepare_for_write() local 196 disk->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write() 197 disk->csum = cpu_to_le32(dm_bm_checksum(&disk->flags, in sb_prepare_for_write() 202 static int check_metadata_version(struct superblock_disk *disk) in check_metadata_version() argument 204 uint32_t metadata_version = le32_to_cpu(disk->version); in check_metadata_version() 218 struct superblock_disk *disk = dm_block_data(b); in sb_check() local 221 if (dm_block_location(b) != le64_to_cpu(disk->blocknr)) { in sb_check() 223 le64_to_cpu(disk->blocknr), in sb_check() 228 if (le64_to_cpu(disk->magic) != SUPERBLOCK_MAGIC) { in sb_check() 230 le64_to_cpu(disk->magic), in sb_check() [all …]
|
D | raid1.c | 288 static inline void update_head_pos(int disk, struct r1bio *r1_bio) in update_head_pos() argument 292 conf->mirrors[disk].head_position = in update_head_pos() 518 int disk; in read_balance() local 550 for (disk = 0 ; disk < conf->raid_disks * 2 ; disk++) { in read_balance() 557 rdev = rcu_dereference(conf->mirrors[disk].rdev); in read_balance() 558 if (r1_bio->bios[disk] == IO_BLOCKED in read_balance() 578 best_dist_disk = disk; in read_balance() 579 best_pending_disk = disk; in read_balance() 606 best_disk = disk; in read_balance() 618 dist = abs(this_sector - conf->mirrors[disk].head_position); in read_balance() [all …]
|
D | dm-log.c | 280 static void header_to_disk(struct log_header_core *core, struct log_header_disk *disk) in header_to_disk() argument 282 disk->magic = cpu_to_le32(core->magic); in header_to_disk() 283 disk->version = cpu_to_le32(core->version); in header_to_disk() 284 disk->nr_regions = cpu_to_le64(core->nr_regions); in header_to_disk() 287 static void header_from_disk(struct log_header_core *core, struct log_header_disk *disk) in header_from_disk() argument 289 core->magic = le32_to_cpu(disk->magic); in header_from_disk() 290 core->version = le32_to_cpu(disk->version); in header_from_disk() 291 core->nr_regions = le64_to_cpu(disk->nr_regions); in header_from_disk()
|
D | dm.c | 164 struct gendisk *disk; member 466 static void dm_blk_close(struct gendisk *disk, fmode_t mode) in dm_blk_close() argument 472 md = disk->private_data; in dm_blk_close() 536 return get_capacity(md->disk); in dm_get_size() 2303 md->disk = alloc_disk(1); in alloc_dev() 2304 if (!md->disk) in alloc_dev() 2315 md->disk->major = _major; in alloc_dev() 2316 md->disk->first_minor = minor; in alloc_dev() 2317 md->disk->fops = &dm_blk_dops; in alloc_dev() 2318 md->disk->queue = md->queue; in alloc_dev() [all …]
|
D | linear.c | 142 struct dev_info *disk = conf->disks + j; in linear_conf() local 145 if (j < 0 || j >= raid_disks || disk->rdev) { in linear_conf() 151 disk->rdev = rdev; in linear_conf()
|
D | raid10.c | 730 int disk = r10_bio->devs[s].devnum; in raid10_mergeable_bvec() local 732 conf->mirrors[disk].rdev); in raid10_mergeable_bvec() 744 rdev = rcu_dereference(conf->mirrors[disk].replacement); in raid10_mergeable_bvec() 786 int disk, slot; in read_balance() local 821 disk = r10_bio->devs[slot].devnum; in read_balance() 822 rdev = rcu_dereference(conf->mirrors[disk].replacement); in read_balance() 826 rdev = rcu_dereference(conf->mirrors[disk].rdev); in read_balance() 882 conf->mirrors[disk].head_position); in read_balance() 3601 struct raid10_info *disk; in run() local 3644 disk = conf->mirrors + disk_idx; in run() [all …]
|
/linux-4.1.27/Documentation/aoe/ |
D | udev.txt | 19 SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220" 20 SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k", GROUP="disk", MODE="0440" 21 SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220" 22 SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220" 23 SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220" 26 KERNEL=="etherd*", GROUP="disk"
|
/linux-4.1.27/drivers/block/zram/ |
D | zram_drv.c | 713 &zram->disk->part0); in zram_bvec_rw() 723 generic_end_io_acct(rw, &zram->disk->part0, start_time); in zram_bvec_rw() 809 set_capacity(zram->disk, 0); in zram_reset_device() 810 part_stat_set_all(&zram->disk->part0, 0); in zram_reset_device() 832 meta = zram_meta_alloc(zram->disk->first_minor, disksize); in disksize_store() 856 set_capacity(zram->disk, zram->disksize >> SECTOR_SHIFT); in disksize_store() 864 revalidate_disk(zram->disk); in disksize_store() 885 bdev = bdget_disk(zram->disk, 0); in reset_store() 911 revalidate_disk(zram->disk); in reset_store() 1178 zram->disk = alloc_disk(1); in create_device() [all …]
|
D | zram_drv.h | 105 struct gendisk *disk; member
|
/linux-4.1.27/drivers/scsi/osd/ |
D | osd_uld.c | 89 struct gendisk *disk; member 409 oud->disk ? oud->disk->disk_name : NULL); in __remove() 411 if (oud->disk) in __remove() 412 put_disk(oud->disk); in __remove() 421 struct gendisk *disk; in osd_probe() local 453 disk = alloc_disk(1); in osd_probe() 454 if (!disk) { in osd_probe() 458 disk->major = SCSI_OSD_MAJOR; in osd_probe() 459 disk->first_minor = oud->minor; in osd_probe() 460 sprintf(disk->disk_name, "osd%d", oud->minor); in osd_probe() [all …]
|
/linux-4.1.27/drivers/sbus/char/ |
D | jsflash.c | 562 struct gendisk *disk = alloc_disk(1); in jsfd_init() local 563 if (!disk) in jsfd_init() 565 jsfd_disk[i] = disk; in jsfd_init() 581 struct gendisk *disk = jsfd_disk[i]; in jsfd_init() local 586 disk->major = JSFD_MAJOR; in jsfd_init() 587 disk->first_minor = i; in jsfd_init() 588 sprintf(disk->disk_name, "jsfd%d", i); in jsfd_init() 589 disk->fops = &jsfd_fops; in jsfd_init() 590 set_capacity(disk, jdp->dsize >> 9); in jsfd_init() 591 disk->private_data = jdp; in jsfd_init() [all …]
|
/linux-4.1.27/Documentation/power/ |
D | interface.txt | 11 'standby' (Power-On Suspend), 'mem' (Suspend-to-RAM), and 'disk' 20 /sys/power/disk controls the operating mode of the suspend-to-disk 21 mechanism. Suspend-to-disk can be handled in several ways. We have a 26 Additionally, /sys/power/disk can be used to turn on one of the two testing 27 modes of the suspend-to-disk mechanism: 'testproc' or 'test'. If the 28 suspend-to-disk mechanism is in the 'testproc' mode, writing 'disk' to 31 in the 'test' mode, writing 'disk' to /sys/power/state will cause the kernel 51 the suspend-to-disk mechanism. It can be written a string 53 limit of the image size, in bytes. The suspend-to-disk mechanism will
|
D | swsusp.txt | 5 * If you touch anything on disk between suspend and resume... 13 * problems. If your disk driver does not support suspend... (IDE does), 30 echo shutdown > /sys/power/disk; echo disk > /sys/power/state 34 echo platform > /sys/power/disk; echo disk > /sys/power/state 39 echo suspend > /sys/power/disk; echo disk > /sys/power/state 42 support. For suspend and resume to work, make sure your disk drivers 44 suspend/resume with modular disk drivers, see FAQ, but you probably 103 echo 4 > /proc/acpi/sleep # for suspend to disk 107 echo 4b > /proc/acpi/sleep # for suspend to disk via s4bios 116 bringing machine down? Suspend to disk, rearrange power cables, [all …]
|
D | 00-INDEX | 36 - Using swap files with software suspend (to disk) 38 - How to use dm-crypt and software suspend (to disk) together 42 - How to trick software suspend (to disk) into working when it isn't
|
D | states.txt | 11 "disk", where the last one always represents hibernation (Suspend-To-Disk) and 82 State: Suspend-to-disk 84 Label: "disk" 89 of writing memory contents to disk. On resume, this is read and memory 98 For suspend-to-disk, a mechanism called 'swsusp' (Swap Suspend) is used 102 Alternatively, userspace can do most of the actual suspend to disk work, 105 Once memory state is written to disk, the system may either enter a
|
D | swsusp-dmcrypt.txt | 14 Now your system is properly set up, your disk is encrypted except for 22 the key(s) from an external device like a pcmcia flash disk 52 from a pcmcia flash disk card. The card is formatted with an ext2 64 pcmcia flash disk. What follows now is a /linuxrc for your 124 pcmcia flash disk. If this succeeds we need to reset the swap
|
D | basic-pm-debugging.txt | 4 1. Testing hibernation (aka suspend to disk or STD) 8 # echo reboot > /sys/power/disk 9 # echo disk > /sys/power/state 21 # echo platform > /sys/power/disk 22 # echo disk > /sys/power/state 30 # echo shutdown > /sys/power/disk 31 # echo disk > /sys/power/state 75 # echo platform > /sys/power/disk 76 # echo disk > /sys/power/state
|
/linux-4.1.27/drivers/s390/block/ |
D | xpram.c | 366 struct gendisk *disk = xpram_disks[i]; in xpram_setup_blkdev() local 371 disk->major = XPRAM_MAJOR; in xpram_setup_blkdev() 372 disk->first_minor = i; in xpram_setup_blkdev() 373 disk->fops = &xpram_devops; in xpram_setup_blkdev() 374 disk->private_data = &xpram_devices[i]; in xpram_setup_blkdev() 375 disk->queue = xpram_queues[i]; in xpram_setup_blkdev() 376 sprintf(disk->disk_name, "slram%d", i); in xpram_setup_blkdev() 377 set_capacity(disk, xpram_sizes[i] << 1); in xpram_setup_blkdev() 378 add_disk(disk); in xpram_setup_blkdev()
|
D | Kconfig | 6 prompt "XPRAM disk support" 10 or zSeries as a disk. This is useful as a _fast_ swap device if you
|
/linux-4.1.27/Documentation/laptops/ |
D | dslm.c | 135 char *disk = 0; in main() local 140 disk = argv[1]; in main() 143 disk = argv[3]; in main() 147 if (!(fd = open(disk, O_RDONLY|O_NONBLOCK))) { in main() 148 printf("Can't open %s, because: %s\n", disk, strerror(errno)); in main()
|
D | 00-INDEX | 7 disk-shock-protection.txt 8 - information on hard disk shock protection. 12 - (HP/DELL) laptop accelerometer program for disk protection.
|
D | disk-shock-protection.txt | 1 Hard disk shock protection 22 unload disk heads. This feature is being used in modern laptops in 28 implement a generic disk head parking interface in the Linux kernel. 30 system in order to get disk shock protection working (see 45 no further disk head park request has been issued in the meantime, 99 than its libata counterpart (i.e. your disk is called /dev/hda 138 See this page for information about Linux support of the hard disk 145 This implementation of disk head parking has been inspired by a patch
|
D | laptop-mode.txt | 11 Laptop mode is used to minimize the time that the hard disk needs to be spun up, 82 configuration options. When the knob is set, any physical disk I/O (that might 83 have caused the hard disk to spin up) causes Linux to flush all dirty blocks. The 84 result of this is that after a disk has spun down, it will not be spun up 87 knob determines the time between the occurrence of disk I/O and when the flush 94 dirtied are not forced to be written to disk as often. The control script also 98 this results in concentration of disk activity in a small time interval which 99 occurs only once every 10 minutes, or whenever the disk is forced to spin up by 100 a cache miss. The disk can then be spun down in the periods of inactivity. 102 If you want to find out which process caused the disk to spin up, you can [all …]
|
/linux-4.1.27/arch/um/drivers/ |
D | ubd_kern.c | 90 static void ubd_release(struct gendisk *disk, fmode_t mode); 808 struct gendisk *disk; in ubd_disk_register() local 810 disk = alloc_disk(1 << UBD_SHIFT); in ubd_disk_register() 811 if(disk == NULL) in ubd_disk_register() 814 disk->major = major; in ubd_disk_register() 815 disk->first_minor = unit << UBD_SHIFT; in ubd_disk_register() 816 disk->fops = &ubd_blops; in ubd_disk_register() 817 set_capacity(disk, size / 512); in ubd_disk_register() 819 sprintf(disk->disk_name, "ubd%c", 'a' + unit); in ubd_disk_register() 821 sprintf(disk->disk_name, "ubd_fake%d", unit); in ubd_disk_register() [all …]
|
/linux-4.1.27/Documentation/block/ |
D | capability.txt | 3 This file documents the sysfs file block/<disk>/capability 5 capability is a hex word indicating which capabilities a specific disk 12 When this bit is set, the disk supports Asynchronous Notification
|
D | cmdline-partition.txt | 17 block device disk name, embedded device used fixed block device, 18 it's disk name also fixed. such as: mmcblk0, mmcblk1, mmcblk0boot0. 32 eMMC disk name is "mmcblk0" and "mmcblk0boot0"
|
D | ioprio.txt | 22 given first access to the disk every time. Thus it needs to be used with some 25 process needs the disk for on each service. In the future this might change 37 level only get io time when no one else needs the disk. The idle class has no
|
D | data-integrity.txt | 10 The solution is to ensure that the disk is actually storing what the 19 place on disk. 43 in 520 byte sectors on disk. Data + IMD are interleaved when 89 format that can be understood by the disk. 97 protection information to send to a disk. Consequently, the very 100 it is accessing a SCSI or SATA disk. 151 disk, each block device has been extended with a block integrity
|
/linux-4.1.27/drivers/block/aoe/ |
D | aoeblk.c | 37 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_state() local 38 struct aoedev *d = disk->private_data; in aoedisk_show_state() 50 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_mac() local 51 struct aoedev *d = disk->private_data; in aoedisk_show_mac() 61 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_netif() local 62 struct aoedev *d = disk->private_data; in aoedisk_show_netif() 99 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_fwver() local 100 struct aoedev *d = disk->private_data; in aoedisk_show_fwver() 107 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_payload() local 108 struct aoedev *d = disk->private_data; in aoedisk_show_payload() [all …]
|
/linux-4.1.27/drivers/cdrom/ |
D | gdrom.c | 117 struct gendisk *disk; member 506 static void gdrom_bdops_release(struct gendisk *disk, fmode_t mode) in gdrom_bdops_release() argument 513 static unsigned int gdrom_bdops_check_events(struct gendisk *disk, in gdrom_bdops_check_events() argument 749 gd.disk->major = gdrom_major; in probe_gdrom_setupdisk() 750 gd.disk->first_minor = 1; in probe_gdrom_setupdisk() 751 gd.disk->minors = 1; in probe_gdrom_setupdisk() 752 strcpy(gd.disk->disk_name, GDROM_DEV_NAME); in probe_gdrom_setupdisk() 762 gd.disk->queue = gd.gdrom_rq; in probe_gdrom_setupqueue() 794 gd.disk = alloc_disk(1); in probe_gdrom() 795 if (!gd.disk) { in probe_gdrom() [all …]
|
/linux-4.1.27/drivers/mmc/card/ |
D | block.c | 97 struct gendisk *disk; member 155 static struct mmc_blk_data *mmc_blk_get(struct gendisk *disk) in mmc_blk_get() argument 160 md = disk->private_data; in mmc_blk_get() 170 static inline int mmc_get_devidx(struct gendisk *disk) in mmc_get_devidx() argument 172 int devmaj = MAJOR(disk_devt(disk)); in mmc_get_devidx() 173 int devidx = MINOR(disk_devt(disk)) / perdev_minors; in mmc_get_devidx() 176 devidx = disk->first_minor / perdev_minors; in mmc_get_devidx() 185 int devidx = mmc_get_devidx(md->disk); in mmc_blk_put() 190 put_disk(md->disk); in mmc_blk_put() 240 …pr_err("%s: Locking boot partition ro until next power on failed: %d\n", md->disk->disk_name, ret); in power_ro_lock_store() [all …]
|
D | Kconfig | 24 partition on the disk (plus one for the whole disk).
|
/linux-4.1.27/Documentation/device-mapper/ |
D | dm-log.txt | 4 RAID targets to track regions of the disk that are not consistent. 5 A region (or portion of the address space) of the disk may be 21 disk drivers/md/dm-log.c 25 The "disk" log type 27 This log implementation commits the log state to disk. This way, the 51 framework - "clustered-disk" and "clustered-core". These implementations
|
D | verity.txt | 17 This is the type of the on-disk hash format. 92 disk access. If they cannot be verified up to the root node of the 105 of some data block on disk is calculated. If it is an intermediary node, 127 On-disk format 130 The verity kernel code does not read the verity metadata on-disk header. 143 The full specification of kernel parameters and on-disk metadata format
|
D | persistent-data.txt | 32 This provides access to the data on disk in fixed sized-blocks. There 56 dm-space-map-disk.[hc] 58 On-disk data structures that keep track of reference counts of blocks.
|
D | dm-raid.txt | 18 raid4 RAID4 dedicated parity disk 60 [min_recovery_rate <kB/sec/disk>] Throttle RAID initialization 61 [max_recovery_rate <kB/sec/disk>] Throttle RAID initialization 141 # min recovery rate at 20 kiB/sec/disk
|
/linux-4.1.27/drivers/mtd/ |
D | mtd_blkdevs.c | 46 dev->disk->private_data = NULL; in blktrans_dev_release() 48 put_disk(dev->disk); in blktrans_dev_release() 53 static struct mtd_blktrans_dev *blktrans_dev_get(struct gendisk *disk) in blktrans_dev_get() argument 58 dev = disk->private_data; in blktrans_dev_get() 241 static void blktrans_release(struct gendisk *disk, fmode_t mode) in blktrans_release() argument 243 struct mtd_blktrans_dev *dev = blktrans_dev_get(disk); in blktrans_release() 387 new->disk = gd; in add_mtd_blktrans_dev() 454 put_disk(new->disk); in add_mtd_blktrans_dev() 471 sysfs_remove_group(&disk_to_dev(old->disk)->kobj, in del_mtd_blktrans_dev() 475 del_gendisk(old->disk); in del_mtd_blktrans_dev()
|
/linux-4.1.27/drivers/memstick/core/ |
D | mspro_block.c | 142 struct gendisk *disk; member 187 struct gendisk *disk = bdev->bd_disk; in mspro_block_bd_open() local 188 struct mspro_block_data *msb = disk->private_data; in mspro_block_bd_open() 207 static void mspro_block_disk_release(struct gendisk *disk) in mspro_block_disk_release() argument 209 struct mspro_block_data *msb = disk->private_data; in mspro_block_disk_release() 210 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; in mspro_block_disk_release() 220 disk->private_data = NULL; in mspro_block_disk_release() 222 put_disk(disk); in mspro_block_disk_release() 229 static void mspro_block_bd_release(struct gendisk *disk, fmode_t mode) in mspro_block_bd_release() argument 231 mspro_block_disk_release(disk); in mspro_block_bd_release() [all …]
|
D | ms_block.c | 1945 struct gendisk *disk = bdev->bd_disk; in msb_bd_open() local 1946 struct msb_data *msb = disk->private_data; in msb_bd_open() 1968 static int msb_disk_release(struct gendisk *disk) in msb_disk_release() argument 1970 struct msb_data *msb = disk->private_data; in msb_disk_release() 1980 disk->private_data = NULL; in msb_disk_release() 1982 put_disk(disk); in msb_disk_release() 1990 static void msb_bd_release(struct gendisk *disk, fmode_t mode) in msb_bd_release() argument 1992 msb_disk_release(disk); in msb_bd_release() 2123 msb->disk = alloc_disk(0); in msb_init_disk() 2124 if (!msb->disk) { in msb_init_disk() [all …]
|
/linux-4.1.27/fs/minix/ |
D | Kconfig | 6 The minix file system (method to organize files on a hard disk 7 partition or a floppy disk) was the original file system for Linux, 9 You don't want to use the minix file system on your hard disk
|
/linux-4.1.27/arch/x86/boot/ |
D | mtools.conf.in | 9 # 1.44 MB floppy disk image 13 # 2.88 MB floppy disk image (mostly for virtual uses)
|
D | header.S | 208 # on disk 244 # on disk 263 # on disk
|
/linux-4.1.27/init/ |
D | do_mounts_rd.c | 190 int nblocks, i, disk; in rd_load_image() local 262 for (i = 0, disk = 1; i < nblocks; i++) { in rd_load_image() 264 printk("done disk #%d.\n", disk++); in rd_load_image() 270 change_floppy("disk #%d", disk); in rd_load_image() 276 printk("Loading disk #%d... ", disk); in rd_load_image()
|
D | do_mounts.c | 121 struct gendisk *disk; in devt_from_partuuid() local 161 disk = part_to_disk(dev_to_part(dev)); in devt_from_partuuid() 162 part = disk_get_part(disk, dev_to_part(dev)->partno + offset); in devt_from_partuuid()
|
/linux-4.1.27/Documentation/filesystems/ |
D | sysv-fs.txt | 9 * To mount a disk or a partition, use 25 for this FS on hard disk yet. 36 * Size of a block or zone (data allocation unit on disk) 47 * Byte ordering of "short" (16 bit entities) on disk: 54 * Byte ordering of "long" (32 bit entities) on disk: 61 * Inode on disk: "short", 0 means non-existent, the root dir ino is: 175 * Directory entry on disk 197 and not the disk driver's notion of "block".
|
D | udf.txt | 42 They will also accept the string "ignore" and "forget". For files on the disk 45 IDs on the disk, not just -1. The forget option causes all IDs to be written 46 to disk as -1, so when the media is later remounted, they will appear to be 52 on the disk as belonging to him.
|
D | jfs.txt | 33 uid=value Override on-disk uid with specified value 34 gid=value Override on-disk gid with specified value 35 umask=value Override on-disk umask with specified octal value. For
|
D | isofs.txt | 17 block=512 Set the block size for the disk to 512 bytes 18 block=1024 Set the block size for the disk to 1024 bytes 19 block=2048 Set the block size for the disk to 2048 bytes
|
D | xfs.txt | 13 for further details. This implementation is on-disk compatible 41 on-disk. When the new form is used for the first time when 43 attributes) the on-disk superblock feature bit field will be 46 The default behaviour is determined by the on-disk feature 91 clusters and keeps them around on disk. When noikeep is 185 User disk quota accounting enabled, and limits (optionally) 189 Group disk quota accounting enabled and limits (optionally) 193 Project disk quota accounting enabled and limits (optionally) 210 modified, such as adding a new disk to a RAID5 lun and 256 out to disk and runs internal cache cleanup routines.
|
D | affs.txt | 29 speed up almost everything at the expense of wasted disk space. The speed 133 file system (for example, partition, floppy disk, ...). With the Amiga, 172 (where <disk> is the device name). 175 dd if=/dev/<disk> of=rdb.tmp count=1 178 dd if=rdb.fixed of=/dev/<disk> 198 The block allocation is designed for hard disk partitions. If more 210 no way to fix a garbled filesystem without an Amiga (disk validator)
|
D | btrfs.txt | 15 on disk. Btrfs is under heavy development, and is not suitable for 16 any uses other than benchmarking and review. The Btrfs disk format is 63 block write requests to ensure on-disk consistency, at a large 185 Enable the on-disk freespace cache. 189 Force clearing and rebuilding of the disk space cache if something 197 rotational or nonrotational disk is in use. The ssd and nossd options
|
D | squashfs.txt | 157 and doesn't require much extra storage on disk. 169 block index to datablock location on disk. 172 retaining a simple and space-efficient block list on disk. The cache 182 location on disk and compressed size using a fragment lookup table. This 202 an inode number to inode disk location lookup table. This is required to 204 location on disk, which is necessary when the export code reinstantiates 227 To reduce overhead in inodes, rather than storing the on-disk
|
D | bfs.txt | 9 know the partition number and the kernel must support UnixWare disk slices 40 (assuming your root disk is on target=0, lun=0, bus=0, controller=0). Then you
|
D | ext3.txt | 68 Write barriers enforce proper on-disk ordering 69 of journal commits, making volatile disk write caches 145 Ext3 shares all disk implementation with the ext2 filesystem, and adds 175 it's time to write the new metadata out to disk, the associated data blocks 184 needs to be read from and written to disk at the same time where it
|
D | romfs.txt | 16 comparison, an actual rescue disk used up 3202 blocks with ext2, while 31 RAM disk--feature of the kernel. This would not be really news 35 For example, a distribution boot disk can contain only the cd disk 40 would be for a recovery disk, when you are reinstalling a workstation
|
D | ext2.txt | 240 but the on-disk format is 100% compatible with older on-disk formats, so 250 An RO_COMPAT flag indicates that the on-disk format is 100% compatible 251 with older on-disk formats for reading (i.e. the feature does not change 252 the visible on-disk format). However, an old kernel writing to such a 261 An INCOMPAT flag indicates the on-disk format has changed in some 303 There are various limits imposed by the on-disk layout of ext2. Other 311 Most of these limits could be overcome with slight changes in the on-disk 348 to the on-disk ext2 layout. In a nutshell, the journal is a regular
|
D | ext4.txt | 7 (64 bit) in keeping with increasing disk capacities and state-of-the-art 85 * extent format more robust in face of on-disk corruption due to magics, 90 * inode version field on disk (NFSv4, Lustre) 142 journal_async_commit Commit block can be written to disk without waiting 190 Write barriers enforce proper on-disk ordering 191 of journal commits, making volatile disk write caches 286 for the speed of the disk, by measuring the 323 to disk before the rename() operation is 328 blocks are forced to disk. 408 out to disk, the associated data blocks are written first. In general, [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | kirkwood-topkick.dts | 37 pmx_led_disk_yellow: pmx-led-disk-yellow { 129 disk { 130 label = "topkick:yellow:disk"; 132 linux,default-trigger = "ide-disk";
|
D | kirkwood-ns2lite.dts | 29 linux,default-trigger = "ide-disk";
|
/linux-4.1.27/block/partitions/ |
D | Kconfig | 52 `Y' here, Linux will support disk partitions created under ADFS. 74 Say Y here if you would like to be able to read the hard disk 104 bool "IBM disk label and partition support" 107 Say Y here if you would like to be able to read the hard disk 128 FreeBSD uses its own hard disk partition scheme on your PC. It 129 requires only one entry in the primary partition table of your disk 149 Like most systems, Solaris x86 uses its own hard disk partition 189 Manager allows the user to repartition a disk and create spanned, 214 Say Y here if you would like to be able to read the hard disk 221 Say Y here if you would like to be able to read the hard disk [all …]
|
D | ldm.c | 612 if (!memcmp (v->vblk.disk.disk_id, ldb->ph.disk_id, GUID_SIZE)) in ldm_get_disk_objid() 641 struct vblk *disk; in ldm_create_data_partitions() local 647 disk = ldm_get_disk_objid (ldb); in ldm_create_data_partitions() 648 if (!disk) { in ldm_create_data_partitions() 660 if (part->disk_id != disk->obj_id) in ldm_create_data_partitions() 928 struct vblk_disk *disk; in ldm_parse_dsk3() local 944 disk = &vb->vblk.disk; in ldm_parse_dsk3() 945 ldm_get_vstr (buffer + 0x18 + r_diskid, disk->alt_name, in ldm_parse_dsk3() 946 sizeof (disk->alt_name)); in ldm_parse_dsk3() 947 if (!ldm_parse_guid (buffer + 0x19 + r_name, disk->disk_id)) in ldm_parse_dsk3() [all …]
|
/linux-4.1.27/Documentation/ABI/obsolete/ |
D | sysfs-block-zram | 50 implies that this disk is being used as a swap disk. The latter 60 filled pages written to this disk. No memory is allocated for 69 size of data stored in this disk. This excludes zero-filled 79 size of data stored in this disk. So, compression ratio can be 90 overhead, allocated for this disk. So, allocator space
|
/linux-4.1.27/fs/efs/ |
D | Kconfig | 6 disk partitions by SGI's IRIX operating system (IRIX 6.0 and newer 7 uses the XFS file system for hard disk partitions however).
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | lloop.c | 594 static void lo_release(struct gendisk *disk, fmode_t mode) in lo_release() argument 596 struct lloop_device *lo = disk->private_data; in lo_release() 812 struct gendisk *disk = disks[i]; in lloop_init() local 823 disk->major = lloop_major; in lloop_init() 824 disk->first_minor = i; in lloop_init() 825 disk->fops = &lo_fops; in lloop_init() 826 sprintf(disk->disk_name, "lloop%d", i); in lloop_init() 827 disk->private_data = lo; in lloop_init() 828 disk->queue = lo->lo_queue; in lloop_init()
|
/linux-4.1.27/Documentation/cgroups/ |
D | blkio-controller.txt | 12 weight time based division of disk policy. It is implemented in CFQ. Hence 45 - Create two same size files (say 512MB each) on same disk (file1, file2) and 62 much disk time (in milli seconds), each group got and how many secotors each 63 group dispatched to the disk. We provide fairness in terms of disk time, so 185 - disk time allocated to cgroup per device in milliseconds. First 187 third field specifies the disk time allocated to group in 191 - number of sectors transferred to/from disk by the group. First 197 - Number of bytes transferred to/from the disk by the group. These 204 - Number of IOs completed to/from the disk by the group. These 330 - Number of IOs (bio) completed to/from the disk by the group (as [all …]
|
/linux-4.1.27/Documentation/ide/ |
D | ChangeLog.ide-floppy.1996-2002 | 42 * opened without a disk available. This can be used to 43 * open an unformatted disk, or get the device capacity. 49 * no disk on insert and disk change now works
|
/linux-4.1.27/Documentation/devicetree/bindings/regulator/ |
D | regulator.txt | 25 - regulator-state-disk sub-root node for Suspend-to-DISK mode 26 : suspend to disk, this state operates similarly to Suspend-to-RAM, 27 but includes a final step of writing memory contents to disk. 28 - regulator-state-[mem/disk] node has following common properties:
|
/linux-4.1.27/Documentation/filesystems/caching/ |
D | object.txt | 109 what's found and that create on disk any missing metadata. 115 delete objects from disk, that handle disk and system errors and that free 136 synchronous, journalled disk accesses (lookup, mkdir, create, setxattr, 170 disk for the object metadata: 174 Look up the object on disk, using the parent as a starting point. 192 Create an object on disk, using the parent as a starting point. This 194 coherency data indicated what's on disk is out of date. In this state, 233 memory and potentially deletes stuff from disk: 238 error. This would be due to a disk error or system error of some sort.
|
/linux-4.1.27/drivers/block/mtip32xx/ |
D | mtip32xx.c | 2767 dd->dfs_node = debugfs_create_dir(dd->disk->disk_name, dfs_parent); in mtip_hw_debugfs_init() 2771 dd->disk->disk_name); in mtip_hw_debugfs_init() 3662 void mtip_block_release(struct gendisk *disk, fmode_t mode) in mtip_block_release() argument 3845 if (dd->disk) in mtip_block_initialize() 3853 dd->disk = alloc_disk_node(MTIP_MAX_MINORS, dd->numa_node); in mtip_block_initialize() 3854 if (dd->disk == NULL) { in mtip_block_initialize() 3876 dd->disk->disk_name, in mtip_block_initialize() 3881 dd->disk->driverfs_dev = &dd->pdev->dev; in mtip_block_initialize() 3882 dd->disk->major = dd->major; in mtip_block_initialize() 3883 dd->disk->first_minor = dd->instance * MTIP_MAX_MINORS; in mtip_block_initialize() [all …]
|
/linux-4.1.27/fs/btrfs/ |
D | ctree.h | 2764 struct btrfs_disk_key *disk) in btrfs_disk_key_to_cpu() argument 2766 cpu->offset = le64_to_cpu(disk->offset); in btrfs_disk_key_to_cpu() 2767 cpu->type = disk->type; in btrfs_disk_key_to_cpu() 2768 cpu->objectid = le64_to_cpu(disk->objectid); in btrfs_disk_key_to_cpu() 2771 static inline void btrfs_cpu_key_to_disk(struct btrfs_disk_key *disk, in btrfs_cpu_key_to_disk() argument 2774 disk->offset = cpu_to_le64(cpu->offset); in btrfs_cpu_key_to_disk() 2775 disk->type = cpu->type; in btrfs_cpu_key_to_disk() 2776 disk->objectid = cpu_to_le64(cpu->objectid); in btrfs_cpu_key_to_disk() 3014 struct btrfs_disk_balance_args *disk) in btrfs_disk_balance_args_to_cpu() argument 3018 cpu->profiles = le64_to_cpu(disk->profiles); in btrfs_disk_balance_args_to_cpu() [all …]
|
D | sysfs.c | 608 struct hd_struct *disk; in btrfs_kobj_rm_device() local 615 disk = one_device->bdev->bd_part; in btrfs_kobj_rm_device() 616 disk_kobj = &part_to_dev(disk)->kobj; in btrfs_kobj_rm_device() 640 struct hd_struct *disk; in btrfs_kobj_add_device() local 649 disk = dev->bdev->bd_part; in btrfs_kobj_add_device() 650 disk_kobj = &part_to_dev(disk)->kobj; in btrfs_kobj_add_device()
|
D | Kconfig | 18 The filesystem disk format is no longer unstable, and it's not 50 state of the filesystem on disk is always consistent, i.e.,
|
D | Makefile | 5 file-item.o inode-item.o inode-map.o disk-io.o \
|
/linux-4.1.27/fs/xfs/ |
D | Kconfig | 16 for complete details. This implementation is on-disk compatible 29 If you say Y here, you will be able to set limits for disk usage on 32 higher level guarantee of consistency. The on-disk data format for 61 separate area of disk space where only file data is stored. It was
|
/linux-4.1.27/Documentation/scsi/ |
D | osst.txt | 202 chown 0.disk $dir/osst$nr; chmod 660 $dir/osst$nr; 204 chown 0.disk $dir/nosst$nr; chmod 660 $dir/nosst$nr; 206 chown 0.disk $dir/osst${nr}l; chmod 660 $dir/osst${nr}l; 208 chown 0.disk $dir/nosst${nr}l; chmod 660 $dir/nosst${nr}l; 210 chown 0.disk $dir/osst${nr}m; chmod 660 $dir/osst${nr}m; 212 chown 0.disk $dir/nosst${nr}m; chmod 660 $dir/nosst${nr}m; 214 chown 0.disk $dir/osst${nr}a; chmod 660 $dir/osst${nr}a; 216 chown 0.disk $dir/nosst${nr}a; chmod 660 $dir/nosst${nr}a;
|
D | aha152x.txt | 118 do with the real/physical geometry of the disk (which is usually 132 cylinders by dividing the capacity reported by the disk by 64*32 (1 MB). 136 address the first GB of your disk in the partition table. Therefore 139 63 for sectors and then divides the capacity of the disk by 255*63 140 (about 8 MB), as soon it sees a disk greater than 1 GB. That results
|
D | NinjaSCSI.txt | 15 Media Intelligent MMO-640GT (Optical disk drive) 109 your computer, you encount some *BAD* error like disk crash. 114 In 2.4 kernel, you can't use 640MB Optical disk. This error comes from
|
/linux-4.1.27/Documentation/x86/ |
D | zero-page.txt | 18 080/010 ALL hd0_info hd0 disk parameter, OBSOLETE!! 19 090/010 ALL hd1_info hd1 disk parameter, OBSOLETE!!
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptspi.c | 1113 int disk; member 1124 int disk = wqw->disk; in mpt_work_wrapper() local 1144 if(vtarget->id != disk) in mpt_work_wrapper() 1152 "Integrated RAID detects new device %d\n", ioc->name, disk); in mpt_work_wrapper() 1153 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, 1); in mpt_work_wrapper() 1157 static void mpt_dv_raid(struct _MPT_SCSI_HOST *hd, int disk) in mpt_dv_raid() argument 1165 ioc->name, disk); in mpt_dv_raid() 1170 wqw->disk = disk; in mpt_dv_raid() 1189 int disk = (le32_to_cpu(pEvReply->Data[0]) & 0xFF000000) >> 24; in mptspi_event_process() local 1190 mpt_dv_raid(hd, disk); in mptspi_event_process()
|
/linux-4.1.27/Documentation/s390/ |
D | zfcpdump.txt | 13 below 32 MB. zfcpdump is installed on a SCSI disk using zipl (as contained in 15 system can then trigger a SCSI dump by booting the SCSI disk, where zfcpdump 44 reads from /proc/vmcore or zcore/mem and writes the system dump to a SCSI disk.
|
D | 00-INDEX | 14 - information on the DASD disk device driver.
|
/linux-4.1.27/arch/parisc/ |
D | defpalo.conf | 14 --ramdisk=ram-disk-image-file
|
/linux-4.1.27/Documentation/dvb/ |
D | lmedm04.txt | 19 disk DVB-S_EN_3.5A in BDADriver/driver 32 disk DM04+_5.1A[LG] in BDADriver/driver
|
D | opera-firmware.txt | 7 from the windriver disk into this directory.
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-timechart.txt | 20 but it's possible to record IO (disk, network) activity using -I argument. 28 Upper bar shows incoming events (disk reads, ingress network packets). 29 Lower bar shows outgoing events (disk writes, egress network packets).
|
/linux-4.1.27/fs/sysv/ |
D | Kconfig | 7 here would allow you to read from their floppies and hard disk 10 If you have floppies or hard disk partitions like that, it is likely
|
/linux-4.1.27/arch/ia64/hp/sim/ |
D | Kconfig | 18 bool "Simulated SCSI disk"
|
/linux-4.1.27/mm/ |
D | page_io.c | 116 struct gendisk *disk = sis->bdev->bd_disk; in end_swap_bio_read() local 117 if (disk->fops->swap_slot_free_notify) { in end_swap_bio_read() 125 disk->fops->swap_slot_free_notify(sis->bdev, in end_swap_bio_read()
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | Makefile | 7 dm-space-map-disk.o \
|
D | Kconfig | 7 Library providing immutable on-disk data structure support for
|
/linux-4.1.27/drivers/leds/trigger/ |
D | Makefile | 3 obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += ledtrig-ide-disk.o
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o_block.c | 604 static void i2o_block_release(struct gendisk *disk, fmode_t mode) in i2o_block_release() argument 606 struct i2o_block_device *dev = disk->private_data; in i2o_block_release() 655 struct gendisk *disk = bdev->bd_disk; in i2o_block_ioctl() local 656 struct i2o_block_device *dev = disk->private_data; in i2o_block_ioctl() 702 static unsigned int i2o_block_check_events(struct gendisk *disk, in i2o_block_check_events() argument 705 struct i2o_block_device *p = disk->private_data; in i2o_block_check_events()
|
/linux-4.1.27/Documentation/ioctl/ |
D | hdio.txt | 106 EINVAL if the device is not a disk drive or floppy drive, 112 Not particularly useful with modern disk drives, whose geometry 198 EINVAL value out of range supported by disk. 529 Execute an ATA disk command directly by writing the "taskfile" 558 outbuf buffer of data to be transmitted to disk 559 inbuf buffer of data to be received from disk (see [1]) 567 outbuf buffer of data to be transmitted to disk (see [1]) 568 inbuf buffer of data to be received from disk 572 ENOMSG Device is not a disk drive. 615 Command is passed to the disk drive via the ide_task_request_t [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/leds/ |
D | common.txt | 29 "ide-disk" - LED indicates disk activity
|
/linux-4.1.27/fs/befs/ |
D | TODO | 12 * See if we really need separate types for on-disk and in-memory
|
D | ChangeLog | 83 * Added byteswapping to all metadata reads from disk. 99 would result in the filesystem using the on-disk uid and gid. [WD] 140 hanging disk io problem. It turns out you need to have the sync_pages 234 uses befs_get_block() by way of befs_readpage() to find the disk offsets 236 the hard work of finding the disk block number. 339 * Fixed the problem with statfs where it would always claim the disk was 375 very end of befs_read_super(), after we are done with the disk superblock.
|
/linux-4.1.27/drivers/char/ |
D | random.c | 930 void add_disk_randomness(struct gendisk *disk) in add_disk_randomness() argument 932 if (!disk || !disk->random) in add_disk_randomness() 935 add_timer_randomness(disk->random, 0x100 + disk_devt(disk)); in add_disk_randomness() 936 trace_add_disk_randomness(disk_devt(disk), ENTROPY_BITS(&input_pool)); in add_disk_randomness() 1326 void rand_initialize_disk(struct gendisk *disk) in rand_initialize_disk() argument 1337 disk->random = state; in rand_initialize_disk()
|
/linux-4.1.27/fs/quota/ |
D | Kconfig | 10 If you say Y here, you will be able to set per user limits for disk 11 usage (also called disk quotas). Currently, it works for the
|
/linux-4.1.27/kernel/power/ |
D | Kconfig | 25 bool "Hibernation (aka 'suspend to disk')" 32 Enable the suspend to disk (STD) functionality, which is usually 36 You can suspend your machine with 'echo disk > /sys/power/state' 78 to-disk implementation will look for a suspended disk image. 242 This driver does not spin down disk drives (see the hdparm(8)
|
/linux-4.1.27/Documentation/m68k/ |
D | kernel-options.txt | 75 /dev/hda: -> 0x0300 (first IDE disk) 76 /dev/hdb: -> 0x0340 (second IDE disk) 77 /dev/sda: -> 0x0800 (first SCSI disk) 78 /dev/sdb: -> 0x0810 (second SCSI disk) 79 /dev/sdc: -> 0x0820 (third SCSI disk) 80 /dev/sdd: -> 0x0830 (forth SCSI disk) 81 /dev/sde: -> 0x0840 (fifth SCSI disk) 82 /dev/fd : -> 0x0200 (floppy disk) 95 on. Since the number is just added, you can also force the disk format 110 partition on e.g. the sixth SCSI disk as the root filesystem, if you [all …]
|
/linux-4.1.27/fs/omfs/ |
D | Kconfig | 10 and wish to mount its disk.
|
/linux-4.1.27/Documentation/blockdev/drbd/ |
D | README.txt | 15 conn-states-8.dot, disk-states-8.dot, node-states-8.dot
|
/linux-4.1.27/include/linux/mtd/ |
D | blktrans.h | 45 struct gendisk *disk; member
|
/linux-4.1.27/Documentation/ia64/ |
D | xen.txt | 51 Making a disk image for guest OS 86 FYI, virt-manager can also make a disk image for guest OS. 166 disk = [ 'file:/root/rhel5.img,xvda1,w' ]
|
/linux-4.1.27/drivers/firmware/ |
D | Kconfig | 9 tristate "BIOS Enhanced Disk Drive calls determine boot disk" 13 Services real mode BIOS calls to determine which disk 17 obscure configurations. Most disk controller BIOS vendors do
|
/linux-4.1.27/fs/hpfs/ |
D | Kconfig | 6 is the file system used for organizing files on OS/2 hard disk
|
/linux-4.1.27/fs/afs/ |
D | Kconfig | 28 Say Y here if you want AFS data to be cached locally on disk through
|
/linux-4.1.27/Documentation/vm/ |
D | cleancache.txt | 16 in a file on disk, it first checks cleancache to see if it already 18 and a disk access is avoided. 105 and thus disk reads. 115 faster-than-disk transcendent memory, and the cleancache (and frontswap) 146 the page cache, and disk. All hooks compile into nothingness if 202 invoked primarily in place of or in addition to a disk read/write, 226 be unique across the lifetime of the on-disk file OR the
|
/linux-4.1.27/Documentation/cdrom/ |
D | ide-cd | 47 0. The ide-cd relies on the ide disk driver. See 58 Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support 63 Use old disk-only driver on primary interface 251 the standard Linux ATA disk drive probe. If you own one of these drives, 271 operations with other disk activity. 295 brw-rw---- 1 root disk 3, 0 Nov 11 18:48 /dev/hda 296 brw-rw---- 1 root disk 3, 64 Nov 11 18:48 /dev/hdb 297 brw-rw---- 1 root disk 22, 0 Nov 11 18:48 /dev/hdc 298 brw-rw---- 1 root disk 22, 64 Nov 11 18:48 /dev/hdd
|