/Linux-v5.10/drivers/scsi/device_handler/ |
D | scsi_dh_alua.c | 85 struct alua_port_group __rcu *pg; member 103 static bool alua_rtpg_queue(struct alua_port_group *pg, 110 struct alua_port_group *pg; in release_port_group() local 112 pg = container_of(kref, struct alua_port_group, kref); in release_port_group() 113 if (pg->rtpg_sdev) in release_port_group() 114 flush_delayed_work(&pg->rtpg_work); in release_port_group() 116 list_del(&pg->node); in release_port_group() 118 kfree_rcu(pg, rcu); in release_port_group() 181 struct alua_port_group *pg; in alua_find_get_pg() local 186 list_for_each_entry(pg, &port_group_list, node) { in alua_find_get_pg() [all …]
|
/Linux-v5.10/fs/jffs2/ |
D | file.c | 26 struct page *pg, void *fsdata); 30 static int jffs2_readpage (struct file *filp, struct page *pg); 79 static int jffs2_do_readpage_nolock (struct inode *inode, struct page *pg) in jffs2_do_readpage_nolock() argument 87 __func__, inode->i_ino, pg->index << PAGE_SHIFT); in jffs2_do_readpage_nolock() 89 BUG_ON(!PageLocked(pg)); in jffs2_do_readpage_nolock() 91 pg_buf = kmap(pg); in jffs2_do_readpage_nolock() 94 ret = jffs2_read_inode_range(c, f, pg_buf, pg->index << PAGE_SHIFT, in jffs2_do_readpage_nolock() 98 ClearPageUptodate(pg); in jffs2_do_readpage_nolock() 99 SetPageError(pg); in jffs2_do_readpage_nolock() 101 SetPageUptodate(pg); in jffs2_do_readpage_nolock() [all …]
|
/Linux-v5.10/net/bridge/ |
D | br_multicast.c | 78 struct net_bridge_port_group *pg); 201 static void __fwd_add_star_excl(struct net_bridge_port_group *pg, in __fwd_add_star_excl() argument 205 struct net_bridge *br = pg->key.port->br; in __fwd_add_star_excl() 209 sg_key.port = pg->key.port; in __fwd_add_star_excl() 214 src_pg = __br_multicast_add_group(br, pg->key.port, sg_ip, pg->eth_addr, in __fwd_add_star_excl() 223 static void __fwd_del_star_excl(struct net_bridge_port_group *pg, in __fwd_del_star_excl() argument 227 struct net_bridge *br = pg->key.port->br; in __fwd_del_star_excl() 231 sg_key.port = pg->key.port; in __fwd_del_star_excl() 249 void br_multicast_star_g_handle_mode(struct net_bridge_port_group *pg, in br_multicast_star_g_handle_mode() argument 252 struct net_bridge *br = pg->key.port->br; in br_multicast_star_g_handle_mode() [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | tscs454.c | 835 /* R_PLLCTL PG 0 ADDR 0x15 */ 843 /* R_ISRC PG 0 ADDR 0x16 */ 858 /* R_SCLKCTL PG 0 ADDR 0x18 */ 870 /* R_I2SIDCTL PG 0 ADDR 0x38 */ 883 /* R_I2SODCTL PG 0 ADDR 0x39 */ 893 /* R_AUDIOMUX1 PG 0 ADDR 0x3A */ 919 /* R_AUDIOMUX2 PG 0 ADDR 0x3B */ 938 /* R_AUDIOMUX3 PG 0 ADDR 0x3C */ 962 /* R_HSDCTL1 PG 1 ADDR 0x01 */ 977 /* R_HSDCTL1 PG 1 ADDR 0x02 */ [all …]
|
/Linux-v5.10/drivers/md/ |
D | dm-mpath.c | 41 struct priority_group *pg; /* Owning PG */ member 63 unsigned nr_pgpaths; /* Number of paths in PG */ 66 bool bypassed:1; /* Temporarily bypass this PG? */ 78 struct priority_group *next_pg; /* Switch to this PG if set */ 168 struct priority_group *pg; in alloc_priority_group() local 170 pg = kzalloc(sizeof(*pg), GFP_KERNEL); in alloc_priority_group() 172 if (pg) in alloc_priority_group() 173 INIT_LIST_HEAD(&pg->pgpaths); in alloc_priority_group() 175 return pg; in alloc_priority_group() 189 static void free_priority_group(struct priority_group *pg, in free_priority_group() argument [all …]
|
/Linux-v5.10/drivers/dma-buf/heaps/ |
D | system_heap.c | 27 pgoff_t pg; in system_heap_free() local 29 for (pg = 0; pg < buffer->pagecount; pg++) in system_heap_free() 30 __free_page(buffer->pages[pg]); in system_heap_free() 43 pgoff_t pg; in system_heap_allocate() local 62 for (pg = 0; pg < helper_buffer->pagecount; pg++) { in system_heap_allocate() 70 helper_buffer->pages[pg] = alloc_page(GFP_KERNEL | __GFP_ZERO); in system_heap_allocate() 71 if (!helper_buffer->pages[pg]) in system_heap_allocate() 94 while (pg > 0) in system_heap_allocate() 95 __free_page(helper_buffer->pages[--pg]); in system_heap_allocate()
|
/Linux-v5.10/net/netfilter/ |
D | nft_set_pipapo_avx2.c | 223 u8 pg[2] = { pkt[0] >> 4, pkt[0] & 0xf }; in nft_pipapo_avx2_lookup_4b_2() local 231 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2() 232 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2() 235 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2() 237 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2() 285 u8 pg[4] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf }; in nft_pipapo_avx2_lookup_4b_4() local 293 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_4() 294 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_4() 295 NFT_PIPAPO_AVX2_BUCKET_LOAD4(2, lt, 2, pg[2], bsize); in nft_pipapo_avx2_lookup_4b_4() 296 NFT_PIPAPO_AVX2_BUCKET_LOAD4(3, lt, 3, pg[3], bsize); in nft_pipapo_avx2_lookup_4b_4() [all …]
|
/Linux-v5.10/drivers/block/paride/ |
D | pg.c | 2 pg.c (c) 1998 Grant R. Guenther <grant@torque.net> 5 The pg driver provides a simple character device interface for 46 The behaviour of the pg driver can be altered by setting 95 (default "pg"). 107 pg.drive0 108 pg.drive1 109 pg.drive2 110 pg.drive3 112 In addition, you can use the parameter pg.disable to disable 126 #define PG_NAME "pg" [all …]
|
/Linux-v5.10/drivers/xen/ |
D | unpopulated-alloc.c | 84 struct page *pg = virt_to_page(vaddr + PAGE_SIZE * i); in fill_list() local 87 pg->zone_device_data = page_list; in fill_list() 88 page_list = pg; in fill_list() 122 struct page *pg = page_list; in xen_alloc_unpopulated_pages() local 124 BUG_ON(!pg); in xen_alloc_unpopulated_pages() 125 page_list = pg->zone_device_data; in xen_alloc_unpopulated_pages() 127 pages[i] = pg; in xen_alloc_unpopulated_pages() 131 ret = xen_alloc_p2m_entry(page_to_pfn(pg)); in xen_alloc_unpopulated_pages() 190 struct page *pg = in init() local 193 pg->zone_device_data = page_list; in init() [all …]
|
/Linux-v5.10/drivers/soc/tegra/ |
D | pmc.c | 589 static void tegra_powergate_disable_clocks(struct tegra_powergate *pg) in tegra_powergate_disable_clocks() argument 593 for (i = 0; i < pg->num_clks; i++) in tegra_powergate_disable_clocks() 594 clk_disable_unprepare(pg->clks[i]); in tegra_powergate_disable_clocks() 597 static int tegra_powergate_enable_clocks(struct tegra_powergate *pg) in tegra_powergate_enable_clocks() argument 602 for (i = 0; i < pg->num_clks; i++) { in tegra_powergate_enable_clocks() 603 err = clk_prepare_enable(pg->clks[i]); in tegra_powergate_enable_clocks() 612 clk_disable_unprepare(pg->clks[i]); in tegra_powergate_enable_clocks() 622 static int tegra_powergate_power_up(struct tegra_powergate *pg, in tegra_powergate_power_up() argument 627 err = reset_control_assert(pg->reset); in tegra_powergate_power_up() 633 err = tegra_powergate_set(pg->pmc, pg->id, true); in tegra_powergate_power_up() [all …]
|
/Linux-v5.10/arch/powerpc/platforms/powernv/ |
D | opal-powercap.c | 26 struct attribute_group pg; member 190 pcaps[i].pg.attrs = kcalloc(j + 1, sizeof(struct attribute *), in opal_powercap_init() 192 if (!pcaps[i].pg.attrs) { in opal_powercap_init() 198 pcaps[i].pg.name = kasprintf(GFP_KERNEL, "%pOFn", node); in opal_powercap_init() 202 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init() 209 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init() 218 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init() 222 if (sysfs_create_group(powercap_kobj, &pcaps[i].pg)) { in opal_powercap_init() 224 pcaps[i].pg.name); in opal_powercap_init() 235 kfree(pcaps[i].pg.attrs); in opal_powercap_init() [all …]
|
/Linux-v5.10/arch/powerpc/mm/ |
D | pgtable.c | 81 struct page *pg = maybe_pte_to_page(pte); in set_pte_filter_hash() local 82 if (!pg) in set_pte_filter_hash() 84 if (!test_bit(PG_arch_1, &pg->flags)) { in set_pte_filter_hash() 85 flush_dcache_icache_page(pg); in set_pte_filter_hash() 86 set_bit(PG_arch_1, &pg->flags); in set_pte_filter_hash() 104 struct page *pg; in set_pte_filter() local 114 pg = maybe_pte_to_page(pte); in set_pte_filter() 115 if (unlikely(!pg)) in set_pte_filter() 119 if (test_bit(PG_arch_1, &pg->flags)) in set_pte_filter() 124 flush_dcache_icache_page(pg); in set_pte_filter() [all …]
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-palmas.c | 29 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_get() local 30 struct palmas *palmas = pg->palmas; in palmas_gpio_get() 61 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_set() local 62 struct palmas *palmas = pg->palmas; in palmas_gpio_set() 83 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_output() local 84 struct palmas *palmas = pg->palmas; in palmas_gpio_output() 105 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_input() local 106 struct palmas *palmas = pg->palmas; in palmas_gpio_input() 123 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_to_irq() local 124 struct palmas *palmas = pg->palmas; in palmas_gpio_to_irq()
|
/Linux-v5.10/kernel/trace/ |
D | ftrace.c | 3 * Infrastructure for profiling code inserted by 'gcc -pg'. 429 struct ftrace_profile_page *pg; in function_stat_next() local 431 pg = (struct ftrace_profile_page *)((unsigned long)rec & PAGE_MASK); in function_stat_next() 437 if ((void *)rec >= (void *)&pg->records[pg->index]) { in function_stat_next() 438 pg = pg->next; in function_stat_next() 439 if (!pg) in function_stat_next() 441 rec = &pg->records[0]; in function_stat_next() 570 struct ftrace_profile_page *pg; in ftrace_profile_reset() local 572 pg = stat->pages = stat->start; in ftrace_profile_reset() 574 while (pg) { in ftrace_profile_reset() [all …]
|
/Linux-v5.10/arch/microblaze/kernel/ |
D | Makefile | 8 CFLAGS_REMOVE_timer.o = -pg 9 CFLAGS_REMOVE_intc.o = -pg 10 CFLAGS_REMOVE_early_printk.o = -pg 11 CFLAGS_REMOVE_ftrace.o = -pg 12 CFLAGS_REMOVE_process.o = -pg
|
/Linux-v5.10/net/ceph/ |
D | debugfs.c | 93 struct ceph_pg_mapping *pg = in osdmap_show() local 96 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool, in osdmap_show() 97 pg->pgid.seed); in osdmap_show() 98 for (i = 0; i < pg->pg_temp.len; i++) in osdmap_show() 100 pg->pg_temp.osds[i]); in osdmap_show() 104 struct ceph_pg_mapping *pg = in osdmap_show() local 107 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool, in osdmap_show() 108 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show() 111 struct ceph_pg_mapping *pg = in osdmap_show() local 114 seq_printf(s, "pg_upmap %llu.%x [", pg->pgid.pool, in osdmap_show() [all …]
|
D | osdmap.c | 693 struct ceph_pg_mapping *pg; in alloc_pg_mapping() local 695 pg = kmalloc(sizeof(*pg) + payload_len, GFP_NOIO); in alloc_pg_mapping() 696 if (!pg) in alloc_pg_mapping() 699 RB_CLEAR_NODE(&pg->node); in alloc_pg_mapping() 700 return pg; in alloc_pg_mapping() 703 static void free_pg_mapping(struct ceph_pg_mapping *pg) in free_pg_mapping() argument 705 WARN_ON(!RB_EMPTY_NODE(&pg->node)); in free_pg_mapping() 707 kfree(pg); in free_pg_mapping() 718 * rbtree of pg pool info in DEFINE_RB_FUNCS2() 1136 struct ceph_pg_mapping *pg = in ceph_osdmap_destroy() local [all …]
|
/Linux-v5.10/drivers/gpu/drm/gma500/ |
D | gtt.c | 413 struct psb_gtt *pg; in psb_gtt_init() local 424 pg = &dev_priv->gtt; in psb_gtt_init() 438 pg->gtt_phys_start = dev_priv->pge_ctl & PAGE_MASK; in psb_gtt_init() 446 pg->mmu_gatt_start = 0xE0000000; in psb_gtt_init() 448 pg->gtt_start = pci_resource_start(dev->pdev, PSB_GTT_RESOURCE); in psb_gtt_init() 452 if (pg->gtt_start == 0 || gtt_pages == 0) { in psb_gtt_init() 455 pg->gtt_start = dev_priv->pge_ctl; in psb_gtt_init() 458 pg->gatt_start = pci_resource_start(dev->pdev, PSB_GATT_RESOURCE); in psb_gtt_init() 459 pg->gatt_pages = pci_resource_len(dev->pdev, PSB_GATT_RESOURCE) in psb_gtt_init() 463 if (pg->gatt_pages == 0 || pg->gatt_start == 0) { in psb_gtt_init() [all …]
|
D | psb_drv.c | 110 struct psb_gtt *pg = &dev_priv->gtt; in psb_do_init() local 114 if (pg->mmu_gatt_start & 0x0FFFFFFF) { in psb_do_init() 119 stolen_gtt = (pg->stolen_size >> PAGE_SHIFT) * 4; in psb_do_init() 121 stolen_gtt = (stolen_gtt < pg->gtt_pages) ? stolen_gtt : pg->gtt_pages; in psb_do_init() 123 dev_priv->gatt_free_offset = pg->mmu_gatt_start + in psb_do_init() 141 PSB_WSGX32(pg->gatt_start, PSB_CR_BIF_TWOD_REQ_BASE); in psb_do_init() 168 struct psb_gtt *pg = &dev_priv->gtt; in psb_driver_unload() local 170 down_read(&pg->sem); in psb_driver_unload() 174 pg->mmu_gatt_start, in psb_driver_unload() 176 up_read(&pg->sem); in psb_driver_unload() [all …]
|
/Linux-v5.10/drivers/staging/comedi/drivers/ |
D | jr3_pci.h | 318 * user must call either command (5) use transform # (pg. 33) or 319 * command (10) set new full scales (pg. 38). 344 * These values in conjunction with max_full_scale (pg. 9) helps 375 * (5) use transform # (pg. 33). 382 * See min_full_scale (pg. 9) for more details. 403 * command (10) set new full scales (pg. 38). The full scales for V1 431 * offset # command (pg. 34). It can vary between 0 and 15. 439 * after the user has executed the set vector axes command (pg. 37). 470 * variable rate_divisor (pg. 12). The data on which the rate is 471 * calculated is specified by the variable rate_address (pg. 12). [all …]
|
/Linux-v5.10/arch/xtensa/boot/lib/ |
D | Makefile | 12 CFLAGS_REMOVE_inflate.o = -pg 13 CFLAGS_REMOVE_zmem.o = -pg 14 CFLAGS_REMOVE_inftrees.o = -pg 15 CFLAGS_REMOVE_inffast.o = -pg
|
/Linux-v5.10/arch/arm/include/asm/ |
D | proc-fns.h | 168 u64 pg = cpu_get_ttbr(0); \ 169 pg &= ~(PTRS_PER_PGD*sizeof(pgd_t)-1); \ 170 (pgd_t *)phys_to_virt(pg); \ 175 unsigned long pg; \ 177 : "=r" (pg) : : "cc"); \ 178 pg &= ~0x3fff; \ 179 (pgd_t *)phys_to_virt(pg); \
|
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/ |
D | bq24257.txt | 17 - pg-gpios: GPIO used for connecting the bq2425x device PG (Power Good) pin. 19 possible as this is the recommended way to obtain the charger's input PG 20 state. If this pin is not specified a software-based approach for PG 41 pg-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
|
/Linux-v5.10/arch/x86/kernel/ |
D | Makefile | 16 CFLAGS_REMOVE_tsc.o = -pg 17 CFLAGS_REMOVE_paravirt-spinlocks.o = -pg 18 CFLAGS_REMOVE_pvclock.o = -pg 19 CFLAGS_REMOVE_kvmclock.o = -pg 20 CFLAGS_REMOVE_ftrace.o = -pg 21 CFLAGS_REMOVE_early_printk.o = -pg 22 CFLAGS_REMOVE_head64.o = -pg 23 CFLAGS_REMOVE_sev-es.o = -pg
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 133 /* PG */ in bnx2x_dump_dcbx_drv_param() 1127 data[i].pg = DCBX_ILLEGAL_PG; in bnx2x_dcbx_get_num_pg_traf_type() 1137 if (data[traf_type].pg == add_pg) { in bnx2x_dcbx_get_num_pg_traf_type() 1149 data[help_data->num_of_pg].pg = add_pg; in bnx2x_dcbx_get_num_pg_traf_type() 1213 /* There can be only one strict pg */ in bnx2x_dcbx_separate_pauseable_from_non() 1249 if (pg_help_data->data[0].pg < DCBX_MAX_NUM_PG_BW_ENTRIES) { in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params() 1303 /* priority group which is not BW limited (PG#15):*/ in bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params() 1376 u8 pg[DCBX_COS_MAX_NUM_E2] = { 0 }; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params() local 1387 /* If one PG contains both pauseable and in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params() 1405 pg[0] = pg_help_data->data[0].pg; in bnx2x_dcbx_2cos_limit_cee_two_pg_to_cos_params() [all …]
|