/linux-2.4.37.9/drivers/md/ |
D | md.c | 224 mdk_rdev_t * rdev; in find_rdev_nr() local 227 ITERATE_RDEV(mddev,rdev,tmp) { in find_rdev_nr() 228 if (rdev->desc_nr == nr) in find_rdev_nr() 229 return rdev; in find_rdev_nr() 237 mdk_rdev_t *rdev; in find_rdev() local 239 ITERATE_RDEV(mddev,rdev,tmp) { in find_rdev() 240 if (rdev->dev == dev) in find_rdev() 241 return rdev; in find_rdev() 314 mdk_rdev_t * rdev; in zoned_raid_size() local 326 ITERATE_RDEV(mddev,rdev,tmp) { in zoned_raid_size() [all …]
|
D | raid0.c | 33 mdk_rdev_t *smallest, *rdev1, *rdev2, *rdev; in create_strip_zones() local 88 ITERATE_RDEV_ORDERED(mddev,rdev,j) { in create_strip_zones() 90 printk("raid0: checking %s ...", partition_name(rdev->dev)); in create_strip_zones() 91 if (rdev->size > current_offset) in create_strip_zones() 94 zone->dev[c] = rdev; in create_strip_zones() 96 if (!smallest || (rdev->size <smallest->size)) { in create_strip_zones() 97 smallest = rdev; in create_strip_zones() 98 printk(" (%ld) is smallest!.\n", rdev->size); in create_strip_zones()
|
D | multipath.c | 139 static int multipath_map (mddev_t *mddev, kdev_t *rdev) in multipath_map() argument 151 *rdev = conf->multipaths[i].dev; in multipath_map() 833 mdk_rdev_t *rdev, *def_rdev = NULL; in multipath_run() local 857 ITERATE_RDEV(mddev,rdev,tmp) { in multipath_run() 858 if (rdev->faulty) { in multipath_run() 861 printk(ERRORS, partition_name(rdev->dev)); in multipath_run() 866 if (!rdev->sb) { in multipath_run() 871 if (rdev->desc_nr == -1) { in multipath_run() 876 desc = &sb->disks[rdev->desc_nr]; in multipath_run() 881 printk(NOT_IN_SYNC, partition_name(rdev->dev)); in multipath_run() [all …]
|
D | linear.c | 34 mdk_rdev_t *rdev; in linear_run() local 55 ITERATE_RDEV_ORDERED(mddev,rdev,j) { in linear_run() 58 disk->dev = rdev->dev; in linear_run() 59 disk->size = rdev->size; in linear_run()
|
D | raid1.c | 324 static int raid1_map (mddev_t *mddev, kdev_t *rdev) in raid1_map() argument 338 *rdev = conf->mirrors[i].dev; in raid1_map() 1586 mdk_rdev_t *rdev; in raid1_run() local 1610 ITERATE_RDEV(mddev,rdev,tmp) { in raid1_run() 1611 if (rdev->faulty) { in raid1_run() 1612 printk(ERRORS, partition_name(rdev->dev)); in raid1_run() 1614 if (!rdev->sb) { in raid1_run() 1619 if (rdev->desc_nr == -1) { in raid1_run() 1623 descriptor = &sb->disks[rdev->desc_nr]; in raid1_run() 1630 disk->dev = rdev->dev; in raid1_run() [all …]
|
D | raid5.c | 1372 mdk_rdev_t *rdev; in raid5_run() local 1411 ITERATE_RDEV(mddev,rdev,tmp) { in raid5_run() 1417 desc = sb->disks + rdev->desc_nr; in raid5_run() 1422 printk(KERN_ERR "raid5: disabled device %s (errors detected)\n", partition_name(rdev->dev)); in raid5_run() 1423 if (!rdev->faulty) { in raid5_run() 1429 disk->dev = rdev->dev; in raid5_run() 1439 printk(KERN_ERR "raid5: disabled device %s (not in sync)\n", partition_name(rdev->dev)); in raid5_run() 1444 …printk(KERN_ERR "raid5: disabled device %s (inconsistent descriptor)\n", partition_name(rdev->dev)… in raid5_run() 1448 …aid5: disabled device %s (device %d already operational)\n", partition_name(rdev->dev), raid_disk); in raid5_run() 1451 …printk(KERN_INFO "raid5: device %s operational as raid disk %d\n", partition_name(rdev->dev), raid… in raid5_run() [all …]
|
/linux-2.4.37.9/include/linux/raid/ |
D | md_k.h | 271 #define ITERATE_RDEV_GENERIC(head,field,rdev,tmp) \ argument 274 rdev = md_list_entry(tmp, mdk_rdev_t, field), \ 280 #define ITERATE_RDEV(mddev,rdev,tmp) \ argument 281 ITERATE_RDEV_GENERIC((mddev)->disks,same_set,rdev,tmp) 287 #define ITERATE_RDEV_ORDERED(mddev,rdev,i) \ argument 288 for (i = 0; rdev = find_rdev_nr(mddev, i), i < mddev->nb_dev; i++) 294 #define ITERATE_RDEV_ALL(rdev,tmp) \ argument 295 ITERATE_RDEV_GENERIC(all_raid_disks,all,rdev,tmp) 300 #define ITERATE_RDEV_PENDING(rdev,tmp) \ argument 301 ITERATE_RDEV_GENERIC(pending_raid_disks,pending,rdev,tmp)
|
D | md.h | 84 extern int md_error (mddev_t *mddev, kdev_t rdev);
|
/linux-2.4.37.9/drivers/char/ |
D | raw.c | 74 kdev_t rdev; /* it should eventually go away */ in raw_open() local 109 rdev = to_kdev_t(bdev->bd_dev); in raw_open() 128 if (is_mounted(rdev)) { in raw_open() 129 if (blksize_size[MAJOR(rdev)]) in raw_open() 130 sector_size = blksize_size[MAJOR(rdev)][MINOR(rdev)]; in raw_open() 132 if (hardsect_size[MAJOR(rdev)]) in raw_open() 133 sector_size = hardsect_size[MAJOR(rdev)][MINOR(rdev)]; in raw_open() 136 set_blocksize(rdev, sector_size); in raw_open()
|
/linux-2.4.37.9/fs/ |
D | devices.c | 200 void init_special_inode(struct inode *inode, umode_t mode, int rdev) in init_special_inode() argument 205 inode->i_rdev = to_kdev_t(rdev); in init_special_inode() 206 inode->i_cdev = cdget(rdev); in init_special_inode() 209 inode->i_rdev = to_kdev_t(rdev); in init_special_inode()
|
/linux-2.4.37.9/Documentation/ |
D | ramdisk.txt | 8 3) Using "rdev -r" With New Kernels 19 had to be specified via "ramdisk=1440" or "rdev -r /dev/fd0 1440" so 27 of the "rdev -r" or "ramsize" (usually a symbolic link to "rdev") 105 3) Using "rdev -r" With New Kernels 108 The usage of the word (two bytes) that "rdev -r" sets in the kernel image 136 Putting that together gives 2^15 + 2^14 + 0 = 49152 for an rdev word. 140 /usr/src/linux# rdev /dev/fd0 /dev/fd0 141 /usr/src/linux# rdev -r /dev/fd0 49152 195 g) Use "rdev" to set the boot device, RAM disk offset, prompt flag, etc. 199 rdev /dev/fd0 /dev/fd0 [all …]
|
/linux-2.4.37.9/fs/freevxfs/ |
D | vxfs_inode.h | 118 u_int32_t rdev; member 141 #define vdi_rdev vdi_ftarea.rdev 172 #define vii_rdev vdi_ftarea.rdev
|
/linux-2.4.37.9/fs/sysv/ |
D | inode.c | 122 void sysv_set_inode(struct inode *inode, dev_t rdev) in sysv_set_inode() argument 139 init_special_inode(inode, inode->i_mode, rdev); in sysv_set_inode() 148 dev_t rdev = 0; in sysv_read_inode() local 178 rdev = (u16)fs32_to_cpu(sb, inode->u.sysv_i.i_data[0]); in sysv_read_inode() 180 sysv_set_inode(inode, rdev); in sysv_read_inode()
|
D | namei.c | 86 static int sysv_mknod(struct inode * dir, struct dentry * dentry, int mode, int rdev) in sysv_mknod() argument 92 sysv_set_inode(inode, rdev); in sysv_mknod()
|
/linux-2.4.37.9/fs/nfsd/ |
D | nfsproc.c | 201 dev_t rdev = NODEV; in nfsd_proc_create() local 296 rdev = (dev_t) size; in nfsd_proc_create() 298 rdev = 0; in nfsd_proc_create() 302 } else if (size != rdev) { in nfsd_proc_create() 317 (is_borc && inode->i_rdev != rdev))) in nfsd_proc_create() 325 attr, type, rdev, newfhp); in nfsd_proc_create()
|
/linux-2.4.37.9/fs/umsdos/ |
D | namei.c | 240 int mode, int rdev, char flags) in umsdos_create_any() argument 256 info.entry.rdev = rdev; in umsdos_create_any() 328 new_info->entry.rdev = old_info->entry.rdev; in umsdos_ren_init() 787 info.entry.rdev = 0; in UMSDOS_mkdir() 870 int mode, int rdev) in UMSDOS_mknod() argument 872 return umsdos_create_any (dir, dentry, mode, rdev, 0); in UMSDOS_mknod()
|
D | emd.c | 31 p->rdev = cpu_to_le16(q->rdev); in put_entry() 47 p->rdev = le16_to_cpu (q->rdev); in get_entry()
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_utils.c | 151 xfs_dev_t rdev, in xfs_dir_ialloc() argument 189 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, okalloc, in xfs_dir_ialloc() 287 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, in xfs_dir_ialloc()
|
/linux-2.4.37.9/fs/jffs2/ |
D | readinode.c | 408 unsigned short rdev; in jffs2_read_inode() local 442 if (jffs2_read_dnode(c, f->metadata, (char *)&rdev, 0, sizeof(rdev)) < 0) { in jffs2_read_inode() 453 init_special_inode(inode, inode->i_mode, kdev_t_to_nr(MKDEV(rdev>>8, rdev&0xff))); in jffs2_read_inode()
|
/linux-2.4.37.9/arch/arm/boot/ |
D | install.sh | 58 /sbin/loadmap --rdev /dev/ima
|
/linux-2.4.37.9/include/linux/ |
D | proc_fs.h | 72 kdev_t rdev; member 207 struct proc_dir_entry *parent,kdev_t rdev) {return NULL;} in proc_mknod() argument
|
D | nfs_xdr.h | 24 __u32 rdev; member 227 dev_t rdev; member
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_iops.c | 112 int rdev) in linvfs_mknod() argument 147 va.va_rdev = XFS_MKDEV(MAJOR(rdev), MINOR(rdev)); in linvfs_mknod() 194 ip->i_rdev = to_kdev_t(rdev); in linvfs_mknod()
|
/linux-2.4.37.9/fs/hpfs/ |
D | inode.c | 138 int rdev = 0; in hpfs_read_inode() local 149 rdev = ea[0] + (ea[1] << 8) + (ea[2] << 16) + (ea[3] << 24); in hpfs_read_inode() 158 init_special_inode(i, mode, rdev); in hpfs_read_inode()
|
/linux-2.4.37.9/fs/coda/ |
D | dir.c | 33 static int coda_mknod(struct inode *dir, struct dentry *new, int mode, int rdev); 243 static int coda_mknod(struct inode *dir, struct dentry *de, int mode, int rdev) in coda_mknod() argument 258 name, length, mode, rdev); in coda_mknod() 264 0, mode, rdev, &newfid, &attrs); in coda_mknod()
|