/linux-4.4.14/drivers/block/paride/ |
D | pd.c | 252 static inline int status_reg(struct pd_unit *disk) in status_reg() argument 254 return pi_read_regr(disk->pi, 1, 6); in status_reg() 257 static inline int read_reg(struct pd_unit *disk, int reg) in read_reg() argument 259 return pi_read_regr(disk->pi, 0, reg); in read_reg() 262 static inline void write_status(struct pd_unit *disk, int val) in write_status() argument 264 pi_write_regr(disk->pi, 1, 6, val); in write_status() 267 static inline void write_reg(struct pd_unit *disk, int reg, int val) in write_reg() argument 269 pi_write_regr(disk->pi, 0, reg, val); in write_reg() 272 static inline u8 DRIVE(struct pd_unit *disk) in DRIVE() argument 274 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, 287 struct gendisk *disk = alloc_disk(1); in pf_init_units() local 288 if (!disk) in pf_init_units() 290 pf->disk = disk; in pf_init_units() 296 disk->major = major; in pf_init_units() 297 disk->first_minor = unit; in pf_init_units() 298 strcpy(disk->disk_name, pf->name); in pf_init_units() 299 disk->fops = &pf_fops; in pf_init_units() [all …]
|
D | pcd.c | 201 struct gendisk *disk; member 240 static void pcd_block_release(struct gendisk *disk, fmode_t mode) in pcd_block_release() argument 242 struct pcd_unit *cd = disk->private_data; in pcd_block_release() 261 static unsigned int pcd_block_check_events(struct gendisk *disk, in pcd_block_check_events() argument 264 struct pcd_unit *cd = disk->private_data; in pcd_block_check_events() 300 struct gendisk *disk = alloc_disk(1); in pcd_init_units() local 301 if (!disk) in pcd_init_units() 303 cd->disk = disk; in pcd_init_units() 319 disk->major = major; in pcd_init_units() 320 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.4.14/block/ |
D | genhd.c | 42 static void disk_alloc_events(struct gendisk *disk); 43 static void disk_add_events(struct gendisk *disk); 44 static void disk_del_events(struct gendisk *disk); 45 static void disk_release_events(struct gendisk *disk); 61 struct hd_struct *disk_get_part(struct gendisk *disk, int partno) in disk_get_part() argument 71 ptbl = rcu_dereference(disk->part_tbl); in disk_get_part() 95 void disk_part_iter_init(struct disk_part_iter *piter, struct gendisk *disk, in disk_part_iter_init() argument 101 ptbl = rcu_dereference(disk->part_tbl); in disk_part_iter_init() 103 piter->disk = disk; in disk_part_iter_init() 139 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 | blk-integrity.c | 248 struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj); in integrity_attr_show() local 249 struct blk_integrity *bi = &disk->queue->integrity; in integrity_attr_show() 260 struct gendisk *disk = container_of(kobj, struct gendisk, integrity_kobj); in integrity_attr_store() local 261 struct blk_integrity *bi = &disk->queue->integrity; in integrity_attr_store() 409 void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) in blk_integrity_register() argument 411 struct blk_integrity *bi = &disk->queue->integrity; in blk_integrity_register() 415 bi->interval_exp = ilog2(queue_logical_block_size(disk->queue)); in blk_integrity_register() 420 blk_integrity_revalidate(disk); in blk_integrity_register() 431 void blk_integrity_unregister(struct gendisk *disk) in blk_integrity_unregister() argument 433 blk_integrity_revalidate(disk); in blk_integrity_unregister() [all …]
|
D | ioctl.c | 16 struct gendisk *disk; in blkpg_ioctl() local 30 disk = bdev->bd_disk; in blkpg_ioctl() 52 disk_part_iter_init(&piter, disk, in blkpg_ioctl() 65 part = add_partition(disk, partno, start, length, in blkpg_ioctl() 70 part = disk_get_part(disk, partno); in blkpg_ioctl() 90 delete_partition(disk, partno); in blkpg_ioctl() 108 part = disk_get_part(disk, partno); in blkpg_ioctl() 126 disk_part_iter_init(&piter, disk, in blkpg_ioctl() 161 struct gendisk *disk = bdev->bd_disk; in __blkdev_reread_part() local 163 if (!disk_part_scan_enabled(disk) || bdev != bdev->bd_contains) in __blkdev_reread_part() [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-cgroup.c | 787 __acquires(rcu) __acquires(disk->queue->queue_lock) in blkg_conf_prep() 789 struct gendisk *disk; in blkg_conf_prep() local 803 disk = get_gendisk(MKDEV(major, minor), &part); in blkg_conf_prep() 804 if (!disk) in blkg_conf_prep() 807 put_disk(disk); in blkg_conf_prep() 812 spin_lock_irq(disk->queue->queue_lock); in blkg_conf_prep() 814 if (blkcg_policy_enabled(disk->queue, pol)) in blkg_conf_prep() 815 blkg = blkg_lookup_create(blkcg, disk->queue); in blkg_conf_prep() 822 spin_unlock_irq(disk->queue->queue_lock); in blkg_conf_prep() 823 put_disk(disk); in blkg_conf_prep() [all …]
|
D | blk-sysfs.c | 621 int blk_register_queue(struct gendisk *disk) in blk_register_queue() argument 624 struct device *dev = disk_to_dev(disk); in blk_register_queue() 625 struct request_queue *q = disk->queue; in blk_register_queue() 658 blk_mq_register_disk(disk); in blk_register_queue() 675 void blk_unregister_queue(struct gendisk *disk) in blk_unregister_queue() argument 677 struct request_queue *q = disk->queue; in blk_unregister_queue() 683 blk_mq_unregister_disk(disk); in blk_unregister_queue() 690 blk_trace_remove_sysfs(disk_to_dev(disk)); in blk_unregister_queue() 691 kobject_put(&disk_to_dev(disk)->kobj); in blk_unregister_queue()
|
D | blk-mq-sysfs.c | 383 void blk_mq_unregister_disk(struct gendisk *disk) in blk_mq_unregister_disk() argument 385 struct request_queue *q = disk->queue; in blk_mq_unregister_disk() 405 kobject_put(&disk_to_dev(disk)->kobj); in blk_mq_unregister_disk() 426 int blk_mq_register_disk(struct gendisk *disk) in blk_mq_register_disk() argument 428 struct device *dev = disk_to_dev(disk); in blk_mq_register_disk() 429 struct request_queue *q = disk->queue; in blk_mq_register_disk() 450 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.4.14/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 76 #define nbd_name(nbd) ((nbd)->disk->disk_name) 98 return disk_to_dev(nbd->disk); in nbd_to_dev() 135 dev_warn(disk_to_dev(nbd->disk), "shutting down socket\n"); in sock_shutdown() 178 dev_err(disk_to_dev(nbd->disk), in sock_xmit() 269 dev_err(disk_to_dev(nbd->disk), in nbd_send_req() 289 dev_err(disk_to_dev(nbd->disk), in nbd_send_req() 342 dev_err(disk_to_dev(nbd->disk), in nbd_read_stat() 348 dev_err(disk_to_dev(nbd->disk), "Wrong magic (0x%lx)\n", in nbd_read_stat() 359 dev_err(disk_to_dev(nbd->disk), "Unexpected reply (%p)\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 | 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 | 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 | null_blk.c | 36 struct gendisk *disk; member 424 del_gendisk(nullb->disk); in null_del_dev() 429 put_disk(nullb->disk); in null_del_dev() 577 static void null_release(struct gendisk *disk, fmode_t mode) in null_release() argument 646 struct gendisk *disk; in null_add_dev() local 730 disk = nullb->disk = alloc_disk_node(1, home_node); in null_add_dev() 731 if (!disk) { in null_add_dev() 736 set_capacity(disk, size >> 9); in null_add_dev() 738 disk->flags |= GENHD_FL_EXT_DEVT | GENHD_FL_SUPPRESS_PARTITION_INFO; in null_add_dev() 739 disk->major = null_major; in null_add_dev() [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 | 480 struct gendisk *disk; in brd_alloc() local 510 disk = brd->brd_disk = alloc_disk(max_part); in brd_alloc() 511 if (!disk) in brd_alloc() 513 disk->major = RAMDISK_MAJOR; in brd_alloc() 514 disk->first_minor = i * max_part; in brd_alloc() 515 disk->fops = &brd_fops; in brd_alloc() 516 disk->private_data = brd; in brd_alloc() 517 disk->queue = brd->brd_queue; in brd_alloc() 518 disk->flags = GENHD_FL_EXT_DEVT; in brd_alloc() 519 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 | 168 static void cciss_release(struct gendisk *disk, fmode_t mode); 173 static int cciss_revalidate(struct gendisk *disk); 1081 static inline ctlr_info_t *get_host(struct gendisk *disk) in get_host() argument 1083 return disk->queue->queuedata; in get_host() 1086 static inline drive_info_struct *get_drv(struct gendisk *disk) in get_drv() argument 1088 return disk->private_data; in get_drv() 1143 static void cciss_release(struct gendisk *disk, fmode_t mode) in cciss_release() argument 1149 h = get_host(disk); in cciss_release() 1150 drv = get_drv(disk); in cciss_release() 1151 dev_dbg(&h->pdev->dev, "cciss_release %s\n", disk->disk_name); in cciss_release() [all …]
|
D | pktcdvd.c | 1279 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() 2510 struct request_queue *q = pd->disk->queue; in pkt_init_queue() 2690 static unsigned int pkt_check_events(struct gendisk *disk, in pkt_check_events() argument 2693 struct pktcdvd_device *pd = disk->private_data; in pkt_check_events() 2727 struct gendisk *disk; in pkt_setup_dev() local 2764 disk = alloc_disk(1); in pkt_setup_dev() 2765 if (!disk) in pkt_setup_dev() [all …]
|
D | umem.c | 762 static int mm_revalidate(struct gendisk *disk) in mm_revalidate() argument 764 struct cardinfo *card = disk->private_data; in mm_revalidate() 765 set_capacity(disk, card->mm_size << 1); in mm_revalidate() 1092 struct gendisk *disk = mm_gendisk[i]; in mm_init() local 1093 sprintf(disk->disk_name, "umem%c", 'a'+i); in mm_init() 1095 disk->major = major_nr; in mm_init() 1096 disk->first_minor = i << MM_SHIFT; in mm_init() 1097 disk->fops = &mm_fops; in mm_init() 1098 disk->private_data = &cards[i]; in mm_init() 1099 disk->queue = cards[i].queue; in mm_init() [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 365 Most normal users won't need the RAM disk functionality, and can [all …]
|
D | rbd.c | 339 struct gendisk *disk; /* blkdev's gendisk and rq */ member 498 else if (rbd_dev->disk) in rbd_warn() 500 RBD_DRV_NAME, rbd_dev->disk->disk_name, &vaf); in rbd_warn() 565 static void rbd_release(struct gendisk *disk, fmode_t mode) in rbd_release() argument 567 struct rbd_device *rbd_dev = disk->private_data; in rbd_release() 610 set_disk_ro(rbd_dev->disk, ro ? 1 : 0); in rbd_ioctl_set_ro() 3485 struct gendisk *disk = rbd_dev->disk; in rbd_free_disk() local 3487 if (!disk) in rbd_free_disk() 3490 rbd_dev->disk = NULL; in rbd_free_disk() 3491 if (disk->flags & GENHD_FL_UP) { in rbd_free_disk() [all …]
|
D | loop.c | 720 struct gendisk *disk = dev_to_disk(dev); in loop_attr_show() local 721 struct loop_device *lo = disk->private_data; in loop_attr_show() 1564 static void lo_release(struct gendisk *disk, fmode_t mode) in lo_release() argument 1566 struct loop_device *lo = disk->private_data; in lo_release() 1720 struct gendisk *disk; in loop_add() local 1768 disk = lo->lo_disk = alloc_disk(1 << part_shift); in loop_add() 1769 if (!disk) in loop_add() 1791 disk->flags |= GENHD_FL_NO_PART_SCAN; in loop_add() 1792 disk->flags |= GENHD_FL_EXT_DEVT; in loop_add() 1797 disk->major = LOOP_MAJOR; in loop_add() [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 | xen-blkfront.c | 2129 struct gendisk *disk; in blkfront_remove() local 2137 disk = info->gd; in blkfront_remove() 2138 if (disk) in blkfront_remove() 2139 bdev = bdget_disk(disk, 0); in blkfront_remove() 2156 info = disk->private_data; in blkfront_remove() 2158 dev_warn(disk_to_dev(disk), in blkfront_remove() 2164 disk->private_data = NULL; in blkfront_remove() 2183 struct gendisk *disk = bdev->bd_disk; in blkif_open() local 2189 info = disk->private_data; in blkif_open() 2209 static void blkif_release(struct gendisk *disk, fmode_t mode) in blkif_release() argument [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.4.14/include/linux/ |
D | genhd.h | 22 #define disk_to_dev(disk) (&(disk)->part0.__dev) argument 253 static inline int disk_max_parts(struct gendisk *disk) in disk_max_parts() argument 255 if (disk->flags & GENHD_FL_EXT_DEVT) in disk_max_parts() 257 return disk->minors; in disk_max_parts() 260 static inline bool disk_part_scan_enabled(struct gendisk *disk) in disk_part_scan_enabled() argument 262 return disk_max_parts(disk) > 1 && in disk_part_scan_enabled() 263 !(disk->flags & GENHD_FL_NO_PART_SCAN); in disk_part_scan_enabled() 266 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() argument 268 return disk_to_dev(disk)->devt; in disk_devt() 276 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 | 764 extern int blk_register_queue(struct gendisk *disk); 765 extern void blk_unregister_queue(struct gendisk *disk); 986 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, 1503 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity() argument 1505 struct blk_integrity *bi = &disk->queue->integrity; in blk_get_integrity() 1582 static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk) in blk_get_integrity() argument 1639 unsigned int (*check_events) (struct gendisk *disk,
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | axonram.c | 63 struct gendisk *disk; member 216 bank->disk = alloc_disk(AXON_RAM_MINORS_PER_DISK); in axon_ram_probe() 217 if (bank->disk == NULL) { in axon_ram_probe() 223 bank->disk->major = azfs_major; in axon_ram_probe() 224 bank->disk->first_minor = azfs_minor; in axon_ram_probe() 225 bank->disk->fops = &axon_ram_devops; in axon_ram_probe() 226 bank->disk->private_data = bank; in axon_ram_probe() 227 bank->disk->driverfs_dev = &device->dev; in axon_ram_probe() 229 sprintf(bank->disk->disk_name, "%s%d", in axon_ram_probe() 232 bank->disk->queue = blk_alloc_queue(GFP_KERNEL); in axon_ram_probe() [all …]
|
/linux-4.4.14/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 | 669 bd_unlink_disk_holder(ca->bdev, d->disk); in bcache_device_unlink() 680 bd_link_disk_holder(ca->bdev, d->disk); in bcache_device_link() 726 pr_info("%s stopped", d->disk->disk_name); in bcache_device_free() 730 if (d->disk && d->disk->flags & GENHD_FL_UP) in bcache_device_free() 731 del_gendisk(d->disk); in bcache_device_free() 732 if (d->disk && d->disk->queue) in bcache_device_free() 733 blk_cleanup_queue(d->disk->queue); in bcache_device_free() 734 if (d->disk) { in bcache_device_free() 735 ida_simple_remove(&bcache_minor, d->disk->first_minor); in bcache_device_free() 736 put_disk(d->disk); in bcache_device_free() [all …]
|
D | request.c | 373 struct cache_set *c = dc->disk.c; in check_should_bypass() 379 if (test_bit(BCACHE_DEV_DETACHING, &dc->disk.flags) || in check_should_bypass() 613 &s->d->disk->part0, s->start_time); in bio_complete() 682 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_bio_complete() 731 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done() 771 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done_bh() 790 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss() 824 dc->disk.bio_split); in cached_dev_cache_miss() 870 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_write_complete() 880 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.4.14/drivers/nvdimm/ |
D | blk.c | 26 struct gendisk *disk; member 167 struct gendisk *disk = bdev->bd_disk; in nd_blk_make_request() local 188 blk_dev = disk->private_data; in nd_blk_make_request() 244 struct gendisk *disk; in nd_blk_attach_disk() local 260 disk = blk_dev->disk = alloc_disk(0); in nd_blk_attach_disk() 261 if (!disk) { in nd_blk_attach_disk() 266 disk->driverfs_dev = &ndns->dev; in nd_blk_attach_disk() 267 disk->major = nd_blk_major; in nd_blk_attach_disk() 268 disk->first_minor = 0; in nd_blk_attach_disk() 269 disk->fops = &nd_blk_fops; in nd_blk_attach_disk() [all …]
|
D | pmem.c | 170 struct gendisk *disk; in pmem_attach_disk() local 182 disk = alloc_disk_node(0, nid); in pmem_attach_disk() 183 if (!disk) { in pmem_attach_disk() 188 disk->major = pmem_major; in pmem_attach_disk() 189 disk->first_minor = 0; in pmem_attach_disk() 190 disk->fops = &pmem_fops; in pmem_attach_disk() 191 disk->private_data = pmem; in pmem_attach_disk() 192 disk->queue = pmem->pmem_queue; in pmem_attach_disk() 193 disk->flags = GENHD_FL_EXT_DEVT; in pmem_attach_disk() 194 nvdimm_namespace_disk_name(ndns, disk->disk_name); in pmem_attach_disk() [all …]
|
D | core.c | 219 struct gendisk *disk = bio->bi_bdev->bd_disk; in __nd_iostat_start() local 224 part_round_stats(cpu, &disk->part0); in __nd_iostat_start() 225 part_stat_inc(cpu, &disk->part0, ios[rw]); in __nd_iostat_start() 226 part_stat_add(cpu, &disk->part0, sectors[rw], bio_sectors(bio)); in __nd_iostat_start() 227 part_inc_in_flight(&disk->part0, rw); in __nd_iostat_start() 234 struct gendisk *disk = bio->bi_bdev->bd_disk; in nd_iostat_end() local 239 part_stat_add(cpu, &disk->part0, ticks[rw], duration); in nd_iostat_end() 240 part_round_stats(cpu, &disk->part0); in nd_iostat_end() 241 part_dec_in_flight(&disk->part0, rw); in nd_iostat_end() 395 int nd_integrity_init(struct gendisk *disk, unsigned long meta_size) in nd_integrity_init() argument [all …]
|
D | nd.h | 167 int nd_integrity_init(struct gendisk *disk, unsigned long meta_size); 251 int nvdimm_revalidate_disk(struct gendisk *disk); 269 struct gendisk *disk = bio->bi_bdev->bd_disk; in nd_iostat_start() local 271 if (!blk_queue_io_stat(disk->queue)) in nd_iostat_start()
|
D | bus.c | 236 int nvdimm_revalidate_disk(struct gendisk *disk) in nvdimm_revalidate_disk() argument 238 struct device *dev = disk->driverfs_dev; in nvdimm_revalidate_disk() 242 if (nd_region->ro == get_disk_ro(disk)) in nvdimm_revalidate_disk() 246 dev_name(&nd_region->dev), pol, disk->disk_name, pol); in nvdimm_revalidate_disk() 247 set_disk_ro(disk, nd_region->ro); in nvdimm_revalidate_disk()
|
/linux-4.4.14/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.4.14/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 | 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.
|
D | zram.txt | 98 Set disk size by writing the value to sysfs node 'disksize'. 112 size of the disk when not in use so a huge zram is wasteful. 162 disksize RW show and set the device's disk size 174 zero_pages RO the number of zero filled pages written to this disk 175 orig_data_size RO uncompressed size of data stored in this disk 176 compr_data_size RO compressed size of data stored in this disk 177 mem_used_total RO the amount of memory allocated for this disk
|
/linux-4.4.14/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.h | 66 struct gendisk *disk; member 100 static inline struct scsi_disk *scsi_disk(struct gendisk *disk) in scsi_disk() argument 102 return container_of(disk->private_data, struct scsi_disk, driver); in scsi_disk() 106 (sdsk)->disk ? \ 108 (sdsk)->disk->disk_name, fmt, ##a) : \ 254 static inline void sd_dif_config_host(struct scsi_disk *disk) in sd_dif_config_host() argument
|
D | sd.c | 105 static void sd_unlock_native_capacity(struct gendisk *disk); 148 blk_queue_flush(sdkp->disk->queue, flush); in sd_set_flush_flag() 216 revalidate_disk(sdkp->disk); in cache_type_store() 569 static struct scsi_disk *scsi_disk_get(struct gendisk *disk) in scsi_disk_get() argument 575 if (disk->private_data) { in scsi_disk_get() 576 sdkp = scsi_disk(disk); in scsi_disk_get() 636 struct request_queue *q = sdkp->disk->queue; in sd_config_discard() 794 struct request_queue *q = sdkp->disk->queue; in sd_config_write_same() 902 struct gendisk *disk = rq->rq_disk; in sd_setup_read_write_cmnd() local 915 sdkp = scsi_disk(disk); in sd_setup_read_write_cmnd() [all …]
|
D | sd_dif.c | 44 struct gendisk *disk = sdkp->disk; in sd_dif_config_host() local 95 blk_integrity_register(disk, &bi); in sd_dif_config_host()
|
D | sg.c | 185 struct gendisk *disk; member 223 (sdp)->disk->disk_name, fmt, ##a) 812 blk_execute_rq_nowait(sdp->device->request_queue, sdp->disk, in sg_common_write() 1090 sdp->disk->disk_name, in sg_ioctl() 1400 sg_alloc(struct gendisk *disk, struct scsi_device *scsidp) in sg_alloc() argument 1436 sprintf(disk->disk_name, "sg%d", k); in sg_alloc() 1437 disk->first_minor = k; in sg_alloc() 1438 sdp->disk = disk; in sg_alloc() 1465 struct gendisk *disk; in sg_add_device() local 1471 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.4.14/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.4.14/fs/ |
D | block_dev.c | 842 struct gendisk *disk; in bd_start_claiming() local 852 disk = get_gendisk(bdev->bd_dev, &partno); in bd_start_claiming() 853 if (!disk) in bd_start_claiming() 865 whole = bdget_disk(disk, 0); in bd_start_claiming() 869 module_put(disk->fops->owner); in bd_start_claiming() 870 put_disk(disk); in bd_start_claiming() 892 struct gendisk *disk; member 897 struct gendisk *disk) in bd_find_holder_disk() argument 902 if (holder->disk == disk) in bd_find_holder_disk() 945 int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) in bd_link_disk_holder() argument [all …]
|
/linux-4.4.14/arch/m68k/emu/ |
D | nfblock.c | 59 struct gendisk *disk; member 129 dev->disk = alloc_disk(16); in nfhd_init_one() 130 if (!dev->disk) in nfhd_init_one() 133 dev->disk->major = major_num; in nfhd_init_one() 134 dev->disk->first_minor = dev_id * 16; in nfhd_init_one() 135 dev->disk->fops = &nfhd_ops; in nfhd_init_one() 136 dev->disk->private_data = dev; in nfhd_init_one() 137 sprintf(dev->disk->disk_name, "nfhd%u", dev_id); in nfhd_init_one() 138 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one() 139 dev->disk->queue = dev->queue; in nfhd_init_one() [all …]
|
/linux-4.4.14/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 | 916 ns.disk = D_INCONSISTENT; in drbd_resync_finished() 919 ns.disk = D_UP_TO_DATE; in drbd_resync_finished() 923 ns.disk = D_UP_TO_DATE; in drbd_resync_finished() 1440 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now() 1471 if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) in _drbd_pause_after() 1495 if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) in _drbd_resume_next() 1545 if (!odev || !odev->ldev || odev->state.disk == D_DISKLESS) in drbd_resync_after_valid() 1573 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; in drbd_rs_controller_reset() local 1580 (int)part_stat_read(&disk->part0, sectors[0]) + in drbd_rs_controller_reset() 1581 (int)part_stat_read(&disk->part0, sectors[1]); in drbd_rs_controller_reset() [all …]
|
D | drbd_receiver.c | 2468 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; in drbd_rs_c_min_rate_throttle() local 2481 curr_events = (int)part_stat_read(&disk->part0, sectors[0]) + in drbd_rs_c_min_rate_throttle() 2482 (int)part_stat_read(&disk->part0, sectors[1]) - in drbd_rs_c_min_rate_throttle() 2974 device->state.disk >= D_NEGOTIATING ? drbd_bm_total_weight(device) : 0, 0); in drbd_uuid_compare() 3084 device->state.disk >= D_NEGOTIATING ? drbd_bm_total_weight(device) : 0, 0); in drbd_uuid_compare() 3131 mydisk = device->state.disk; in drbd_sync_handshake() 3133 mydisk = device->new_state_tmp.disk; in drbd_sync_handshake() 3231 device->state.role == R_PRIMARY && device->state.disk >= D_CONSISTENT) { in drbd_sync_handshake() 3768 device->state.disk >= D_OUTDATED && in receive_sizes() 3854 device->state.disk >= D_INCONSISTENT) { in receive_sizes() [all …]
|
/linux-4.4.14/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.4.14/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 | 291 static inline void update_head_pos(int disk, struct r1bio *r1_bio) in update_head_pos() argument 295 conf->mirrors[disk].head_position = in update_head_pos() 520 int disk; in read_balance() local 552 for (disk = 0 ; disk < conf->raid_disks * 2 ; disk++) { in read_balance() 559 rdev = rcu_dereference(conf->mirrors[disk].rdev); in read_balance() 560 if (r1_bio->bios[disk] == IO_BLOCKED in read_balance() 579 best_dist_disk = disk; in read_balance() 580 best_pending_disk = disk; in read_balance() 607 best_disk = disk; in read_balance() 619 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 | 167 struct gendisk *disk; member 469 static void dm_blk_close(struct gendisk *disk, fmode_t mode) in dm_blk_close() argument 475 md = disk->private_data; in dm_blk_close() 539 return get_capacity(md->disk); in dm_get_size() 2265 if (md->disk) { in cleanup_mapped_device() 2267 md->disk->private_data = NULL; in cleanup_mapped_device() 2269 del_gendisk(md->disk); in cleanup_mapped_device() 2270 put_disk(md->disk); in cleanup_mapped_device() 2331 md->disk = alloc_disk(1); in alloc_dev() 2332 if (!md->disk) in alloc_dev() [all …]
|
D | linear.c | 100 struct dev_info *disk = conf->disks + j; in linear_conf() local 103 if (j < 0 || j >= raid_disks || disk->rdev) { in linear_conf() 109 disk->rdev = rdev; in linear_conf()
|
D | raid10.c | 699 int disk, slot; in read_balance() local 734 disk = r10_bio->devs[slot].devnum; in read_balance() 735 rdev = rcu_dereference(conf->mirrors[disk].replacement); in read_balance() 738 rdev = rcu_dereference(conf->mirrors[disk].rdev); in read_balance() 793 conf->mirrors[disk].head_position); in read_balance() 3533 struct raid10_info *disk; in run() local 3576 disk = conf->mirrors + disk_idx; in run() 3579 if (disk->replacement) in run() 3581 disk->replacement = rdev; in run() 3583 if (disk->rdev) in run() [all …]
|
/linux-4.4.14/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.4.14/drivers/block/zram/ |
D | zram_drv.c | 819 &zram->disk->part0); in zram_bvec_rw() 829 generic_end_io_acct(rw, &zram->disk->part0, start_time); in zram_bvec_rw() 1014 set_capacity(zram->disk, 0); in zram_reset_device() 1015 part_stat_set_all(&zram->disk->part0, 0); in zram_reset_device() 1037 meta = zram_meta_alloc(zram->disk->disk_name, disksize); in disksize_store() 1061 set_capacity(zram->disk, zram->disksize >> SECTOR_SHIFT); in disksize_store() 1069 revalidate_disk(zram->disk); in disksize_store() 1097 bdev = bdget_disk(zram->disk, 0); in reset_store() 1116 revalidate_disk(zram->disk); in reset_store() 1219 zram->disk = alloc_disk(1); in zram_add() [all …]
|
D | zram_drv.h | 98 struct gendisk *disk; member
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/s390/block/ |
D | xpram.c | 368 struct gendisk *disk = xpram_disks[i]; in xpram_setup_blkdev() local 373 disk->major = XPRAM_MAJOR; in xpram_setup_blkdev() 374 disk->first_minor = i; in xpram_setup_blkdev() 375 disk->fops = &xpram_devops; in xpram_setup_blkdev() 376 disk->private_data = &xpram_devices[i]; in xpram_setup_blkdev() 377 disk->queue = xpram_queues[i]; in xpram_setup_blkdev() 378 sprintf(disk->disk_name, "slram%d", i); in xpram_setup_blkdev() 379 set_capacity(disk, xpram_sizes[i] << 1); in xpram_setup_blkdev() 380 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.4.14/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.
|
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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.
|
/linux-4.4.14/drivers/mmc/card/ |
D | block.c | 99 struct gendisk *disk; member 157 static struct mmc_blk_data *mmc_blk_get(struct gendisk *disk) in mmc_blk_get() argument 162 md = disk->private_data; in mmc_blk_get() 172 static inline int mmc_get_devidx(struct gendisk *disk) in mmc_get_devidx() argument 174 int devmaj = MAJOR(disk_devt(disk)); in mmc_get_devidx() 175 int devidx = MINOR(disk_devt(disk)) / perdev_minors; in mmc_get_devidx() 178 devidx = disk->first_minor / perdev_minors; in mmc_get_devidx() 187 int devidx = mmc_get_devidx(md->disk); in mmc_blk_put() 192 put_disk(md->disk); in mmc_blk_put() 242 …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.4.14/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() 237 static void blktrans_release(struct gendisk *disk, fmode_t mode) in blktrans_release() argument 239 struct mtd_blktrans_dev *dev = blktrans_dev_get(disk); in blktrans_release() 383 new->disk = gd; in add_mtd_blktrans_dev() 450 put_disk(new->disk); in add_mtd_blktrans_dev() 467 sysfs_remove_group(&disk_to_dev(old->disk)->kobj, in del_mtd_blktrans_dev() 471 del_gendisk(old->disk); in del_mtd_blktrans_dev()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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 | 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 | 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 | 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 non-rotational 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 | 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
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/llite/ |
D | lloop.c | 599 static void lo_release(struct gendisk *disk, fmode_t mode) in lo_release() argument 601 struct lloop_device *lo = disk->private_data; in lo_release() 817 struct gendisk *disk = disks[i]; in lloop_init() local 828 disk->major = lloop_major; in lloop_init() 829 disk->first_minor = i; in lloop_init() 830 disk->fops = &lo_fops; in lloop_init() 831 sprintf(disk->disk_name, "lloop%d", i); in lloop_init() 832 disk->private_data = lo; in lloop_init() 833 disk->queue = lo->lo_queue; in lloop_init()
|
/linux-4.4.14/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.4.14/drivers/nvme/host/ |
D | pci.c | 543 ts = ns->disk->queue->integrity.tuple_size; in nvme_dif_remap() 570 blk_integrity_register(ns->disk, &integrity); in nvme_init_integrity() 1975 nvme_nvm_unregister(ns->queue, ns->disk->disk_name); in nvme_free_ns() 1978 ns->disk->private_data = NULL; in nvme_free_ns() 1982 put_disk(ns->disk); in nvme_free_ns() 2002 static void nvme_release(struct gendisk *disk, fmode_t mode) in nvme_release() argument 2004 struct nvme_ns *ns = disk->private_data; in nvme_release() 2027 static int nvme_revalidate_disk(struct gendisk *disk) in nvme_revalidate_disk() argument 2029 struct nvme_ns *ns = disk->private_data; in nvme_revalidate_disk() 2047 if (nvme_nvm_register(ns->queue, disk->disk_name)) { in nvme_revalidate_disk() [all …]
|
/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/regulator/ |
D | regulator.txt | 28 - regulator-state-disk sub-root node for Suspend-to-DISK mode 29 : suspend to disk, this state operates similarly to Suspend-to-RAM, 30 but includes a final step of writing memory contents to disk. 31 - regulator-state-[mem/disk] node has following common properties:
|
/linux-4.4.14/fs/btrfs/ |
D | sysfs.c | 643 struct hd_struct *disk; in btrfs_sysfs_rm_device_link() local 650 disk = one_device->bdev->bd_part; in btrfs_sysfs_rm_device_link() 651 disk_kobj = &part_to_dev(disk)->kobj; in btrfs_sysfs_rm_device_link() 664 disk = one_device->bdev->bd_part; in btrfs_sysfs_rm_device_link() 665 disk_kobj = &part_to_dev(disk)->kobj; in btrfs_sysfs_rm_device_link() 693 struct hd_struct *disk; in btrfs_sysfs_add_device_link() local 702 disk = dev->bdev->bd_part; in btrfs_sysfs_add_device_link() 703 disk_kobj = &part_to_dev(disk)->kobj; in btrfs_sysfs_add_device_link()
|
D | ctree.h | 2808 struct btrfs_disk_key *disk) in btrfs_disk_key_to_cpu() argument 2810 cpu->offset = le64_to_cpu(disk->offset); in btrfs_disk_key_to_cpu() 2811 cpu->type = disk->type; in btrfs_disk_key_to_cpu() 2812 cpu->objectid = le64_to_cpu(disk->objectid); in btrfs_disk_key_to_cpu() 2815 static inline void btrfs_cpu_key_to_disk(struct btrfs_disk_key *disk, in btrfs_cpu_key_to_disk() argument 2818 disk->offset = cpu_to_le64(cpu->offset); in btrfs_cpu_key_to_disk() 2819 disk->type = cpu->type; in btrfs_cpu_key_to_disk() 2820 disk->objectid = cpu_to_le64(cpu->objectid); in btrfs_cpu_key_to_disk() 3058 struct btrfs_disk_balance_args *disk) in btrfs_disk_balance_args_to_cpu() argument 3062 cpu->profiles = le64_to_cpu(disk->profiles); in btrfs_disk_balance_args_to_cpu() [all …]
|
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.,
|
/linux-4.4.14/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 milliseconds), each group got and how many sectors 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 (bio) issued to the disk by the group. These 330 - Number of IOs (bio) issued to the disk by the group. These [all …]
|
/linux-4.4.14/drivers/block/mtip32xx/ |
D | mtip32xx.c | 2758 dd->dfs_node = debugfs_create_dir(dd->disk->disk_name, dfs_parent); in mtip_hw_debugfs_init() 2762 dd->disk->disk_name); in mtip_hw_debugfs_init() 3696 void mtip_block_release(struct gendisk *disk, fmode_t mode) in mtip_block_release() argument 3931 if (dd->disk) in mtip_block_initialize() 3939 dd->disk = alloc_disk_node(MTIP_MAX_MINORS, dd->numa_node); in mtip_block_initialize() 3940 if (dd->disk == NULL) { in mtip_block_initialize() 3962 dd->disk->disk_name, in mtip_block_initialize() 3967 dd->disk->driverfs_dev = &dd->pdev->dev; in mtip_block_initialize() 3968 dd->disk->major = dd->major; in mtip_block_initialize() 3969 dd->disk->first_minor = index * MTIP_MAX_MINORS; in mtip_block_initialize() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/Documentation/DocBook/ |
D | kernel-api.xml.db | 673 API-disk-stack-limits 712 API-disk-replace-part-tbl 713 API-disk-expand-part-tbl 714 API-disk-block-events 715 API-disk-unblock-events 716 API-disk-flush-events 717 API-disk-clear-events 718 API-disk-get-part 719 API-disk-part-iter-init 720 API-disk-part-iter-next [all …]
|
D | filesystems.xml.db | 173 API-bd-link-disk-holder 174 API-bd-unlink-disk-holder 175 API-check-disk-size-change 176 API-revalidate-disk
|
/linux-4.4.14/arch/parisc/ |
D | defpalo.conf | 14 --ramdisk=ram-disk-image-file
|
/linux-4.4.14/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.4.14/mm/ |
D | page_io.c | 112 struct gendisk *disk = sis->bdev->bd_disk; in end_swap_bio_read() local 113 if (disk->fops->swap_slot_free_notify) { in end_swap_bio_read() 121 disk->fops->swap_slot_free_notify(sis->bdev, in end_swap_bio_read()
|
/linux-4.4.14/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.4.14/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.4.14/arch/ia64/hp/sim/ |
D | Kconfig | 18 bool "Simulated SCSI disk"
|
/linux-4.4.14/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.4.14/drivers/leds/trigger/ |
D | Makefile | 3 obj-$(CONFIG_LEDS_TRIGGER_IDE_DISK) += ledtrig-ide-disk.o
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/char/ |
D | random.c | 950 void add_disk_randomness(struct gendisk *disk) in add_disk_randomness() argument 952 if (!disk || !disk->random) in add_disk_randomness() 955 add_timer_randomness(disk->random, 0x100 + disk_devt(disk)); in add_disk_randomness() 956 trace_add_disk_randomness(disk_devt(disk), ENTROPY_BITS(&input_pool)); in add_disk_randomness() 1404 void rand_initialize_disk(struct gendisk *disk) in rand_initialize_disk() argument 1415 disk->random = state; in rand_initialize_disk()
|
/linux-4.4.14/drivers/staging/unisys/Documentation/ |
D | overview.txt | 14 * visorhba - scsi disk adapter 29 as the "service partition", "IO partition" (for virtual network and scsi disk 172 s-Par IO partition (controls network and disk). 242 handle virtual scsi disk devices, specified using the 248 disk devices, by proxying SCSI commands between the guest and the service 253 disk is shared as a whole to a guest. Sharing the bus adapter in this way 344 is required if your guest boot disk is a virtual device provided by the s-Par 347 SAN disk for example, visorhba is not technically required.
|
/linux-4.4.14/fs/omfs/ |
D | Kconfig | 10 and wish to mount its disk.
|
/linux-4.4.14/Documentation/devicetree/bindings/leds/ |
D | common.txt | 29 "ide-disk" - LED indicates disk activity
|
/linux-4.4.14/kernel/power/ |
D | Kconfig | 35 bool "Hibernation (aka 'suspend to disk')" 42 Enable the suspend to disk (STD) functionality, which is usually 46 You can suspend your machine with 'echo disk > /sys/power/state' 88 to-disk implementation will look for a suspended disk image. 252 This driver does not spin down disk drives (see the hdparm(8)
|
/linux-4.4.14/Documentation/blockdev/drbd/ |
D | README.txt | 15 conn-states-8.dot, disk-states-8.dot, node-states-8.dot
|
/linux-4.4.14/include/linux/mtd/ |
D | blktrans.h | 45 struct gendisk *disk; member
|
/linux-4.4.14/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.4.14/fs/hpfs/ |
D | Kconfig | 6 is the file system used for organizing files on OS/2 hard disk
|
/linux-4.4.14/Documentation/nvdimm/ |
D | btt.txt | 36 next arena). The following depicts the "On-disk" metadata layout: 109 For example, after adding a BTT, we surface a disk of 1024G. We get a read for 153 all the on-disk and in-memory data structures for the duration of the IO. If 270 struct btt *btt_init(struct gendisk *disk, unsigned long long rawsize, 276 The BTT 'disk' appears as a stacked block device that grabs the underlying block 279 When the driver wishes to remove the backing disk, it should similarly call
|
/linux-4.4.14/fs/afs/ |
D | Kconfig | 28 Say Y here if you want AFS data to be cached locally on disk through
|
/linux-4.4.14/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
|