/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/partitions/ |
H A D | amiga.h | 5 int amiga_partition(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | sysv68.h | 1 extern int sysv68_partition(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | ultrix.h | 5 int ultrix_partition(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | acorn.h | 10 int adfspart_check_CUMANA(struct parsed_partitions *state, struct block_device *bdev); 11 int adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev); 12 int adfspart_check_ICS(struct parsed_partitions *state, struct block_device *bdev); 13 int adfspart_check_POWERTEC(struct parsed_partitions *state, struct block_device *bdev); 14 int adfspart_check_EESOX(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | karma.h | 7 int karma_partition(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | msdos.h | 7 int msdos_partition(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | osf.h | 7 int osf_partition(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | sgi.h | 5 extern int sgi_partition(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | sun.h | 7 int sun_partition(struct parsed_partitions *state, struct block_device *bdev);
|
H A D | acorn.c | 69 riscix_partition(struct parsed_partitions *state, struct block_device *bdev, argument 75 rr = (struct riscix_record *)read_dev_sector(bdev, first_sect, §); 119 linux_partition(struct parsed_partitions *state, struct block_device *bdev, argument 130 linuxp = (struct linux_part *)read_dev_sector(bdev, first_sect, §); 152 adfspart_check_CUMANA(struct parsed_partitions *state, struct block_device *bdev) argument 179 data = read_dev_sector(bdev, start_blk * 2 + 6, §); 211 slot = riscix_partition(state, bdev, first_sector, 217 slot = linux_partition(state, bdev, first_sector, 244 adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev) argument 253 data = read_dev_sector(bdev, 312 adfspart_check_ICSLinux(struct block_device *bdev, unsigned long block) argument 354 adfspart_check_ICS(struct parsed_partitions *state, struct block_device *bdev) argument 451 adfspart_check_POWERTEC(struct parsed_partitions *state, struct block_device *bdev) argument 513 adfspart_check_EESOX(struct parsed_partitions *state, struct block_device *bdev) argument [all...] |
H A D | efi.c | 139 * @bdev: block device 147 last_lba(struct block_device *bdev) argument 149 if (!bdev || !bdev->bd_inode) 156 int n = bdev_hardsect_size(bdev); 159 return (bdev->bd_inode->i_size >> 12) - 1ULL; 162 return (bdev->bd_inode->i_size >> 9) - 1ULL; 211 * @bdev 216 * Description: Reads @count bytes from @bdev into @buffer. 220 read_lba(struct block_device *bdev, u6 argument 263 alloc_read_gpt_entries(struct block_device *bdev, gpt_header *gpt) argument 298 alloc_read_gpt_header(struct block_device *bdev, u64 lba) argument 344 is_gpt_valid(struct block_device *bdev, u64 lba, gpt_header **gpt, gpt_entry **ptes) argument 562 find_valid_gpt(struct block_device *bdev, gpt_header **gpt, gpt_entry **ptes) argument 668 efi_partition(struct parsed_partitions *state, struct block_device *bdev) argument [all...] |
H A D | atari.h | 34 int atari_partition(struct parsed_partitions *state, struct block_device *bdev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ |
H A D | block_dev.c | 30 struct block_device bdev; member in struct:bdev_inode 41 return &BDEV_I(inode)->bdev; 46 static sector_t max_block(struct block_device *bdev) argument 49 loff_t sz = i_size_read(bdev->bd_inode); 52 unsigned int size = block_size(bdev); 60 static void kill_bdev(struct block_device *bdev) argument 62 if (bdev->bd_inode->i_mapping->nrpages == 0) 65 truncate_inode_pages(bdev->bd_inode->i_mapping, 0); 68 int set_blocksize(struct block_device *bdev, int size) argument 75 if (size < bdev_hardsect_size(bdev)) 263 struct block_device *bdev = &ei->bdev; local 285 struct block_device *bdev = &BDEV_I(inode)->bdev; local 360 struct block_device *bdev; local 399 struct block_device *bdev; local 407 bdput(struct block_device *bdev) argument 416 struct block_device *bdev; local 451 struct block_device *bdev = NULL; local 465 bd_claim(struct block_device *bdev, void *holder) argument 502 bd_release(struct block_device *bdev) argument 532 bdev_get_kobj(struct block_device *bdev) argument 540 bdev_get_holder(struct block_device *bdev) argument 582 bd_holder_grab_dirs(struct block_device *bdev, struct bd_holder *bo) argument 654 find_bd_holder(struct block_device *bdev, struct bd_holder *bo) argument 679 add_bd_holder(struct block_device *bdev, struct bd_holder *bo) argument 715 del_bd_holder(struct block_device *bdev, struct kobject *kobj) argument 752 bd_claim_by_kobject(struct block_device *bdev, void *holder, struct kobject *kobj) argument 791 bd_release_from_kobject(struct block_device *bdev, struct kobject *kobj) argument 815 bd_claim_by_disk(struct block_device *bdev, void *holder, struct gendisk *disk) argument 830 bd_release_from_disk(struct block_device *bdev, struct gendisk *disk) argument 847 struct block_device *bdev = bdget(dev); local 866 check_disk_change(struct block_device *bdev) argument 888 bd_set_size(struct block_device *bdev, loff_t size) argument 914 do_open(struct block_device *bdev, struct file *file, int for_part) argument 1010 __blkdev_get(struct block_device *bdev, mode_t mode, unsigned flags, int for_part) argument 1029 blkdev_get(struct block_device *bdev, mode_t mode, unsigned flags) argument 1037 struct block_device *bdev; local 1060 __blkdev_put(struct block_device *bdev, int for_part) argument 1104 blkdev_put(struct block_device *bdev) argument 1112 struct block_device *bdev = I_BDEV(filp->f_mapping->host); local 1152 ioctl_by_bdev(struct block_device *bdev, unsigned cmd, unsigned long arg) argument 1175 struct block_device *bdev; local 1218 struct block_device *bdev; local 1254 close_bdev_excl(struct block_device *bdev) argument 1262 __invalidate_device(struct block_device *bdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/scsi/ |
H A D | scsicam.h | 15 extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip); 18 extern unsigned char *scsi_bios_ptable(struct block_device *bdev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/block/ |
H A D | ioctl.c | 11 static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) argument 27 disk = bdev->bd_disk; 28 if (bdev != bdev->bd_contains) 46 mutex_lock(&bdev->bd_mutex); 48 mutex_unlock(&bdev->bd_mutex); 59 mutex_unlock(&bdev->bd_mutex); 65 mutex_unlock(&bdev->bd_mutex); 85 mutex_lock_nested(&bdev->bd_mutex, 1); 87 mutex_unlock(&bdev 97 blkdev_reread_part(struct block_device *bdev) argument 138 blkdev_locked_ioctl(struct file *file, struct block_device *bdev, unsigned cmd, unsigned long arg) argument 223 struct block_device *bdev = inode->i_bdev; local 293 struct block_device *bdev = file->f_path.dentry->d_inode->i_bdev; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/ |
H A D | lowlevel.c | 34 struct block_device *bdev = sb->s_bdev; local 39 i = ioctl_by_bdev(bdev, CDROMMULTISESSION, (unsigned long) &ms_info); 62 struct block_device *bdev = sb->s_bdev; local 65 if (ioctl_by_bdev(bdev, CDROM_LAST_WRITTEN, (unsigned long) &lblock)) 66 lblock = bdev->bd_inode->i_size >> sb->s_blocksize_bits;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/ |
H A D | sysquotas_linux.c | 34 static int sys_get_linux_v1_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 45 DEBUG(10,("sys_get_linux_v1_quota: path[%s] bdev[%s] SMB_USER_QUOTA_TYPE uid[%u]\n", 46 path, bdev, (unsigned)id.uid)); 48 if ((ret = quotactl(QCMD(Q_V1_GETQUOTA,USRQUOTA), bdev, id.uid, (caddr_t)&D))&&errno != EDQUOT) { 54 DEBUG(10,("sys_get_linux_v1_quota: path[%s] bdev[%s] SMB_GROUP_QUOTA_TYPE gid[%u]\n", 55 path, bdev, (unsigned)id.gid)); 57 if ((ret = quotactl(QCMD(Q_V1_GETQUOTA,GRPQUOTA), bdev, id.gid, (caddr_t)&D))&&errno != EDQUOT) { 63 DEBUG(10,("sys_get_linux_v1_quota: path[%s] bdev[%s] SMB_USER_FS_QUOTA_TYPE (uid[%u])\n", 64 path, bdev, (unsigned)id.uid)); 66 if ((ret = quotactl(QCMD(Q_V1_GETQUOTA,USRQUOTA), bdev, i 102 sys_set_linux_v1_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 168 sys_get_linux_v2_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 236 sys_set_linux_v2_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 302 sys_get_linux_gen_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 370 sys_set_linux_gen_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 436 sys_get_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 498 sys_set_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument [all...] |
H A D | sysquotas_xfs.c | 74 int sys_get_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 84 if (!bdev||!dp) 92 DEBUG(10,("sys_get_xfs_quota: path[%s] bdev[%s] SMB_USER_QUOTA_TYPE uid[%u]\n", 93 path, bdev, (unsigned)id.uid)); 95 if ((ret=quotactl(QCMD(Q_XGETQUOTA,USRQUOTA), bdev, id.uid, (caddr_t)&D))) 100 DEBUG(10,("sys_get_xfs_quota: path[%s] bdev[%s] SMB_GROUP_QUOTA_TYPE gid[%u]\n", 101 path, bdev, (unsigned)id.gid)); 103 if ((ret=quotactl(QCMD(Q_XGETQUOTA,GRPQUOTA), bdev, id.gid, (caddr_t)&D))) 108 DEBUG(10,("sys_get_xfs_quota: path[%s] bdev[%s] SMB_USER_FS_QUOTA_TYPE (uid[%u])\n", 109 path, bdev, (unsigne 111 quotactl(QCMD(Q_XGETQSTAT,USRQUOTA), bdev, -1, (caddr_t)&F); local 128 quotactl(QCMD(Q_XGETQSTAT,GRPQUOTA), bdev, -1, (caddr_t)&F); local 161 sys_set_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 211 quotactl(QCMD(Q_XGETQSTAT,USRQUOTA), bdev, -1, (caddr_t)&F); local 269 quotactl(QCMD(Q_XGETQSTAT,GRPQUOTA), bdev, -1, (caddr_t)&F); local [all...] |
H A D | sysquotas_4A.c | 82 int sys_get_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument 95 DEBUG(10,("sys_get_vfs_quota: path[%s] bdev[%s] SMB_USER_QUOTA_TYPE uid[%u]\n", 96 path, bdev, (unsigned)id.uid)); 98 if ((ret = quotactl(QCMD(Q_GETQUOTA,USRQUOTA), bdev, id.uid, (void *)&D))&&errno != EDQUOT) { 112 DEBUG(10,("sys_get_vfs_quota: path[%s] bdev[%s] SMB_GROUP_QUOTA_TYPE gid[%u]\n", 113 path, bdev, (unsigned)id.gid)); 115 if ((ret = quotactl(QCMD(Q_GETQUOTA,GRPQUOTA), bdev, id.gid, (void *)&D))&&errno != EDQUOT) { 131 DEBUG(10,("sys_get_vfs_quota: path[%s] bdev[%s] SMB_USER_FS_QUOTA_TYPE (uid[%u])\n", 132 path, bdev, (unsigned)id.uid)); 134 if ((ret = quotactl(QCMD(Q_GETQUOTA,USRQUOTA), bdev, i 176 sys_set_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) argument [all...] |
H A D | sysquotas.c | 47 static int sys_path_to_bdev(const char *path, char **mntpath, char **bdev, char **fs) argument 57 if (!path||!mntpath||!bdev||!fs) 61 (*bdev) = NULL; 77 (*bdev) = SMB_STRDUP(mnt->mnt_fsname); 79 if ((*mntpath)&&(*bdev)&&(*fs)) { 83 SAFE_FREE(*bdev); 100 static int sys_path_to_bdev(const char *path, char **mntpath, char **bdev, char **fs) argument 106 if (!path||!mntpath||!bdev||!fs) 110 (*bdev) = NULL; 128 (*bdev) 144 sys_path_to_bdev(const char *path, char **mntpath, char **bdev, char **fs) argument 373 char *bdev = NULL; local 438 char *bdev = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/block/ |
H A D | dasd_genhd.c | 100 struct block_device *bdev; local 102 bdev = bdget_disk(device->gdp, 0); 103 if (!bdev || blkdev_get(bdev, FMODE_READ, 1) < 0) 109 ioctl_by_bdev(bdev, BLKRRPART, 0); 114 * 0 to 1. This is done by setting device->bdev (see 117 * is why the assignment to device->bdev is done AFTER 120 device->bdev = bdev; 134 struct block_device *bdev; local [all...] |
H A D | dasd_ioctl.c | 39 dasd_ioctl_enable(struct block_device *bdev) argument 41 struct dasd_device *device = bdev->bd_disk->private_data; 48 mutex_lock(&bdev->bd_mutex); 49 i_size_write(bdev->bd_inode, (loff_t)get_capacity(device->gdp) << 9); 50 mutex_unlock(&bdev->bd_mutex); 59 dasd_ioctl_disable(struct block_device *bdev) argument 61 struct dasd_device *device = bdev->bd_disk->private_data; 79 mutex_lock(&bdev->bd_mutex); 80 i_size_write(bdev->bd_inode, 0); 81 mutex_unlock(&bdev 159 struct block_device *bdev = bdget_disk(device->gdp, 0); local 187 dasd_ioctl_format(struct block_device *bdev, void __user *argp) argument 340 dasd_ioctl_set_ro(struct block_device *bdev, void __user *argp) argument 376 struct block_device *bdev = inode->i_bdev; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/misc/ |
H A D | cobalt_btns.c | 54 struct buttons_dev *bdev = dev->private; local 59 status = readl(bdev->reg); 84 struct buttons_dev *bdev; local 90 bdev = kzalloc(sizeof(struct buttons_dev), GFP_KERNEL); 92 if (!bdev || !poll_dev) { 97 poll_dev->private = bdev; 119 bdev->poll_dev = poll_dev; 120 bdev->reg = ioremap(res->start, res->end - res->start + 1); 121 dev_set_drvdata(&pdev->dev, bdev); 130 iounmap(bdev 141 struct buttons_dev *bdev = dev_get_drvdata(dev); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | raw.c | 48 struct block_device *bdev; local 61 bdev = raw_devices[minor].binding; 63 if (!bdev) 65 igrab(bdev->bd_inode); 66 err = blkdev_get(bdev, filp->f_mode, 0); 69 err = bd_claim(bdev, raw_open); 72 err = set_blocksize(bdev, bdev_hardsect_size(bdev)); 76 filp->f_mapping = bdev->bd_inode->i_mapping; 79 bdev 100 struct block_device *bdev; local 123 struct block_device *bdev = filp->private_data; local 216 struct block_device *bdev; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/ |
H A D | rd.c | 269 struct block_device *bdev = bio->bi_bdev; local 270 struct address_space * mapping = bdev->bd_inode->i_mapping; 277 if (sector + len > get_capacity(bdev->bd_disk)) 301 struct block_device *bdev = inode->i_bdev; local 312 mutex_lock(&bdev->bd_mutex); 313 if (bdev->bd_openers <= 2) { 314 truncate_inode_pages(bdev->bd_inode->i_mapping, 0); 317 mutex_unlock(&bdev->bd_mutex); 347 struct block_device *bdev = inode->i_bdev; local 352 inode = igrab(bdev 403 struct block_device *bdev = rd_bdev[i]; local [all...] |