/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | bcache.h | 48 * 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 301 struct bcache_device disk; member 446 * their new gen to disk. After prio_write() finishes writing the new 684 * A btree node on disk could have too many bsets for an iterator to fit 846 * This is used for various on disk data structures - cache_sb, prio_set, bset,
|
H A D | debug.c | 87 pr_err("*** on disk block %u:\n", block); in bch_btree_verify() 138 dc->disk.c, in bch_data_verify()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | lightnvm.c | 760 struct gendisk *disk = ns->disk; in nvme_nvm_submit_user_cmd() local 820 bio->bi_disk = disk; in nvme_nvm_submit_user_cmd() 1245 struct gendisk *disk = dev_to_disk(dev); in nvm_dev_attrs_visible() local 1246 struct nvme_ns *ns = disk->private_data; in nvm_dev_attrs_visible()
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | z2ram.c | 3 ** as a block device, to be used as a RAM disk or swap space 313 z2_release(struct gendisk *disk, fmode_t mode) in z2_release() argument
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | debug.c | 87 pr_err("*** on disk block %u:\n", block); in bch_btree_verify() 139 dc->disk.c, in bch_data_verify()
|
/kernel/linux/linux-6.6/block/ |
H A D | blk-flush.c | 141 struct block_device *part = rq->q->disk->part0; in blk_account_io_flush()
|
H A D | bfq-cgroup.c | 510 static struct blkg_policy_data *bfq_pd_alloc(struct gendisk *disk, in bfq_pd_alloc() argument 515 bfqg = kzalloc_node(sizeof(*bfqg), gfp, disk->node_id); in bfq_pd_alloc() 1288 ret = blkcg_activate_policy(bfqd->queue->disk, &blkcg_policy_bfq); in bfq_create_group_hierarchy()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | vmtest.sh | 205 # Ensure that the logs are written to disk 252 -drive file="${rootfs_img}",format=raw,index=1,media=disk,if=virtio,cache=none \
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | zip.c | 51 /* 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 101 /* Offset from the start of the disk containing the local file header to the
|
/kernel/liteos_a/fs/fat/os_adapt/ |
H A D | fatfs.c | 1796 los_disk *disk = NULL; in fatfs_set_part_info() local 1802 disk = get_disk(part->disk_id); in fatfs_set_part_info() 1803 if (disk == NULL) { in fatfs_set_part_info() 1806 buf = (char *)zalloc(disk->sector_size); in fatfs_set_part_info() 1810 (void)memset_s(buf, disk->sector_size, 0, disk->sector_size); in fatfs_set_part_info()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid5.c | 111 /* Find first data disk in a raid6 stripe */ 123 static inline int raid6_next_disk(int disk, int raid_disks) in raid6_next_disk() argument 125 disk++; in raid6_next_disk() 126 return (disk < raid_disks) ? disk : 0; in raid6_next_disk() 130 * We need to map each disk to a 'slot', where the data disks are slot 131 * 0 .. raid_disks-3, the parity disk is raid_disks-2 and the Q disk 1710 /* Q disk is one of the missing disks */ in ops_run_compute6_2() 2910 * Output: index of the data and parity disk, an 7157 struct disk_info *disk; setup_conf() local 7967 int disk; raid5_add_disk() local [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid5.c | 118 /* Find first data disk in a raid6 stripe */ 130 static inline int raid6_next_disk(int disk, int raid_disks) in raid6_next_disk() argument 132 disk++; in raid6_next_disk() 133 return (disk < raid_disks) ? disk : 0; in raid6_next_disk() 137 * We need to map each disk to a 'slot', where the data disks are slot 138 * 0 .. raid_disks-3, the parity disk is raid_disks-2 and the Q disk 1788 /* Q disk is one of the missing disks */ in ops_run_compute6_2() 2998 * Output: index of the data and parity disk, an 7495 struct disk_info *disk; setup_conf() local 8319 int disk; raid5_add_disk() local [all...] |
H A D | dm-table.c | 365 if (dev == disk_devt(t->md->disk)) in dm_get_device() 1121 static bool integrity_profile_exists(struct gendisk *disk) in integrity_profile_exists() argument 1123 return !!blk_get_integrity(disk); in integrity_profile_exists() 1127 * Get a disk whose integrity profile reflects the table's profile. 1730 * - this is especially relevant if .io_hints is emulating a disk-managed in dm_calculate_queue_limits() 2034 disk_update_readahead(t->md->disk); in dm_table_set_restrictions()
|
/kernel/linux/linux-5.10/block/ |
H A D | scsi_ioctl.c | 376 * @disk: gendisk to operate on (option) 385 * available it should be passed in as @disk to allow the low level 386 * driver to use the information contained in it. A non-NULL @disk 407 int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode, in sg_scsi_ioctl() argument 496 blk_execute_rq(q, disk, rq, 0); in sg_scsi_ioctl()
|
/kernel/linux/linux-5.10/fs/quota/ |
H A D | quota_tree.c | 245 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk) in qtree_entry_unused() argument 250 if (disk[i]) in qtree_entry_unused()
|
/kernel/linux/linux-6.6/fs/quota/ |
H A D | quota_tree.c | 241 int qtree_entry_unused(struct qtree_mem_dqinfo *info, char *disk) in qtree_entry_unused() argument 246 if (disk[i]) in qtree_entry_unused()
|
/kernel/linux/linux-5.10/drivers/cdrom/ |
H A D | cdrom.c | 589 int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi) in register_cdrom() argument 604 cdi->disk = disk; in register_cdrom() 605 disk->cdi = cdi; in register_cdrom() 632 if (cdi->disk) in register_cdrom() 2162 struct request_queue *q = cdi->disk->queue; in cdrom_read_cdda_bpc() 2217 blk_execute_rq(q, cdi->disk, rq, 0); in cdrom_read_cdda_bpc() 3553 if (cdrom_print_info("\nCan select disk:", in cdrom_sysctl_info()
|
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd.c | 309 * (a fake disk was already added to allow formatting). 315 struct gendisk *disk; in dasd_state_basic_to_ready() local 319 /* make disk known with correct capacity */ in dasd_state_basic_to_ready() 326 disk = device->block->gdp; in dasd_state_basic_to_ready() 327 kobject_uevent(&disk_to_dev(disk)->kobj, in dasd_state_basic_to_ready() 365 * and if it is create fake disk for formatting. 3251 static int dasd_open(struct gendisk *disk, blk_mode_t mode) in dasd_open() argument 3256 base = dasd_device_from_gendisk(disk); in dasd_open() 3302 static void dasd_release(struct gendisk *disk) in dasd_release() argument 3304 struct dasd_device *base = dasd_device_from_gendisk(disk); in dasd_release() [all...] |
/kernel/linux/linux-6.6/drivers/block/rnbd/ |
H A D | rnbd-clt.c | 368 struct rnbd_clt_dev *dev = rq->q->disk->private_data; in rnbd_softirq_done_fn() 924 static int rnbd_client_open(struct gendisk *disk, blk_mode_t mode) in rnbd_client_open() argument 926 struct rnbd_clt_dev *dev = disk->private_data; in rnbd_client_open() 969 * should be read or written to the disk (bi_size) can differ. 1115 struct rnbd_clt_dev *dev = rq->q->disk->private_data; in rnbd_queue_rq()
|
/kernel/linux/common_modules/tzdriver/agent_rpmb/mplat/ |
H A D | rpmb_driver.c | 52 struct gendisk *disk;
member
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-cd_ioctl.c | 86 * DISK_EVENT_FLAG_UEVENT is cleared in disk->event_flags 106 /* Eject the disk if EJECTFLAG is 0. 107 If EJECTFLAG is 1, try to reload the disk. */ 302 blk_execute_rq(drive->queue, cd->disk, rq, 0); in ide_cdrom_reset()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | passthru.c | 274 blk_execute_rq_nowait(rq->q, ns ? ns->disk : NULL, rq, 0, in nvmet_passthru_execute_cmd()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | qlogicfas408.c | 43 #include <linux/blkdev.h> /* to get disk capacity */ 468 int qlogicfas408_biosparam(struct scsi_device *disk, struct block_device *dev, in DEF_SCSI_QCMD()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | item_ops.c | 734 #error Item types must use disk-format assigned values.
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | blk-cgroup.h | 201 struct gendisk *disk; member
|