/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 147 readl(gdp->regs + reg ## _OFFSET)) 181 static void gdp_dbg_nvn(struct seq_file *s, struct sti_gdp *gdp, int val) in gdp_dbg_nvn() argument 187 if (gdp->node_list[i].top_field_paddr == val) { in gdp_dbg_nvn() 188 base = gdp->node_list[i].top_field; in gdp_dbg_nvn() 191 if (gdp->node_list[i].btm_field_paddr == val) { in gdp_dbg_nvn() 192 base = gdp->node_list[i].btm_field; in gdp_dbg_nvn() 216 struct sti_gdp *gdp = (struct sti_gdp *)node->info_ent->data; in gdp_dbg_show() local 217 struct drm_plane *drm_plane = &gdp->plane.drm_plane; in gdp_dbg_show() 225 sti_plane_to_str(&gdp->plane), gdp->regs); in gdp_dbg_show() 228 gdp_dbg_ctl(s, readl(gdp->regs + GAM_GDP_CTL_OFFSET)); in gdp_dbg_show() [all …]
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
D | dasd_genhd.c | 32 struct gendisk *gdp; in dasd_gendisk_alloc() local 41 gdp = alloc_disk(1 << DASD_PARTN_BITS); in dasd_gendisk_alloc() 42 if (!gdp) in dasd_gendisk_alloc() 46 gdp->major = DASD_MAJOR; in dasd_gendisk_alloc() 47 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc() 48 gdp->fops = &dasd_device_operations; in dasd_gendisk_alloc() 57 len = sprintf(gdp->disk_name, "dasd"); in dasd_gendisk_alloc() 61 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 64 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 67 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() [all …]
|
D | dasd_proc.c | 59 if (block->gdp) in dasd_devices_show() 61 MAJOR(disk_devt(block->gdp)), in dasd_devices_show() 62 MINOR(disk_devt(block->gdp))); in dasd_devices_show() 66 if (block->gdp) in dasd_devices_show() 67 seq_printf(m, " is %-8s", block->gdp->disk_name); in dasd_devices_show()
|
D | dasd_devmap.c | 678 void dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device) in dasd_add_link_to_gendisk() argument 686 gdp->private_data = devmap; in dasd_add_link_to_gendisk() 690 struct dasd_device *dasd_device_from_gendisk(struct gendisk *gdp) in dasd_device_from_gendisk() argument 695 if (!gdp->private_data) in dasd_device_from_gendisk() 699 devmap = gdp->private_data; in dasd_device_from_gendisk() 795 if (!device->block || !device->block->gdp || in dasd_ro_store() 804 set_disk_ro(device->block->gdp, val); in dasd_ro_store()
|
D | dasd_ioctl.c | 58 bd_set_nr_sectors(bdev, get_capacity(base->block->gdp)); in dasd_ioctl_enable() 225 struct block_device *bdev = bdget_disk(block->gdp, 0); in dasd_format()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | bitmap.c | 20 struct ext4_group_desc *gdp, in ext4_inode_bitmap_csum_verify() argument 30 provided = le16_to_cpu(gdp->bg_inode_bitmap_csum_lo); in ext4_inode_bitmap_csum_verify() 33 hi = le16_to_cpu(gdp->bg_inode_bitmap_csum_hi); in ext4_inode_bitmap_csum_verify() 42 struct ext4_group_desc *gdp, in ext4_inode_bitmap_csum_set() argument 52 gdp->bg_inode_bitmap_csum_lo = cpu_to_le16(csum & 0xFFFF); in ext4_inode_bitmap_csum_set() 54 gdp->bg_inode_bitmap_csum_hi = cpu_to_le16(csum >> 16); in ext4_inode_bitmap_csum_set() 58 struct ext4_group_desc *gdp, in ext4_block_bitmap_csum_verify() argument 69 provided = le16_to_cpu(gdp->bg_block_bitmap_csum_lo); in ext4_block_bitmap_csum_verify() 72 hi = le16_to_cpu(gdp->bg_block_bitmap_csum_hi); in ext4_block_bitmap_csum_verify() 84 struct ext4_group_desc *gdp, in ext4_block_bitmap_csum_set() argument [all …]
|
D | ialloc.c | 244 struct ext4_group_desc *gdp; in ext4_free_inode() local 308 gdp = ext4_get_group_desc(sb, block_group, &bh2); in ext4_free_inode() 309 if (gdp) { in ext4_free_inode() 320 count = ext4_free_inodes_count(sb, gdp) + 1; in ext4_free_inode() 321 ext4_free_inodes_set(sb, gdp, count); in ext4_free_inode() 323 count = ext4_used_dirs_count(sb, gdp) - 1; in ext4_free_inode() 324 ext4_used_dirs_set(sb, gdp, count); in ext4_free_inode() 328 ext4_inode_bitmap_csum_set(sb, block_group, gdp, bitmap_bh, in ext4_free_inode() 330 ext4_group_desc_csum_set(sb, block_group, gdp); in ext4_free_inode() 675 struct ext4_group_desc *gdp; in recently_deleted() local [all …]
|
D | balloc.c | 88 struct ext4_group_desc *gdp) in ext4_num_overhead_clusters() argument 113 if (ext4_block_in_group(sb, ext4_block_bitmap(sb, gdp), block_group)) { in ext4_num_overhead_clusters() 115 ext4_block_bitmap(sb, gdp) - start); in ext4_num_overhead_clusters() 124 if (ext4_block_in_group(sb, ext4_inode_bitmap(sb, gdp), block_group)) { in ext4_num_overhead_clusters() 126 ext4_inode_bitmap(sb, gdp) - start); in ext4_num_overhead_clusters() 135 itbl_blk = ext4_inode_table(sb, gdp); in ext4_num_overhead_clusters() 182 struct ext4_group_desc *gdp) in ext4_init_block_bitmap() argument 192 if (!ext4_group_desc_csum_verify(sb, block_group, gdp)) { in ext4_init_block_bitmap() 210 tmp = ext4_block_bitmap(sb, gdp); in ext4_init_block_bitmap() 214 tmp = ext4_inode_bitmap(sb, gdp); in ext4_init_block_bitmap() [all …]
|
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()
|
D | mballoc.c | 2207 struct ext4_group_desc *gdp = in ext4_mb_good_group_nolock() local 2223 (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)))) in ext4_mb_good_group_nolock() 2252 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, group, in ext4_mb_prefetch() local 2263 if (gdp && grp && !EXT4_MB_GRP_TEST_AND_SET_READ(grp) && in ext4_mb_prefetch() 2265 ext4_free_group_clusters(sb, gdp) > 0 && in ext4_mb_prefetch() 2267 (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)))) { in ext4_mb_prefetch() 2298 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, group, in ext4_mb_prefetch_fini() local 2307 if (grp && gdp && EXT4_MB_GRP_NEED_INIT(grp) && in ext4_mb_prefetch_fini() 2308 ext4_free_group_clusters(sb, gdp) > 0 && in ext4_mb_prefetch_fini() 2310 (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)))) { in ext4_mb_prefetch_fini() [all …]
|
D | resize.c | 1277 struct ext4_group_desc *gdp, in ext4_set_bitmap_checksums() argument 1288 ext4_inode_bitmap_csum_set(sb, group, gdp, bh, in ext4_set_bitmap_checksums() 1295 ext4_block_bitmap_csum_set(sb, group, gdp, bh); in ext4_set_bitmap_checksums() 1308 struct ext4_group_desc *gdp; in ext4_setup_new_descs() local 1327 gdp = (struct ext4_group_desc *)(gdb_bh->b_data + in ext4_setup_new_descs() 1330 memset(gdp, 0, EXT4_DESC_SIZE(sb)); in ext4_setup_new_descs() 1331 ext4_block_bitmap_set(sb, gdp, group_data->block_bitmap); in ext4_setup_new_descs() 1332 ext4_inode_bitmap_set(sb, gdp, group_data->inode_bitmap); in ext4_setup_new_descs() 1333 err = ext4_set_bitmap_checksums(sb, group, gdp, group_data); in ext4_setup_new_descs() 1339 ext4_inode_table_set(sb, gdp, group_data->inode_table); in ext4_setup_new_descs() [all …]
|
D | super.c | 1018 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, group, NULL); in ext4_mark_group_bitmap_corrupted() local 1021 if (!grp || !gdp) in ext4_mark_group_bitmap_corrupted() 1034 if (!ret && gdp) { in ext4_mark_group_bitmap_corrupted() 1037 count = ext4_free_inodes_count(sb, gdp); in ext4_mark_group_bitmap_corrupted() 2755 struct ext4_group_desc *gdp = NULL; in ext4_fill_flex_info() local 2771 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_fill_flex_info() 2775 atomic_add(ext4_free_inodes_count(sb, gdp), &fg->free_inodes); in ext4_fill_flex_info() 2776 atomic64_add(ext4_free_group_clusters(sb, gdp), in ext4_fill_flex_info() 2778 atomic_add(ext4_used_dirs_count(sb, gdp), &fg->used_dirs); in ext4_fill_flex_info() 2787 struct ext4_group_desc *gdp) in ext4_group_desc_csum() argument [all …]
|
D | fsmap.c | 411 struct ext4_group_desc *gdp; in ext4_getfsmap_find_fixed_metadata() local 419 gdp = ext4_get_group_desc(sb, agno, NULL); in ext4_getfsmap_find_fixed_metadata() 420 if (!gdp) { in ext4_getfsmap_find_fixed_metadata() 432 ext4_block_bitmap(sb, gdp), 1, in ext4_getfsmap_find_fixed_metadata() 439 ext4_inode_bitmap(sb, gdp), 1, in ext4_getfsmap_find_fixed_metadata() 446 ext4_inode_table(sb, gdp), in ext4_getfsmap_find_fixed_metadata()
|
D | ext4.h | 2533 struct ext4_group_desc *gdp, 2536 struct ext4_group_desc *gdp, 2539 struct ext4_group_desc *gdp, 2542 struct ext4_group_desc *gdp, 2586 struct ext4_group_desc *gdp); 3137 struct ext4_group_desc *gdp); 3139 struct ext4_group_desc *gdp);
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | ialloc.c | 172 struct ext2_group_desc * gdp; in ext2_preread_inode() local 180 gdp = ext2_get_group_desc(inode->i_sb, block_group, NULL); in ext2_preread_inode() 181 if (gdp == NULL) in ext2_preread_inode() 189 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_preread_inode() 437 struct ext2_group_desc *gdp; in ext2_new_inode() local 465 gdp = ext2_get_group_desc(sb, group, &bh2); in ext2_new_inode() 466 if (!gdp) { in ext2_new_inode() 537 le16_add_cpu(&gdp->bg_free_inodes_count, -1); in ext2_new_inode() 541 le16_add_cpu(&gdp->bg_used_dirs_count, 1); in ext2_new_inode() 674 struct ext2_group_desc *gdp = ext2_get_group_desc (sb, i, NULL); in ext2_count_dirs() local [all …]
|
D | balloc.c | 1219 struct ext2_group_desc *gdp; in ext2_new_blocks() local 1274 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1275 if (!gdp) in ext2_new_blocks() 1278 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1319 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1320 if (!gdp) in ext2_new_blocks() 1323 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1370 group_no, gdp->bg_free_blocks_count); in ext2_new_blocks() 1374 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks() 1375 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext2_new_blocks() [all …]
|
D | super.c | 695 struct ext2_group_desc *gdp = ext2_get_group_desc(sb, i, NULL); in ext2_check_descriptors() local 699 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors() 700 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors() 705 i, (unsigned long) le32_to_cpu(gdp->bg_block_bitmap)); in ext2_check_descriptors() 708 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext2_check_descriptors() 709 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) in ext2_check_descriptors() 714 i, (unsigned long) le32_to_cpu(gdp->bg_inode_bitmap)); in ext2_check_descriptors() 717 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext2_check_descriptors() 718 le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 > in ext2_check_descriptors() 724 i, (unsigned long) le32_to_cpu(gdp->bg_inode_table)); in ext2_check_descriptors()
|
D | inode.c | 1331 struct ext2_group_desc * gdp; in ext2_get_inode() local 1339 gdp = ext2_get_group_desc(sb, block_group, NULL); in ext2_get_inode() 1340 if (!gdp) in ext2_get_inode() 1346 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_get_inode()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | blocklayout.c | 147 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_simple() argument 156 gdp->gd_device = dev; in nfsd4_block_get_device_info_simple() 171 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_proc_getdeviceinfo() argument 175 return nfserrno(nfsd4_block_get_device_info_simple(sb, gdp)); in nfsd4_block_proc_getdeviceinfo() 331 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_scsi() argument 342 gdp->gd_device = dev; in nfsd4_block_get_device_info_scsi() 383 struct nfsd4_getdeviceinfo *gdp) in nfsd4_scsi_proc_getdeviceinfo() argument 387 return nfserrno(nfsd4_block_get_device_info_scsi(sb, clp, gdp)); in nfsd4_scsi_proc_getdeviceinfo()
|
D | flexfilelayoutxdr.c | 80 struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_encode_getdeviceinfo() argument 82 struct pnfs_ff_device_addr *da = gdp->gd_device; in nfsd4_ff_encode_getdeviceinfo()
|
D | flexfilelayout.c | 81 struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_proc_getdeviceinfo() argument 92 gdp->gd_device = da; in nfsd4_ff_proc_getdeviceinfo()
|
D | flexfilelayoutxdr.h | 46 struct nfsd4_getdeviceinfo *gdp);
|
D | blocklayoutxdr.h | 54 struct nfsd4_getdeviceinfo *gdp);
|
D | blocklayoutxdr.c | 79 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_encode_getdeviceinfo() argument 81 struct pnfs_block_deviceaddr *dev = gdp->gd_device; in nfsd4_block_encode_getdeviceinfo()
|
D | nfs4proc.c | 1847 struct nfsd4_getdeviceinfo *gdp = &u->getdeviceinfo; in nfsd4_getdeviceinfo() local 1855 gdp->gd_layout_type, in nfsd4_getdeviceinfo() 1856 gdp->gd_devid.fsid_idx, gdp->gd_devid.generation, in nfsd4_getdeviceinfo() 1857 gdp->gd_maxcount); in nfsd4_getdeviceinfo() 1859 map = nfsd4_find_devid_map(gdp->gd_devid.fsid_idx); in nfsd4_getdeviceinfo() 1873 ops = nfsd4_layout_verify(exp, gdp->gd_layout_type); in nfsd4_getdeviceinfo() 1878 if (gdp->gd_maxcount != 0) { in nfsd4_getdeviceinfo() 1880 rqstp, cstate->session->se_client, gdp); in nfsd4_getdeviceinfo() 1883 gdp->gd_notify_types &= ops->notify_types; in nfsd4_getdeviceinfo()
|