gdp               147 drivers/gpu/drm/sti/sti_gdp.c 				   readl(gdp->regs + reg ## _OFFSET))
gdp               181 drivers/gpu/drm/sti/sti_gdp.c static void gdp_dbg_nvn(struct seq_file *s, struct sti_gdp *gdp, int val)
gdp               187 drivers/gpu/drm/sti/sti_gdp.c 		if (gdp->node_list[i].top_field_paddr == val) {
gdp               188 drivers/gpu/drm/sti/sti_gdp.c 			base = gdp->node_list[i].top_field;
gdp               191 drivers/gpu/drm/sti/sti_gdp.c 		if (gdp->node_list[i].btm_field_paddr == val) {
gdp               192 drivers/gpu/drm/sti/sti_gdp.c 			base = gdp->node_list[i].btm_field;
gdp               216 drivers/gpu/drm/sti/sti_gdp.c 	struct sti_gdp *gdp = (struct sti_gdp *)node->info_ent->data;
gdp               217 drivers/gpu/drm/sti/sti_gdp.c 	struct drm_plane *drm_plane = &gdp->plane.drm_plane;
gdp               225 drivers/gpu/drm/sti/sti_gdp.c 		   sti_plane_to_str(&gdp->plane), gdp->regs);
gdp               228 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_ctl(s, readl(gdp->regs + GAM_GDP_CTL_OFFSET));
gdp               231 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_vpo(s, readl(gdp->regs + GAM_GDP_VPO_OFFSET));
gdp               233 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_vps(s, readl(gdp->regs + GAM_GDP_VPS_OFFSET));
gdp               237 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_size(s, readl(gdp->regs + GAM_GDP_SIZE_OFFSET));
gdp               239 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_nvn(s, gdp, readl(gdp->regs + GAM_GDP_NVN_OFFSET));
gdp               243 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_ppt(s, readl(gdp->regs + GAM_GDP_PPT_OFFSET));
gdp               246 drivers/gpu/drm/sti/sti_gdp.c 	gdp_dbg_mst(s, readl(gdp->regs + GAM_GDP_MST_OFFSET));
gdp               283 drivers/gpu/drm/sti/sti_gdp.c 	struct sti_gdp *gdp = (struct sti_gdp *)node->info_ent->data;
gdp               287 drivers/gpu/drm/sti/sti_gdp.c 		seq_printf(s, "\n%s[%d].top", sti_plane_to_str(&gdp->plane), b);
gdp               288 drivers/gpu/drm/sti/sti_gdp.c 		gdp_node_dump_node(s, gdp->node_list[b].top_field);
gdp               289 drivers/gpu/drm/sti/sti_gdp.c 		seq_printf(s, "\n%s[%d].btm", sti_plane_to_str(&gdp->plane), b);
gdp               290 drivers/gpu/drm/sti/sti_gdp.c 		gdp_node_dump_node(s, gdp->node_list[b].btm_field);
gdp               316 drivers/gpu/drm/sti/sti_gdp.c static int gdp_debugfs_init(struct sti_gdp *gdp, struct drm_minor *minor)
gdp               322 drivers/gpu/drm/sti/sti_gdp.c 	switch (gdp->plane.desc) {
gdp               344 drivers/gpu/drm/sti/sti_gdp.c 		gdp_debugfs_files[i].data = gdp;
gdp               394 drivers/gpu/drm/sti/sti_gdp.c static struct sti_gdp_node_list *sti_gdp_get_free_nodes(struct sti_gdp *gdp)
gdp               399 drivers/gpu/drm/sti/sti_gdp.c 	hw_nvn = readl(gdp->regs + GAM_GDP_NVN_OFFSET);
gdp               404 drivers/gpu/drm/sti/sti_gdp.c 		if ((hw_nvn != gdp->node_list[i].btm_field_paddr) &&
gdp               405 drivers/gpu/drm/sti/sti_gdp.c 		    (hw_nvn != gdp->node_list[i].top_field_paddr))
gdp               406 drivers/gpu/drm/sti/sti_gdp.c 			return &gdp->node_list[i];
gdp               410 drivers/gpu/drm/sti/sti_gdp.c 			sti_plane_to_str(&gdp->plane), hw_nvn);
gdp               413 drivers/gpu/drm/sti/sti_gdp.c 	return &gdp->node_list[0];
gdp               426 drivers/gpu/drm/sti/sti_gdp.c struct sti_gdp_node_list *sti_gdp_get_current_nodes(struct sti_gdp *gdp)
gdp               431 drivers/gpu/drm/sti/sti_gdp.c 	hw_nvn = readl(gdp->regs + GAM_GDP_NVN_OFFSET);
gdp               436 drivers/gpu/drm/sti/sti_gdp.c 		if ((hw_nvn == gdp->node_list[i].btm_field_paddr) ||
gdp               437 drivers/gpu/drm/sti/sti_gdp.c 				(hw_nvn == gdp->node_list[i].top_field_paddr))
gdp               438 drivers/gpu/drm/sti/sti_gdp.c 			return &gdp->node_list[i];
gdp               442 drivers/gpu/drm/sti/sti_gdp.c 				hw_nvn, sti_plane_to_str(&gdp->plane));
gdp               453 drivers/gpu/drm/sti/sti_gdp.c static void sti_gdp_disable(struct sti_gdp *gdp)
gdp               457 drivers/gpu/drm/sti/sti_gdp.c 	DRM_DEBUG_DRIVER("%s\n", sti_plane_to_str(&gdp->plane));
gdp               461 drivers/gpu/drm/sti/sti_gdp.c 		gdp->node_list[i].top_field->gam_gdp_ppt |= GAM_GDP_PPT_IGNORE;
gdp               462 drivers/gpu/drm/sti/sti_gdp.c 		gdp->node_list[i].btm_field->gam_gdp_ppt |= GAM_GDP_PPT_IGNORE;
gdp               465 drivers/gpu/drm/sti/sti_gdp.c 	if (sti_vtg_unregister_client(gdp->vtg, &gdp->vtg_field_nb))
gdp               468 drivers/gpu/drm/sti/sti_gdp.c 	if (gdp->clk_pix)
gdp               469 drivers/gpu/drm/sti/sti_gdp.c 		clk_disable_unprepare(gdp->clk_pix);
gdp               471 drivers/gpu/drm/sti/sti_gdp.c 	gdp->plane.status = STI_PLANE_DISABLED;
gdp               472 drivers/gpu/drm/sti/sti_gdp.c 	gdp->vtg = NULL;
gdp               489 drivers/gpu/drm/sti/sti_gdp.c 	struct sti_gdp *gdp = container_of(nb, struct sti_gdp, vtg_field_nb);
gdp               491 drivers/gpu/drm/sti/sti_gdp.c 	if (gdp->plane.status == STI_PLANE_FLUSHING) {
gdp               494 drivers/gpu/drm/sti/sti_gdp.c 				 sti_plane_to_str(&gdp->plane));
gdp               496 drivers/gpu/drm/sti/sti_gdp.c 		sti_gdp_disable(gdp);
gdp               501 drivers/gpu/drm/sti/sti_gdp.c 		gdp->is_curr_top = true;
gdp               504 drivers/gpu/drm/sti/sti_gdp.c 		gdp->is_curr_top = false;
gdp               514 drivers/gpu/drm/sti/sti_gdp.c static void sti_gdp_init(struct sti_gdp *gdp)
gdp               516 drivers/gpu/drm/sti/sti_gdp.c 	struct device_node *np = gdp->dev->of_node;
gdp               524 drivers/gpu/drm/sti/sti_gdp.c 	base = dma_alloc_wc(gdp->dev, size, &dma_addr, GFP_KERNEL);
gdp               537 drivers/gpu/drm/sti/sti_gdp.c 		gdp->node_list[i].top_field = base;
gdp               538 drivers/gpu/drm/sti/sti_gdp.c 		gdp->node_list[i].top_field_paddr = dma_addr;
gdp               548 drivers/gpu/drm/sti/sti_gdp.c 		gdp->node_list[i].btm_field = base;
gdp               549 drivers/gpu/drm/sti/sti_gdp.c 		gdp->node_list[i].btm_field_paddr = dma_addr;
gdp               559 drivers/gpu/drm/sti/sti_gdp.c 		switch (gdp->plane.desc) {
gdp               577 drivers/gpu/drm/sti/sti_gdp.c 		gdp->clk_pix = devm_clk_get(gdp->dev, clk_name);
gdp               578 drivers/gpu/drm/sti/sti_gdp.c 		if (IS_ERR(gdp->clk_pix))
gdp               581 drivers/gpu/drm/sti/sti_gdp.c 		gdp->clk_main_parent = devm_clk_get(gdp->dev, "main_parent");
gdp               582 drivers/gpu/drm/sti/sti_gdp.c 		if (IS_ERR(gdp->clk_main_parent))
gdp               585 drivers/gpu/drm/sti/sti_gdp.c 		gdp->clk_aux_parent = devm_clk_get(gdp->dev, "aux_parent");
gdp               586 drivers/gpu/drm/sti/sti_gdp.c 		if (IS_ERR(gdp->clk_aux_parent))
gdp               620 drivers/gpu/drm/sti/sti_gdp.c 	struct sti_gdp *gdp = to_sti_gdp(plane);
gdp               660 drivers/gpu/drm/sti/sti_gdp.c 	if (mode->clock && gdp->clk_pix) {
gdp               670 drivers/gpu/drm/sti/sti_gdp.c 			clkp = gdp->clk_main_parent;
gdp               672 drivers/gpu/drm/sti/sti_gdp.c 			clkp = gdp->clk_aux_parent;
gdp               675 drivers/gpu/drm/sti/sti_gdp.c 			clk_set_parent(gdp->clk_pix, clkp);
gdp               677 drivers/gpu/drm/sti/sti_gdp.c 		res = clk_set_rate(gdp->clk_pix, rate);
gdp               701 drivers/gpu/drm/sti/sti_gdp.c 	struct sti_gdp *gdp = to_sti_gdp(plane);
gdp               735 drivers/gpu/drm/sti/sti_gdp.c 	if (!gdp->vtg) {
gdp               736 drivers/gpu/drm/sti/sti_gdp.c 		struct sti_compositor *compo = dev_get_drvdata(gdp->dev);
gdp               740 drivers/gpu/drm/sti/sti_gdp.c 		gdp->vtg = compo->vtg[mixer->id];
gdp               741 drivers/gpu/drm/sti/sti_gdp.c 		sti_vtg_register_client(gdp->vtg, &gdp->vtg_field_nb, crtc);
gdp               742 drivers/gpu/drm/sti/sti_gdp.c 		clk_prepare_enable(gdp->clk_pix);
gdp               756 drivers/gpu/drm/sti/sti_gdp.c 	list = sti_gdp_get_free_nodes(gdp);
gdp               760 drivers/gpu/drm/sti/sti_gdp.c 	dev_dbg(gdp->dev, "%s %s top_node:0x%p btm_node:0x%p\n", __func__,
gdp               784 drivers/gpu/drm/sti/sti_gdp.c 	dst_w = sti_gdp_get_dst(gdp->dev, dst_w, src_w);
gdp               785 drivers/gpu/drm/sti/sti_gdp.c 	dst_h = sti_gdp_get_dst(gdp->dev, dst_h, src_h);
gdp               817 drivers/gpu/drm/sti/sti_gdp.c 	curr_list = sti_gdp_get_current_nodes(gdp);
gdp               821 drivers/gpu/drm/sti/sti_gdp.c 	dev_dbg(gdp->dev, "Current NVN:0x%X\n",
gdp               822 drivers/gpu/drm/sti/sti_gdp.c 		readl(gdp->regs + GAM_GDP_NVN_OFFSET));
gdp               823 drivers/gpu/drm/sti/sti_gdp.c 	dev_dbg(gdp->dev, "Posted buff: %lx current buff: %x\n",
gdp               825 drivers/gpu/drm/sti/sti_gdp.c 		readl(gdp->regs + GAM_GDP_PML_OFFSET));
gdp               833 drivers/gpu/drm/sti/sti_gdp.c 		writel(gdp->is_curr_top ?
gdp               835 drivers/gpu/drm/sti/sti_gdp.c 				gdp->regs + GAM_GDP_NVN_OFFSET);
gdp               840 drivers/gpu/drm/sti/sti_gdp.c 		if (gdp->is_curr_top) {
gdp               848 drivers/gpu/drm/sti/sti_gdp.c 			       gdp->regs + GAM_GDP_NVN_OFFSET);
gdp               852 drivers/gpu/drm/sti/sti_gdp.c 		writel(dma_updated_top, gdp->regs + GAM_GDP_NVN_OFFSET);
gdp               896 drivers/gpu/drm/sti/sti_gdp.c 	struct sti_gdp *gdp = to_sti_gdp(plane);
gdp               898 drivers/gpu/drm/sti/sti_gdp.c 	return gdp_debugfs_init(gdp, drm_plane->dev->primary);
gdp               917 drivers/gpu/drm/sti/sti_gdp.c 	struct sti_gdp *gdp;
gdp               920 drivers/gpu/drm/sti/sti_gdp.c 	gdp = devm_kzalloc(dev, sizeof(*gdp), GFP_KERNEL);
gdp               921 drivers/gpu/drm/sti/sti_gdp.c 	if (!gdp) {
gdp               926 drivers/gpu/drm/sti/sti_gdp.c 	gdp->dev = dev;
gdp               927 drivers/gpu/drm/sti/sti_gdp.c 	gdp->regs = baseaddr;
gdp               928 drivers/gpu/drm/sti/sti_gdp.c 	gdp->plane.desc = desc;
gdp               929 drivers/gpu/drm/sti/sti_gdp.c 	gdp->plane.status = STI_PLANE_DISABLED;
gdp               931 drivers/gpu/drm/sti/sti_gdp.c 	gdp->vtg_field_nb.notifier_call = sti_gdp_field_cb;
gdp               933 drivers/gpu/drm/sti/sti_gdp.c 	sti_gdp_init(gdp);
gdp               935 drivers/gpu/drm/sti/sti_gdp.c 	res = drm_universal_plane_init(drm_dev, &gdp->plane.drm_plane,
gdp               946 drivers/gpu/drm/sti/sti_gdp.c 	drm_plane_helper_add(&gdp->plane.drm_plane, &sti_gdp_helpers_funcs);
gdp               948 drivers/gpu/drm/sti/sti_gdp.c 	sti_plane_init_property(&gdp->plane, type);
gdp               950 drivers/gpu/drm/sti/sti_gdp.c 	return &gdp->plane.drm_plane;
gdp               953 drivers/gpu/drm/sti/sti_gdp.c 	devm_kfree(dev, gdp);
gdp               267 drivers/s390/block/dasd.c 			dasd_debugfs_setup(block->gdp->disk_name,
gdp               355 drivers/s390/block/dasd.c 				disk = device->block->gdp;
gdp               364 drivers/s390/block/dasd.c 		set_capacity(block->gdp,
gdp               441 drivers/s390/block/dasd.c 			disk = device->block->gdp;
gdp               678 drivers/s390/block/dasd_devmap.c void dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device)
gdp               686 drivers/s390/block/dasd_devmap.c 	gdp->private_data = devmap;
gdp               690 drivers/s390/block/dasd_devmap.c struct dasd_device *dasd_device_from_gendisk(struct gendisk *gdp)
gdp               695 drivers/s390/block/dasd_devmap.c 	if (!gdp->private_data)
gdp               699 drivers/s390/block/dasd_devmap.c 	devmap = gdp->private_data;
gdp               795 drivers/s390/block/dasd_devmap.c 	if (!device->block || !device->block->gdp ||
gdp               804 drivers/s390/block/dasd_devmap.c 	set_disk_ro(device->block->gdp, val);
gdp                32 drivers/s390/block/dasd_genhd.c 	struct gendisk *gdp;
gdp                41 drivers/s390/block/dasd_genhd.c 	gdp = alloc_disk(1 << DASD_PARTN_BITS);
gdp                42 drivers/s390/block/dasd_genhd.c 	if (!gdp)
gdp                46 drivers/s390/block/dasd_genhd.c 	gdp->major = DASD_MAJOR;
gdp                47 drivers/s390/block/dasd_genhd.c 	gdp->first_minor = base->devindex << DASD_PARTN_BITS;
gdp                48 drivers/s390/block/dasd_genhd.c 	gdp->fops = &dasd_device_operations;
gdp                57 drivers/s390/block/dasd_genhd.c 	len = sprintf(gdp->disk_name, "dasd");
gdp                61 drivers/s390/block/dasd_genhd.c 			        len += sprintf(gdp->disk_name + len, "%c",
gdp                64 drivers/s390/block/dasd_genhd.c 			len += sprintf(gdp->disk_name + len, "%c",
gdp                67 drivers/s390/block/dasd_genhd.c 		len += sprintf(gdp->disk_name + len, "%c",
gdp                70 drivers/s390/block/dasd_genhd.c 	len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26));
gdp                74 drivers/s390/block/dasd_genhd.c 		set_disk_ro(gdp, 1);
gdp                75 drivers/s390/block/dasd_genhd.c 	dasd_add_link_to_gendisk(gdp, base);
gdp                76 drivers/s390/block/dasd_genhd.c 	gdp->queue = block->request_queue;
gdp                77 drivers/s390/block/dasd_genhd.c 	block->gdp = gdp;
gdp                78 drivers/s390/block/dasd_genhd.c 	set_capacity(block->gdp, 0);
gdp                79 drivers/s390/block/dasd_genhd.c 	device_add_disk(&base->cdev->dev, block->gdp, NULL);
gdp                88 drivers/s390/block/dasd_genhd.c 	if (block->gdp) {
gdp                89 drivers/s390/block/dasd_genhd.c 		del_gendisk(block->gdp);
gdp                90 drivers/s390/block/dasd_genhd.c 		block->gdp->private_data = NULL;
gdp                91 drivers/s390/block/dasd_genhd.c 		put_disk(block->gdp);
gdp                92 drivers/s390/block/dasd_genhd.c 		block->gdp = NULL;
gdp               104 drivers/s390/block/dasd_genhd.c 	bdev = bdget_disk(block->gdp, 0);
gdp               165 drivers/s390/block/dasd_genhd.c 	for (bpart.pno = block->gdp->minors - 1; bpart.pno > 0; bpart.pno--)
gdp               168 drivers/s390/block/dasd_genhd.c 	invalidate_partition(block->gdp, 0);
gdp               171 drivers/s390/block/dasd_genhd.c 	set_capacity(block->gdp, 0);
gdp               554 drivers/s390/block/dasd_int.h 	struct gendisk *gdp;
gdp                59 drivers/s390/block/dasd_ioctl.c 		     (loff_t)get_capacity(base->block->gdp) << 9);
gdp               229 drivers/s390/block/dasd_ioctl.c 		struct block_device *bdev = bdget_disk(block->gdp, 0);
gdp                59 drivers/s390/block/dasd_proc.c 	if (block->gdp)
gdp                61 drivers/s390/block/dasd_proc.c 			   MAJOR(disk_devt(block->gdp)),
gdp                62 drivers/s390/block/dasd_proc.c 			   MINOR(disk_devt(block->gdp)));
gdp                66 drivers/s390/block/dasd_proc.c 	if (block->gdp)
gdp                67 drivers/s390/block/dasd_proc.c 		seq_printf(m, " is %-8s", block->gdp->disk_name);
gdp              1244 fs/ext2/balloc.c 	struct ext2_group_desc *gdp;
gdp              1299 fs/ext2/balloc.c 	gdp = ext2_get_group_desc(sb, group_no, &gdp_bh);
gdp              1300 fs/ext2/balloc.c 	if (!gdp)
gdp              1303 fs/ext2/balloc.c 	free_blocks = le16_to_cpu(gdp->bg_free_blocks_count);
gdp              1337 fs/ext2/balloc.c 		gdp = ext2_get_group_desc(sb, group_no, &gdp_bh);
gdp              1338 fs/ext2/balloc.c 		if (!gdp)
gdp              1341 fs/ext2/balloc.c 		free_blocks = le16_to_cpu(gdp->bg_free_blocks_count);
gdp              1388 fs/ext2/balloc.c 			group_no, gdp->bg_free_blocks_count);
gdp              1392 fs/ext2/balloc.c 	if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) ||
gdp              1393 fs/ext2/balloc.c 	    in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) ||
gdp              1394 fs/ext2/balloc.c 	    in_range(ret_block, le32_to_cpu(gdp->bg_inode_table),
gdp              1396 fs/ext2/balloc.c 	    in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table),
gdp              1420 fs/ext2/balloc.c 	group_adjust_blocks(sb, group_no, gdp, gdp_bh, -num);
gdp               171 fs/ext2/ialloc.c 	struct ext2_group_desc * gdp;
gdp               179 fs/ext2/ialloc.c 	gdp = ext2_get_group_desc(inode->i_sb, block_group, NULL);
gdp               180 fs/ext2/ialloc.c 	if (gdp == NULL)
gdp               188 fs/ext2/ialloc.c 	block = le32_to_cpu(gdp->bg_inode_table) +
gdp               436 fs/ext2/ialloc.c 	struct ext2_group_desc *gdp;
gdp               464 fs/ext2/ialloc.c 		gdp = ext2_get_group_desc(sb, group, &bh2);
gdp               465 fs/ext2/ialloc.c 		if (!gdp) {
gdp               536 fs/ext2/ialloc.c 	le16_add_cpu(&gdp->bg_free_inodes_count, -1);
gdp               540 fs/ext2/ialloc.c 		le16_add_cpu(&gdp->bg_used_dirs_count, 1);
gdp               673 fs/ext2/ialloc.c 		struct ext2_group_desc *gdp = ext2_get_group_desc (sb, i, NULL);
gdp               674 fs/ext2/ialloc.c 		if (!gdp)
gdp               676 fs/ext2/ialloc.c 		count += le16_to_cpu(gdp->bg_used_dirs_count);
gdp              1335 fs/ext2/inode.c 	struct ext2_group_desc * gdp;
gdp              1343 fs/ext2/inode.c 	gdp = ext2_get_group_desc(sb, block_group, NULL);
gdp              1344 fs/ext2/inode.c 	if (!gdp)
gdp              1350 fs/ext2/inode.c 	block = le32_to_cpu(gdp->bg_inode_table) +
gdp               703 fs/ext2/super.c 		struct ext2_group_desc *gdp = ext2_get_group_desc(sb, i, NULL);
gdp               713 fs/ext2/super.c 		if (le32_to_cpu(gdp->bg_block_bitmap) < first_block ||
gdp               714 fs/ext2/super.c 		    le32_to_cpu(gdp->bg_block_bitmap) > last_block)
gdp               719 fs/ext2/super.c 				    i, (unsigned long) le32_to_cpu(gdp->bg_block_bitmap));
gdp               722 fs/ext2/super.c 		if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block ||
gdp               723 fs/ext2/super.c 		    le32_to_cpu(gdp->bg_inode_bitmap) > last_block)
gdp               728 fs/ext2/super.c 				    i, (unsigned long) le32_to_cpu(gdp->bg_inode_bitmap));
gdp               731 fs/ext2/super.c 		if (le32_to_cpu(gdp->bg_inode_table) < first_block ||
gdp               732 fs/ext2/super.c 		    le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 >
gdp               738 fs/ext2/super.c 				    i, (unsigned long) le32_to_cpu(gdp->bg_inode_table));
gdp                88 fs/ext4/balloc.c 					   struct ext4_group_desc *gdp)
gdp               113 fs/ext4/balloc.c 	if (ext4_block_in_group(sb, ext4_block_bitmap(sb, gdp), block_group)) {
gdp               115 fs/ext4/balloc.c 					 ext4_block_bitmap(sb, gdp) - start);
gdp               124 fs/ext4/balloc.c 	if (ext4_block_in_group(sb, ext4_inode_bitmap(sb, gdp), block_group)) {
gdp               126 fs/ext4/balloc.c 					 ext4_inode_bitmap(sb, gdp) - start);
gdp               135 fs/ext4/balloc.c 	itbl_blk = ext4_inode_table(sb, gdp);
gdp               182 fs/ext4/balloc.c 				   struct ext4_group_desc *gdp)
gdp               192 fs/ext4/balloc.c 	if (!ext4_group_desc_csum_verify(sb, block_group, gdp)) {
gdp               210 fs/ext4/balloc.c 	tmp = ext4_block_bitmap(sb, gdp);
gdp               214 fs/ext4/balloc.c 	tmp = ext4_inode_bitmap(sb, gdp);
gdp               218 fs/ext4/balloc.c 	tmp = ext4_inode_table(sb, gdp);
gdp               219 fs/ext4/balloc.c 	for (; tmp < ext4_inode_table(sb, gdp) +
gdp               240 fs/ext4/balloc.c 				       struct ext4_group_desc *gdp)
gdp               243 fs/ext4/balloc.c 		ext4_num_overhead_clusters(sb, block_group, gdp);
gdp               688 fs/ext4/balloc.c 	struct ext4_group_desc *gdp;
gdp               701 fs/ext4/balloc.c 	gdp = NULL;
gdp               704 fs/ext4/balloc.c 		gdp = ext4_get_group_desc(sb, i, NULL);
gdp               705 fs/ext4/balloc.c 		if (!gdp)
gdp               711 fs/ext4/balloc.c 			desc_count += ext4_free_group_clusters(sb, gdp);
gdp               722 fs/ext4/balloc.c 			i, ext4_free_group_clusters(sb, gdp), x);
gdp               734 fs/ext4/balloc.c 		gdp = ext4_get_group_desc(sb, i, NULL);
gdp               735 fs/ext4/balloc.c 		if (!gdp)
gdp               741 fs/ext4/balloc.c 			desc_count += ext4_free_group_clusters(sb, gdp);
gdp                20 fs/ext4/bitmap.c 				  struct ext4_group_desc *gdp,
gdp                30 fs/ext4/bitmap.c 	provided = le16_to_cpu(gdp->bg_inode_bitmap_csum_lo);
gdp                33 fs/ext4/bitmap.c 		hi = le16_to_cpu(gdp->bg_inode_bitmap_csum_hi);
gdp                42 fs/ext4/bitmap.c 				struct ext4_group_desc *gdp,
gdp                52 fs/ext4/bitmap.c 	gdp->bg_inode_bitmap_csum_lo = cpu_to_le16(csum & 0xFFFF);
gdp                54 fs/ext4/bitmap.c 		gdp->bg_inode_bitmap_csum_hi = cpu_to_le16(csum >> 16);
gdp                58 fs/ext4/bitmap.c 				  struct ext4_group_desc *gdp,
gdp                69 fs/ext4/bitmap.c 	provided = le16_to_cpu(gdp->bg_block_bitmap_csum_lo);
gdp                72 fs/ext4/bitmap.c 		hi = le16_to_cpu(gdp->bg_block_bitmap_csum_hi);
gdp                84 fs/ext4/bitmap.c 				struct ext4_group_desc *gdp,
gdp                95 fs/ext4/bitmap.c 	gdp->bg_block_bitmap_csum_lo = cpu_to_le16(csum & 0xFFFF);
gdp                97 fs/ext4/bitmap.c 		gdp->bg_block_bitmap_csum_hi = cpu_to_le16(csum >> 16);
gdp               258 fs/ext4/block_validity.c 	struct ext4_group_desc *gdp;
gdp               282 fs/ext4/block_validity.c 		gdp = ext4_get_group_desc(sb, i, NULL);
gdp               284 fs/ext4/block_validity.c 				ext4_block_bitmap(sb, gdp), 1);
gdp               288 fs/ext4/block_validity.c 				ext4_inode_bitmap(sb, gdp), 1);
gdp               292 fs/ext4/block_validity.c 				ext4_inode_table(sb, gdp),
gdp              2314 fs/ext4/ext4.h 				struct ext4_group_desc *gdp,
gdp              2317 fs/ext4/ext4.h 				  struct ext4_group_desc *gdp,
gdp              2320 fs/ext4/ext4.h 				struct ext4_group_desc *gdp,
gdp              2323 fs/ext4/ext4.h 				  struct ext4_group_desc *gdp,
gdp              2364 fs/ext4/ext4.h 					      struct ext4_group_desc *gdp);
gdp              2857 fs/ext4/ext4.h 				       struct ext4_group_desc *gdp);
gdp              2859 fs/ext4/ext4.h 				     struct ext4_group_desc *gdp);
gdp               408 fs/ext4/fsmap.c 	struct ext4_group_desc *gdp;
gdp               416 fs/ext4/fsmap.c 		gdp = ext4_get_group_desc(sb, agno, NULL);
gdp               417 fs/ext4/fsmap.c 		if (!gdp) {
gdp               429 fs/ext4/fsmap.c 					   ext4_block_bitmap(sb, gdp), 1,
gdp               436 fs/ext4/fsmap.c 					   ext4_inode_bitmap(sb, gdp), 1,
gdp               443 fs/ext4/fsmap.c 					   ext4_inode_table(sb, gdp),
gdp               240 fs/ext4/ialloc.c 	struct ext4_group_desc *gdp;
gdp               302 fs/ext4/ialloc.c 	gdp = ext4_get_group_desc(sb, block_group, &bh2);
gdp               303 fs/ext4/ialloc.c 	if (gdp) {
gdp               314 fs/ext4/ialloc.c 	count = ext4_free_inodes_count(sb, gdp) + 1;
gdp               315 fs/ext4/ialloc.c 	ext4_free_inodes_set(sb, gdp, count);
gdp               317 fs/ext4/ialloc.c 		count = ext4_used_dirs_count(sb, gdp) - 1;
gdp               318 fs/ext4/ialloc.c 		ext4_used_dirs_set(sb, gdp, count);
gdp               321 fs/ext4/ialloc.c 	ext4_inode_bitmap_csum_set(sb, block_group, gdp, bitmap_bh,
gdp               323 fs/ext4/ialloc.c 	ext4_group_desc_csum_set(sb, block_group, gdp);
gdp               668 fs/ext4/ialloc.c 	struct ext4_group_desc	*gdp;
gdp               676 fs/ext4/ialloc.c 	gdp = ext4_get_group_desc(sb, group, NULL);
gdp               677 fs/ext4/ialloc.c 	if (unlikely(!gdp))
gdp               680 fs/ext4/ialloc.c 	bh = sb_find_get_block(sb, ext4_inode_table(sb, gdp) +
gdp               752 fs/ext4/ialloc.c 	struct ext4_group_desc *gdp = NULL;
gdp               887 fs/ext4/ialloc.c 		gdp = ext4_get_group_desc(sb, group, &group_desc_bh);
gdp               888 fs/ext4/ialloc.c 		if (!gdp)
gdp               894 fs/ext4/ialloc.c 		if (ext4_free_inodes_count(sb, gdp) == 0)
gdp               986 fs/ext4/ialloc.c 	    gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)) {
gdp              1008 fs/ext4/ialloc.c 		    (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT))) {
gdp              1009 fs/ext4/ialloc.c 			gdp->bg_flags &= cpu_to_le16(~EXT4_BG_BLOCK_UNINIT);
gdp              1010 fs/ext4/ialloc.c 			ext4_free_group_clusters_set(sb, gdp,
gdp              1011 fs/ext4/ialloc.c 				ext4_free_clusters_after_init(sb, group, gdp));
gdp              1012 fs/ext4/ialloc.c 			ext4_block_bitmap_csum_set(sb, group, gdp,
gdp              1014 fs/ext4/ialloc.c 			ext4_group_desc_csum_set(sb, group, gdp);
gdp              1033 fs/ext4/ialloc.c 			ext4_itable_unused_count(sb, gdp);
gdp              1034 fs/ext4/ialloc.c 		if (gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT)) {
gdp              1035 fs/ext4/ialloc.c 			gdp->bg_flags &= cpu_to_le16(~EXT4_BG_INODE_UNINIT);
gdp              1044 fs/ext4/ialloc.c 			ext4_itable_unused_set(sb, gdp,
gdp              1051 fs/ext4/ialloc.c 	ext4_free_inodes_set(sb, gdp, ext4_free_inodes_count(sb, gdp) - 1);
gdp              1053 fs/ext4/ialloc.c 		ext4_used_dirs_set(sb, gdp, ext4_used_dirs_count(sb, gdp) + 1);
gdp              1062 fs/ext4/ialloc.c 		ext4_inode_bitmap_csum_set(sb, group, gdp, inode_bitmap_bh,
gdp              1064 fs/ext4/ialloc.c 		ext4_group_desc_csum_set(sb, group, gdp);
gdp              1276 fs/ext4/ialloc.c 	struct ext4_group_desc *gdp;
gdp              1286 fs/ext4/ialloc.c 	gdp = NULL;
gdp              1288 fs/ext4/ialloc.c 		gdp = ext4_get_group_desc(sb, i, NULL);
gdp              1289 fs/ext4/ialloc.c 		if (!gdp)
gdp              1291 fs/ext4/ialloc.c 		desc_count += ext4_free_inodes_count(sb, gdp);
gdp              1302 fs/ext4/ialloc.c 			(unsigned long) i, ext4_free_inodes_count(sb, gdp), x);
gdp              1313 fs/ext4/ialloc.c 		gdp = ext4_get_group_desc(sb, i, NULL);
gdp              1314 fs/ext4/ialloc.c 		if (!gdp)
gdp              1316 fs/ext4/ialloc.c 		desc_count += ext4_free_inodes_count(sb, gdp);
gdp              1330 fs/ext4/ialloc.c 		struct ext4_group_desc *gdp = ext4_get_group_desc(sb, i, NULL);
gdp              1331 fs/ext4/ialloc.c 		if (!gdp)
gdp              1333 fs/ext4/ialloc.c 		count += ext4_used_dirs_count(sb, gdp);
gdp              1351 fs/ext4/ialloc.c 	struct ext4_group_desc *gdp = NULL;
gdp              1363 fs/ext4/ialloc.c 	gdp = ext4_get_group_desc(sb, group, &group_desc_bh);
gdp              1364 fs/ext4/ialloc.c 	if (!gdp)
gdp              1371 fs/ext4/ialloc.c 	if (gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_ZEROED))
gdp              1386 fs/ext4/ialloc.c 	if (!(gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_UNINIT)))
gdp              1388 fs/ext4/ialloc.c 			    ext4_itable_unused_count(sb, gdp)),
gdp              1393 fs/ext4/ialloc.c 			       ext4_itable_unused_count(sb, gdp)) <
gdp              1399 fs/ext4/ialloc.c 			   ext4_itable_unused_count(sb, gdp));
gdp              1404 fs/ext4/ialloc.c 	blk = ext4_inode_table(sb, gdp) + used_blks;
gdp              1431 fs/ext4/ialloc.c 	gdp->bg_flags |= cpu_to_le16(EXT4_BG_INODE_ZEROED);
gdp              1432 fs/ext4/ialloc.c 	ext4_group_desc_csum_set(sb, group, gdp);
gdp              4571 fs/ext4/inode.c 	struct ext4_group_desc	*gdp;
gdp              4584 fs/ext4/inode.c 	gdp = ext4_get_group_desc(sb, iloc->block_group, NULL);
gdp              4585 fs/ext4/inode.c 	if (!gdp)
gdp              4594 fs/ext4/inode.c 	block = ext4_inode_table(sb, gdp) + (inode_offset / inodes_per_block);
gdp              4630 fs/ext4/inode.c 			bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp));
gdp              4670 fs/ext4/inode.c 			table = ext4_inode_table(sb, gdp);
gdp              4678 fs/ext4/inode.c 				num -= ext4_itable_unused_count(sb, gdp);
gdp              2947 fs/ext4/mballoc.c 	struct ext4_group_desc *gdp;
gdp              2973 fs/ext4/mballoc.c 	gdp = ext4_get_group_desc(sb, ac->ac_b_ex.fe_group, &gdp_bh);
gdp              2974 fs/ext4/mballoc.c 	if (!gdp)
gdp              2978 fs/ext4/mballoc.c 			ext4_free_group_clusters(sb, gdp));
gdp              3018 fs/ext4/mballoc.c 	    (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT))) {
gdp              3019 fs/ext4/mballoc.c 		gdp->bg_flags &= cpu_to_le16(~EXT4_BG_BLOCK_UNINIT);
gdp              3020 fs/ext4/mballoc.c 		ext4_free_group_clusters_set(sb, gdp,
gdp              3022 fs/ext4/mballoc.c 						ac->ac_b_ex.fe_group, gdp));
gdp              3024 fs/ext4/mballoc.c 	len = ext4_free_group_clusters(sb, gdp) - ac->ac_b_ex.fe_len;
gdp              3025 fs/ext4/mballoc.c 	ext4_free_group_clusters_set(sb, gdp, len);
gdp              3026 fs/ext4/mballoc.c 	ext4_block_bitmap_csum_set(sb, ac->ac_b_ex.fe_group, gdp, bitmap_bh);
gdp              3027 fs/ext4/mballoc.c 	ext4_group_desc_csum_set(sb, ac->ac_b_ex.fe_group, gdp);
gdp              4731 fs/ext4/mballoc.c 	struct ext4_group_desc *gdp;
gdp              4836 fs/ext4/mballoc.c 	gdp = ext4_get_group_desc(sb, block_group, &gd_bh);
gdp              4837 fs/ext4/mballoc.c 	if (!gdp) {
gdp              4842 fs/ext4/mballoc.c 	if (in_range(ext4_block_bitmap(sb, gdp), block, count) ||
gdp              4843 fs/ext4/mballoc.c 	    in_range(ext4_inode_bitmap(sb, gdp), block, count) ||
gdp              4844 fs/ext4/mballoc.c 	    in_range(block, ext4_inode_table(sb, gdp),
gdp              4846 fs/ext4/mballoc.c 	    in_range(block + count - 1, ext4_inode_table(sb, gdp),
gdp              4929 fs/ext4/mballoc.c 	ret = ext4_free_group_clusters(sb, gdp) + count_clusters;
gdp              4930 fs/ext4/mballoc.c 	ext4_free_group_clusters_set(sb, gdp, ret);
gdp              4931 fs/ext4/mballoc.c 	ext4_block_bitmap_csum_set(sb, block_group, gdp, bitmap_bh);
gdp              4932 fs/ext4/mballoc.c 	ext4_group_desc_csum_set(sb, block_group, gdp);
gdp              1279 fs/ext4/resize.c 				     struct ext4_group_desc *gdp,
gdp              1290 fs/ext4/resize.c 	ext4_inode_bitmap_csum_set(sb, group, gdp, bh,
gdp              1297 fs/ext4/resize.c 	ext4_block_bitmap_csum_set(sb, group, gdp, bh);
gdp              1310 fs/ext4/resize.c 	struct ext4_group_desc		*gdp;
gdp              1329 fs/ext4/resize.c 		gdp = (struct ext4_group_desc *)(gdb_bh->b_data +
gdp              1332 fs/ext4/resize.c 		memset(gdp, 0, EXT4_DESC_SIZE(sb));
gdp              1333 fs/ext4/resize.c 		ext4_block_bitmap_set(sb, gdp, group_data->block_bitmap);
gdp              1334 fs/ext4/resize.c 		ext4_inode_bitmap_set(sb, gdp, group_data->inode_bitmap);
gdp              1335 fs/ext4/resize.c 		err = ext4_set_bitmap_checksums(sb, group, gdp, group_data);
gdp              1341 fs/ext4/resize.c 		ext4_inode_table_set(sb, gdp, group_data->inode_table);
gdp              1342 fs/ext4/resize.c 		ext4_free_group_clusters_set(sb, gdp,
gdp              1344 fs/ext4/resize.c 		ext4_free_inodes_set(sb, gdp, EXT4_INODES_PER_GROUP(sb));
gdp              1346 fs/ext4/resize.c 			ext4_itable_unused_set(sb, gdp,
gdp              1348 fs/ext4/resize.c 		gdp->bg_flags = cpu_to_le16(*bg_flags);
gdp              1349 fs/ext4/resize.c 		ext4_group_desc_csum_set(sb, group, gdp);
gdp              1361 fs/ext4/resize.c 		err = ext4_mb_add_groupinfo(sb, group, gdp);
gdp               832 fs/ext4/super.c 	struct ext4_group_desc *gdp = ext4_get_group_desc(sb, group, NULL);
gdp               846 fs/ext4/super.c 		if (!ret && gdp) {
gdp               849 fs/ext4/super.c 			count = ext4_free_inodes_count(sb, gdp);
gdp              2393 fs/ext4/super.c 	struct ext4_group_desc *gdp = NULL;
gdp              2409 fs/ext4/super.c 		gdp = ext4_get_group_desc(sb, i, NULL);
gdp              2413 fs/ext4/super.c 		atomic_add(ext4_free_inodes_count(sb, gdp), &fg->free_inodes);
gdp              2414 fs/ext4/super.c 		atomic64_add(ext4_free_group_clusters(sb, gdp),
gdp              2416 fs/ext4/super.c 		atomic_add(ext4_used_dirs_count(sb, gdp), &fg->used_dirs);
gdp              2425 fs/ext4/super.c 				   struct ext4_group_desc *gdp)
gdp              2439 fs/ext4/super.c 		csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp, offset);
gdp              2444 fs/ext4/super.c 			csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp + offset,
gdp              2457 fs/ext4/super.c 	crc = crc16(crc, (__u8 *)gdp, offset);
gdp              2458 fs/ext4/super.c 	offset += sizeof(gdp->bg_checksum); /* skip checksum */
gdp              2462 fs/ext4/super.c 		crc = crc16(crc, (__u8 *)gdp + offset,
gdp              2471 fs/ext4/super.c 				struct ext4_group_desc *gdp)
gdp              2474 fs/ext4/super.c 	    (gdp->bg_checksum != ext4_group_desc_csum(sb, block_group, gdp)))
gdp              2481 fs/ext4/super.c 			      struct ext4_group_desc *gdp)
gdp              2485 fs/ext4/super.c 	gdp->bg_checksum = ext4_group_desc_csum(sb, block_group, gdp);
gdp              2509 fs/ext4/super.c 		struct ext4_group_desc *gdp = ext4_get_group_desc(sb, i, NULL);
gdp              2518 fs/ext4/super.c 		   !(gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_ZEROED)))
gdp              2521 fs/ext4/super.c 		block_bitmap = ext4_block_bitmap(sb, gdp);
gdp              2543 fs/ext4/super.c 		inode_bitmap = ext4_inode_bitmap(sb, gdp);
gdp              2565 fs/ext4/super.c 		inode_table = ext4_inode_table(sb, gdp);
gdp              2589 fs/ext4/super.c 		if (!ext4_group_desc_csum_verify(sb, i, gdp)) {
gdp              2593 fs/ext4/super.c 				     gdp)), le16_to_cpu(gdp->bg_checksum));
gdp              3051 fs/ext4/super.c 	struct ext4_group_desc *gdp = NULL;
gdp              3061 fs/ext4/super.c 		gdp = ext4_get_group_desc(sb, group, NULL);
gdp              3062 fs/ext4/super.c 		if (!gdp) {
gdp              3067 fs/ext4/super.c 		if (!(gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_ZEROED)))
gdp              3274 fs/ext4/super.c 	struct ext4_group_desc *gdp = NULL;
gdp              3280 fs/ext4/super.c 		gdp = ext4_get_group_desc(sb, group, NULL);
gdp              3281 fs/ext4/super.c 		if (!gdp)
gdp              3284 fs/ext4/super.c 		if (!(gdp->bg_flags & cpu_to_le16(EXT4_BG_INODE_ZEROED)))
gdp              3465 fs/ext4/super.c 	struct ext4_group_desc	*gdp;
gdp              3478 fs/ext4/super.c 		gdp = ext4_get_group_desc(sb, i, NULL);
gdp              3479 fs/ext4/super.c 		b = ext4_block_bitmap(sb, gdp);
gdp              3484 fs/ext4/super.c 		b = ext4_inode_bitmap(sb, gdp);
gdp              3489 fs/ext4/super.c 		b = ext4_inode_table(sb, gdp);
gdp              5457 fs/ext4/super.c 				struct ext4_group_desc *gdp =
gdp              5460 fs/ext4/super.c 				if (!ext4_group_desc_csum_verify(sb, g, gdp)) {
gdp              5463 fs/ext4/super.c 		g, le16_to_cpu(ext4_group_desc_csum(sb, g, gdp)),
gdp              5464 fs/ext4/super.c 					       le16_to_cpu(gdp->bg_checksum));
gdp               147 fs/nfsd/blocklayout.c 		struct nfsd4_getdeviceinfo *gdp)
gdp               156 fs/nfsd/blocklayout.c 	gdp->gd_device = dev;
gdp               171 fs/nfsd/blocklayout.c 		struct nfsd4_getdeviceinfo *gdp)
gdp               175 fs/nfsd/blocklayout.c 	return nfserrno(nfsd4_block_get_device_info_simple(sb, gdp));
gdp               331 fs/nfsd/blocklayout.c 		struct nfsd4_getdeviceinfo *gdp)
gdp               342 fs/nfsd/blocklayout.c 	gdp->gd_device = dev;
gdp               383 fs/nfsd/blocklayout.c 		struct nfsd4_getdeviceinfo *gdp)
gdp               387 fs/nfsd/blocklayout.c 	return nfserrno(nfsd4_block_get_device_info_scsi(sb, clp, gdp));
gdp                79 fs/nfsd/blocklayoutxdr.c 		struct nfsd4_getdeviceinfo *gdp)
gdp                81 fs/nfsd/blocklayoutxdr.c 	struct pnfs_block_deviceaddr *dev = gdp->gd_device;
gdp                54 fs/nfsd/blocklayoutxdr.h 		struct nfsd4_getdeviceinfo *gdp);
gdp                81 fs/nfsd/flexfilelayout.c 		struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp)
gdp                92 fs/nfsd/flexfilelayout.c 	gdp->gd_device = da;
gdp                80 fs/nfsd/flexfilelayoutxdr.c 		struct nfsd4_getdeviceinfo *gdp)
gdp                82 fs/nfsd/flexfilelayoutxdr.c 	struct pnfs_ff_device_addr *da = gdp->gd_device;
gdp                46 fs/nfsd/flexfilelayoutxdr.h 		struct nfsd4_getdeviceinfo *gdp);
gdp              1549 fs/nfsd/nfs4proc.c 	struct nfsd4_getdeviceinfo *gdp = &u->getdeviceinfo;
gdp              1557 fs/nfsd/nfs4proc.c 	       gdp->gd_layout_type,
gdp              1558 fs/nfsd/nfs4proc.c 	       gdp->gd_devid.fsid_idx, gdp->gd_devid.generation,
gdp              1559 fs/nfsd/nfs4proc.c 	       gdp->gd_maxcount);
gdp              1561 fs/nfsd/nfs4proc.c 	map = nfsd4_find_devid_map(gdp->gd_devid.fsid_idx);
gdp              1575 fs/nfsd/nfs4proc.c 	ops = nfsd4_layout_verify(exp, gdp->gd_layout_type);
gdp              1580 fs/nfsd/nfs4proc.c 	if (gdp->gd_maxcount != 0) {
gdp              1582 fs/nfsd/nfs4proc.c 				rqstp, cstate->session->se_client, gdp);
gdp              1585 fs/nfsd/nfs4proc.c 	gdp->gd_notify_types &= ops->notify_types;