Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/asm-generic/
Dpercpu.h65 #define raw_cpu_generic_read(pcp) \ argument
70 #define raw_cpu_generic_to_op(pcp, val, op) \ argument
75 #define raw_cpu_generic_add_return(pcp, val) \ argument
83 #define raw_cpu_generic_xchg(pcp, nval) \ argument
92 #define __cpu_fallback_try_cmpxchg(pcp, ovalp, nval, _cmpxchg) \ argument
101 #define raw_cpu_generic_try_cmpxchg(pcp, ovalp, nval) \ argument
116 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument
123 #define __this_cpu_generic_read_nopreempt(pcp) \ argument
132 #define __this_cpu_generic_read_noirq(pcp) \ argument
142 #define this_cpu_generic_read(pcp) \ argument
[all …]
/linux-6.6.21/arch/s390/include/asm/
Dpercpu.h27 #define arch_this_cpu_to_op_simple(pcp, val, op) \ argument
44 #define this_cpu_add_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
45 #define this_cpu_add_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
46 #define this_cpu_add_return_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
47 #define this_cpu_add_return_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
48 #define this_cpu_and_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument
49 #define this_cpu_and_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument
50 #define this_cpu_or_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument
51 #define this_cpu_or_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument
55 #define this_cpu_add_4(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
[all …]
/linux-6.6.21/arch/arm64/include/asm/
Dpercpu.h149 #define _pcp_protect(op, pcp, ...) \ argument
156 #define _pcp_protect_return(op, pcp, args...) \ argument
165 #define this_cpu_read_1(pcp) \ argument
167 #define this_cpu_read_2(pcp) \ argument
169 #define this_cpu_read_4(pcp) \ argument
171 #define this_cpu_read_8(pcp) \ argument
174 #define this_cpu_write_1(pcp, val) \ argument
176 #define this_cpu_write_2(pcp, val) \ argument
178 #define this_cpu_write_4(pcp, val) \ argument
180 #define this_cpu_write_8(pcp, val) \ argument
[all …]
/linux-6.6.21/arch/loongarch/include/asm/
Dpercpu.h157 #define _protect_cmpxchg_local(pcp, o, n) \ argument
166 #define _percpu_read(pcp) \ argument
173 #define _percpu_write(pcp, val) \ argument
178 #define _pcp_protect(operation, pcp, val) \ argument
188 #define _percpu_add(pcp, val) \ argument
191 #define _percpu_add_return(pcp, val) _percpu_add(pcp, val) argument
193 #define _percpu_and(pcp, val) \ argument
196 #define _percpu_or(pcp, val) \ argument
199 #define _percpu_xchg(pcp, val) ((typeof(pcp)) \ argument
202 #define this_cpu_add_4(pcp, val) _percpu_add(pcp, val) argument
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dpercpu.h238 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, , pcp, oval, nval) argument
239 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, volatile, pcp, oval, nval) argument
243 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nval); argument
244 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, volatile, pcp, oval, nval); argument
270 #define raw_cpu_cmpxchg128(pcp, oval, nval) percpu_cmpxchg128_op(16, , pcp, oval, nval) argument
271 #define this_cpu_cmpxchg128(pcp, oval, nval) percpu_cmpxchg128_op(16, volatile, pcp, oval, nval) argument
283 #define this_cpu_read_stable_1(pcp) percpu_stable_op(1, "mov", pcp) argument
284 #define this_cpu_read_stable_2(pcp) percpu_stable_op(2, "mov", pcp) argument
285 #define this_cpu_read_stable_4(pcp) percpu_stable_op(4, "mov", pcp) argument
286 #define this_cpu_read_stable_8(pcp) percpu_stable_op(8, "mov", pcp) argument
[all …]
/linux-6.6.21/include/linux/
Dpercpu-defs.h408 #define raw_cpu_read(pcp) __pcpu_size_call_return(raw_cpu_read_, pcp) argument
409 #define raw_cpu_write(pcp, val) __pcpu_size_call(raw_cpu_write_, pcp, val) argument
410 #define raw_cpu_add(pcp, val) __pcpu_size_call(raw_cpu_add_, pcp, val) argument
411 #define raw_cpu_and(pcp, val) __pcpu_size_call(raw_cpu_and_, pcp, val) argument
412 #define raw_cpu_or(pcp, val) __pcpu_size_call(raw_cpu_or_, pcp, val) argument
413 #define raw_cpu_add_return(pcp, val) __pcpu_size_call_return2(raw_cpu_add_return_, pcp, val) argument
414 #define raw_cpu_xchg(pcp, nval) __pcpu_size_call_return2(raw_cpu_xchg_, pcp, nval) argument
415 #define raw_cpu_cmpxchg(pcp, oval, nval) \ argument
417 #define raw_cpu_try_cmpxchg(pcp, ovalp, nval) \ argument
419 #define raw_cpu_sub(pcp, val) raw_cpu_add(pcp, -(val)) argument
[all …]
/linux-6.6.21/mm/
Dvmstat.c345 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __mod_zone_page_state() local
376 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __mod_node_page_state() local
434 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __inc_zone_state() local
455 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __inc_node_state() local
490 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in __dec_zone_state() local
511 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in __dec_node_state() local
560 struct per_cpu_zonestat __percpu *pcp = zone->per_cpu_zonestats; in mod_zone_state() local
617 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in mod_node_state() local
818 struct per_cpu_pages __percpu *pcp = zone->per_cpu_pageset; in refresh_cpu_vm_stats() local
1733 struct per_cpu_pages *pcp; in zoneinfo_show_print() local
Dpage_alloc.c1184 struct per_cpu_pages *pcp, in free_pcppages_bulk()
2165 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) in drain_zone_pages()
2184 struct per_cpu_pages *pcp; in drain_pages_zone() local
2257 struct per_cpu_pages *pcp; in __drain_all_pages() local
2320 static int nr_pcp_free(struct per_cpu_pages *pcp, int high, bool free_high) in nr_pcp_free()
2349 static int nr_pcp_high(struct per_cpu_pages *pcp, struct zone *zone, in nr_pcp_high()
2367 static void free_unref_page_commit(struct zone *zone, struct per_cpu_pages *pcp, in free_unref_page_commit()
2400 struct per_cpu_pages *pcp; in free_unref_page() local
2443 struct per_cpu_pages *pcp = NULL; in free_unref_page_list() local
2679 struct per_cpu_pages *pcp, in __rmqueue_pcplist()
[all …]
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_port.c402 u8 pcp, dp; in lan966x_port_qos_pcp_set() local
471 u8 pcp, dei; in lan966x_port_qos_pcp_rewr_set() local
Dlan966x_main.h433 struct lan966x_port_qos_pcp pcp; member
/linux-6.6.21/lib/
Dpercpu_test.c5 #define CHECK(native, pcp, expected) \ argument
/linux-6.6.21/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c371 u8 pcp = OPA_VNIC_VLAN_PCP(vlan_tci); in opa_vnic_get_sc() local
394 u8 pcp = skb_vlan_tag_get(skb) >> VLAN_PRIO_SHIFT; in opa_vnic_get_vl() local
/linux-6.6.21/net/dsa/
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
Dtag_ocelot_8021q.c68 u8 pcp = netdev_txq_to_tc(netdev, queue_mapping); in ocelot_xmit() local
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_port.h150 struct sparx5_port_qos_pcp pcp; member
Dsparx5_port.c1171 u8 pcp, dei; in sparx5_port_qos_pcp_rewr_set() local
1227 u8 pcp, dp; in sparx5_port_qos_pcp_set() local
/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_flower.c205 u16 pcp = U16_MAX; in sja1105_flower_parse_key() local
Dsja1105.h182 int pcp; member
190 u16 pcp; member
/linux-6.6.21/arch/sparc/kernel/
Dpcic.c608 struct pcidev_cookie *pcp; in pcibios_fixup_bus() local
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpsw.h301 u8 pcp; member
Ddpsw-cmd.h247 u8 pcp; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
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-6.6.21/include/soc/mscc/
Docelot_vcap.h499 struct ocelot_vcap_u8 pcp; /* PCP (3 bit) */ member
642 u8 pcp; member
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dqp.c3173 u16 pcp = (be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 29) << 13; in build_mlx_header() local
/linux-6.6.21/include/net/mana/
Dmana.h140 u32 pcp : 3; /* 802.1Q */ member

12