Home
last modified time | relevance | path

Searched defs:pcp (Results 1 – 23 of 23) sorted by relevance

/linux/include/asm-generic/
H A Dpercpu.h80 #define raw_cpu_generic_read(pcp) \ argument
85 #define raw_cpu_generic_to_op(pcp, val, op) \ argument
90 #define raw_cpu_generic_add_return(pcp, val) \ argument
98 #define raw_cpu_generic_xchg(pcp, nval) \ argument
107 #define __cpu_fallback_try_cmpxchg(pcp, ovalp, nval, _cmpxchg) \ argument
116 #define raw_cpu_generic_try_cmpxchg(pcp, ovalp, nval) \ argument
131 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
138 #define __this_cpu_generic_read_nopreempt(pcp) \ argument
147 #define __this_cpu_generic_read_noirq(pcp) \ argument
157 #define this_cpu_generic_read(pcp) \ argument
[all …]
/linux/arch/s390/include/asm/
H A Dpercpu.h37 #define arch_this_cpu_to_op_simple(pcp, val, op) \ argument
54 #define this_cpu_add_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
55 #define this_cpu_add_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
56 #define this_cpu_add_return_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
57 #define this_cpu_add_return_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
58 #define this_cpu_and_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument
59 #define this_cpu_and_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument
60 #define this_cpu_or_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument
61 #define this_cpu_or_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument
65 #define this_cpu_add_4(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
[all …]
/linux/arch/x86/include/asm/
H A Dpercpu.h138 #define __raw_cpu_read(size, qual, pcp) \ argument
143 #define __raw_cpu_write(size, qual, pcp, val) \ argument
148 #define __raw_cpu_read_const(pcp) __raw_cpu_read(, , pcp) argument
183 #define __raw_cpu_read_const(pcp) ({ BUILD_BUG(); (typeof(pcp))0; }) argument
350 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, , pcp, oval, nval) argument
351 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, volatile, pcp, oval, nval) argument
382 #define raw_cpu_try_cmpxchg64(pcp, ovalp, nval) percpu_try_cmpxchg64_op(8, , pcp, ovalp, n… argument
383 #define this_cpu_try_cmpxchg64(pcp, ovalp, nval) percpu_try_cmpxchg64_op(8, volatile, pcp, ovalp, n… argument
388 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nval); argument
389 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, volatile, pcp, oval, nval); argument
[all …]
/linux/arch/arm64/include/asm/
H A Dpercpu.h156 #define _pcp_protect(op, pcp, ...) \ argument
163 #define _pcp_protect_return(op, pcp, args...) \ argument
172 #define this_cpu_read_1(pcp) \ argument
174 #define this_cpu_read_2(pcp) \ argument
176 #define this_cpu_read_4(pcp) \ argument
178 #define this_cpu_read_8(pcp) \ argument
181 #define this_cpu_write_1(pcp, val) \ argument
183 #define this_cpu_write_2(pcp, val) \ argument
185 #define this_cpu_write_4(pcp, val) \ argument
187 #define this_cpu_write_8(pcp, val) \ argument
[all …]
/linux/arch/loongarch/include/asm/
H A Dpercpu.h109 #define _protect_cmpxchg_local(pcp, o, n) \ argument
118 #define _pcp_protect(operation, pcp, val) \ argument
130 #define _percpu_add(pcp, val) \ argument
133 #define _percpu_add_return(pcp, val) _percpu_add(pcp, val) argument
135 #define _percpu_and(pcp, val) \ argument
138 #define _percpu_or(pcp, val) \ argument
141 #define this_cpu_add_4(pcp, val) _percpu_add(pcp, val) argument
142 #define this_cpu_add_8(pcp, val) _percpu_add(pcp, val) argument
144 #define this_cpu_add_return_4(pcp, val) _percpu_add_return(pcp, val) argument
145 #define this_cpu_add_return_8(pcp, val) _percpu_add_return(pcp, val) argument
[all …]
/linux/net/dsa/
H A Dtag_vsc73xx_8021q.c17 u8 pcp; in vsc73xx_xmit() local
H A Dtag_sja1105.c241 struct sk_buff *skb, u8 pcp) in sja1105_pvid_tag_control_pkt()
271 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in sja1105_xmit() local
299 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in sja1110_xmit() local
H A Dtag_ocelot_8021q.c68 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in ocelot_xmit() local
/linux/mm/
H A Dpage_alloc.c1456 struct per_cpu_pages *pcp, in free_pcppages_bulk()
2557 bool decay_pcp_high(struct zone *zone, struct per_cpu_pages *pcp) in decay_pcp_high()
2596 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) in drain_zone_pages()
2615 struct per_cpu_pages *pcp = per_cpu_ptr(zone->per_cpu_pageset, cpu); in drain_pages_zone() local
2695 struct per_cpu_pages *pcp; in __drain_all_pages() local
2745 static int nr_pcp_free(struct per_cpu_pages *pcp, int batch, int high, bool free_high) in nr_pcp_free()
2770 static int nr_pcp_high(struct per_cpu_pages *pcp, struct zone *zone, in nr_pcp_high()
2826 struct per_cpu_pages *pcp, struct page *page, int migratetype, in free_frozen_page_commit()
2933 struct per_cpu_pages *pcp; in __free_frozen_pages() local
2994 struct per_cpu_pages *pcp = NULL; in free_unref_folios() local
[all …]
/linux/lib/
H A Ddebugobjects.c251 struct obj_pool *pcp = this_cpu_ptr(&pool_pcpu); in pcpu_alloc() local
292 struct obj_pool *pcp = this_cpu_ptr(&pool_pcpu); in pcpu_free() local
575 struct obj_pool *pcp = per_cpu_ptr(&pool_pcpu, cpu); in object_cpu_offline() local
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c1244 u8 pcp, dei; in sparx5_port_qos_pcp_rewr_set() local
1300 u8 pcp, dp; in sparx5_port_qos_pcp_set() local
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c205 u16 pcp = U16_MAX; in sja1105_flower_parse_key() local
/linux/arch/sparc/kernel/
H A Dpcic.c609 struct pcidev_cookie *pcp; in pcibios_fixup_bus() local
/linux/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c216 __u8 pcp = FIELD_GET(VLAN_PRIO_MASK, tag); in print_vlan_tci() local
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpsw.h301 u8 pcp; member
H A Ddpsw-cmd.h247 u8 pcp; member
H A Ddpaa2-eth.c3698 int i, pcp, err; in dpaa2_eth_set_vlan_qos() local
/linux/include/soc/mscc/
H A Docelot_vcap.h500 struct ocelot_vcap_u8 pcp; /* PCP (3 bit) */ member
644 u8 pcp; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_actions.c1128 enum mlxsw_afa_vlan_cmd pcp_cmd, u8 pcp, in mlxsw_afa_vlan_pack()
1141 u16 vid, u8 pcp, u8 et, in mlxsw_afa_block_append_vlan_modify()
/linux/kernel/sched/
H A Dcore.c10844 static inline void mm_cid_transit_to_task(struct task_struct *t, struct mm_cid_pcpu *pcp) in mm_cid_transit_to_task()
10860 struct mm_cid_pcpu *pcp = per_cpu_ptr(mm->mm_cid.pcpu, cpu); in mm_cid_fixup_cpus_to_tasks() local
10890 static inline void mm_cid_transit_to_cpu(struct task_struct *t, struct mm_cid_pcpu *pcp) in mm_cid_transit_to_cpu()
10949 struct mm_cid_pcpu *pcp = this_cpu_ptr(mm->mm_cid.pcpu); in sched_mm_cid_fork() local
H A Dsched.h3854 static __always_inline void mm_drop_cid_on_cpu(struct mm_struct *mm, struct mm_cid_pcpu *pcp) in mm_drop_cid_on_cpu()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.h386 struct lan966x_port_qos_pcp pcp; member
/linux/drivers/net/ethernet/mscc/
H A Docelot.c523 int err, val, pcp, dei; in ocelot_update_vlan_reclassify_rule() local