/linux-6.3-rc2/drivers/gpu/drm/sti/ |
A D | sti_gdp.c | 227 sti_plane_to_str(&gdp->plane), gdp->regs); in gdp_dbg_show() 241 gdp_dbg_nvn(s, gdp, readl(gdp->regs + GAM_GDP_NVN_OFFSET)); in gdp_dbg_show() 468 if (sti_vtg_unregister_client(gdp->vtg, &gdp->vtg_field_nb)) in sti_gdp_disable() 475 gdp->vtg = NULL; in sti_gdp_disable() 580 gdp->clk_pix = devm_clk_get(gdp->dev, clk_name); in sti_gdp_init() 584 gdp->clk_main_parent = devm_clk_get(gdp->dev, "main_parent"); in sti_gdp_init() 588 gdp->clk_aux_parent = devm_clk_get(gdp->dev, "aux_parent"); in sti_gdp_init() 751 sti_vtg_register_client(gdp->vtg, &gdp->vtg_field_nb, crtc); in sti_gdp_atomic_update() 925 gdp = devm_kzalloc(dev, sizeof(*gdp), GFP_KERNEL); in sti_gdp_create() 926 if (!gdp) { in sti_gdp_create() [all …]
|
/linux-6.3-rc2/drivers/s390/block/ |
A D | dasd_genhd.c | 42 struct gendisk *gdp; in dasd_gendisk_alloc() local 62 if (IS_ERR(gdp)) { in dasd_gendisk_alloc() 64 return PTR_ERR(gdp); in dasd_gendisk_alloc() 68 gdp->major = DASD_MAJOR; in dasd_gendisk_alloc() 97 set_disk_ro(gdp, 1); in dasd_gendisk_alloc() 99 block->gdp = gdp; in dasd_gendisk_alloc() 100 set_capacity(block->gdp, 0); in dasd_gendisk_alloc() 116 if (block->gdp) { in dasd_gendisk_free() 117 del_gendisk(block->gdp); in dasd_gendisk_free() 119 put_disk(block->gdp); in dasd_gendisk_free() [all …]
|
A 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()
|
A D | dasd_devmap.c | 929 void dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device) in dasd_add_link_to_gendisk() argument 937 gdp->private_data = devmap; in dasd_add_link_to_gendisk() 942 struct dasd_device *dasd_device_from_gendisk(struct gendisk *gdp) in dasd_device_from_gendisk() argument 947 if (!gdp->private_data) in dasd_device_from_gendisk() 951 devmap = gdp->private_data; in dasd_device_from_gendisk() 1047 if (!device->block || !device->block->gdp || in dasd_ro_store() 1056 set_disk_ro(device->block->gdp, val); in dasd_ro_store() 1592 if (!device->block->gdp) { in dasd_timeout_store() 1598 blk_queue_rq_timeout(device->block->gdp->queue, val * HZ); in dasd_timeout_store()
|
A D | dasd.c | 240 dasd_debugfs_setup(block->gdp->disk_name, in dasd_state_known_to_basic() 328 disk = device->block->gdp; in dasd_state_basic_to_ready() 337 set_capacity(block->gdp, in dasd_state_basic_to_ready() 410 kobject_uevent(&disk_to_dev(device->block->gdp)->kobj, in dasd_state_ready_to_online() 1570 if (device->block->gdp) in dasd_generic_handle_state_change() 1571 blk_mq_run_hw_queues(device->block->gdp->queue, true); in dasd_generic_handle_state_change() 2669 blk_mq_run_hw_queues(block->gdp->queue, true); in dasd_block_timeout() 3701 if (device->block->gdp) in dasd_generic_path_operational() 3702 blk_mq_run_hw_queues(device->block->gdp->queue, true); in dasd_generic_path_operational() 3854 if (device->block->gdp) in dasd_generic_space_avail() [all …]
|
/linux-6.3-rc2/fs/ext4/ |
A 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 …]
|
A D | ialloc.c | 310 if (gdp) { in ext4_free_inode() 685 if (unlikely(!gdp)) in recently_deleted() 853 ext4_free_inodes_set(sb, gdp, ext4_free_inodes_count(sb, gdp) - 1); in ext4_mark_inode_used() 1035 if (!gdp) in __ext4_new_inode() 1214 ext4_free_inodes_set(sb, gdp, ext4_free_inodes_count(sb, gdp) - 1); in __ext4_new_inode() 1216 ext4_used_dirs_set(sb, gdp, ext4_used_dirs_count(sb, gdp) + 1); in __ext4_new_inode() 1452 gdp = NULL; in ext4_count_free_inodes() 1455 if (!gdp) in ext4_count_free_inodes() 1480 if (!gdp) in ext4_count_free_inodes() 1497 if (!gdp) in ext4_count_dirs() [all …]
|
A D | balloc.c | 88 struct ext4_group_desc *gdp) in ext4_num_overhead_clusters() argument 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 210 tmp = ext4_block_bitmap(sb, gdp); in ext4_init_block_bitmap() 214 tmp = ext4_inode_bitmap(sb, gdp); in ext4_init_block_bitmap() 218 tmp = ext4_inode_table(sb, gdp); in ext4_init_block_bitmap() 240 struct ext4_group_desc *gdp) in ext4_free_clusters_after_init() argument 723 struct ext4_group_desc *gdp; in ext4_count_free_clusters() local 736 gdp = NULL; in ext4_count_free_clusters() 740 if (!gdp) in ext4_count_free_clusters() [all …]
|
A D | block_validity.c | 216 struct ext4_group_desc *gdp; in ext4_setup_system_zone() local 235 gdp = ext4_get_group_desc(sb, i, NULL); in ext4_setup_system_zone() 237 ext4_block_bitmap(sb, gdp), 1, 0); in ext4_setup_system_zone() 241 ext4_inode_bitmap(sb, gdp), 1, 0); in ext4_setup_system_zone() 245 ext4_inode_table(sb, gdp), in ext4_setup_system_zone()
|
A D | mballoc.c | 2478 struct ext4_group_desc *gdp = in ext4_mb_good_group_nolock() local 3745 struct ext4_group_desc *gdp; in ext4_mb_mark_diskspace_used() local 3773 if (!gdp) in ext4_mb_mark_diskspace_used() 3821 ac->ac_b_ex.fe_group, gdp)); in ext4_mb_mark_diskspace_used() 3864 struct ext4_group_desc *gdp; in ext4_mb_mark_bb() local 3905 if (!gdp) in ext4_mb_mark_bb() 5836 struct ext4_group_desc *gdp; in ext4_free_blocks_simple() local 5850 if (!gdp) in ext4_free_blocks_simple() 5862 sb, gdp, ext4_free_group_clusters(sb, gdp) + in ext4_free_blocks_simple() 5887 struct ext4_group_desc *gdp; in ext4_mb_clear_bb() local [all …]
|
A 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()
|
A D | resize.c | 1310 struct ext4_group_desc *gdp, in ext4_set_bitmap_checksums() argument 1321 ext4_inode_bitmap_csum_set(sb, group, gdp, bh, in ext4_set_bitmap_checksums() 1328 ext4_block_bitmap_csum_set(sb, group, gdp, bh); in ext4_set_bitmap_checksums() 1341 struct ext4_group_desc *gdp; in ext4_setup_new_descs() local 1360 gdp = (struct ext4_group_desc *)(gdb_bh->b_data + in ext4_setup_new_descs() 1363 memset(gdp, 0, EXT4_DESC_SIZE(sb)); in ext4_setup_new_descs() 1373 ext4_free_group_clusters_set(sb, gdp, in ext4_setup_new_descs() 1377 ext4_itable_unused_set(sb, gdp, in ext4_setup_new_descs() 1379 gdp->bg_flags = cpu_to_le16(*bg_flags); in ext4_setup_new_descs() 1380 ext4_group_desc_csum_set(sb, group, gdp); in ext4_setup_new_descs() [all …]
|
A D | super.c | 1062 if (!ret && gdp) { in ext4_mark_group_bitmap_corrupted() 3198 struct ext4_group_desc *gdp) in ext4_group_desc_csum_verify() argument 3201 (gdp->bg_checksum != ext4_group_desc_csum(sb, block_group, gdp))) in ext4_group_desc_csum_verify() 3212 gdp->bg_checksum = ext4_group_desc_csum(sb, block_group, gdp); in ext4_group_desc_csum_set() 3320 gdp)), le16_to_cpu(gdp->bg_checksum)); in ext4_check_descriptors() 3665 if (!gdp) { in ext4_run_li_request() 3880 if (!gdp) in ext4_has_uninit_itable() 4068 struct ext4_group_desc *gdp; in count_overhead() local 4084 b = ext4_block_bitmap(sb, gdp); in count_overhead() 4089 b = ext4_inode_bitmap(sb, gdp); in count_overhead() [all …]
|
/linux-6.3-rc2/drivers/regulator/ |
A D | sy7636a-regulator.c | 79 struct gpio_desc *gdp; in sy7636a_regulator_probe() local 86 gdp = devm_gpiod_get(pdev->dev.parent, "epd-pwr-good", GPIOD_IN); in sy7636a_regulator_probe() 87 if (IS_ERR(gdp)) { in sy7636a_regulator_probe() 88 dev_err(pdev->dev.parent, "Power good GPIO fault %ld\n", PTR_ERR(gdp)); in sy7636a_regulator_probe() 89 return PTR_ERR(gdp); in sy7636a_regulator_probe() 97 data->pgood_gpio = gdp; in sy7636a_regulator_probe()
|
/linux-6.3-rc2/fs/nfsd/ |
A D | blocklayout.c | 144 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_simple() argument 153 gdp->gd_device = dev; in nfsd4_block_get_device_info_simple() 168 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_proc_getdeviceinfo() argument 172 return nfserrno(nfsd4_block_get_device_info_simple(sb, gdp)); in nfsd4_block_proc_getdeviceinfo() 250 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_scsi() argument 261 gdp->gd_device = dev; in nfsd4_block_get_device_info_scsi() 307 struct nfsd4_getdeviceinfo *gdp) in nfsd4_scsi_proc_getdeviceinfo() argument 311 return nfserrno(nfsd4_block_get_device_info_scsi(sb, clp, gdp)); in nfsd4_scsi_proc_getdeviceinfo()
|
A 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()
|
A D | flexfilelayout.c | 82 struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_proc_getdeviceinfo() argument 93 gdp->gd_device = da; in nfsd4_ff_proc_getdeviceinfo()
|
A D | flexfilelayoutxdr.h | 46 struct nfsd4_getdeviceinfo *gdp);
|
A D | blocklayoutxdr.c | 80 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_encode_getdeviceinfo() argument 82 struct pnfs_block_deviceaddr *dev = gdp->gd_device; in nfsd4_block_encode_getdeviceinfo()
|
A D | blocklayoutxdr.h | 54 struct nfsd4_getdeviceinfo *gdp);
|
A D | nfs4proc.c | 2131 struct nfsd4_getdeviceinfo *gdp = &u->getdeviceinfo; in nfsd4_getdeviceinfo() local 2139 gdp->gd_layout_type, in nfsd4_getdeviceinfo() 2140 gdp->gd_devid.fsid_idx, gdp->gd_devid.generation, in nfsd4_getdeviceinfo() 2141 gdp->gd_maxcount); in nfsd4_getdeviceinfo() 2143 map = nfsd4_find_devid_map(gdp->gd_devid.fsid_idx); in nfsd4_getdeviceinfo() 2157 ops = nfsd4_layout_verify(exp, gdp->gd_layout_type); in nfsd4_getdeviceinfo() 2162 if (gdp->gd_maxcount != 0) { in nfsd4_getdeviceinfo() 2164 rqstp, cstate->clp, gdp); in nfsd4_getdeviceinfo() 2167 gdp->gd_notify_types &= ops->notify_types; in nfsd4_getdeviceinfo()
|
/linux-6.3-rc2/fs/ext2/ |
A D | ialloc.c | 172 struct ext2_group_desc * gdp; in ext2_preread_inode() local 175 gdp = ext2_get_group_desc(inode->i_sb, block_group, NULL); in ext2_preread_inode() 176 if (gdp == NULL) in ext2_preread_inode() 184 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_preread_inode() 431 struct ext2_group_desc *gdp; in ext2_new_inode() local 459 gdp = ext2_get_group_desc(sb, group, &bh2); in ext2_new_inode() 460 if (!gdp) { in ext2_new_inode() 531 le16_add_cpu(&gdp->bg_free_inodes_count, -1); in ext2_new_inode() 535 le16_add_cpu(&gdp->bg_used_dirs_count, 1); in ext2_new_inode() 669 if (!gdp) in ext2_count_dirs() [all …]
|
A D | balloc.c | 1220 struct ext2_group_desc *gdp; in ext2_new_blocks() local 1275 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1276 if (!gdp) in ext2_new_blocks() 1279 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1320 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1321 if (!gdp) in ext2_new_blocks() 1324 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1371 group_no, gdp->bg_free_blocks_count); in ext2_new_blocks() 1375 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks() 1377 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks() [all …]
|
A D | super.c | 690 struct ext2_group_desc *gdp = ext2_get_group_desc(sb, i, NULL); in ext2_check_descriptors() local 694 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors() 695 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors() 700 i, (unsigned long) le32_to_cpu(gdp->bg_block_bitmap)); in ext2_check_descriptors() 703 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext2_check_descriptors() 704 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) in ext2_check_descriptors() 709 i, (unsigned long) le32_to_cpu(gdp->bg_inode_bitmap)); in ext2_check_descriptors() 712 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext2_check_descriptors() 713 le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 > in ext2_check_descriptors() 719 i, (unsigned long) le32_to_cpu(gdp->bg_inode_table)); in ext2_check_descriptors()
|
A D | inode.c | 1294 struct ext2_group_desc * gdp; in ext2_get_inode() local 1302 gdp = ext2_get_group_desc(sb, block_group, NULL); in ext2_get_inode() 1303 if (!gdp) in ext2_get_inode() 1309 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_get_inode()
|