Home
last modified time | relevance | path

Searched refs:pg (Results 1 – 25 of 231) sorted by relevance

12345678910

/linux/drivers/scsi/device_handler/
A Dscsi_dh_alua.c217 if (!pg) in alua_alloc_pg()
367 rcu_assign_pointer(h->pg, pg); in alua_check_vpd()
422 pg = rcu_dereference(h->pg); in alua_check_sense()
835 if (rcu_dereference(h->pg) == pg && in alua_rtpg_select_sdev()
1065 pg = rcu_dereference(h->pg); in alua_set_params()
1109 pg = rcu_dereference(h->pg); in alua_activate()
1110 if (!pg || !kref_get_unless_zero(&pg->kref)) { in alua_activate()
1143 pg = rcu_dereference(h->pg); in alua_check()
1144 if (!pg || !kref_get_unless_zero(&pg->kref)) { in alua_check()
1166 pg = rcu_dereference(h->pg); in alua_prep_fn()
[all …]
/linux/net/bridge/
A Dbr_multicast_eht.c37 struct net_bridge_port_group *pg,
131 br_multicast_eht_hosts_dec(eht_host->pg); in __eht_destroy_host()
272 eht_host->pg = pg; in __eht_lookup_create_host()
278 br_multicast_eht_hosts_inc(pg); in __eht_lookup_create_host()
366 eht_set->pg = pg; in __eht_lookup_create_set()
367 eht_set->br = pg->key.port->br; in __eht_lookup_create_set()
540 src_ip.proto = pg->key.addr.proto; in __eht_del_set_entries()
557 struct net_bridge_port_group *pg, in br_multicast_eht_allow() argument
604 struct net_bridge_port_group *pg, in __eht_inc_exc() argument
664 struct net_bridge_port_group *pg, in br_multicast_eht_inc() argument
[all …]
A Dbr_multicast.c392 pg; in br_multicast_star_g_host_state()
393 pg = mlock_dereference(pg->next, br)) { in br_multicast_star_g_host_state()
461 pg; in br_multicast_sg_add_exclude_ports()
462 pg = mlock_dereference(pg->next, br)) { in br_multicast_sg_add_exclude_ports()
465 if (pg == sg || pg->filter_mode == MCAST_INCLUDE) in br_multicast_sg_add_exclude_ports()
532 struct net_bridge_port_group *p, *pg = src->pg; in br_multicast_fwd_src_remove() local
1194 pg = src->pg; in br_multicast_group_src_expired()
1258 grp_src->pg = pg; in br_multicast_new_group_src()
2337 br_multicast_find_del_pg(pg->key.port->br, pg); in br_multicast_toin()
2593 pg; in br_multicast_find_port()
[all …]
A Dbr_private_mcast_eht.h24 struct net_bridge_port_group *pg; member
47 struct net_bridge_port_group *pg; member
53 void br_multicast_eht_clean_sets(struct net_bridge_port_group *pg);
55 struct net_bridge_port_group *pg,
65 br_multicast_eht_should_del_pg(const struct net_bridge_port_group *pg) in br_multicast_eht_should_del_pg() argument
67 return !!((pg->key.port->flags & BR_MULTICAST_FAST_LEAVE) && in br_multicast_eht_should_del_pg()
68 RB_EMPTY_ROOT(&pg->eht_host_tree)); in br_multicast_eht_should_del_pg()
72 br_multicast_eht_hosts_over_limit(const struct net_bridge_port_group *pg) in br_multicast_eht_hosts_over_limit() argument
74 const struct net_bridge_port *p = pg->key.port; in br_multicast_eht_hosts_over_limit()
81 struct net_bridge_port *p = pg->key.port; in br_multicast_eht_hosts_inc()
[all …]
/linux/fs/jffs2/
A Dfile.c107 kunmap(pg); in jffs2_do_readpage_nolock()
116 unlock_page(pg); in jffs2_do_readpage_unlock()
127 ret = jffs2_do_readpage_unlock(pg->mapping->host, pg); in jffs2_readpage()
136 struct page *pg; in jffs2_write_begin() local
144 if (!pg) in jffs2_write_begin()
146 *pagep = pg; in jffs2_write_begin()
232 put_page(pg); in jffs2_write_begin()
277 put_page(pg); in jffs2_write_end()
291 kmap(pg); in jffs2_write_end()
297 kunmap(pg); in jffs2_write_end()
[all …]
/linux/net/netfilter/
A Dnft_set_pipapo_avx2.c222 u8 pg[2] = { pkt[0] >> 4, pkt[0] & 0xf }; in nft_pipapo_avx2_lookup_4b_2() local
230 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2()
231 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2()
234 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2()
236 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2()
292 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_4()
293 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_4()
294 NFT_PIPAPO_AVX2_BUCKET_LOAD4(2, lt, 2, pg[2], bsize); in nft_pipapo_avx2_lookup_4b_4()
295 NFT_PIPAPO_AVX2_BUCKET_LOAD4(3, lt, 3, pg[3], bsize); in nft_pipapo_avx2_lookup_4b_4()
300 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_4()
[all …]
/linux/drivers/md/
A Ddm-mpath.c170 pg = kzalloc(sizeof(*pg), GFP_KERNEL); in alloc_priority_group()
172 if (pg) in alloc_priority_group()
175 return pg; in alloc_priority_group()
200 kfree(pg); in free_priority_group()
558 pgpath->pg->ps.type->start_io(&pgpath->pg->ps, in multipath_clone_and_map()
576 pgpath->pg->ps.type->end_io(&pgpath->pg->ps, in multipath_release_clone()
656 pgpath->pg->ps.type->start_io(&pgpath->pg->ps, in __multipath_map_bio()
1037 pgpath->pg = pg; in parse_priority_group()
1532 struct priority_group *pg = pgpath->pg; in pg_init_done() local
1877 sz += pg->ps.type->status(&pg->ps, in multipath_status()
[all …]
/linux/drivers/soc/tegra/
A Dpmc.c679 pg->clk_rates[i] = clk_get_rate(pg->clks[i]); in tegra_powergate_prepare_clocks()
704 clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_prepare_clocks()
762 err = tegra_powergate_set(pg->pmc, pg->id, true); in tegra_powergate_power_up()
812 tegra_powergate_set(pg->pmc, pg->id, false); in tegra_powergate_power_up()
841 err = tegra_powergate_set(pg->pmc, pg->id, false); in tegra_powergate_power_down()
977 pg = kzalloc(sizeof(*pg), GFP_KERNEL); in tegra_powergate_sequence_power_up()
978 if (!pg) in tegra_powergate_sequence_power_up()
1222 pg = kzalloc(sizeof(*pg), GFP_KERNEL); in tegra_powergate_add()
1223 if (!pg) in tegra_powergate_add()
1292 clk_put(pg->clks[pg->num_clks]); in tegra_powergate_add()
[all …]
/linux/arch/powerpc/mm/
A Dpgtable.c91 if (!pg) in set_pte_filter_hash()
94 flush_dcache_icache_page(pg); in set_pte_filter_hash()
113 struct page *pg; in set_pte_filter() local
123 pg = maybe_pte_to_page(pte); in set_pte_filter()
124 if (unlikely(!pg)) in set_pte_filter()
133 flush_dcache_icache_page(pg); in set_pte_filter()
145 struct page *pg; in set_access_flags_filter() local
168 pg = maybe_pte_to_page(pte); in set_access_flags_filter()
169 if (unlikely(!pg)) in set_access_flags_filter()
177 flush_dcache_icache_page(pg); in set_access_flags_filter()
[all …]
A Dpgtable_32.c76 pte_t *pg; in map_kernel_page() local
83 pg = pte_alloc_kernel(pd, va); in map_kernel_page()
85 pg = early_pte_alloc_kernel(pd, va); in map_kernel_page()
86 if (pg) { in map_kernel_page()
91 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
92 set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, prot)); in map_kernel_page()
/linux/drivers/xen/
A Dunpopulated-alloc.c86 struct page *pg = virt_to_page(vaddr + PAGE_SIZE * i); in fill_list() local
89 pg->zone_device_data = page_list; in fill_list()
90 page_list = pg; in fill_list()
124 struct page *pg = page_list; in xen_alloc_unpopulated_pages() local
126 BUG_ON(!pg); in xen_alloc_unpopulated_pages()
127 page_list = pg->zone_device_data; in xen_alloc_unpopulated_pages()
129 pages[i] = pg; in xen_alloc_unpopulated_pages()
133 ret = xen_alloc_p2m_entry(page_to_pfn(pg)); in xen_alloc_unpopulated_pages()
192 struct page *pg = in init() local
195 pg->zone_device_data = page_list; in init()
[all …]
/linux/kernel/trace/
A Dftrace.c433 pg = pg->next; in function_stat_next()
572 pg = pg->next; in ftrace_profile_reset()
615 pg = pg->next; in ftrace_profile_pages_init()
625 pg = pg->next; in ftrace_profile_pages_init()
1503 for (pg = ftrace_pages_start; pg; pg = pg->next) { \
1534 for (pg = ftrace_pages_start; pg; pg = pg->next) { in lookup_rec()
3156 for (pg = new_pgs; pg; pg = pg->next) { in ftrace_update_code()
3253 pg = pg->next; in ftrace_allocate_pages()
6465 pg = pg->next; in ftrace_process_locs()
6675 for (pg = tmp_page; pg; pg = tmp_page) { in ftrace_release_mod()
[all …]
/linux/drivers/gpu/drm/gma500/
A Dgtt.c356 struct psb_gtt *pg; in psb_gtt_init() local
367 pg = &dev_priv->gtt; in psb_gtt_init()
389 pg->mmu_gatt_start = 0xE0000000; in psb_gtt_init()
395 if (pg->gtt_start == 0 || gtt_pages == 0) { in psb_gtt_init()
398 pg->gtt_start = dev_priv->pge_ctl; in psb_gtt_init()
406 if (pg->gatt_pages == 0 || pg->gatt_start == 0) { in psb_gtt_init()
412 pg->gatt_start = 0x40000000; in psb_gtt_init()
434 if (resume && (gtt_pages != pg->gtt_pages) && in psb_gtt_init()
435 (stolen_size != pg->stolen_size)) { in psb_gtt_init()
441 pg->gtt_pages = gtt_pages; in psb_gtt_init()
[all …]
A Dpsb_drv.c128 struct psb_gtt *pg = &dev_priv->gtt; in psb_do_init() local
139 stolen_gtt = (stolen_gtt < pg->gtt_pages) ? stolen_gtt : pg->gtt_pages; in psb_do_init()
184 struct psb_gtt *pg = &dev_priv->gtt; in psb_driver_unload() local
186 down_read(&pg->sem); in psb_driver_unload()
190 pg->mmu_gatt_start, in psb_driver_unload()
192 up_read(&pg->sem); in psb_driver_unload()
239 struct psb_gtt *pg; in psb_driver_load() local
245 pg = &dev_priv->gtt; in psb_driver_load()
347 down_read(&pg->sem); in psb_driver_load()
350 pg->gatt_start, in psb_driver_load()
[all …]
/linux/drivers/block/paride/
A Dpg.c208 struct pg { struct
223 static struct pg devices[PG_UNITS]; argument
250 struct pg *dev = &devices[unit]; in pg_init_units()
388 static int pg_reset(struct pg *dev) in pg_reset()
465 static int pg_probe(struct pg *dev) in pg_probe()
480 struct pg *dev = &devices[0]; in pg_detect()
529 struct pg *dev = &devices[unit]; in pg_open()
686 struct pg *dev = &devices[unit]; in pg_init()
699 struct pg *dev = &devices[unit]; in pg_init()
718 struct pg *dev = &devices[unit]; in pg_exit()
[all …]
/linux/arch/powerpc/platforms/powernv/
A Dopal-powercap.c26 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/drivers/gpio/
A Dgpio-palmas.c29 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/net/ceph/
A Ddebugfs.c93 struct ceph_pg_mapping *pg = in osdmap_show() local
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
108 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show()
111 struct ceph_pg_mapping *pg = in osdmap_show() local
115 pg->pgid.seed); in osdmap_show()
118 pg->pg_upmap.osds[i]); in osdmap_show()
122 struct ceph_pg_mapping *pg = in osdmap_show() local
[all …]
A Dosdmap.c695 pg = kmalloc(sizeof(*pg) + payload_len, GFP_NOIO); in alloc_pg_mapping()
696 if (!pg) in alloc_pg_mapping()
700 return pg; in alloc_pg_mapping()
707 kfree(pg); in free_pg_mapping()
1430 if (!pg) in __decode_pg_temp()
1466 if (!pg) in __decode_primary_temp()
1613 if (!pg) in __decode_pg_upmap_items()
2584 if (pg) { in apply_upmap()
2603 if (pg) { in apply_upmap()
2766 if (pg) { in get_temp_osds()
[all …]
/linux/arch/arm/include/asm/
A Dproc-fns.h168 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/arch/mips/include/asm/
A Dpgalloc.h62 struct page *pg; in pmd_alloc_one() local
64 pg = alloc_pages(GFP_KERNEL_ACCOUNT, PMD_ORDER); in pmd_alloc_one()
65 if (!pg) in pmd_alloc_one()
68 if (!pgtable_pmd_page_ctor(pg)) { in pmd_alloc_one()
69 __free_pages(pg, PMD_ORDER); in pmd_alloc_one()
73 pmd = (pmd_t *)page_address(pg); in pmd_alloc_one()
/linux/drivers/net/wireless/marvell/mwifiex/
A Dsta_ioctl.c717 pg->power_step = 0; in mwifiex_set_tx_power()
719 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
720 pg++; in mwifiex_set_tx_power()
725 pg->power_step = 0; in mwifiex_set_tx_power()
727 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
728 pg++; in mwifiex_set_tx_power()
733 pg->power_step = 0; in mwifiex_set_tx_power()
735 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
737 pg++; in mwifiex_set_tx_power()
742 pg->power_step = 0; in mwifiex_set_tx_power()
[all …]
/linux/arch/microblaze/kernel/
A DMakefile8 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/arch/x86/kernel/
A DMakefile16 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.o = -pg
24 CFLAGS_REMOVE_cc_platform.o = -pg
/linux/arch/xtensa/boot/lib/
A DMakefile12 CFLAGS_REMOVE_inflate.o = -pg
13 CFLAGS_REMOVE_zmem.o = -pg
14 CFLAGS_REMOVE_inftrees.o = -pg
15 CFLAGS_REMOVE_inffast.o = -pg

Completed in 86 milliseconds

12345678910