Home
last modified time | relevance | path

Searched full:swp (Results 1 – 25 of 160) sorted by relevance

1234567

/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Dqos_headroom.sh22 swp=$NETIF_NO_CABLE
33 dcb -j buffer show dev $swp |
41 dcb -j pfc show dev $swp |
49 dcb -j ets show dev $swp |
57 dcb -j buffer show dev $swp | jq ".buffer_size[$idx]"
62 dcb -j buffer show dev $swp | jq '.total_size'
124 dcb ets set dev $swp prio-tc 0:0 1:2 2:4 3:6 4:1 5:3 6:5 7:7
130 dcb ets set dev $swp prio-tc all:0
135 dcb buffer set dev $swp prio-buffer 0:1 1:3 2:5 3:7 4:0 5:2 6:4 7:6 2>/dev/null
150 mtu_set $swp 3000
[all …]
Dhw_stats_l3.sh12 swp=$NETIF_NO_CABLE
21 hw_stats_monitor_test $swp l3 \
22 "ip addr add dev $swp 192.0.2.1/28" \
23 "ip addr del dev $swp 192.0.2.1/28"
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dqos_headroom.sh23 swp=$NETIF_NO_CABLE
32 __mlnx_qos -i $swp | sed -n '/^PFC/,/^[^[:space:]]/p' |
38 __mlnx_qos -i $swp | sed -n '/^PFC/,/^[^[:space:]]/p' |
44 __mlnx_qos -i $swp | sed -n '/^tc/,$p' |
57 __mlnx_qos -i $swp | grep Receive | sed 's/.*: //' | cut -d, -f $((idx + 1))
62 __mlnx_qos -i $swp | grep Receive | sed 's/.*total_size=//'
124 __mlnx_qos -i $swp --prio_tc=0,2,4,6,1,3,5,7 > /dev/null
130 __mlnx_qos -i $swp --prio_tc=0,0,0,0,0,0,0,0 > /dev/null
135 __mlnx_qos -i $swp --prio2buffer=1,3,5,7,0,2,4,6 &> /dev/null
150 mtu_set $swp 3000
[all …]
/kernel/linux/linux-6.6/drivers/soc/fsl/dpio/
Ddpio-service.c24 struct qbman_swp *swp; member
48 struct qbman_swp *swp; /* portal used to issue VDQCR */ member
160 obj->swp = qbman_swp_init(&obj->swp_desc); in dpaa2_io_create()
162 if (!obj->swp) { in dpaa2_io_create()
174 qbman_swp_interrupt_set_trigger(obj->swp, in dpaa2_io_create()
176 qbman_swp_interrupt_clear_status(obj->swp, 0xffffffff); in dpaa2_io_create()
178 qbman_swp_push_set(obj->swp, 0, 1); in dpaa2_io_create()
230 struct qbman_swp *swp; in dpaa2_io_irq() local
235 swp = obj->swp; in dpaa2_io_irq()
236 status = qbman_swp_interrupt_read_status(swp); in dpaa2_io_irq()
[all …]
/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/
Ddpio-service.c23 struct qbman_swp *swp; member
39 struct qbman_swp *swp; /* portal used to issue VDQCR */ member
131 obj->swp = qbman_swp_init(&obj->swp_desc); in dpaa2_io_create()
133 if (!obj->swp) { in dpaa2_io_create()
144 qbman_swp_interrupt_set_trigger(obj->swp, in dpaa2_io_create()
146 qbman_swp_interrupt_clear_status(obj->swp, 0xffffffff); in dpaa2_io_create()
148 qbman_swp_push_set(obj->swp, 0, 1); in dpaa2_io_create()
194 struct qbman_swp *swp; in dpaa2_io_irq() local
197 swp = obj->swp; in dpaa2_io_irq()
198 status = qbman_swp_interrupt_read_status(swp); in dpaa2_io_irq()
[all …]
/kernel/linux/linux-6.6/arch/arm/kernel/
Dswp_emulate.c8 * Implements emulation of the SWP/SWPB instructions using load-exclusive and
12 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
33 * Error-checking SWP macros implemented using ldrex{b}/strex{b}
73 * the SWP and SWPB variants (bit set means SWPB).
85 seq_printf(m, "Emulated SWP:\t\t%lu\n", swpcounter); in proc_status_show()
87 seq_printf(m, "Aborted SWP{B}:\t\t%lu\n", abtcounter); in proc_status_show()
108 pr_debug("SWP{B} emulation: access caused memory abort!\n"); in set_segfault()
123 /* SWP to unaligned address not permitted */ in emulate_swpX()
124 pr_debug("SWP instruction on unaligned pointer!\n"); in emulate_swpX()
176 /* If unconditional encoding - not a SWP, undef */ in swp_handler()
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dswp_emulate.c8 * Implements emulation of the SWP/SWPB instructions using load-exclusive and
12 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
34 * Error-checking SWP macros implemented using ldrex{b}/strex{b}
70 * the SWP and SWPB variants (bit set means SWPB).
82 seq_printf(m, "Emulated SWP:\t\t%lu\n", swpcounter); in proc_status_show()
84 seq_printf(m, "Aborted SWP{B}:\t\t%lu\n", abtcounter); in proc_status_show()
105 pr_debug("SWP{B} emulation: access caused memory abort!\n"); in set_segfault()
120 /* SWP to unaligned address not permitted */ in emulate_swpX()
121 pr_debug("SWP instruction on unaligned pointer!\n"); in emulate_swpX()
173 /* If unconditional encoding - not a SWP, undef */ in swp_handler()
[all …]
/kernel/linux/linux-6.6/Documentation/arch/arm/
Dswp_emulation.rst1 Software emulation of deprecated SWP instruction (CONFIG_SWP_EMULATE)
4 ARMv6 architecture deprecates use of the SWP/SWPB instructions, and recommends
16 Emulated SWP: 12
18 Aborted SWP{B}: 1
26 cause programs that perform SWP operations to uncached memory to deadlock, as
/kernel/linux/linux-5.10/Documentation/arm/
Dswp_emulation.rst1 Software emulation of deprecated SWP instruction (CONFIG_SWP_EMULATE)
4 ARMv6 architecture deprecates use of the SWP/SWPB instructions, and recommeds
16 Emulated SWP: 12
18 Aborted SWP{B}: 1
26 cause programs that perform SWP operations to uncached memory to deadlock, as
/kernel/linux/linux-5.10/arch/arm64/kernel/
Darmv8_deprecated.c82 * Implement emulation of the SWP/SWPB instructions using load-exclusive and
85 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
92 * Error-checking SWP macros implemented using ldxr{b}/stxr{b}
135 * the SWP and SWPB variants (bit set means SWPB).
145 /* SWP to unaligned address not permitted */ in emulate_swpX()
146 pr_debug("SWP instruction on unaligned pointer!\n"); in emulate_swpX()
189 /* If unconditional encoding - not a SWP, undef */ in swp_handler()
206 /* Check access in reasonable access range for both SWP and SWPB */ in swp_handler()
209 pr_debug("SWP{B} emulation: access to 0x%08x not allowed!\n", in swp_handler()
224 trace_instruction_emulation("swp", regs->pc); in swp_handler()
[all …]
/kernel/linux/linux-6.6/arch/arm64/kernel/
Darmv8_deprecated.c82 * Implement emulation of the SWP/SWPB instructions using load-exclusive and
85 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
92 * Error-checking SWP macros implemented using ldxr{b}/stxr{b}
129 * the SWP and SWPB variants (bit set means SWPB).
139 /* SWP to unaligned address not permitted */ in emulate_swpX()
140 pr_debug("SWP instruction on unaligned pointer!\n"); in emulate_swpX()
183 /* If unconditional encoding - not a SWP, undef */ in swp_handler()
200 /* Check access in reasonable access range for both SWP and SWPB */ in swp_handler()
203 pr_debug("SWP{B} emulation: access to 0x%08x not allowed!\n", in swp_handler()
218 trace_instruction_emulation("swp", regs->pc); in swp_handler()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
Di915_random.c58 size_t swp; in i915_prandom_shuffle() local
60 swp = i915_prandom_u32_max_state(count + 1, state); in i915_prandom_shuffle()
61 if (swp == count) in i915_prandom_shuffle()
65 memcpy(arr + count * elsz, arr + swp * elsz, elsz); in i915_prandom_shuffle()
66 memcpy(arr + swp * elsz, stack, elsz); in i915_prandom_shuffle()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_random.c58 size_t swp; in i915_prandom_shuffle() local
60 swp = i915_prandom_u32_max_state(count + 1, state); in i915_prandom_shuffle()
61 if (swp == count) in i915_prandom_shuffle()
65 memcpy(arr + count * elsz, arr + swp * elsz, elsz); in i915_prandom_shuffle()
66 memcpy(arr + swp * elsz, stack, elsz); in i915_prandom_shuffle()
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/
Dksz_common.h301 #define KSZ_SPI_OP_FLAG_MASK(opcode, swp, regbits, regpad) \ argument
302 swab##swp((opcode) << ((regbits) + (regpad)))
304 #define KSZ_REGMAP_ENTRY(width, swp, regbits, regpad, regalign) \ argument
314 KSZ_SPI_OP_FLAG_MASK(KSZ_SPI_OP_RD, swp, \
317 KSZ_SPI_OP_FLAG_MASK(KSZ_SPI_OP_WR, swp, \
325 #define KSZ_REGMAP_TABLE(ksz, swp, regbits, regpad, regalign) \ argument
327 KSZ_REGMAP_ENTRY(8, swp, (regbits), (regpad), (regalign)), \
328 KSZ_REGMAP_ENTRY(16, swp, (regbits), (regpad), (regalign)), \
329 KSZ_REGMAP_ENTRY(32, swp, (regbits), (regpad), (regalign)), \
/kernel/linux/linux-5.10/Documentation/arm64/
Dlegacy_instructions.rst19 have been obsoleted in the architecture, e.g., SWP
47 * SWP{B}
49 :Node: /proc/sys/abi/swp
/kernel/linux/linux-6.6/Documentation/arch/arm64/
Dlegacy_instructions.rst19 have been obsoleted in the architecture, e.g., SWP
47 * SWP{B}
49 :Node: /proc/sys/abi/swp
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dpgtable.h265 #define __swp_type(swp) (((swp).val >> 26) & 0x3) argument
266 #define __swp_offset(swp) ((swp).val & 0xfffff) argument
269 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) argument
/kernel/linux/linux-6.6/arch/nios2/include/asm/
Dpgtable.h256 #define __swp_type(swp) (((swp).val >> 26) & 0x1f) argument
257 #define __swp_offset(swp) ((swp).val & 0xfffff) argument
260 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) argument
/kernel/linux/linux-6.6/include/linux/
Dmin_heap.h25 * @swp: Swap elements function.
30 void (*swp)(void *lhs, void *rhs); member
58 func->swp(smallest, parent); in min_heapify()
130 func->swp(parent, child); in min_heap_push()
/kernel/linux/linux-5.10/include/linux/
Dmin_heap.h25 * @swp: Swap elements function.
30 void (*swp)(void *lhs, void *rhs); member
58 func->swp(smallest, parent); in min_heapify()
130 func->swp(parent, child); in min_heap_push()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/arm64/
Dlegacy_instructions.txt37 产生未定义指令终止异常。它是那些构架中已废弃的指令,如 SWP,的默认处理方式。
56 * SWP{B}
57 节点: /proc/sys/abi/swp
/kernel/linux/linux-6.6/Documentation/translations/zh_CN/arch/arm64/
Dlegacy_instructions.txt37 产生未定义指令终止异常。它是那些构架中已废弃的指令,如 SWP,的默认处理方式。
56 * SWP{B}
57 节点: /proc/sys/abi/swp
/kernel/linux/linux-6.6/Documentation/translations/zh_TW/arch/arm64/
Dlegacy_instructions.txt41 產生未定義指令終止異常。它是那些構架中已廢棄的指令,如 SWP,的默認處理方式。
60 * SWP{B}
61 節點: /proc/sys/abi/swp
/kernel/linux/linux-5.10/mm/
Ddebug_vm_pgtable.c805 swp_entry_t swp; in pte_swap_tests() local
810 swp = __pte_to_swp_entry(pte); in pte_swap_tests()
811 pte = __swp_entry_to_pte(swp); in pte_swap_tests()
818 swp_entry_t swp; in pmd_swap_tests() local
826 swp = __pmd_to_swp_entry(pmd); in pmd_swap_tests()
827 pmd = __swp_entry_to_pmd(swp); in pmd_swap_tests()
837 swp_entry_t swp; in swap_migration_tests() local
861 swp = make_migration_entry(page, 1); in swap_migration_tests()
862 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
863 WARN_ON(!is_write_migration_entry(swp)); in swap_migration_tests()
[all …]
/kernel/linux/linux-6.6/arch/x86/include/asm/
Dpgtable_64.h189 * | TYPE (59-63) | ~OFFSET (9-58) |0|0|X|X| X| E|F|SD|0| <- swp entry
200 * SD (1) in swp entry is used to store soft dirty bit, which helps us
203 * F (2) in swp entry is used to record when a pagetable is
206 * E (3) in swp entry is used to rememeber PG_anon_exclusive.
208 * Bit 7 in swp entry should be 0 because pmd_present checks not only P,

1234567