Searched refs:disk (Results 151 - 175 of 200) sorted by relevance

12345678

/linux-master/fs/btrfs/
H A Dctree.h38 * each other on disk;
497 * Compare two keys, on little-endian the disk order is same as CPU order and
511 static inline int btrfs_comp_keys(const struct btrfs_disk_key *disk, argument
516 btrfs_disk_key_to_cpu(&k1, disk);
H A Dvolumes.c17 #include "disk-io.h"
859 * b. The missing-disk-which-was-replaced, has
865 * Further in case of 1 and 2a above, the disk at 'path'
881 * disk with same uuid and devid.We keep the one
935 * it back. We need it to pick the disk with largest generation
1284 /* make sure our super doesn't straddle pages on disk */
3547 const struct btrfs_disk_balance_args *disk)
3551 cpu->profiles = le64_to_cpu(disk->profiles);
3552 cpu->usage = le64_to_cpu(disk->usage);
3553 cpu->devid = le64_to_cpu(disk
3546 btrfs_disk_balance_args_to_cpu(struct btrfs_balance_args *cpu, const struct btrfs_disk_balance_args *disk) argument
3565 btrfs_cpu_balance_args_to_disk(struct btrfs_disk_balance_args *disk, const struct btrfs_balance_args *cpu) argument
[all...]
/linux-master/drivers/block/drbd/
H A Ddrbd_int.h236 * transactions, local disk or peer. 32 bit "jiffies" are good enough,
243 /* local disk */
416 MD_DIRTY, /* current uuids and flags not yet on disk */
430 WAS_IO_ERROR, /* Local disk failed, returned IO error */
431 WAS_READ_ERROR, /* Local disk READ failed (set additionally to the above) */
432 FORCE_DETACH, /* Force-detach from local disk, aborting any pending local IO */
768 /* things that are stored as / read from meta data on disk */
774 sector_t p_size; /* partner's disk size */
786 /* Used after attach while negotiating new disk state. */
861 struct list_head active_ee; /* IO in progress (P_DATA gets written to disk) */
[all...]
H A Ddrbd_actlog.c31 * in the on disk ring buffer */
88 device->state.disk <= D_FAILED);
151 if (op != REQ_OP_WRITE && device->state.disk == D_DISKLESS && device->ldev == NULL)
303 /* transaction number, modulo on-disk ring buffer wrap around */
306 /* ... to aligned 4k on disk block */
312 /* ... plus offset to the on disk position */
408 drbd_err(device, "disk is %s, cannot start al transaction\n",
409 drbd_disk_str(device->state.disk));
414 if (device->state.disk < D_INCONSISTENT) {
416 "disk i
[all...]
H A Ddrbd_req.c247 /* Update disk stats */
558 * peer_device == NULL means local disk
635 /* I'd rather not detach from local disk just because it
642 * no local disk,
900 if (device->state.disk == D_UP_TO_DATE)
902 if (device->state.disk != D_INCONSISTENT)
1219 /* Update disk stats */
1263 return s.disk == D_UP_TO_DATE || s.pdsk == D_UP_TO_DATE;
1687 * resp. the local disk,
1689 * - the connection was established (resp. disk wa
[all...]
/linux-master/include/scsi/
H A Dscsi_device.h250 atomic_t disk_events_disable_depth; /* disable depth for disk events */
315 if (__rq->q->disk) \
317 __rq->q->disk->disk_name, ##a); \
/linux-master/block/partitions/
H A Daix.c70 * read_lba(): Read bytes from disk, starting at given LBA
76 * Description: Reads @count bytes from @state->disk into @buffer.
84 if (!buffer || lba + count / 512 > get_capacity(state->disk) - 1ULL)
110 * Allocates space for pvd and fill it with disk blocks at @lba
135 * Allocates space for lvn and fill it with disk blocks at @lba
H A Dmsdos.c143 sector_size = queue_logical_block_size(state->disk->queue) / 512;
303 #define BSD_DISKMAGIC (0x82564557UL) /* The disk magic number */
434 #define UNIXWARE_DISKMAGIC (0xCA5E600DUL) /* The disk magic number */
506 /* I omit the 0th slice as it is the same as whole disk. */
591 sector_size = queue_logical_block_size(state->disk->queue) / 512;
645 /* If this is an EFI GPT disk, msdos should ignore it. */
/linux-master/drivers/md/bcache/
H A Ddebug.c87 pr_err("*** on disk block %u:\n", block);
138 dc->disk.c,
H A Dbcache.h48 * packed on disk (in a linked list of buckets - aside from the superblock, all
59 * we have to do is increment its gen (and write its new gen to disk; we batch
156 * disk in the event of an unclean shutdown, and in fact bcache had writeback
161 * write until we've updated the index on disk, otherwise the cache would be
259 struct gendisk *disk; member in struct:bcache_device
301 struct bcache_device disk; member in struct:cached_dev
448 * their new gen to disk. After prio_write() finishes writing the new
686 * A btree node on disk could have too many bsets for an iterator to fit
848 * This is used for various on disk data structures - cache_sb, prio_set, bset,
/linux-master/drivers/md/
H A Ddm-ima.c120 dev_name, dev_uuid, md->disk->major, md->disk->first_minor,
121 md->disk->minors, num_targets);
154 capacity = get_capacity(md->disk);
H A Ddm.h108 int dm_blk_report_zones(struct gendisk *disk, sector_t sector,
H A Ddm-ioctl.c596 struct gendisk *disk; local
640 disk = dm_disk(hc->md);
641 nl->dev = huge_encode_dev(disk_devt(disk));
826 struct gendisk *disk = dm_disk(md); local
842 param->dev = huge_encode_dev(disk_devt(disk));
857 if (get_disk_ro(disk))
2320 DMINFO("%s (%s) is ready", md->disk->disk_name, dmi->name);
H A Dmd.c1274 * it's at the end of the disk.
1318 /* not spare disk */
1504 * 2/ Add info for each disk, keeping track of highest desc_nr (next_spare);
1831 /* not spare disk */
2407 * This is called when an array is started and after a disk has been kicked
3853 /* Cannot find a valid fresh disk */
3855 pr_warn("md: cannot find a valid disk\n");
4735 md_bitmap_unplug(mddev->bitmap); /* flush the bits to disk */
5822 struct gendisk *disk; local
5866 disk
6317 struct gendisk *disk = mddev->gendisk; local
6545 struct gendisk *disk = mddev->gendisk; local
7952 md_open(struct gendisk *disk, blk_mode_t mode) argument
7984 md_release(struct gendisk *disk) argument
7993 md_check_events(struct gendisk *disk, unsigned int clearing) argument
8004 md_free_disk(struct gendisk *disk) argument
8584 struct gendisk *disk = rdev->bdev->bd_disk; local
[all...]
/linux-master/tools/lib/bpf/
H A Dzip.c51 /* Number of central directory records on this disk or 0xFFFF if ZIP64
97 /* Number of the disk where the file starts or 0xFFFF if ZIP64 archive. */
98 __u16 disk; member in struct:cd_file_header
101 /* Offset from the start of the disk containing the local file header to the
/linux-master/drivers/nvdimm/
H A Dbus.c623 void nvdimm_check_and_set_ro(struct gendisk *disk) argument
625 struct device *dev = disk_to_dev(disk)->parent;
627 int disk_ro = get_disk_ro(disk);
629 /* catch the disk up with the region ro state */
635 disk->disk_name, nd_region->ro ? "only" : "write");
636 set_disk_ro(disk, nd_region->ro);
H A Dnd.h20 * support and is an input to the geometry/on-disk-format of a
492 int nd_integrity_init(struct gendisk *disk, unsigned long meta_size);
630 void nvdimm_check_and_set_ro(struct gendisk *disk);
/linux-master/include/trace/events/
H A Dbcache.h26 __entry->orig_major = d->disk->major;
27 __entry->orig_minor = d->disk->first_minor;
/linux-master/arch/arm/boot/dts/marvell/
H A DMakefile11 orion5x-lacie-ethernet-disk-mini-v2.dtb \
/linux-master/scripts/dtc/include-prefixes/arm/marvell/
H A DMakefile11 orion5x-lacie-ethernet-disk-mini-v2.dtb \
/linux-master/drivers/mtd/ubi/
H A Dblock.c230 static int ubiblock_open(struct gendisk *disk, blk_mode_t mode) argument
232 struct ubiblock *dev = disk->private_data;
/linux-master/tools/testing/selftests/bpf/
H A Dvmtest.sh207 # Ensure that the logs are written to disk
254 -drive file="${rootfs_img}",format=raw,index=1,media=disk,if=virtio,cache=none \
/linux-master/block/
H A Dblk-flush.c141 struct block_device *part = rq->q->disk->part0;
H A Dblk-mq-debugfs.c771 lockdep_assert_held(&rqos->disk->queue->debugfs_mutex);
773 if (!rqos->disk->queue->debugfs_dir)
781 struct request_queue *q = rqos->disk->queue;
H A Dbfq-cgroup.c510 static struct blkg_policy_data *bfq_pd_alloc(struct gendisk *disk, argument
515 bfqg = kzalloc_node(sizeof(*bfqg), gfp, disk->node_id);
1288 ret = blkcg_activate_policy(bfqd->queue->disk, &blkcg_policy_bfq);

Completed in 487 milliseconds

12345678