| /linux/fs/ext2/ |
| H A D | ialloc.c | 172 struct ext2_group_desc * gdp; in ext2_preread_inode() local 175 gdp = ext2_get_group_desc(inode->i_sb, block_group, NULL); in ext2_preread_inode() 176 if (gdp == NULL) in ext2_preread_inode() 184 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_preread_inode() 428 struct ext2_group_desc *gdp; in ext2_new_inode() local 456 gdp = ext2_get_group_desc(sb, group, &bh2); in ext2_new_inode() 457 if (!gdp) { in ext2_new_inode() 528 le16_add_cpu(&gdp->bg_free_inodes_count, -1); in ext2_new_inode() 532 le16_add_cpu(&gdp->bg_used_dirs_count, 1); in ext2_new_inode() 665 struct ext2_group_desc *gdp = ext2_get_group_desc (sb, i, NULL); in ext2_count_dirs() local [all …]
|
| H A D | balloc.c | 1222 struct ext2_group_desc *gdp; in ext2_new_blocks() local 1277 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1278 if (!gdp) in ext2_new_blocks() 1281 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1322 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1323 if (!gdp) in ext2_new_blocks() 1326 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1373 group_no, gdp->bg_free_blocks_count); in ext2_new_blocks() 1377 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks() 1378 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext2_new_blocks() [all …]
|
| H A D | super.c | 703 struct ext2_group_desc *gdp = ext2_get_group_desc(sb, i, NULL); in ext2_check_descriptors() local 707 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors() 708 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors() 713 i, (unsigned long) le32_to_cpu(gdp->bg_block_bitmap)); in ext2_check_descriptors() 716 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext2_check_descriptors() 717 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) in ext2_check_descriptors() 722 i, (unsigned long) le32_to_cpu(gdp->bg_inode_bitmap)); in ext2_check_descriptors() 725 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext2_check_descriptors() 726 le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 > in ext2_check_descriptors() 732 i, (unsigned long) le32_to_cpu(gdp->bg_inode_table)); in ext2_check_descriptors()
|
| H A D | inode.c | 1321 struct ext2_group_desc * gdp; in ext2_get_inode() local 1329 gdp = ext2_get_group_desc(sb, block_group, NULL); in ext2_get_inode() 1330 if (!gdp) in ext2_get_inode() 1336 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_get_inode()
|
| /linux/fs/nfsd/ |
| H A D | blocklayout.c | 206 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_simple() argument 214 gdp->gd_device = dev; in nfsd4_block_get_device_info_simple() 229 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_proc_getdeviceinfo() argument 233 return nfserrno(nfsd4_block_get_device_info_simple(sb, gdp)); in nfsd4_block_proc_getdeviceinfo() 315 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_scsi() argument 325 gdp->gd_device = dev; in nfsd4_block_get_device_info_scsi() 364 gdp->gd_device = NULL; in nfsd4_block_get_device_info_scsi() 372 struct nfsd4_getdeviceinfo *gdp) in nfsd4_scsi_proc_getdeviceinfo() argument 376 return nfserrno(nfsd4_block_get_device_info_scsi(sb, clp, gdp)); in nfsd4_scsi_proc_getdeviceinfo()
|
| H A D | flexfilelayoutxdr.c | 79 const struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_encode_getdeviceinfo() argument 81 struct pnfs_ff_device_addr *da = gdp->gd_device; in nfsd4_ff_encode_getdeviceinfo() 90 if (!gdp->gd_maxcount) { in nfsd4_ff_encode_getdeviceinfo()
|
| H A D | blocklayoutxdr.c | 97 const struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_encode_getdeviceinfo() argument 99 struct pnfs_block_deviceaddr *dev = gdp->gd_device; in nfsd4_block_encode_getdeviceinfo() 106 if (!gdp->gd_maxcount) { in nfsd4_block_encode_getdeviceinfo()
|
| H A D | flexfilelayout.c | 82 struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_proc_getdeviceinfo() argument 93 gdp->gd_device = da; in nfsd4_ff_proc_getdeviceinfo()
|
| H A D | flexfilelayoutxdr.h | 46 const struct nfsd4_getdeviceinfo *gdp);
|
| H A D | blocklayoutxdr.h | 68 const struct nfsd4_getdeviceinfo *gdp);
|
| H A D | nfs4proc.c | 2401 struct nfsd4_getdeviceinfo *gdp = &u->getdeviceinfo; in nfsd4_getdeviceinfo() local 2409 gdp->gd_layout_type, in nfsd4_getdeviceinfo() 2410 gdp->gd_devid.fsid_idx, gdp->gd_devid.generation, in nfsd4_getdeviceinfo() 2411 gdp->gd_maxcount); in nfsd4_getdeviceinfo() 2413 map = nfsd4_find_devid_map(gdp->gd_devid.fsid_idx); in nfsd4_getdeviceinfo() 2429 ops = nfsd4_layout_verify(exp, gdp->gd_layout_type); in nfsd4_getdeviceinfo() 2434 if (gdp->gd_maxcount != 0) { in nfsd4_getdeviceinfo() 2436 rqstp, cstate->clp, gdp); in nfsd4_getdeviceinfo() 2439 gdp->gd_notify_types &= ops->notify_types; in nfsd4_getdeviceinfo()
|
| /linux/fs/ext4/ |
| H A D | block_validity.c | 216 struct ext4_group_desc *gdp; in ext4_setup_system_zone() local 235 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_setup_system_zone() 237 ext4_block_bitmap(sb, gdp), 1, 0); in ext4_setup_system_zone() 241 ext4_inode_bitmap(sb, gdp), 1, 0); in ext4_setup_system_zone() 245 ext4_inode_table(sb, gdp), in ext4_setup_system_zone()
|
| H A D | fsmap.c | 473 struct ext4_group_desc *gdp; in ext4_getfsmap_find_fixed_metadata() local 481 gdp = ext4_get_group_desc(sb, agno, NULL); in ext4_getfsmap_find_fixed_metadata() 482 if (!gdp) { in ext4_getfsmap_find_fixed_metadata() 494 ext4_block_bitmap(sb, gdp), 1, in ext4_getfsmap_find_fixed_metadata() 501 ext4_inode_bitmap(sb, gdp), 1, in ext4_getfsmap_find_fixed_metadata() 508 ext4_inode_table(sb, gdp), in ext4_getfsmap_find_fixed_metadata()
|
| H A D | inode.c | 4802 struct ext4_group_desc *gdp; in __ext4_get_inode_loc() local 4814 gdp = ext4_get_group_desc(sb, iloc->block_group, NULL); in __ext4_get_inode_loc() 4815 if (!gdp) in __ext4_get_inode_loc() 4826 block = ext4_inode_table(sb, gdp); in __ext4_get_inode_loc() 4860 bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); in __ext4_get_inode_loc() 4905 table = ext4_inode_table(sb, gdp); in __ext4_get_inode_loc() 4913 num -= ext4_itable_unused_count(sb, gdp); in __ext4_get_inode_loc()
|
| /linux/drivers/s390/block/ |
| H A D | dasd_int.h | 619 struct gendisk *gdp; member
|