Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/arch/s390/include/asm/
Dpercpu.h28 #define arch_this_cpu_to_op_simple(pcp, val, op) \ argument
45 #define this_cpu_add_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
46 #define this_cpu_add_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
47 #define this_cpu_add_return_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
48 #define this_cpu_add_return_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
49 #define this_cpu_and_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument
50 #define this_cpu_and_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, &) argument
51 #define this_cpu_or_1(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument
52 #define this_cpu_or_2(pcp, val) arch_this_cpu_to_op_simple(pcp, val, |) argument
56 #define this_cpu_add_4(pcp, val) arch_this_cpu_to_op_simple(pcp, val, +) argument
[all …]
/linux-6.12.1/arch/x86/include/asm/
Dpercpu.h153 #define __raw_cpu_read(size, qual, pcp) \ argument
158 #define __raw_cpu_write(size, qual, pcp, val) \ argument
163 #define __raw_cpu_read_const(pcp) __raw_cpu_read(, , pcp) argument
196 #define __raw_cpu_read_const(pcp) ({ BUILD_BUG(); (typeof(pcp))0; }) argument
363 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, , pcp, oval, nval) argument
364 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg64_op(8, volatile, pcp, oval, nval) argument
397 #define raw_cpu_try_cmpxchg64(pcp, ovalp, nval) percpu_try_cmpxchg64_op(8, , pcp, ovalp, n… argument
398 #define this_cpu_try_cmpxchg64(pcp, ovalp, nval) percpu_try_cmpxchg64_op(8, volatile, pcp, ovalp, n… argument
403 #define raw_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, , pcp, oval, nval); argument
404 #define this_cpu_cmpxchg64(pcp, oval, nval) percpu_cmpxchg_op(8, volatile, pcp, oval, nval); argument
[all …]
/linux-6.12.1/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.12.1/arch/loongarch/include/asm/
Dpercpu.h119 #define _protect_cmpxchg_local(pcp, o, n) \ argument
128 #define _pcp_protect(operation, pcp, val) \ argument
138 #define _percpu_add(pcp, val) \ argument
141 #define _percpu_add_return(pcp, val) _percpu_add(pcp, val) argument
143 #define _percpu_and(pcp, val) \ argument
146 #define _percpu_or(pcp, val) \ argument
149 #define _percpu_xchg(pcp, val) ((typeof(pcp)) \ argument
152 #define this_cpu_add_4(pcp, val) _percpu_add(pcp, val) argument
153 #define this_cpu_add_8(pcp, val) _percpu_add(pcp, val) argument
155 #define this_cpu_add_return_4(pcp, val) _percpu_add_return(pcp, val) argument
[all …]
/linux-6.12.1/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.12.1/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
618 struct per_cpu_nodestat __percpu *pcp = pgdat->per_cpu_nodestats; in mod_node_state() local
819 struct per_cpu_pages __percpu *pcp = zone->per_cpu_pageset; in refresh_cpu_vm_stats() local
1790 struct per_cpu_pages *pcp; in zoneinfo_show_print() local
Dpage_alloc.c1176 struct per_cpu_pages *pcp, in free_pcppages_bulk()
2335 int decay_pcp_high(struct zone *zone, struct per_cpu_pages *pcp) in decay_pcp_high()
2371 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) in drain_zone_pages()
2390 struct per_cpu_pages *pcp = per_cpu_ptr(zone->per_cpu_pageset, cpu); in drain_pages_zone() local
2470 struct per_cpu_pages *pcp; in __drain_all_pages() local
2520 static int nr_pcp_free(struct per_cpu_pages *pcp, int batch, int high, bool free_high) in nr_pcp_free()
2545 static int nr_pcp_high(struct per_cpu_pages *pcp, struct zone *zone, in nr_pcp_high()
2593 static void free_unref_page_commit(struct zone *zone, struct per_cpu_pages *pcp, in free_unref_page_commit()
2647 struct per_cpu_pages *pcp; in free_unref_page() local
2694 struct per_cpu_pages *pcp = NULL; in free_unref_folios() local
[all …]
/linux-6.12.1/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.h381 struct lan966x_port_qos_pcp pcp; member
/linux-6.12.1/lib/
Dpercpu_test.c5 #define CHECK(native, pcp, expected) \ argument
/linux-6.12.1/net/dsa/
Dtag_vsc73xx_8021q.c17 u8 pcp; in vsc73xx_xmit() local
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.12.1/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.12.1/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.12.1/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.12.1/arch/sparc/kernel/
Dpcic.c608 struct pcidev_cookie *pcp; in pcibios_fixup_bus() local
/linux-6.12.1/tools/testing/selftests/bpf/
Dxdp_hw_metadata.c194 __u8 pcp = FIELD_GET(VLAN_PRIO_MASK, tag); in print_vlan_tci() local
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-aw9523.c200 static int aw9523_pcfg_param_to_reg(enum pin_config_param pcp, int pin, u8 *r) in aw9523_pcfg_param_to_reg()
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpsw.h301 u8 pcp; member
/linux-6.12.1/include/soc/mscc/
Docelot_vcap.h500 struct ocelot_vcap_u8 pcp; /* PCP (3 bit) */ member
644 u8 pcp; member
/linux-6.12.1/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()

12