Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 35) sorted by relevance

12

/fs/btrfs/
Dvolumes.c138 struct btrfs_device *device);
142 static void btrfs_dev_stat_print_on_load(struct btrfs_device *device);
196 struct btrfs_device *device; in free_fs_devices() local
199 device = list_entry(fs_devices->devices.next, in free_fs_devices()
201 list_del(&device->dev_list); in free_fs_devices()
202 rcu_string_free(device->name); in free_fs_devices()
203 kfree(device); in free_fs_devices()
344 static noinline void run_scheduled_bios(struct btrfs_device *device) in run_scheduled_bios() argument
369 bdi = blk_get_backing_dev_info(device->bdev); in run_scheduled_bios()
370 fs_info = device->dev_root->fs_info; in run_scheduled_bios()
[all …]
Dreada.c85 struct btrfs_device *device; member
288 zone->device = dev; /* our device always sits at index 0 */ in reada_find_zone()
419 dev = re->zones[nzones]->device; in reada_find_extent()
446 dev = re->zones[nzones]->device; in reada_find_extent()
510 radix_tree_delete(&zone->device->reada_extents, index); in reada_extent_put()
540 radix_tree_delete(&zone->device->reada_zones, in reada_zone_release()
595 if (peer && peer->device != zone->device) in reada_peer_zones_set_lock()
709 if (re->zones[i]->device == dev) { in reada_start_machine_dev()
756 struct btrfs_device *device; in __reada_start_machine() local
765 list_for_each_entry(device, &fs_devices->devices, dev_list) { in __reada_start_machine()
[all …]
Dvolumes.h44 #define btrfs_device_data_ordered_init(device) \ argument
45 seqcount_init(&device->data_seqcount)
47 #define btrfs_device_data_ordered_init(device) do { } while (0) argument
374 int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start,
403 struct btrfs_device *device, struct btrfs_device *this_dev);
406 struct btrfs_device **device);
409 struct btrfs_device **device);
417 struct btrfs_device *device, u64 new_size);
420 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size);
435 struct btrfs_device *device, u64 num_bytes,
[all …]
Dcheck-integrity.c384 struct btrfs_device *device,
652 struct btrfs_device *device; in btrfsic_process_superblock() local
663 list_for_each_entry(device, dev_head, dev_list) { in btrfsic_process_superblock()
667 if (!device->bdev || !device->name) in btrfsic_process_superblock()
670 dev_state = btrfsic_dev_state_lookup(device->bdev); in btrfsic_process_superblock()
674 state, dev_state, device, i, in btrfsic_process_superblock()
781 struct btrfs_device *device, in btrfsic_process_superblock_dev_mirror() argument
791 struct block_device *const superblock_bdev = device->bdev; in btrfsic_process_superblock_dev_mirror()
795 if (dev_bytenr + BTRFS_SUPER_INFO_SIZE > device->commit_total_bytes) in btrfsic_process_superblock_dev_mirror()
806 memcmp(device->uuid, super_tmp->dev_item.uuid, BTRFS_UUID_SIZE) || in btrfsic_process_superblock_dev_mirror()
[all …]
Ddisk-io.c1812 struct btrfs_device *device; in btrfs_congested_fn() local
1816 list_for_each_entry_rcu(device, &info->fs_devices->devices, dev_list) { in btrfs_congested_fn()
1817 if (!device->bdev) in btrfs_congested_fn()
1819 bdi = blk_get_backing_dev_info(device->bdev); in btrfs_congested_fn()
3332 struct btrfs_device *device = (struct btrfs_device *) in btrfs_end_buffer_write_sync() local
3335 btrfs_warn_rl_in_rcu(device->dev_root->fs_info, in btrfs_end_buffer_write_sync()
3337 rcu_str_deref(device->name)); in btrfs_end_buffer_write_sync()
3342 btrfs_dev_stat_inc_and_print(device, BTRFS_DEV_STAT_WRITE_ERRS); in btrfs_end_buffer_write_sync()
3426 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() argument
3443 device->commit_total_bytes) in write_dev_supers()
[all …]
Dsuper.c1911 struct btrfs_device *device; in btrfs_calc_avail_data_space() local
1962 list_for_each_entry_rcu(device, &fs_devices->devices, dev_list) { in btrfs_calc_avail_data_space()
1963 if (!device->in_fs_metadata || !device->bdev || in btrfs_calc_avail_data_space()
1964 device->is_tgtdev_for_dev_replace) in btrfs_calc_avail_data_space()
1970 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space()
1986 device->total_bytes) { in btrfs_calc_avail_data_space()
1996 ret = btrfs_account_dev_extents_size(device, 0, in btrfs_calc_avail_data_space()
2023 devices_info[i].dev = device; in btrfs_calc_avail_data_space()
Dioctl.c378 struct btrfs_device *device; in btrfs_ioctl_fitrim() local
390 list_for_each_entry_rcu(device, &fs_info->fs_devices->devices, in btrfs_ioctl_fitrim()
392 if (!device->bdev) in btrfs_ioctl_fitrim()
394 q = bdev_get_queue(device->bdev); in btrfs_ioctl_fitrim()
1494 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() local
1539 device = btrfs_find_device(root->fs_info, devid, NULL, NULL); in btrfs_ioctl_resize()
1540 if (!device) { in btrfs_ioctl_resize()
1547 if (!device->writeable) { in btrfs_ioctl_resize()
1556 new_size = device->bdev->bd_inode->i_size; in btrfs_ioctl_resize()
1572 if (device->is_tgtdev_for_dev_replace) { in btrfs_ioctl_resize()
[all …]
/fs/efs/
Dinode.c50 dev_t device; in efs_iget() local
119 device = 0; in efs_iget()
121 device = MKDEV(sysv_major(rdev), sysv_minor(rdev)); in efs_iget()
123 device = old_decode_dev(rdev); in efs_iget()
160 init_special_inode(inode, inode->i_mode, device); in efs_iget()
/fs/pstore/
Dpmsg.c55 static char *pmsg_devnode(struct device *dev, umode_t *mode) in pmsg_devnode()
64 struct device *pmsg_device; in pstore_register_pmsg()
Dram.c409 static int ramoops_init_przs(struct device *dev, struct ramoops_context *cxt, in ramoops_init_przs()
460 static int ramoops_init_prz(struct device *dev, struct ramoops_context *cxt, in ramoops_init_prz()
561 struct device *dev = &pdev->dev; in ramoops_probe()
/fs/fuse/
Dcuse.c60 struct device *dev; /* device representing @cdev */
295 static void cuse_gendev_release(struct device *dev) in cuse_gendev_release()
313 struct device *dev; in cuse_process_init_reply()
569 static ssize_t cuse_class_waiting_show(struct device *dev, in cuse_class_waiting_show()
578 static ssize_t cuse_class_abort_store(struct device *dev, in cuse_class_abort_store()
DKconfig21 tristate "Character device in Userspace support"
27 If you want to develop or use a userspace character device
/fs/sysfs/
DKconfig16 /sbin/hotplug uses device and object attributes in sysfs to assist in
20 partition. If sysfs is disabled you must specify the boot device on
/fs/proc/
Dconsoles.c34 if (con->device) { in show_console_dev()
37 driver = con->device(con, &index); in show_console_dev()
/fs/gfs2/
DKconfig10 Allows a cluster of computers to simultaneously use a block device
12 and writes to the block device like a local filesystem, but also uses
/fs/jbd2/
DKconfig17 To compile this device as a module, choose M here. The module will be
26 potentially any other filesystem/device using JBD2), this option
/fs/romfs/
DKconfig29 bool "Block device-backed ROM file system support"
45 NOMMU conditions if the underlying device is directly addressable by
/fs/squashfs/
DKconfig141 bool "Use 4K device block size?"
145 to 1K or the smallest block size supported by the block device
153 Using a 4K device block size may also improve overall I/O
157 Setting this option will force Squashfs to use a 4K device block
/fs/exofs/
DKconfig5 EXOFS is a file system that uses an OSD storage device,
/fs/affs/
DKconfig18 device support", above.
DChanges144 - The original blocksize of the device is
265 them (e. g. the loopback device does this).
/fs/freevxfs/
DKconfig20 creating HP-UX logical volumes easy from HP-UX disk block device file
/fs/ubifs/
DKconfig48 updates). This may affect file-system performance and increase flash device wear,
/fs/
DKconfig43 If the block device supports DAX and the filesystem supports DAX,
48 If you do not have a block device that is capable of using this,
/fs/debugfs/
Dfile.c1094 struct device *dev;
1122 struct dentry *debugfs_create_devm_seqfile(struct device *dev, const char *name, in debugfs_create_devm_seqfile()

12