gd                626 arch/powerpc/include/asm/smu.h 	__s32	gp,gr,gd;
gd                236 arch/s390/include/asm/kvm_host.h 	__u32	gd;			/* 0x0070 */
gd                 98 arch/s390/include/asm/pci_insn.h 	u32 gd;
gd               3013 arch/s390/kvm/kvm-s390.c 	if (vcpu->arch.sie_block->gd) {
gd               3016 arch/s390/kvm/kvm-s390.c 			   vcpu->arch.sie_block->gd & 0x3, vcpu->vcpu_id);
gd               3072 arch/s390/kvm/kvm-s390.c 	vcpu->arch.sie_block->gd = (u32)(u64)kvm->arch.gisa_int.origin;
gd               3073 arch/s390/kvm/kvm-s390.c 	if (vcpu->arch.sie_block->gd && sclp.has_gisaf)
gd               3074 arch/s390/kvm/kvm-s390.c 		vcpu->arch.sie_block->gd |= GISA_FORMAT1;
gd                 31 arch/xtensa/platforms/iss/simdisk.c 	struct gendisk *gd;
gd                175 arch/xtensa/platforms/iss/simdisk.c 	set_capacity(dev->gd, dev->size >> SECTOR_SHIFT);
gd                177 arch/xtensa/platforms/iss/simdisk.c 	pr_info("SIMDISK: %s=%s\n", dev->gd->disk_name, dev->filename);
gd                201 arch/xtensa/platforms/iss/simdisk.c 					dev->gd->disk_name, dev->filename);
gd                279 arch/xtensa/platforms/iss/simdisk.c 	dev->gd = alloc_disk(SIMDISK_MINORS);
gd                280 arch/xtensa/platforms/iss/simdisk.c 	if (dev->gd == NULL) {
gd                284 arch/xtensa/platforms/iss/simdisk.c 	dev->gd->major = simdisk_major;
gd                285 arch/xtensa/platforms/iss/simdisk.c 	dev->gd->first_minor = which;
gd                286 arch/xtensa/platforms/iss/simdisk.c 	dev->gd->fops = &simdisk_ops;
gd                287 arch/xtensa/platforms/iss/simdisk.c 	dev->gd->queue = dev->queue;
gd                288 arch/xtensa/platforms/iss/simdisk.c 	dev->gd->private_data = dev;
gd                289 arch/xtensa/platforms/iss/simdisk.c 	snprintf(dev->gd->disk_name, 32, "simdisk%d", which);
gd                290 arch/xtensa/platforms/iss/simdisk.c 	set_capacity(dev->gd, 0);
gd                291 arch/xtensa/platforms/iss/simdisk.c 	add_disk(dev->gd);
gd                350 arch/xtensa/platforms/iss/simdisk.c 	if (dev->gd)
gd                351 arch/xtensa/platforms/iss/simdisk.c 		del_gendisk(dev->gd);
gd               1560 block/genhd.c  static void set_disk_ro_uevent(struct gendisk *gd, int ro)
gd               1567 block/genhd.c  	kobject_uevent_env(&disk_to_dev(gd)->kobj, KOBJ_CHANGE, envp);
gd                170 drivers/block/aoe/aoe.h 	struct gendisk *gd;
gd                203 drivers/block/aoe/aoeblk.c 	p = strchr(d->gd->disk_name, '/');
gd                205 drivers/block/aoe/aoeblk.c 		p = d->gd->disk_name;
gd                345 drivers/block/aoe/aoeblk.c 	struct gendisk *gd;
gd                365 drivers/block/aoe/aoeblk.c 	gd = alloc_disk(AOE_PARTITIONS);
gd                366 drivers/block/aoe/aoeblk.c 	if (gd == NULL) {
gd                406 drivers/block/aoe/aoeblk.c 	WARN_ON(d->gd);
gd                412 drivers/block/aoe/aoeblk.c 	d->blkq = gd->queue = q;
gd                414 drivers/block/aoe/aoeblk.c 	d->gd = gd;
gd                417 drivers/block/aoe/aoeblk.c 	gd->major = AOE_MAJOR;
gd                418 drivers/block/aoe/aoeblk.c 	gd->first_minor = d->sysminor;
gd                419 drivers/block/aoe/aoeblk.c 	gd->fops = &aoe_bdops;
gd                420 drivers/block/aoe/aoeblk.c 	gd->private_data = d;
gd                421 drivers/block/aoe/aoeblk.c 	set_capacity(gd, d->ssize);
gd                422 drivers/block/aoe/aoeblk.c 	snprintf(gd->disk_name, sizeof gd->disk_name, "etherd/e%ld.%d",
gd                430 drivers/block/aoe/aoeblk.c 	device_add_disk(NULL, gd, aoe_attr_groups);
gd                442 drivers/block/aoe/aoeblk.c 	put_disk(gd);
gd                900 drivers/block/aoe/aoecmd.c 		ssize = get_capacity(d->gd);
gd                901 drivers/block/aoe/aoecmd.c 		bd = bdget_disk(d->gd, 0);
gd                976 drivers/block/aoe/aoecmd.c 	if (d->gd != NULL) {
gd                977 drivers/block/aoe/aoecmd.c 		set_capacity(d->gd, ssize);
gd                235 drivers/block/aoe/aoedev.c 	if (d->gd)
gd                236 drivers/block/aoe/aoedev.c 		set_capacity(d->gd, 0);
gd                248 drivers/block/aoe/aoedev.c 	if (!d->gd)
gd                250 drivers/block/aoe/aoedev.c 	p = kbasename(d->gd->disk_name);
gd                251 drivers/block/aoe/aoedev.c 	lim = sizeof(d->gd->disk_name);
gd                252 drivers/block/aoe/aoedev.c 	lim -= p - d->gd->disk_name;
gd                277 drivers/block/aoe/aoedev.c 	if (d->gd) {
gd                279 drivers/block/aoe/aoedev.c 		del_gendisk(d->gd);
gd                280 drivers/block/aoe/aoedev.c 		put_disk(d->gd);
gd                 54 drivers/block/drbd/drbd_main.c static void drbd_release(struct gendisk *gd, fmode_t mode);
gd               1938 drivers/block/drbd/drbd_main.c static void drbd_release(struct gendisk *gd, fmode_t mode)
gd               1940 drivers/block/drbd/drbd_main.c 	struct drbd_device *device = gd->private_data;
gd                238 drivers/block/paride/pd.c 	struct gendisk *gd;
gd                404 drivers/block/paride/pd.c 		disk = pd[pd_queue].gd;
gd                778 drivers/block/paride/pd.c 	rq = blk_get_request(disk->gd->queue, REQ_OP_DRV_IN, 0);
gd                784 drivers/block/paride/pd.c 	blk_execute_rq(disk->gd->queue, disk->gd, rq, 0);
gd                901 drivers/block/paride/pd.c 	disk->gd = p;
gd                933 drivers/block/paride/pd.c 	disk->gd = NULL;
gd                969 drivers/block/paride/pd.c 			if (!disk->gd)
gd                982 drivers/block/paride/pd.c 				if (!disk->gd)
gd                988 drivers/block/paride/pd.c 		if (disk->gd) {
gd                989 drivers/block/paride/pd.c 			set_capacity(disk->gd, disk->capacity);
gd                990 drivers/block/paride/pd.c 			add_disk(disk->gd);
gd               1028 drivers/block/paride/pd.c 		struct gendisk *p = disk->gd;
gd               1030 drivers/block/paride/pd.c 			disk->gd = NULL;
gd               2690 drivers/block/pktcdvd.c static char *pktcdvd_devnode(struct gendisk *gd, umode_t *mode)
gd               2692 drivers/block/pktcdvd.c 	return kasprintf(GFP_KERNEL, "pktcdvd/%s", gd->disk_name);
gd                198 drivers/block/xen-blkfront.c 	struct gendisk *gd;
gd                510 drivers/block/xen-blkfront.c 		struct gendisk *gd = info->gd;
gd                511 drivers/block/xen-blkfront.c 		if (gd->flags & GENHD_FL_CD)
gd                930 drivers/block/xen-blkfront.c 	struct gendisk *gd = info->gd;
gd                938 drivers/block/xen-blkfront.c 		blk_queue_max_discard_sectors(rq, get_capacity(gd));
gd                961 drivers/block/xen-blkfront.c static int xlvbd_init_blk_queue(struct gendisk *gd, u16 sector_size,
gd                965 drivers/block/xen-blkfront.c 	struct blkfront_info *info = gd->private_data;
gd                994 drivers/block/xen-blkfront.c 	info->rq = gd->queue = rq;
gd                995 drivers/block/xen-blkfront.c 	info->gd = gd;
gd               1018 drivers/block/xen-blkfront.c 		info->gd->disk_name, flush_info(info),
gd               1097 drivers/block/xen-blkfront.c 	struct gendisk *gd;
gd               1105 drivers/block/xen-blkfront.c 	BUG_ON(info->gd != NULL);
gd               1142 drivers/block/xen-blkfront.c 	gd = alloc_disk(nr_minors);
gd               1143 drivers/block/xen-blkfront.c 	if (gd == NULL)
gd               1146 drivers/block/xen-blkfront.c 	strcpy(gd->disk_name, DEV_NAME);
gd               1147 drivers/block/xen-blkfront.c 	ptr = encode_disk_name(gd->disk_name + sizeof(DEV_NAME) - 1, offset);
gd               1148 drivers/block/xen-blkfront.c 	BUG_ON(ptr >= gd->disk_name + DISK_NAME_LEN);
gd               1152 drivers/block/xen-blkfront.c 		snprintf(ptr, gd->disk_name + DISK_NAME_LEN - ptr,
gd               1155 drivers/block/xen-blkfront.c 	gd->major = XENVBD_MAJOR;
gd               1156 drivers/block/xen-blkfront.c 	gd->first_minor = minor;
gd               1157 drivers/block/xen-blkfront.c 	gd->fops = &xlvbd_block_fops;
gd               1158 drivers/block/xen-blkfront.c 	gd->private_data = info;
gd               1159 drivers/block/xen-blkfront.c 	set_capacity(gd, capacity);
gd               1161 drivers/block/xen-blkfront.c 	if (xlvbd_init_blk_queue(gd, sector_size, physical_sector_size)) {
gd               1162 drivers/block/xen-blkfront.c 		del_gendisk(gd);
gd               1169 drivers/block/xen-blkfront.c 		set_disk_ro(gd, 1);
gd               1172 drivers/block/xen-blkfront.c 		gd->flags |= GENHD_FL_REMOVABLE;
gd               1175 drivers/block/xen-blkfront.c 		gd->flags |= GENHD_FL_CD;
gd               1205 drivers/block/xen-blkfront.c 	del_gendisk(info->gd);
gd               1207 drivers/block/xen-blkfront.c 	minor = info->gd->first_minor;
gd               1208 drivers/block/xen-blkfront.c 	nr_minors = info->gd->minors;
gd               1215 drivers/block/xen-blkfront.c 	put_disk(info->gd);
gd               1216 drivers/block/xen-blkfront.c 	info->gd = NULL;
gd               1471 drivers/block/xen-blkfront.c 			     info->gd->disk_name, s->associated_id);
gd               1577 drivers/block/xen-blkfront.c 			     info->gd->disk_name, op_name(bret->operation), id);
gd               1595 drivers/block/xen-blkfront.c 			     info->gd->disk_name, op_name(bret->operation), id);
gd               1609 drivers/block/xen-blkfront.c 					   info->gd->disk_name, op_name(bret->operation));
gd               1621 drivers/block/xen-blkfront.c 				       info->gd->disk_name, op_name(bret->operation));
gd               1627 drivers/block/xen-blkfront.c 				       info->gd->disk_name, op_name(bret->operation));
gd               2145 drivers/block/xen-blkfront.c 	if (info->gd)
gd               2146 drivers/block/xen-blkfront.c 		bdev = bdget_disk(info->gd, 0);
gd               2362 drivers/block/xen-blkfront.c 		set_capacity(info->gd, sectors);
gd               2363 drivers/block/xen-blkfront.c 		revalidate_disk(info->gd);
gd               2364 drivers/block/xen-blkfront.c 		kobject_uevent_env(&disk_to_dev(info->gd)->kobj,
gd               2431 drivers/block/xen-blkfront.c 	device_add_disk(&info->xbdev->dev, info->gd, NULL);
gd               2511 drivers/block/xen-blkfront.c 	disk = info->gd;
gd               2576 drivers/block/xen-blkfront.c 	if (!info->gd)
gd                208 drivers/block/xsysace.c 	struct gendisk *gd;
gd                504 drivers/block/xsysace.c 		set_capacity(ace->gd, 0);
gd                633 drivers/block/xsysace.c 			set_capacity(ace->gd, 0);
gd                640 drivers/block/xsysace.c 			set_capacity(ace->gd,
gd                883 drivers/block/xsysace.c static unsigned int ace_check_events(struct gendisk *gd, unsigned int clearing)
gd                885 drivers/block/xsysace.c 	struct ace_device *ace = gd->private_data;
gd                891 drivers/block/xsysace.c static int ace_revalidate_disk(struct gendisk *gd)
gd                893 drivers/block/xsysace.c 	struct ace_device *ace = gd->private_data;
gd               1025 drivers/block/xsysace.c 	ace->gd = alloc_disk(ACE_NUM_MINORS);
gd               1026 drivers/block/xsysace.c 	if (!ace->gd)
gd               1029 drivers/block/xsysace.c 	ace->gd->major = ace_major;
gd               1030 drivers/block/xsysace.c 	ace->gd->first_minor = ace->id * ACE_NUM_MINORS;
gd               1031 drivers/block/xsysace.c 	ace->gd->fops = &ace_fops;
gd               1032 drivers/block/xsysace.c 	ace->gd->events = DISK_EVENT_MEDIA_CHANGE;
gd               1033 drivers/block/xsysace.c 	ace->gd->queue = ace->queue;
gd               1034 drivers/block/xsysace.c 	ace->gd->private_data = ace;
gd               1035 drivers/block/xsysace.c 	snprintf(ace->gd->disk_name, 32, "xs%c", ace->id + 'a');
gd               1083 drivers/block/xsysace.c 	ace_revalidate_disk(ace->gd);
gd               1086 drivers/block/xsysace.c 	add_disk(ace->gd);
gd               1092 drivers/block/xsysace.c 	ace->gd->queue = NULL;
gd               1093 drivers/block/xsysace.c 	put_disk(ace->gd);
gd               1107 drivers/block/xsysace.c 	if (ace->gd) {
gd               1108 drivers/block/xsysace.c 		del_gendisk(ace->gd);
gd               1109 drivers/block/xsysace.c 		put_disk(ace->gd);
gd                106 drivers/cdrom/gdrom.c } gd;
gd                214 drivers/cdrom/gdrom.c 	gdrom_hardreset(gd.cd_info);
gd                237 drivers/cdrom/gdrom.c 	gd.pending = 1;
gd                238 drivers/cdrom/gdrom.c 	gdrom_packetcommand(gd.cd_info, spin_command);
gd                240 drivers/cdrom/gdrom.c 	wait_event_interruptible_timeout(command_queue, gd.pending == 0,
gd                242 drivers/cdrom/gdrom.c 	gd.pending = 0;
gd                244 drivers/cdrom/gdrom.c 	if (gd.status & 0x01) {
gd                274 drivers/cdrom/gdrom.c 	if (gd.pending) {
gd                278 drivers/cdrom/gdrom.c 	gd.pending = 1;
gd                279 drivers/cdrom/gdrom.c 	gdrom_packetcommand(gd.cd_info, toc_command);
gd                280 drivers/cdrom/gdrom.c 	wait_event_interruptible_timeout(command_queue, gd.pending == 0,
gd                282 drivers/cdrom/gdrom.c 	if (gd.pending) {
gd                287 drivers/cdrom/gdrom.c 	if (gd.status & 0x01)
gd                291 drivers/cdrom/gdrom.c 	gd.pending = 0;
gd                318 drivers/cdrom/gdrom.c 	if (!gd.toc)
gd                322 drivers/cdrom/gdrom.c 	err = gdrom_readtoc_cmd(gd.toc, 1);
gd                325 drivers/cdrom/gdrom.c 		err = gdrom_readtoc_cmd(gd.toc, 0);
gd                332 drivers/cdrom/gdrom.c 	fentry = get_entry_track(gd.toc->first);
gd                333 drivers/cdrom/gdrom.c 	lentry = get_entry_track(gd.toc->last);
gd                335 drivers/cdrom/gdrom.c 	track = get_entry_track(gd.toc->last);
gd                337 drivers/cdrom/gdrom.c 		data = gd.toc->entry[track - 1];
gd                343 drivers/cdrom/gdrom.c 	if ((track > 100) || (track < get_entry_track(gd.toc->first))) {
gd                427 drivers/cdrom/gdrom.c 	if (gd.pending && !gdrom_wait_clrbusy()) {
gd                431 drivers/cdrom/gdrom.c 	gd.pending = 1;
gd                432 drivers/cdrom/gdrom.c 	gdrom_packetcommand(gd.cd_info, sense_command);
gd                433 drivers/cdrom/gdrom.c 	wait_event_interruptible_timeout(command_queue, gd.pending == 0,
gd                435 drivers/cdrom/gdrom.c 	if (gd.pending)
gd                453 drivers/cdrom/gdrom.c 	gd.pending = 0;
gd                485 drivers/cdrom/gdrom.c 	ret = cdrom_open(gd.cd_info, bdev, mode);
gd                493 drivers/cdrom/gdrom.c 	cdrom_release(gd.cd_info, mode);
gd                500 drivers/cdrom/gdrom.c 	return cdrom_check_events(gd.cd_info, clearing);
gd                509 drivers/cdrom/gdrom.c 	ret = cdrom_ioctl(gd.cd_info, bdev, mode, cmd, arg);
gd                525 drivers/cdrom/gdrom.c 	gd.status = __raw_readb(GDROM_STATUSCOMMAND_REG);
gd                526 drivers/cdrom/gdrom.c 	if (gd.pending != 1)
gd                528 drivers/cdrom/gdrom.c 	gd.pending = 0;
gd                535 drivers/cdrom/gdrom.c 	gd.status = __raw_readb(GDROM_STATUSCOMMAND_REG);
gd                536 drivers/cdrom/gdrom.c 	if (gd.transfer != 1)
gd                538 drivers/cdrom/gdrom.c 	gd.transfer = 0;
gd                548 drivers/cdrom/gdrom.c 		0, "gdrom_command", &gd);
gd                552 drivers/cdrom/gdrom.c 		0, "gdrom_dma", &gd);
gd                554 drivers/cdrom/gdrom.c 		free_irq(HW_EVENT_GDROM_CMD, &gd);
gd                610 drivers/cdrom/gdrom.c 	gd.pending = 1;
gd                611 drivers/cdrom/gdrom.c 	gd.transfer = 1;
gd                621 drivers/cdrom/gdrom.c 		gd.transfer == 0, GDROM_DEFAULT_TIMEOUT);
gd                622 drivers/cdrom/gdrom.c 	err = gd.transfer ? BLK_STS_IOERR : BLK_STS_OK;
gd                623 drivers/cdrom/gdrom.c 	gd.transfer = 0;
gd                624 drivers/cdrom/gdrom.c 	gd.pending = 0;
gd                706 drivers/cdrom/gdrom.c 	gd.cd_info->ops = &gdrom_ops;
gd                707 drivers/cdrom/gdrom.c 	gd.cd_info->capacity = 1;
gd                708 drivers/cdrom/gdrom.c 	strcpy(gd.cd_info->name, GDROM_DEV_NAME);
gd                709 drivers/cdrom/gdrom.c 	gd.cd_info->mask = CDC_CLOSE_TRAY|CDC_OPEN_TRAY|CDC_LOCK|
gd                715 drivers/cdrom/gdrom.c 	gd.disk->major = gdrom_major;
gd                716 drivers/cdrom/gdrom.c 	gd.disk->first_minor = 1;
gd                717 drivers/cdrom/gdrom.c 	gd.disk->minors = 1;
gd                718 drivers/cdrom/gdrom.c 	strcpy(gd.disk->disk_name, GDROM_DEV_NAME);
gd                723 drivers/cdrom/gdrom.c 	blk_queue_logical_block_size(gd.gdrom_rq, GDROM_HARD_SECTOR);
gd                725 drivers/cdrom/gdrom.c 	blk_queue_max_segments(gd.gdrom_rq, 1);
gd                727 drivers/cdrom/gdrom.c 	blk_queue_max_segment_size(gd.gdrom_rq, 0x40000);
gd                728 drivers/cdrom/gdrom.c 	gd.disk->queue = gd.gdrom_rq;
gd                758 drivers/cdrom/gdrom.c 	gd.cd_info = kzalloc(sizeof(struct cdrom_device_info), GFP_KERNEL);
gd                759 drivers/cdrom/gdrom.c 	if (!gd.cd_info) {
gd                764 drivers/cdrom/gdrom.c 	gd.disk = alloc_disk(1);
gd                765 drivers/cdrom/gdrom.c 	if (!gd.disk) {
gd                770 drivers/cdrom/gdrom.c 	if (register_cdrom(gd.cd_info)) {
gd                774 drivers/cdrom/gdrom.c 	gd.disk->fops = &gdrom_bdops;
gd                775 drivers/cdrom/gdrom.c 	gd.disk->events = DISK_EVENT_MEDIA_CHANGE;
gd                781 drivers/cdrom/gdrom.c 	gd.gdrom_rq = blk_mq_init_sq_queue(&gd.tag_set, &gdrom_mq_ops, 1,
gd                783 drivers/cdrom/gdrom.c 	if (IS_ERR(gd.gdrom_rq)) {
gd                784 drivers/cdrom/gdrom.c 		err = PTR_ERR(gd.gdrom_rq);
gd                785 drivers/cdrom/gdrom.c 		gd.gdrom_rq = NULL;
gd                789 drivers/cdrom/gdrom.c 	blk_queue_bounce_limit(gd.gdrom_rq, BLK_BOUNCE_HIGH);
gd                795 drivers/cdrom/gdrom.c 	gd.toc = kzalloc(sizeof(struct gdromtoc), GFP_KERNEL);
gd                796 drivers/cdrom/gdrom.c 	if (!gd.toc) {
gd                800 drivers/cdrom/gdrom.c 	add_disk(gd.disk);
gd                804 drivers/cdrom/gdrom.c 	blk_cleanup_queue(gd.gdrom_rq);
gd                805 drivers/cdrom/gdrom.c 	blk_mq_free_tag_set(&gd.tag_set);
gd                807 drivers/cdrom/gdrom.c 	free_irq(HW_EVENT_GDROM_DMA, &gd);
gd                808 drivers/cdrom/gdrom.c 	free_irq(HW_EVENT_GDROM_CMD, &gd);
gd                811 drivers/cdrom/gdrom.c 	del_gendisk(gd.disk);
gd                813 drivers/cdrom/gdrom.c 	kfree(gd.cd_info);
gd                823 drivers/cdrom/gdrom.c 	blk_cleanup_queue(gd.gdrom_rq);
gd                824 drivers/cdrom/gdrom.c 	blk_mq_free_tag_set(&gd.tag_set);
gd                825 drivers/cdrom/gdrom.c 	free_irq(HW_EVENT_GDROM_CMD, &gd);
gd                826 drivers/cdrom/gdrom.c 	free_irq(HW_EVENT_GDROM_DMA, &gd);
gd                827 drivers/cdrom/gdrom.c 	del_gendisk(gd.disk);
gd                830 drivers/cdrom/gdrom.c 	unregister_cdrom(gd.cd_info);
gd                846 drivers/cdrom/gdrom.c 	gd.toc = NULL;
gd                862 drivers/cdrom/gdrom.c 	kfree(gd.toc);
gd                863 drivers/cdrom/gdrom.c 	kfree(gd.cd_info);
gd                655 drivers/clk/berlin/bg2.c 		const struct berlin2_gate_data *gd = &bg2_gates[n];
gd                657 drivers/clk/berlin/bg2.c 		hws[CLKID_GETH0 + n] = clk_hw_register_gate(NULL, gd->name,
gd                658 drivers/clk/berlin/bg2.c 			    gd->parent_name, gd->flags, gbase + REG_CLKENABLE,
gd                659 drivers/clk/berlin/bg2.c 			    gd->bit_idx, 0, &lock);
gd                348 drivers/clk/berlin/bg2q.c 		const struct berlin2_gate_data *gd = &bg2q_gates[n];
gd                350 drivers/clk/berlin/bg2q.c 		hws[CLKID_GFX2DAXI + n] = clk_hw_register_gate(NULL, gd->name,
gd                351 drivers/clk/berlin/bg2q.c 			    gd->parent_name, gd->flags, gbase + REG_CLKENABLE,
gd                352 drivers/clk/berlin/bg2q.c 			    gd->bit_idx, 0, &lock);
gd                298 drivers/clk/clk-asm9260.c 		const struct asm9260_gate_data *gd = &asm9260_mux_gates[n];
gd                300 drivers/clk/clk-asm9260.c 		hw = clk_hw_register_gate(NULL, gd->name,
gd                301 drivers/clk/clk-asm9260.c 			gd->parent_name, gd->flags | CLK_SET_RATE_PARENT,
gd                302 drivers/clk/clk-asm9260.c 			base + gd->reg, gd->bit_idx, 0, &asm9260_clk_lock);
gd                317 drivers/clk/clk-asm9260.c 		const struct asm9260_gate_data *gd = &asm9260_ahb_gates[n];
gd                319 drivers/clk/clk-asm9260.c 		hws[gd->idx] = clk_hw_register_gate(NULL, gd->name,
gd                320 drivers/clk/clk-asm9260.c 				gd->parent_name, gd->flags, base + gd->reg,
gd                321 drivers/clk/clk-asm9260.c 				gd->bit_idx, 0, &asm9260_clk_lock);
gd                518 drivers/clk/clk-aspeed.c 		const struct aspeed_gate_data *gd = &aspeed_gates[i];
gd                524 drivers/clk/clk-aspeed.c 		gate_flags = (gd->clock_idx == 14) ? 0 : CLK_GATE_SET_TO_DISABLE;
gd                526 drivers/clk/clk-aspeed.c 				gd->name,
gd                527 drivers/clk/clk-aspeed.c 				gd->parent_name,
gd                528 drivers/clk/clk-aspeed.c 				gd->flags,
gd                530 drivers/clk/clk-aspeed.c 				gd->clock_idx,
gd                531 drivers/clk/clk-aspeed.c 				gd->reset_idx,
gd                558 drivers/clk/clk-ast2600.c 		const struct aspeed_gate_data *gd = &aspeed_g6_gates[i];
gd                565 drivers/clk/clk-ast2600.c 		gate_flags = (gd->clock_idx == 14) ? 0 : CLK_GATE_SET_TO_DISABLE;
gd                567 drivers/clk/clk-ast2600.c 				gd->name,
gd                568 drivers/clk/clk-ast2600.c 				gd->parent_name,
gd                569 drivers/clk/clk-ast2600.c 				gd->flags,
gd                571 drivers/clk/clk-ast2600.c 				gd->clock_idx,
gd                572 drivers/clk/clk-ast2600.c 				gd->reset_idx,
gd                340 drivers/clk/clk-gemini.c 		const struct gemini_gate_data *gd;
gd                342 drivers/clk/clk-gemini.c 		gd = &gemini_gates[i];
gd                344 drivers/clk/clk-gemini.c 			clk_hw_register_gate(NULL, gd->name,
gd                345 drivers/clk/clk-gemini.c 					     gd->parent_name,
gd                346 drivers/clk/clk-gemini.c 					     gd->flags,
gd                348 drivers/clk/clk-gemini.c 					     gd->bit_idx,
gd               1812 drivers/clk/clk-stm32f4.c 		const struct stm32f4_gate_data *gd;
gd               1816 drivers/clk/clk-stm32f4.c 		gd = &data->gates_data[n];
gd               1817 drivers/clk/clk-stm32f4.c 		secondary = 8 * (gd->offset - STM32F4_RCC_AHB1ENR) +
gd               1818 drivers/clk/clk-stm32f4.c 			gd->bit_idx;
gd               1825 drivers/clk/clk-stm32f4.c 		    NULL, gd->name, gd->parent_name, gd->flags,
gd               1826 drivers/clk/clk-stm32f4.c 		    base + gd->offset, gd->bit_idx, 0, &stm32f4_clk_lock);
gd               1830 drivers/clk/clk-stm32f4.c 			       np, gd->name);
gd                691 drivers/crypto/amcc/crypto4xx_core.c 	struct ce_gd *gd;
gd                834 drivers/crypto/amcc/crypto4xx_core.c 		gd = crypto4xx_get_gdp(dev, &gd_dma, gd_idx);
gd                845 drivers/crypto/amcc/crypto4xx_core.c 			gd->ptr = dma_map_page(dev->core_dev->device,
gd                847 drivers/crypto/amcc/crypto4xx_core.c 			gd->ctl_len.len = len;
gd                848 drivers/crypto/amcc/crypto4xx_core.c 			gd->ctl_len.done = 0;
gd                849 drivers/crypto/amcc/crypto4xx_core.c 			gd->ctl_len.ready = 1;
gd                855 drivers/crypto/amcc/crypto4xx_core.c 			gd = crypto4xx_get_gdp(dev, &gd_dma, gd_idx);
gd                 44 drivers/gpio/gpio-tqmx86.c static u8 tqmx86_gpio_read(struct tqmx86_gpio_data *gd, unsigned int reg)
gd                 46 drivers/gpio/gpio-tqmx86.c 	return ioread8(gd->io_base + reg);
gd                 49 drivers/gpio/gpio-tqmx86.c static void tqmx86_gpio_write(struct tqmx86_gpio_data *gd, u8 val,
gd                 52 drivers/gpio/gpio-tqmx86.c 	iowrite8(val, gd->io_base + reg);
gd                 67 drivers/macintosh/windfarm_pid.c 	target = (s32)((integ * (s64)st->param.gr + deriv * (s64)st->param.gd +
gd                128 drivers/macintosh/windfarm_pid.c 	deriv *= st->param.gd;
gd                 29 drivers/macintosh/windfarm_pid.h 	s32	gd, gp, gr;	/* PID gains */
gd                 62 drivers/macintosh/windfarm_pid.h 	s32	gd, gp, gr;	/* PID gains */
gd                165 drivers/macintosh/windfarm_pm112.c 	pid.gd = piddata->gd;
gd                343 drivers/macintosh/windfarm_pm112.c 	.gd		= 48 << 20,
gd                393 drivers/macintosh/windfarm_pm112.c 	.gd		= 30 << 20,
gd                444 drivers/macintosh/windfarm_pm112.c 	.gd		= 0,
gd                542 drivers/macintosh/windfarm_pm121.c 	pid_param.gd		= PM121_SYS_GD;
gd                684 drivers/macintosh/windfarm_pm121.c 	pid_param.gd = piddata->gd;
gd                423 drivers/macintosh/windfarm_pm72.c 	pid.gd		= mpu->pid_gd;
gd                442 drivers/macintosh/windfarm_pm72.c 	.gd		= 40 << 20,
gd                454 drivers/macintosh/windfarm_pm72.c 	.gd		= 20 << 20,
gd                534 drivers/macintosh/windfarm_pm72.c 	.gd		= 30 << 20,
gd                165 drivers/macintosh/windfarm_pm81.c 	s32	gd, gp, gr;
gd                197 drivers/macintosh/windfarm_pm81.c 		.gd		= 0x15400000,
gd                209 drivers/macintosh/windfarm_pm81.c 		.gd		= 0x08e00000,
gd                221 drivers/macintosh/windfarm_pm81.c 		.gd		= 0x15400000,
gd                299 drivers/macintosh/windfarm_pm81.c 	pid_param.gd = param->gd;
gd                438 drivers/macintosh/windfarm_pm81.c 	pid_param.gd = piddata->gd;
gd                184 drivers/macintosh/windfarm_pm91.c 	pid_param.gd = piddata->gd;
gd                295 drivers/macintosh/windfarm_pm91.c 		.gd		= 0x01e00000,
gd                376 drivers/macintosh/windfarm_pm91.c 		.gd		= 0x00000000,
gd                324 drivers/macintosh/windfarm_rm31.c 	pid.gd		= mpu->pid_gd;
gd                343 drivers/macintosh/windfarm_rm31.c 	.gd		= 0x00500000,
gd                356 drivers/macintosh/windfarm_rm31.c 	.gd		= 0,
gd                443 drivers/macintosh/windfarm_rm31.c 	.gd		= 0,
gd                345 drivers/mtd/mtd_blkdevs.c 	struct gendisk *gd;
gd                399 drivers/mtd/mtd_blkdevs.c 	gd = alloc_disk(1 << tr->part_bits);
gd                401 drivers/mtd/mtd_blkdevs.c 	if (!gd)
gd                404 drivers/mtd/mtd_blkdevs.c 	new->disk = gd;
gd                405 drivers/mtd/mtd_blkdevs.c 	gd->private_data = new;
gd                406 drivers/mtd/mtd_blkdevs.c 	gd->major = tr->major;
gd                407 drivers/mtd/mtd_blkdevs.c 	gd->first_minor = (new->devnum) << tr->part_bits;
gd                408 drivers/mtd/mtd_blkdevs.c 	gd->fops = &mtd_block_ops;
gd                412 drivers/mtd/mtd_blkdevs.c 			snprintf(gd->disk_name, sizeof(gd->disk_name),
gd                415 drivers/mtd/mtd_blkdevs.c 			snprintf(gd->disk_name, sizeof(gd->disk_name),
gd                420 drivers/mtd/mtd_blkdevs.c 		snprintf(gd->disk_name, sizeof(gd->disk_name),
gd                423 drivers/mtd/mtd_blkdevs.c 	set_capacity(gd, ((u64)new->size * tr->blksize) >> 9);
gd                455 drivers/mtd/mtd_blkdevs.c 	gd->queue = new->rq;
gd                458 drivers/mtd/mtd_blkdevs.c 		set_disk_ro(gd, 1);
gd                460 drivers/mtd/mtd_blkdevs.c 	device_add_disk(&new->mtd->dev, gd, NULL);
gd                463 drivers/mtd/mtd_blkdevs.c 		ret = sysfs_create_group(&disk_to_dev(gd)->kobj,
gd                 82 drivers/mtd/ubi/block.c 	struct gendisk *gd;
gd                245 drivers/mtd/ubi/block.c 		dev_err(disk_to_dev(dev->gd), "failed to open ubi volume %d_%d",
gd                262 drivers/mtd/ubi/block.c static void ubiblock_release(struct gendisk *gd, fmode_t mode)
gd                264 drivers/mtd/ubi/block.c 	struct ubiblock *dev = gd->private_data;
gd                369 drivers/mtd/ubi/block.c 	struct gendisk *gd;
gd                398 drivers/mtd/ubi/block.c 	gd = alloc_disk(1);
gd                399 drivers/mtd/ubi/block.c 	if (!gd) {
gd                405 drivers/mtd/ubi/block.c 	gd->fops = &ubiblock_ops;
gd                406 drivers/mtd/ubi/block.c 	gd->major = ubiblock_major;
gd                407 drivers/mtd/ubi/block.c 	gd->first_minor = idr_alloc(&ubiblock_minor_idr, dev, 0, 0, GFP_KERNEL);
gd                408 drivers/mtd/ubi/block.c 	if (gd->first_minor < 0) {
gd                409 drivers/mtd/ubi/block.c 		dev_err(disk_to_dev(gd),
gd                414 drivers/mtd/ubi/block.c 	gd->private_data = dev;
gd                415 drivers/mtd/ubi/block.c 	sprintf(gd->disk_name, "ubiblock%d_%d", dev->ubi_num, dev->vol_id);
gd                416 drivers/mtd/ubi/block.c 	set_capacity(gd, disk_capacity);
gd                417 drivers/mtd/ubi/block.c 	dev->gd = gd;
gd                429 drivers/mtd/ubi/block.c 		dev_err(disk_to_dev(dev->gd), "blk_mq_alloc_tag_set failed");
gd                435 drivers/mtd/ubi/block.c 		dev_err(disk_to_dev(gd), "blk_mq_init_queue failed");
gd                442 drivers/mtd/ubi/block.c 	dev->gd->queue = dev->rq;
gd                448 drivers/mtd/ubi/block.c 	dev->wq = alloc_workqueue("%s", 0, 0, gd->disk_name);
gd                457 drivers/mtd/ubi/block.c 	add_disk(dev->gd);
gd                458 drivers/mtd/ubi/block.c 	dev_info(disk_to_dev(dev->gd), "created from ubi%d:%d(%s)",
gd                468 drivers/mtd/ubi/block.c 	idr_remove(&ubiblock_minor_idr, gd->first_minor);
gd                470 drivers/mtd/ubi/block.c 	put_disk(dev->gd);
gd                482 drivers/mtd/ubi/block.c 	del_gendisk(dev->gd);
gd                488 drivers/mtd/ubi/block.c 	dev_info(disk_to_dev(dev->gd), "released");
gd                489 drivers/mtd/ubi/block.c 	idr_remove(&ubiblock_minor_idr, dev->gd->first_minor);
gd                490 drivers/mtd/ubi/block.c 	put_disk(dev->gd);
gd                550 drivers/mtd/ubi/block.c 			dev_warn(disk_to_dev(dev->gd),
gd                559 drivers/mtd/ubi/block.c 	if (get_capacity(dev->gd) != disk_capacity) {
gd                560 drivers/mtd/ubi/block.c 		set_capacity(dev->gd, disk_capacity);
gd                561 drivers/mtd/ubi/block.c 		dev_info(disk_to_dev(dev->gd), "resized to %lld bytes",
gd                576 drivers/net/vmxnet3/vmxnet3_drv.c 		union Vmxnet3_GenericDesc *gd;
gd                579 drivers/net/vmxnet3/vmxnet3_drv.c 		gd = ring->base + ring->next2fill;
gd                631 drivers/net/vmxnet3/vmxnet3_drv.c 		gd->rxd.addr = cpu_to_le64(rbi->dma_addr);
gd                632 drivers/net/vmxnet3/vmxnet3_drv.c 		gd->dword[2] = cpu_to_le32((!ring->gen << VMXNET3_RXD_GEN_SHIFT)
gd                640 drivers/net/vmxnet3/vmxnet3_drv.c 		gd->dword[2] |= cpu_to_le32(ring->gen << VMXNET3_RXD_GEN_SHIFT);
gd                 72 drivers/s390/block/dcssblk.c 	struct gendisk *gd;
gd                141 drivers/s390/block/dcssblk.c 			if (minor == entry->gd->first_minor)
gd                147 drivers/s390/block/dcssblk.c 	dev_info->gd->first_minor = minor;
gd                375 drivers/s390/block/dcssblk.c 			set_disk_ro(dev_info->gd, 1);
gd                396 drivers/s390/block/dcssblk.c 		set_disk_ro(dev_info->gd, 0);
gd                416 drivers/s390/block/dcssblk.c 	del_gendisk(dev_info->gd);
gd                418 drivers/s390/block/dcssblk.c 	dev_info->gd->queue = NULL;
gd                419 drivers/s390/block/dcssblk.c 	put_disk(dev_info->gd);
gd                632 drivers/s390/block/dcssblk.c 	dev_info->gd = alloc_disk(DCSSBLK_MINORS_PER_DISK);
gd                633 drivers/s390/block/dcssblk.c 	if (dev_info->gd == NULL) {
gd                637 drivers/s390/block/dcssblk.c 	dev_info->gd->major = dcssblk_major;
gd                638 drivers/s390/block/dcssblk.c 	dev_info->gd->fops = &dcssblk_devops;
gd                640 drivers/s390/block/dcssblk.c 	dev_info->gd->queue = dev_info->dcssblk_queue;
gd                641 drivers/s390/block/dcssblk.c 	dev_info->gd->private_data = dev_info;
gd                647 drivers/s390/block/dcssblk.c 	set_capacity(dev_info->gd, seg_byte_size >> 9); // size in sectors
gd                666 drivers/s390/block/dcssblk.c 	sprintf(dev_info->gd->disk_name, "dcssblk%d",
gd                667 drivers/s390/block/dcssblk.c 		dev_info->gd->first_minor);
gd                681 drivers/s390/block/dcssblk.c 	dev_info->dax_dev = alloc_dax(dev_info, dev_info->gd->disk_name,
gd                689 drivers/s390/block/dcssblk.c 	device_add_disk(&dev_info->dev, dev_info->gd, NULL);
gd                695 drivers/s390/block/dcssblk.c 			set_disk_ro(dev_info->gd,1);
gd                698 drivers/s390/block/dcssblk.c 			set_disk_ro(dev_info->gd,0);
gd                708 drivers/s390/block/dcssblk.c 	dev_info->gd->queue = NULL;
gd                709 drivers/s390/block/dcssblk.c 	put_disk(dev_info->gd);
gd                720 drivers/s390/block/dcssblk.c 	dev_info->gd->queue = NULL;
gd                721 drivers/s390/block/dcssblk.c 	put_disk(dev_info->gd);
gd                788 drivers/s390/block/dcssblk.c 	del_gendisk(dev_info->gd);
gd                790 drivers/s390/block/dcssblk.c 	dev_info->gd->queue = NULL;
gd                791 drivers/s390/block/dcssblk.c 	put_disk(dev_info->gd);
gd               3290 drivers/scsi/sd.c 	struct gendisk *gd;
gd               3314 drivers/scsi/sd.c 	gd = alloc_disk(SD_MINORS);
gd               3315 drivers/scsi/sd.c 	if (!gd)
gd               3324 drivers/scsi/sd.c 	error = sd_format_disk_name("sd", index, gd->disk_name, DISK_NAME_LEN);
gd               3332 drivers/scsi/sd.c 	sdkp->disk = gd;
gd               3357 drivers/scsi/sd.c 	gd->major = sd_major((index & 0xf0) >> 4);
gd               3358 drivers/scsi/sd.c 	gd->first_minor = ((index & 0xf) << 4) | (index & 0xfff00);
gd               3360 drivers/scsi/sd.c 	gd->fops = &sd_fops;
gd               3361 drivers/scsi/sd.c 	gd->private_data = &sdkp->driver;
gd               3362 drivers/scsi/sd.c 	gd->queue = sdkp->device->request_queue;
gd               3376 drivers/scsi/sd.c 	sd_revalidate_disk(gd);
gd               3378 drivers/scsi/sd.c 	gd->flags = GENHD_FL_EXT_DEVT;
gd               3380 drivers/scsi/sd.c 		gd->flags |= GENHD_FL_REMOVABLE;
gd               3381 drivers/scsi/sd.c 		gd->events |= DISK_EVENT_MEDIA_CHANGE;
gd               3382 drivers/scsi/sd.c 		gd->event_flags = DISK_EVENT_FLAG_POLL | DISK_EVENT_FLAG_UEVENT;
gd               3386 drivers/scsi/sd.c 	device_add_disk(dev, gd, NULL);
gd               3390 drivers/scsi/sd.c 	sd_revalidate_disk(gd);
gd               3407 drivers/scsi/sd.c 	put_disk(gd);
gd               1323 drivers/usb/core/devio.c 	struct usbdevfs_getdriver gd;
gd               1327 drivers/usb/core/devio.c 	if (copy_from_user(&gd, arg, sizeof(gd)))
gd               1329 drivers/usb/core/devio.c 	intf = usb_ifnum_to_if(ps->dev, gd.interface);
gd               1333 drivers/usb/core/devio.c 		strlcpy(gd.driver, intf->dev.driver->name,
gd               1334 drivers/usb/core/devio.c 				sizeof(gd.driver));
gd               1335 drivers/usb/core/devio.c 		ret = (copy_to_user(arg, &gd, sizeof(gd)) ? -EFAULT : 0);
gd                199 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	struct gpio_desc *gd;
gd                203 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	gd = devm_gpiod_get_index(dev, desc, index, GPIOD_OUT_LOW);
gd                204 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	if (IS_ERR(gd))
gd                205 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 		return PTR_ERR(gd);
gd                207 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c 	*gpiod = gd;
gd               7473 fs/ocfs2/alloc.c 			     struct ocfs2_group_desc *gd,
gd               7491 fs/ocfs2/alloc.c 		discard += le64_to_cpu(gd->bg_blkno);
gd               7499 fs/ocfs2/alloc.c 			    struct ocfs2_group_desc *gd, u64 group,
gd               7503 fs/ocfs2/alloc.c 	void *bitmap = gd->bg_bitmap;
gd               7505 fs/ocfs2/alloc.c 	if (le16_to_cpu(gd->bg_free_bits_count) < minbits)
gd               7508 fs/ocfs2/alloc.c 	trace_ocfs2_trim_group((unsigned long long)le64_to_cpu(gd->bg_blkno),
gd               7518 fs/ocfs2/alloc.c 			ret = ocfs2_trim_extent(sb, gd, group,
gd               7533 fs/ocfs2/alloc.c 		if ((le16_to_cpu(gd->bg_free_bits_count) - count) < minbits)
gd               7554 fs/ocfs2/alloc.c 	struct ocfs2_group_desc *gd = NULL;
gd               7625 fs/ocfs2/alloc.c 		gd = (struct ocfs2_group_desc *)gd_bh->b_data;
gd               7626 fs/ocfs2/alloc.c 		cnt = ocfs2_trim_group(sb, gd, group,
gd                539 fs/ocfs2/move_extents.c 	struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data;
gd                541 fs/ocfs2/move_extents.c 						 le64_to_cpu(gd->bg_blkno));
gd                543 fs/ocfs2/move_extents.c 	for (i = base_bit; i < le16_to_cpu(gd->bg_bits); i++) {
gd                545 fs/ocfs2/move_extents.c 		used = ocfs2_test_bit(i, (unsigned long *)gd->bg_bitmap);
gd                585 fs/ocfs2/move_extents.c 	struct ocfs2_group_desc *gd;
gd                690 fs/ocfs2/move_extents.c 	gd = (struct ocfs2_group_desc *)gd_bh->b_data;
gd                692 fs/ocfs2/move_extents.c 					       le16_to_cpu(gd->bg_chain));
gd                698 fs/ocfs2/move_extents.c 	ret = ocfs2_block_group_set_bits(handle, gb_inode, gd, gd_bh,
gd                702 fs/ocfs2/move_extents.c 					       le16_to_cpu(gd->bg_chain));
gd               1596 fs/ocfs2/ocfs2_fs.h static inline int ocfs2_gd_is_discontig(struct ocfs2_group_desc *gd)
gd               1599 fs/ocfs2/ocfs2_fs.h 	     le16_to_cpu(gd->bg_size)) !=
gd               1606 fs/ocfs2/ocfs2_fs.h 	if (!gd->bg_list.l_next_free_rec)
gd                 41 fs/ocfs2/resize.c 				       struct ocfs2_group_desc *gd,
gd                 49 fs/ocfs2/resize.c 	u64 blkno, gd_blkno, lgd_blkno = le64_to_cpu(gd->bg_blkno);
gd                 69 fs/ocfs2/resize.c 				      (unsigned long *)gd->bg_bitmap);
gd                 72 fs/ocfs2/resize.c 					(unsigned long *)gd->bg_bitmap);
gd                377 fs/ocfs2/resize.c 	struct ocfs2_group_desc *gd =
gd                386 fs/ocfs2/resize.c 	if (le16_to_cpu(gd->bg_chain) != input->chain)
gd                389 fs/ocfs2/resize.c 		     (unsigned long long)le64_to_cpu(gd->bg_blkno),
gd                390 fs/ocfs2/resize.c 		     le16_to_cpu(gd->bg_chain), input->chain);
gd                391 fs/ocfs2/resize.c 	else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc)
gd                394 fs/ocfs2/resize.c 		     (unsigned long long)le64_to_cpu(gd->bg_blkno),
gd                395 fs/ocfs2/resize.c 		     le16_to_cpu(gd->bg_bits), input->clusters);
gd                396 fs/ocfs2/resize.c 	else if (le16_to_cpu(gd->bg_free_bits_count) != input->frees * cl_bpc)
gd                399 fs/ocfs2/resize.c 		     (unsigned long long)le64_to_cpu(gd->bg_blkno),
gd                400 fs/ocfs2/resize.c 		     le16_to_cpu(gd->bg_bits),
gd                163 fs/ocfs2/suballoc.c 	struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data;
gd                165 fs/ocfs2/suballoc.c 	if (!OCFS2_IS_VALID_GROUP_DESC(gd)) {
gd                168 fs/ocfs2/suballoc.c 			 gd->bg_signature);
gd                171 fs/ocfs2/suballoc.c 	if (le64_to_cpu(gd->bg_blkno) != bh->b_blocknr) {
gd                174 fs/ocfs2/suballoc.c 			 (unsigned long long)le64_to_cpu(gd->bg_blkno));
gd                177 fs/ocfs2/suballoc.c 	if (le32_to_cpu(gd->bg_generation) != OCFS2_SB(sb)->fs_generation) {
gd                180 fs/ocfs2/suballoc.c 			 le32_to_cpu(gd->bg_generation));
gd                183 fs/ocfs2/suballoc.c 	if (le16_to_cpu(gd->bg_free_bits_count) > le16_to_cpu(gd->bg_bits)) {
gd                186 fs/ocfs2/suballoc.c 			 le16_to_cpu(gd->bg_bits),
gd                187 fs/ocfs2/suballoc.c 			 le16_to_cpu(gd->bg_free_bits_count));
gd                190 fs/ocfs2/suballoc.c 	if (le16_to_cpu(gd->bg_bits) > (8 * le16_to_cpu(gd->bg_size))) {
gd                193 fs/ocfs2/suballoc.c 			 le16_to_cpu(gd->bg_bits),
gd                194 fs/ocfs2/suballoc.c 			 8 * le16_to_cpu(gd->bg_size));
gd                206 fs/ocfs2/suballoc.c 	struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data;
gd                208 fs/ocfs2/suballoc.c 	if (di->i_blkno != gd->bg_parent_dinode) {
gd                211 fs/ocfs2/suballoc.c 			 (unsigned long long)le64_to_cpu(gd->bg_parent_dinode),
gd                216 fs/ocfs2/suballoc.c 	if (le16_to_cpu(gd->bg_bits) > max_bits) {
gd                219 fs/ocfs2/suballoc.c 			 le16_to_cpu(gd->bg_bits));
gd                223 fs/ocfs2/suballoc.c 	if ((le16_to_cpu(gd->bg_chain) >
gd                225 fs/ocfs2/suballoc.c 	    ((le16_to_cpu(gd->bg_chain) ==
gd                229 fs/ocfs2/suballoc.c 			 le16_to_cpu(gd->bg_chain));
gd                246 fs/ocfs2/suballoc.c 	struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data;
gd                255 fs/ocfs2/suballoc.c 	rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &gd->bg_check);
gd                272 fs/ocfs2/suballoc.c 	struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *)bh->b_data;
gd                284 fs/ocfs2/suballoc.c 	rc = ocfs2_validate_meta_ecc(sb, bh->b_data, &gd->bg_check);
gd               1482 fs/ocfs2/suballoc.c 	struct ocfs2_group_desc *gd = (struct ocfs2_group_desc *) group_bh->b_data;
gd               1488 fs/ocfs2/suballoc.c 	if (gd->bg_free_bits_count) {
gd               1489 fs/ocfs2/suballoc.c 		max_bits = le16_to_cpu(gd->bg_bits);
gd               1498 fs/ocfs2/suballoc.c 							  le64_to_cpu(gd->bg_blkno));
gd               1503 fs/ocfs2/suballoc.c 				(unsigned long long)le64_to_cpu(gd->bg_blkno),
gd               1504 fs/ocfs2/suballoc.c 				le16_to_cpu(gd->bg_bits),
gd               1676 fs/ocfs2/suballoc.c 	struct ocfs2_group_desc *gd;
gd               1687 fs/ocfs2/suballoc.c 	gd = (struct ocfs2_group_desc *) group_bh->b_data;
gd               1697 fs/ocfs2/suballoc.c 		ocfs2_bg_discontig_fix_result(ac, gd, res);
gd               1710 fs/ocfs2/suballoc.c 					       le16_to_cpu(gd->bg_chain));
gd               1716 fs/ocfs2/suballoc.c 	ret = ocfs2_block_group_set_bits(handle, alloc_inode, gd, group_bh,
gd               1721 fs/ocfs2/suballoc.c 					       le16_to_cpu(gd->bg_chain));
gd               1726 fs/ocfs2/suballoc.c 	*bits_left = le16_to_cpu(gd->bg_free_bits_count);
gd               1662 fs/udf/super.c 	struct generic_desc *gd;
gd               1691 fs/udf/super.c 		gd = (struct generic_desc *)bh->b_data;
gd               1692 fs/udf/super.c 		vdsn = le32_to_cpu(gd->volDescSeqNum);
gd                155 fs/xfs/xfs_quota.h #define xfs_trans_reserve_quota(tp, mp, ud, gd, pd, nb, ni, f) \
gd                156 fs/xfs/xfs_quota.h 	xfs_trans_reserve_quota_bydquots(tp, mp, ud, gd, pd, nb, ni, \
gd                192 include/linux/genhd.h 	char *(*devnode)(struct gendisk *gd, umode_t *mode);
gd                796 net/sunrpc/auth_gss/svcauth_gss.c 	struct gss_domain *gd = container_of(dom, struct gss_domain, h);
gd                798 net/sunrpc/auth_gss/svcauth_gss.c 	return gd->pseudoflavor;
gd               1833 net/sunrpc/auth_gss/svcauth_gss.c 	struct gss_domain *gd = container_of(dom, struct gss_domain, h);
gd               1836 net/sunrpc/auth_gss/svcauth_gss.c 	kfree(gd);