Home
last modified time | relevance | path

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

12

/fs/btrfs/
Dvolumes.c46 struct btrfs_device *device);
77 struct btrfs_device *device; in free_fs_devices() local
80 device = list_entry(fs_devices->devices.next, in free_fs_devices()
82 list_del(&device->dev_list); in free_fs_devices()
83 kfree(device->name); in free_fs_devices()
84 kfree(device); in free_fs_devices()
138 static noinline int run_scheduled_bios(struct btrfs_device *device) in run_scheduled_bios() argument
149 bdi = device->bdev->bd_inode->i_mapping->backing_dev_info; in run_scheduled_bios()
150 fs_info = device->dev_root->fs_info; in run_scheduled_bios()
155 spin_lock(&device->io_lock); in run_scheduled_bios()
[all …]
Dvolumes.h120 struct btrfs_device *device,
146 struct btrfs_device *device);
153 struct btrfs_device *device, u64 new_size);
156 int btrfs_shrink_device(struct btrfs_device *device, u64 new_size);
Dioctl.c451 struct btrfs_device *device = NULL; in btrfs_ioctl_resize() local
488 device = btrfs_find_device(root, devid, NULL, NULL); in btrfs_ioctl_resize()
489 if (!device) { in btrfs_ioctl_resize()
495 new_size = device->bdev->bd_inode->i_size; in btrfs_ioctl_resize()
511 old_size = device->total_bytes; in btrfs_ioctl_resize()
527 if (new_size > device->bdev->bd_inode->i_size) { in btrfs_ioctl_resize()
536 device->name, (unsigned long long)new_size); in btrfs_ioctl_resize()
540 ret = btrfs_grow_device(trans, device, new_size); in btrfs_ioctl_resize()
543 ret = btrfs_shrink_device(device, new_size); in btrfs_ioctl_resize()
Ddisk-io.c1248 struct btrfs_device *device; in btrfs_congested_fn() local
1255 list_for_each_entry(device, &info->fs_devices->devices, dev_list) { in btrfs_congested_fn()
1256 if (!device->bdev) in btrfs_congested_fn()
1258 bdi = blk_get_backing_dev_info(device->bdev); in btrfs_congested_fn()
1273 struct btrfs_device *device; in __unplug_io_fn() local
1277 list_for_each_entry(device, &info->fs_devices->devices, dev_list) { in __unplug_io_fn()
1278 if (!device->bdev) in __unplug_io_fn()
1281 bdi = blk_get_backing_dev_info(device->bdev); in __unplug_io_fn()
2009 static int write_dev_supers(struct btrfs_device *device, in write_dev_supers() argument
2029 device->total_bytes) in write_dev_supers()
[all …]
/fs/partitions/
Dcheck.c198 static ssize_t part_partition_show(struct device *dev, in part_partition_show()
206 static ssize_t part_start_show(struct device *dev, in part_start_show()
214 ssize_t part_size_show(struct device *dev, in part_size_show()
221 ssize_t part_stat_show(struct device *dev, in part_stat_show()
249 ssize_t part_fail_show(struct device *dev, in part_fail_show()
257 ssize_t part_fail_store(struct device *dev, in part_fail_store()
300 static void part_release(struct device *dev) in part_release()
307 static int part_uevent(struct device *dev, struct kobj_uvent_env *env) in part_uevent()
354 static ssize_t whole_disk_show(struct device *dev, in whole_disk_show()
367 struct device *ddev = disk_to_dev(disk); in add_partition()
[all …]
/fs/efs/
Dinode.c51 dev_t device; in efs_iget() local
120 device = 0; in efs_iget()
122 device = MKDEV(sysv_major(rdev), sysv_minor(rdev)); in efs_iget()
124 device = old_decode_dev(rdev); in efs_iget()
163 init_special_inode(inode, inode->i_mode, device); in efs_iget()
/fs/sysfs/
DKconfig15 /sbin/hotplug uses device and object attributes in sysfs to assist in
19 partition. If sysfs is disabled you must specify the boot device on
/fs/gfs2/
DKconfig9 Allows a cluster of computers to simultaneously use a block device
11 and writes to the block device like a local filesystem, but also uses
/fs/jbd/
DKconfig12 To compile this device as a module, choose M here: the module will be
21 other file system/device using JBD), this option allows you to
/fs/jbd2/
DKconfig15 To compile this device as a module, choose M here. The module will be
24 potentially any other filesystem/device using JBD2), this option
/fs/affs/
DKconfig18 device support", above.
DChanges144 - The original blocksize of the device is
265 them (e. g. the loopback device does this).
/fs/ext2/
DKconfig54 If you do not use a block device that is capable of using this,
/fs/devpts/
Dinode.c572 dev_t device = MKDEV(driver->major, driver->minor_start+number); in devpts_pty_new() local
592 init_special_inode(inode, S_IFCHR|opts->mode, device); in devpts_pty_new()
/fs/ext3/
DKconfig7 (method to organize files on a storage device) for hard disks.
/fs/cifs/
Ddir.c354 .device = 0, in cifs_create()
484 .device = device_number, in cifs_mknod()
Dcifsproto.h209 dev_t device; member
Dinode.c1215 .device = 0,
1855 args->device = 0;
DCHANGES436 credentials passed as mount argument. Set major/minor device number in
881 in a UNC style device name. Implementation of readpage/writepage started.
Dfile.c320 .device = 0, in cifs_open()
/fs/xfs/
DKconfig61 separated. Regular file I/Os are isolated to a separate device
/fs/yaffs2/
DKconfig88 will be used depending on the device page size (yaffs on
/fs/nfs/
Dnfs4proc.c2385 data->arg.u.device.specdata1 = MAJOR(rdev); in _nfs4_proc_mknod()
2386 data->arg.u.device.specdata2 = MINOR(rdev); in _nfs4_proc_mknod()
2390 data->arg.u.device.specdata1 = MAJOR(rdev); in _nfs4_proc_mknod()
2391 data->arg.u.device.specdata2 = MINOR(rdev); in _nfs4_proc_mknod()
/fs/befs/
DChangeLog373 The kernel doesn't like it if you call set_blocksize() on a device when
/fs/ntfs/
DChangeLog383 - Fix bug in mft record writing where we forgot to set the device in
1040 the block device size imposed on us by sb_bread() and sb_getblk()
1307 any i/o. Thanks to Al Viro for advice on how to avoid the device i/o.
1398 - Replace device size determination in ntfs_fill_super() with

12