Home
last modified time | relevance | path

Searched refs:gdp (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/gpu/drm/sti/
A Dsti_gdp.c225 sti_plane_to_str(&gdp->plane), gdp->regs); in gdp_dbg_show()
239 gdp_dbg_nvn(s, gdp, readl(gdp->regs + GAM_GDP_NVN_OFFSET)); in gdp_dbg_show()
466 if (sti_vtg_unregister_client(gdp->vtg, &gdp->vtg_field_nb)) in sti_gdp_disable()
473 gdp->vtg = NULL; in sti_gdp_disable()
578 gdp->clk_pix = devm_clk_get(gdp->dev, clk_name); in sti_gdp_init()
582 gdp->clk_main_parent = devm_clk_get(gdp->dev, "main_parent"); in sti_gdp_init()
586 gdp->clk_aux_parent = devm_clk_get(gdp->dev, "aux_parent"); in sti_gdp_init()
749 sti_vtg_register_client(gdp->vtg, &gdp->vtg_field_nb, crtc); in sti_gdp_atomic_update()
923 gdp = devm_kzalloc(dev, sizeof(*gdp), GFP_KERNEL); in sti_gdp_create()
924 if (!gdp) { in sti_gdp_create()
[all …]
/linux/drivers/s390/block/
A Ddasd_genhd.c35 struct gendisk *gdp; in dasd_gendisk_alloc() local
46 if (!gdp) in dasd_gendisk_alloc()
50 gdp->major = DASD_MAJOR; in dasd_gendisk_alloc()
79 set_disk_ro(gdp, 1); in dasd_gendisk_alloc()
81 block->gdp = gdp; in dasd_gendisk_alloc()
82 set_capacity(block->gdp, 0); in dasd_gendisk_alloc()
98 if (block->gdp) { in dasd_gendisk_free()
99 del_gendisk(block->gdp); in dasd_gendisk_free()
100 block->gdp->private_data = NULL; in dasd_gendisk_free()
101 put_disk(block->gdp); in dasd_gendisk_free()
[all …]
A Ddasd_proc.c59 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 Ddasd_devmap.c686 void dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device) in dasd_add_link_to_gendisk() argument
694 gdp->private_data = devmap; in dasd_add_link_to_gendisk()
698 struct dasd_device *dasd_device_from_gendisk(struct gendisk *gdp) in dasd_device_from_gendisk() argument
703 if (!gdp->private_data) in dasd_device_from_gendisk()
707 devmap = gdp->private_data; in dasd_device_from_gendisk()
803 if (!device->block || !device->block->gdp || in dasd_ro_store()
812 set_disk_ro(device->block->gdp, val); in dasd_ro_store()
/linux/fs/ext4/
A Dbitmap.c20 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 Dialloc.c310 if (gdp) { in ext4_free_inode()
686 if (unlikely(!gdp)) in recently_deleted()
854 ext4_free_inodes_set(sb, gdp, ext4_free_inodes_count(sb, gdp) - 1); in ext4_mark_inode_used()
1036 if (!gdp) in __ext4_new_inode()
1215 ext4_free_inodes_set(sb, gdp, ext4_free_inodes_count(sb, gdp) - 1); in __ext4_new_inode()
1217 ext4_used_dirs_set(sb, gdp, ext4_used_dirs_count(sb, gdp) + 1); in __ext4_new_inode()
1453 gdp = NULL; in ext4_count_free_inodes()
1456 if (!gdp) in ext4_count_free_inodes()
1481 if (!gdp) in ext4_count_free_inodes()
1498 if (!gdp) in ext4_count_dirs()
[all …]
A Dballoc.c88 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
722 struct ext4_group_desc *gdp; in ext4_count_free_clusters() local
735 gdp = NULL; in ext4_count_free_clusters()
739 if (!gdp) in ext4_count_free_clusters()
[all …]
A Dblock_validity.c216 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 Dmballoc.c2518 struct ext4_group_desc *gdp = in ext4_mb_good_group_nolock() local
3778 struct ext4_group_desc *gdp; in ext4_mb_mark_diskspace_used() local
3806 if (!gdp) in ext4_mb_mark_diskspace_used()
3897 struct ext4_group_desc *gdp; in ext4_mb_mark_bb() local
3917 if (!gdp) in ext4_mb_mark_bb()
3935 group, gdp)); in ext4_mb_mark_bb()
5808 struct ext4_group_desc *gdp; in ext4_free_blocks_simple() local
5822 if (!gdp) in ext4_free_blocks_simple()
5834 sb, gdp, ext4_free_group_clusters(sb, gdp) + in ext4_free_blocks_simple()
5859 struct ext4_group_desc *gdp; in ext4_free_blocks() local
[all …]
A Dresize.c1272 struct ext4_group_desc *gdp, in ext4_set_bitmap_checksums() argument
1283 ext4_inode_bitmap_csum_set(sb, group, gdp, bh, in ext4_set_bitmap_checksums()
1290 ext4_block_bitmap_csum_set(sb, group, gdp, bh); in ext4_set_bitmap_checksums()
1303 struct ext4_group_desc *gdp; in ext4_setup_new_descs() local
1322 gdp = (struct ext4_group_desc *)(gdb_bh->b_data + in ext4_setup_new_descs()
1325 memset(gdp, 0, EXT4_DESC_SIZE(sb)); in ext4_setup_new_descs()
1335 ext4_free_group_clusters_set(sb, gdp, in ext4_setup_new_descs()
1339 ext4_itable_unused_set(sb, gdp, in ext4_setup_new_descs()
1341 gdp->bg_flags = cpu_to_le16(*bg_flags); in ext4_setup_new_descs()
1342 ext4_group_desc_csum_set(sb, group, gdp); in ext4_setup_new_descs()
[all …]
A Dsuper.c1045 if (!ret && gdp) { in ext4_mark_group_bitmap_corrupted()
2848 struct ext4_group_desc *gdp) in ext4_group_desc_csum_verify() argument
2851 (gdp->bg_checksum != ext4_group_desc_csum(sb, block_group, gdp))) in ext4_group_desc_csum_verify()
2862 gdp->bg_checksum = ext4_group_desc_csum(sb, block_group, gdp); in ext4_group_desc_csum_set()
2970 gdp)), le16_to_cpu(gdp->bg_checksum)); in ext4_check_descriptors()
3299 if (!gdp) { in ext4_run_li_request()
3514 if (!gdp) in ext4_has_uninit_itable()
3703 struct ext4_group_desc *gdp; in count_overhead() local
3717 b = ext4_block_bitmap(sb, gdp); in count_overhead()
3722 b = ext4_inode_bitmap(sb, gdp); in count_overhead()
[all …]
A Dfsmap.c411 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 Dext4.h2669 struct ext4_group_desc *gdp,
2672 struct ext4_group_desc *gdp,
2675 struct ext4_group_desc *gdp,
2678 struct ext4_group_desc *gdp,
2720 struct ext4_group_desc *gdp);
3274 struct ext4_group_desc *gdp);
3276 struct ext4_group_desc *gdp);
/linux/drivers/regulator/
A Dsy7636a-regulator.c76 struct gpio_desc *gdp; in sy7636a_regulator_probe() local
83 gdp = devm_gpiod_get(pdev->dev.parent, "epd-pwr-good", GPIOD_IN); in sy7636a_regulator_probe()
84 if (IS_ERR(gdp)) { in sy7636a_regulator_probe()
85 dev_err(pdev->dev.parent, "Power good GPIO fault %ld\n", PTR_ERR(gdp)); in sy7636a_regulator_probe()
86 return PTR_ERR(gdp); in sy7636a_regulator_probe()
94 data->pgood_gpio = gdp; in sy7636a_regulator_probe()
/linux/fs/nfsd/
A Dblocklayout.c144 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 Dflexfilelayout.c81 struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_proc_getdeviceinfo() argument
92 gdp->gd_device = da; in nfsd4_ff_proc_getdeviceinfo()
A Dflexfilelayoutxdr.c80 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 Dblocklayoutxdr.c79 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_encode_getdeviceinfo() argument
81 struct pnfs_block_deviceaddr *dev = gdp->gd_device; in nfsd4_block_encode_getdeviceinfo()
A Dflexfilelayoutxdr.h46 struct nfsd4_getdeviceinfo *gdp);
A Dblocklayoutxdr.h54 struct nfsd4_getdeviceinfo *gdp);
A Dnfs4proc.c2000 struct nfsd4_getdeviceinfo *gdp = &u->getdeviceinfo; in nfsd4_getdeviceinfo() local
2008 gdp->gd_layout_type, in nfsd4_getdeviceinfo()
2009 gdp->gd_devid.fsid_idx, gdp->gd_devid.generation, in nfsd4_getdeviceinfo()
2010 gdp->gd_maxcount); in nfsd4_getdeviceinfo()
2012 map = nfsd4_find_devid_map(gdp->gd_devid.fsid_idx); in nfsd4_getdeviceinfo()
2026 ops = nfsd4_layout_verify(exp, gdp->gd_layout_type); in nfsd4_getdeviceinfo()
2031 if (gdp->gd_maxcount != 0) { in nfsd4_getdeviceinfo()
2033 rqstp, cstate->clp, gdp); in nfsd4_getdeviceinfo()
2036 gdp->gd_notify_types &= ops->notify_types; in nfsd4_getdeviceinfo()
/linux/fs/ext2/
A Dialloc.c172 struct ext2_group_desc * gdp; in ext2_preread_inode() local
180 gdp = ext2_get_group_desc(inode->i_sb, block_group, NULL); in ext2_preread_inode()
181 if (gdp == NULL) in ext2_preread_inode()
189 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_preread_inode()
437 struct ext2_group_desc *gdp; in ext2_new_inode() local
465 gdp = ext2_get_group_desc(sb, group, &bh2); in ext2_new_inode()
466 if (!gdp) { in ext2_new_inode()
537 le16_add_cpu(&gdp->bg_free_inodes_count, -1); in ext2_new_inode()
541 le16_add_cpu(&gdp->bg_used_dirs_count, 1); in ext2_new_inode()
675 if (!gdp) in ext2_count_dirs()
[all …]
A Dballoc.c1219 struct ext2_group_desc *gdp; in ext2_new_blocks() local
1274 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks()
1275 if (!gdp) in ext2_new_blocks()
1278 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks()
1319 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks()
1320 if (!gdp) in ext2_new_blocks()
1323 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks()
1370 group_no, gdp->bg_free_blocks_count); in ext2_new_blocks()
1374 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks()
1376 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
[all …]
A Dsuper.c692 struct ext2_group_desc *gdp = ext2_get_group_desc(sb, i, NULL); in ext2_check_descriptors() local
696 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors()
697 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors()
702 i, (unsigned long) le32_to_cpu(gdp->bg_block_bitmap)); in ext2_check_descriptors()
705 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || in ext2_check_descriptors()
706 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) in ext2_check_descriptors()
711 i, (unsigned long) le32_to_cpu(gdp->bg_inode_bitmap)); in ext2_check_descriptors()
714 if (le32_to_cpu(gdp->bg_inode_table) < first_block || in ext2_check_descriptors()
715 le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 > in ext2_check_descriptors()
721 i, (unsigned long) le32_to_cpu(gdp->bg_inode_table)); in ext2_check_descriptors()
A Dinode.c1335 struct ext2_group_desc * gdp; in ext2_get_inode() local
1343 gdp = ext2_get_group_desc(sb, block_group, NULL); in ext2_get_inode()
1344 if (!gdp) in ext2_get_inode()
1350 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_get_inode()

Completed in 88 milliseconds

12