/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
H A D | sti_gdp.c | 111 * @regs: gdp registers 112 * @clk_pix: pixel clock for the current gdp 113 * @clk_main_parent: gdp parent clock if main path used 114 * @clk_aux_parent: gdp parent clock if aux path used 147 readl(gdp->regs + reg ## _OFFSET)) 181 static void gdp_dbg_nvn(struct seq_file *s, struct sti_gdp *gdp, int val) in gdp_dbg_nvn() argument 187 if (gdp->node_list[i].top_field_paddr == val) { in gdp_dbg_nvn() 188 base = gdp->node_list[i].top_field; in gdp_dbg_nvn() 191 if (gdp->node_list[i].btm_field_paddr == val) { in gdp_dbg_nvn() 192 base = gdp in gdp_dbg_nvn() 216 struct sti_gdp *gdp = (struct sti_gdp *)node->info_ent->data; gdp_dbg_show() local 283 struct sti_gdp *gdp = (struct sti_gdp *)node->info_ent->data; gdp_node_dbg_show() local 316 gdp_debugfs_init(struct sti_gdp *gdp, struct drm_minor *minor) gdp_debugfs_init() argument 395 sti_gdp_get_free_nodes(struct sti_gdp *gdp) sti_gdp_get_free_nodes() argument 427 sti_gdp_get_current_nodes(struct sti_gdp *gdp) sti_gdp_get_current_nodes() argument 454 sti_gdp_disable(struct sti_gdp *gdp) sti_gdp_disable() argument 490 struct sti_gdp *gdp = container_of(nb, struct sti_gdp, vtg_field_nb); sti_gdp_field_cb() local 515 sti_gdp_init(struct sti_gdp *gdp) sti_gdp_init() argument 621 struct sti_gdp *gdp = to_sti_gdp(plane); sti_gdp_atomic_check() local 702 struct sti_gdp *gdp = to_sti_gdp(plane); sti_gdp_atomic_update() local 897 struct sti_gdp *gdp = to_sti_gdp(plane); sti_gdp_late_register() local 918 struct sti_gdp *gdp; sti_gdp_create() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
H A D | sti_gdp.c | 113 * @regs: gdp registers 114 * @clk_pix: pixel clock for the current gdp 115 * @clk_main_parent: gdp parent clock if main path used 116 * @clk_aux_parent: gdp parent clock if aux path used 149 readl(gdp->regs + reg ## _OFFSET)) 183 static void gdp_dbg_nvn(struct seq_file *s, struct sti_gdp *gdp, int val) in gdp_dbg_nvn() argument 189 if (gdp->node_list[i].top_field_paddr == val) { in gdp_dbg_nvn() 190 base = gdp->node_list[i].top_field; in gdp_dbg_nvn() 193 if (gdp->node_list[i].btm_field_paddr == val) { in gdp_dbg_nvn() 194 base = gdp in gdp_dbg_nvn() 218 struct sti_gdp *gdp = (struct sti_gdp *)node->info_ent->data; gdp_dbg_show() local 285 struct sti_gdp *gdp = (struct sti_gdp *)node->info_ent->data; gdp_node_dbg_show() local 318 gdp_debugfs_init(struct sti_gdp *gdp, struct drm_minor *minor) gdp_debugfs_init() argument 397 sti_gdp_get_free_nodes(struct sti_gdp *gdp) sti_gdp_get_free_nodes() argument 429 sti_gdp_get_current_nodes(struct sti_gdp *gdp) sti_gdp_get_current_nodes() argument 456 sti_gdp_disable(struct sti_gdp *gdp) sti_gdp_disable() argument 492 struct sti_gdp *gdp = container_of(nb, struct sti_gdp, vtg_field_nb); sti_gdp_field_cb() local 517 sti_gdp_init(struct sti_gdp *gdp) sti_gdp_init() argument 625 struct sti_gdp *gdp = to_sti_gdp(plane); sti_gdp_atomic_check() local 711 struct sti_gdp *gdp = to_sti_gdp(plane); sti_gdp_atomic_update() local 901 struct sti_gdp *gdp = to_sti_gdp(plane); sti_gdp_late_register() local 922 struct sti_gdp *gdp; sti_gdp_create() local [all...] |
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_genhd.c | 32 struct gendisk *gdp; in dasd_gendisk_alloc() local 41 gdp = alloc_disk(1 << DASD_PARTN_BITS); in dasd_gendisk_alloc() 42 if (!gdp) in dasd_gendisk_alloc() 46 gdp->major = DASD_MAJOR; in dasd_gendisk_alloc() 47 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc() 48 gdp->fops = &dasd_device_operations; in dasd_gendisk_alloc() 57 len = sprintf(gdp->disk_name, "dasd"); in dasd_gendisk_alloc() 61 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 64 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 67 len += sprintf(gdp in dasd_gendisk_alloc() [all...] |
H 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()
|
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd_genhd.c | 42 struct gendisk *gdp; in dasd_gendisk_alloc() local 61 gdp = blk_mq_alloc_disk(&block->tag_set, block); in dasd_gendisk_alloc() 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() 69 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc() 70 gdp->minors = 1 << DASD_PARTN_BITS; in dasd_gendisk_alloc() 71 gdp->fops = &dasd_device_operations; in dasd_gendisk_alloc() 80 len = sprintf(gdp->disk_name, "dasd"); in dasd_gendisk_alloc() 84 len += sprintf(gdp in dasd_gendisk_alloc() [all...] |
H 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()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | ialloc.c | 244 struct ext4_group_desc *gdp; in ext4_free_inode() local 308 gdp = ext4_get_group_desc(sb, block_group, &bh2); in ext4_free_inode() 309 if (gdp) { in ext4_free_inode() 320 count = ext4_free_inodes_count(sb, gdp) + 1; in ext4_free_inode() 321 ext4_free_inodes_set(sb, gdp, count); in ext4_free_inode() 323 count = ext4_used_dirs_count(sb, gdp) - 1; in ext4_free_inode() 324 ext4_used_dirs_set(sb, gdp, count); in ext4_free_inode() 328 ext4_inode_bitmap_csum_set(sb, block_group, gdp, bitmap_bh, in ext4_free_inode() 330 ext4_group_desc_csum_set(sb, block_group, gdp); in ext4_free_inode() 675 struct ext4_group_desc *gdp; in recently_deleted() local 754 struct ext4_group_desc *gdp; ext4_mark_inode_used() local 935 struct ext4_group_desc *gdp = NULL; __ext4_new_inode() local 1441 struct ext4_group_desc *gdp; ext4_count_free_inodes() local 1495 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, i, NULL); ext4_count_dirs() local 1516 struct ext4_group_desc *gdp = NULL; ext4_init_inode_table() local [all...] |
H A D | bitmap.c | 20 struct ext4_group_desc *gdp, in ext4_inode_bitmap_csum_verify() 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() 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() 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() 19 ext4_inode_bitmap_csum_verify(struct super_block *sb, ext4_group_t group, struct ext4_group_desc *gdp, struct buffer_head *bh, int sz) ext4_inode_bitmap_csum_verify() argument 41 ext4_inode_bitmap_csum_set(struct super_block *sb, ext4_group_t group, struct ext4_group_desc *gdp, struct buffer_head *bh, int sz) ext4_inode_bitmap_csum_set() argument 57 ext4_block_bitmap_csum_verify(struct super_block *sb, ext4_group_t group, struct ext4_group_desc *gdp, struct buffer_head *bh) ext4_block_bitmap_csum_verify() argument 83 ext4_block_bitmap_csum_set(struct super_block *sb, ext4_group_t group, struct ext4_group_desc *gdp, struct buffer_head *bh) ext4_block_bitmap_csum_set() argument [all...] |
H A D | balloc.c | 88 struct ext4_group_desc *gdp) in ext4_num_overhead_clusters() 113 if (ext4_block_in_group(sb, ext4_block_bitmap(sb, gdp), block_group)) { in ext4_num_overhead_clusters() 115 ext4_block_bitmap(sb, gdp) - start); in ext4_num_overhead_clusters() 124 if (ext4_block_in_group(sb, ext4_inode_bitmap(sb, gdp), block_group)) { in ext4_num_overhead_clusters() 126 ext4_inode_bitmap(sb, gdp) - start); in ext4_num_overhead_clusters() 135 itbl_blk = ext4_inode_table(sb, gdp); in ext4_num_overhead_clusters() 182 struct ext4_group_desc *gdp) in ext4_init_block_bitmap() 192 if (!ext4_group_desc_csum_verify(sb, block_group, gdp)) { in ext4_init_block_bitmap() 210 tmp = ext4_block_bitmap(sb, gdp); in ext4_init_block_bitmap() 214 tmp = ext4_inode_bitmap(sb, gdp); in ext4_init_block_bitmap() 86 ext4_num_overhead_clusters(struct super_block *sb, ext4_group_t block_group, struct ext4_group_desc *gdp) ext4_num_overhead_clusters() argument 179 ext4_init_block_bitmap(struct super_block *sb, struct buffer_head *bh, ext4_group_t block_group, struct ext4_group_desc *gdp) ext4_init_block_bitmap() argument 238 ext4_free_clusters_after_init(struct super_block *sb, ext4_group_t block_group, struct ext4_group_desc *gdp) ext4_free_clusters_after_init() argument 755 struct ext4_group_desc *gdp; ext4_count_free_clusters() local [all...] |
H 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()
|
H A D | mballoc.c | 2211 struct ext4_group_desc *gdp = in ext4_mb_good_group_nolock() local 2227 (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)))) in ext4_mb_good_group_nolock() 2256 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, group, in ext4_mb_prefetch() local 2267 if (gdp && grp && !EXT4_MB_GRP_TEST_AND_SET_READ(grp) && in ext4_mb_prefetch() 2269 ext4_free_group_clusters(sb, gdp) > 0 && in ext4_mb_prefetch() 2271 (gdp->bg_flags & cpu_to_le16(EXT4_BG_BLOCK_UNINIT)))) { in ext4_mb_prefetch() 2302 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, group, in ext4_mb_prefetch_fini() local 2311 if (grp && gdp && EXT4_MB_GRP_NEED_INIT(grp) && in ext4_mb_prefetch_fini() 2312 ext4_free_group_clusters(sb, gdp) > 0 && in ext4_mb_prefetch_fini() 2314 (gdp in ext4_mb_prefetch_fini() 3297 struct ext4_group_desc *gdp; ext4_mb_mark_diskspace_used() local 3415 struct ext4_group_desc *gdp; ext4_mb_mark_bb() local 5399 struct ext4_group_desc *gdp; ext4_free_blocks_simple() local 5451 struct ext4_group_desc *gdp; ext4_mb_clear_bb() local [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | bitmap.c | 20 struct ext4_group_desc *gdp, in ext4_inode_bitmap_csum_verify() 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() 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() 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() 81 struct ext4_group_desc *gdp, in ext4_block_bitmap_csum_set() 19 ext4_inode_bitmap_csum_verify(struct super_block *sb, struct ext4_group_desc *gdp, struct buffer_head *bh, int sz) ext4_inode_bitmap_csum_verify() argument 41 ext4_inode_bitmap_csum_set(struct super_block *sb, struct ext4_group_desc *gdp, struct buffer_head *bh, int sz) ext4_inode_bitmap_csum_set() argument 57 ext4_block_bitmap_csum_verify(struct super_block *sb, struct ext4_group_desc *gdp, struct buffer_head *bh) ext4_block_bitmap_csum_verify() argument 80 ext4_block_bitmap_csum_set(struct super_block *sb, struct ext4_group_desc *gdp, struct buffer_head *bh) ext4_block_bitmap_csum_set() argument [all...] |
H A D | ialloc.c | 244 struct ext4_group_desc *gdp; in ext4_free_inode() local 309 gdp = ext4_get_group_desc(sb, block_group, &bh2); in ext4_free_inode() 310 if (gdp) { in ext4_free_inode() 322 count = ext4_free_inodes_count(sb, gdp) + 1; in ext4_free_inode() 323 ext4_free_inodes_set(sb, gdp, count); in ext4_free_inode() 325 count = ext4_used_dirs_count(sb, gdp) - 1; in ext4_free_inode() 326 ext4_used_dirs_set(sb, gdp, count); in ext4_free_inode() 330 ext4_inode_bitmap_csum_set(sb, gdp, bitmap_bh, in ext4_free_inode() 332 ext4_group_desc_csum_set(sb, block_group, gdp); in ext4_free_inode() 676 struct ext4_group_desc *gdp; in recently_deleted() local 755 struct ext4_group_desc *gdp; ext4_mark_inode_used() local 936 struct ext4_group_desc *gdp = NULL; __ext4_new_inode() local 1444 struct ext4_group_desc *gdp; ext4_count_free_inodes() local 1498 struct ext4_group_desc *gdp = ext4_get_group_desc(sb, i, NULL); ext4_count_dirs() local 1519 struct ext4_group_desc *gdp = NULL; ext4_init_inode_table() local [all...] |
H A D | balloc.c | 89 struct ext4_group_desc *gdp) in ext4_num_overhead_clusters() 111 itbl_blk_start = ext4_inode_table(sb, gdp); in ext4_num_overhead_clusters() 137 if (ext4_block_in_group(sb, ext4_block_bitmap(sb, gdp), block_group)) { in ext4_num_overhead_clusters() 139 ext4_block_bitmap(sb, gdp) - start); in ext4_num_overhead_clusters() 146 if (ext4_block_in_group(sb, ext4_inode_bitmap(sb, gdp), block_group)) { in ext4_num_overhead_clusters() 148 ext4_inode_bitmap(sb, gdp) - start); in ext4_num_overhead_clusters() 186 struct ext4_group_desc *gdp) in ext4_init_block_bitmap() 194 if (!ext4_group_desc_csum_verify(sb, block_group, gdp)) { in ext4_init_block_bitmap() 212 tmp = ext4_block_bitmap(sb, gdp); in ext4_init_block_bitmap() 216 tmp = ext4_inode_bitmap(sb, gdp); in ext4_init_block_bitmap() 87 ext4_num_overhead_clusters(struct super_block *sb, ext4_group_t block_group, struct ext4_group_desc *gdp) ext4_num_overhead_clusters() argument 183 ext4_init_block_bitmap(struct super_block *sb, struct buffer_head *bh, ext4_group_t block_group, struct ext4_group_desc *gdp) ext4_init_block_bitmap() argument 240 ext4_free_clusters_after_init(struct super_block *sb, ext4_group_t block_group, struct ext4_group_desc *gdp) ext4_free_clusters_after_init() argument 765 struct ext4_group_desc *gdp; ext4_count_free_clusters() local [all...] |
H 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()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H 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()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | blocklayout.c | 144 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_simple() 153 gdp->gd_device = dev; in nfsd4_block_get_device_info_simple() 168 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_proc_getdeviceinfo() 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() 261 gdp->gd_device = dev; in nfsd4_block_get_device_info_scsi() 300 gdp->gd_device = NULL; in nfsd4_block_get_device_info_scsi() 308 struct nfsd4_getdeviceinfo *gdp) in nfsd4_scsi_proc_getdeviceinfo() 312 return nfserrno(nfsd4_block_get_device_info_scsi(sb, clp, gdp)); in nfsd4_scsi_proc_getdeviceinfo() 143 nfsd4_block_get_device_info_simple(struct super_block *sb, struct nfsd4_getdeviceinfo *gdp) nfsd4_block_get_device_info_simple() argument 165 nfsd4_block_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) nfsd4_block_proc_getdeviceinfo() argument 248 nfsd4_block_get_device_info_scsi(struct super_block *sb, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) nfsd4_block_get_device_info_scsi() argument 305 nfsd4_scsi_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) nfsd4_scsi_proc_getdeviceinfo() argument
|
H A D | flexfilelayoutxdr.c | 80 struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_encode_getdeviceinfo() 82 struct pnfs_ff_device_addr *da = gdp->gd_device; in nfsd4_ff_encode_getdeviceinfo() 91 if (!gdp->gd_maxcount) { in nfsd4_ff_encode_getdeviceinfo() 79 nfsd4_ff_encode_getdeviceinfo(struct xdr_stream *xdr, struct nfsd4_getdeviceinfo *gdp) nfsd4_ff_encode_getdeviceinfo() argument
|
/kernel/linux/linux-5.10/fs/ext2/ |
H A D | ialloc.c | 172 struct ext2_group_desc * gdp; in ext2_preread_inode() local 180 gdp = ext2_get_group_desc(inode->i_sb, block_group, NULL); in ext2_preread_inode() 181 if (gdp == NULL) in ext2_preread_inode() 189 block = le32_to_cpu(gdp->bg_inode_table) + in ext2_preread_inode() 437 struct ext2_group_desc *gdp; in ext2_new_inode() local 465 gdp = ext2_get_group_desc(sb, group, &bh2); in ext2_new_inode() 466 if (!gdp) { in ext2_new_inode() 537 le16_add_cpu(&gdp->bg_free_inodes_count, -1); in ext2_new_inode() 541 le16_add_cpu(&gdp->bg_used_dirs_count, 1); in ext2_new_inode() 674 struct ext2_group_desc *gdp in ext2_count_dirs() local [all...] |
H A D | balloc.c | 1219 struct ext2_group_desc *gdp; in ext2_new_blocks() local 1274 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1275 if (!gdp) in ext2_new_blocks() 1278 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1313 * group_no and gdp correctly point to the last group visited. 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 in ext2_new_blocks() [all...] |
/kernel/linux/linux-6.6/fs/ext2/ |
H 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() 428 struct ext2_group_desc *gdp; in ext2_new_inode() local 456 gdp = ext2_get_group_desc(sb, group, &bh2); in ext2_new_inode() 457 if (!gdp) { in ext2_new_inode() 528 le16_add_cpu(&gdp->bg_free_inodes_count, -1); in ext2_new_inode() 532 le16_add_cpu(&gdp->bg_used_dirs_count, 1); in ext2_new_inode() 665 struct ext2_group_desc *gdp in ext2_count_dirs() local [all...] |
H A D | balloc.c | 1215 struct ext2_group_desc *gdp; in ext2_new_blocks() local 1270 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1271 if (!gdp) in ext2_new_blocks() 1274 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1309 * group_no and gdp correctly point to the last group visited. in ext2_new_blocks() 1315 gdp = ext2_get_group_desc(sb, group_no, &gdp_bh); in ext2_new_blocks() 1316 if (!gdp) in ext2_new_blocks() 1319 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count); in ext2_new_blocks() 1366 group_no, gdp->bg_free_blocks_count); in ext2_new_blocks() 1370 if (in_range(le32_to_cpu(gdp in ext2_new_blocks() [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | blocklayout.c | 147 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_simple() 156 gdp->gd_device = dev; in nfsd4_block_get_device_info_simple() 171 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_proc_getdeviceinfo() 175 return nfserrno(nfsd4_block_get_device_info_simple(sb, gdp)); in nfsd4_block_proc_getdeviceinfo() 331 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_get_device_info_scsi() 342 gdp->gd_device = dev; in nfsd4_block_get_device_info_scsi() 383 struct nfsd4_getdeviceinfo *gdp) in nfsd4_scsi_proc_getdeviceinfo() 387 return nfserrno(nfsd4_block_get_device_info_scsi(sb, clp, gdp)); in nfsd4_scsi_proc_getdeviceinfo() 146 nfsd4_block_get_device_info_simple(struct super_block *sb, struct nfsd4_getdeviceinfo *gdp) nfsd4_block_get_device_info_simple() argument 168 nfsd4_block_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) nfsd4_block_proc_getdeviceinfo() argument 329 nfsd4_block_get_device_info_scsi(struct super_block *sb, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) nfsd4_block_get_device_info_scsi() argument 380 nfsd4_scsi_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) nfsd4_scsi_proc_getdeviceinfo() argument
|
H A D | flexfilelayoutxdr.c | 80 struct nfsd4_getdeviceinfo *gdp) in nfsd4_ff_encode_getdeviceinfo() 82 struct pnfs_ff_device_addr *da = gdp->gd_device; in nfsd4_ff_encode_getdeviceinfo() 91 if (!gdp->gd_maxcount) { in nfsd4_ff_encode_getdeviceinfo() 79 nfsd4_ff_encode_getdeviceinfo(struct xdr_stream *xdr, struct nfsd4_getdeviceinfo *gdp) nfsd4_ff_encode_getdeviceinfo() argument
|
H A D | blocklayoutxdr.c | 79 struct nfsd4_getdeviceinfo *gdp) in nfsd4_block_encode_getdeviceinfo() 81 struct pnfs_block_deviceaddr *dev = gdp->gd_device; in nfsd4_block_encode_getdeviceinfo() 88 if (!gdp->gd_maxcount) { in nfsd4_block_encode_getdeviceinfo() 78 nfsd4_block_encode_getdeviceinfo(struct xdr_stream *xdr, struct nfsd4_getdeviceinfo *gdp) nfsd4_block_encode_getdeviceinfo() argument
|