Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/drivers/net/mlxsw/
H A 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 …]
H A 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"
/linux/arch/arm/kernel/
H A 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 …]
/linux/Documentation/arch/arm/
H A 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
/linux/arch/arm64/kernel/
H A Darmv8_deprecated.c80 * Implement emulation of the SWP/SWPB instructions using load-exclusive and
83 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
90 * Error-checking SWP macros implemented using ldxr{b}/stxr{b}
127 * the SWP and SWPB variants (bit set means SWPB).
137 /* SWP to unaligned address not permitted */ in emulate_swpX()
138 pr_debug("SWP instruction on unaligned pointer!\n"); in emulate_swpX()
181 /* If unconditional encoding - not a SWP, undef */ in swp_handler()
198 /* Check access in reasonable access range for both SWP and SWPB */ in swp_handler()
201 pr_debug("SWP{B} emulation: access to 0x%08x not allowed!\n", in swp_handler()
216 trace_instruction_emulation("swp", regs->pc); in swp_handler()
[all …]
/linux/drivers/gpu/drm/i915/selftests/
H A 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()
/linux/arch/nios2/include/asm/
H A Dpgtable.h255 #define __swp_type(swp) (((swp).val >> 26) & 0x1f) argument
256 #define __swp_offset(swp) ((swp).val & 0xfffff) argument
259 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) argument
/linux/Documentation/arch/arm64/
H A Dlegacy_instructions.rst19 have been obsoleted in the architecture, e.g., SWP
47 * SWP{B}
49 :Node: /proc/sys/abi/swp
/linux/Documentation/translations/zh_CN/arch/arm64/
H A Dlegacy_instructions.txt37 产生未定义指令终止异常。它是那些构架中已废弃的指令,如 SWP,的默认处理方式。
56 * SWP{B}
57 节点: /proc/sys/abi/swp
/linux/Documentation/translations/zh_TW/arch/arm64/
H A Dlegacy_instructions.txt41 產生未定義指令終止異常。它是那些構架中已廢棄的指令,如 SWP,的默認處理方式。
60 * SWP{B}
61 節點: /proc/sys/abi/swp
/linux/fs/nilfs2/
H A Dthe_nilfs.c612 int valid[2], swp = 0, older; in nilfs_load_super_block() local
639 * Compare two super blocks and set 1 in swp if the secondary in nilfs_load_super_block()
640 * super block is valid and newer. Otherwise, set 0 in swp. in nilfs_load_super_block()
644 swp = valid[1] && (!valid[0] || in nilfs_load_super_block()
648 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { in nilfs_load_super_block()
653 swp = 0; in nilfs_load_super_block()
655 if (!valid[swp]) { in nilfs_load_super_block()
661 if (!valid[!swp]) in nilfs_load_super_block()
665 if (swp) in nilfs_load_super_block()
674 * Divided case valid[0] valid[1] swp -> older in nilfs_load_super_block()
[all …]
/linux/drivers/net/dsa/microchip/
H A Dksz_common.h921 #define KSZ_SPI_OP_FLAG_MASK(opcode, swp, regbits, regpad) \ argument
922 swab##swp((opcode) << ((regbits) + (regpad)))
924 #define KSZ_REGMAP_ENTRY(width, swp, regbits, regpad, regalign) \ argument
934 KSZ_SPI_OP_FLAG_MASK(KSZ_SPI_OP_RD, swp, \
937 KSZ_SPI_OP_FLAG_MASK(KSZ_SPI_OP_WR, swp, \
945 #define KSZ_REGMAP_TABLE(ksz, swp, regbits, regpad, regalign) \ argument
947 [KSZ_REGMAP_8] = KSZ_REGMAP_ENTRY(8, swp, (regbits), (regpad), (regalign)), \
948 [KSZ_REGMAP_16] = KSZ_REGMAP_ENTRY(16, swp, (regbits), (regpad), (regalign)), \
949 [KSZ_REGMAP_32] = KSZ_REGMAP_ENTRY(32, swp, (regbits), (regpad), (regalign)), \
/linux/drivers/mtd/spi-nor/
H A DKconfig32 bool "Disable SWP on any flashes (legacy behavior)"
44 bool "Disable SWP on flashes w/ volatile protection bits"
H A DMakefile3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
/linux/mm/
H A Ddebug_vm_pgtable.c822 swp_entry_t swp; in swap_migration_tests() local
845 swp = make_writable_migration_entry(page_to_pfn(page)); in swap_migration_tests()
846 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
847 WARN_ON(!is_writable_migration_entry(swp)); in swap_migration_tests()
849 swp = make_readable_migration_entry(swp_offset(swp)); in swap_migration_tests()
850 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
851 WARN_ON(is_writable_migration_entry(swp)); in swap_migration_tests()
853 swp = make_readable_migration_entry(page_to_pfn(page)); in swap_migration_tests()
854 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
855 WARN_ON(is_writable_migration_entry(swp)); in swap_migration_tests()
[all …]
H A Dzswap.c231 static inline struct xarray *swap_zswap_tree(swp_entry_t swp) in swap_zswap_tree() argument
233 return &zswap_trees[swp_type(swp)][swp_offset(swp) in swap_zswap_tree()
1498 swp_entry_t swp = folio->swap; in zswap_store() local
1565 unsigned type = swp_type(swp); in zswap_store()
1566 pgoff_t offset = swp_offset(swp); in zswap_store()
1603 swp_entry_t swp = folio->swap; in zswap_load() local
1604 pgoff_t offset = swp_offset(swp); in zswap_load()
1606 struct xarray *tree = swap_zswap_tree(swp); in zswap_load()
1661 void zswap_invalidate(swp_entry_t swp) in zswap_invalidate() argument
1663 pgoff_t offset = swp_offset(swp); in zswap_invalidate()
[all …]
/linux/scripts/
H A Dconfig74 local tmpfile="$infile.swp"
88 local tmpfile="$infile.swp"
98 local tmpfile="$infile.swp"
/linux/include/linux/
H A Dswap.h521 static inline int add_swap_count_continuation(swp_entry_t swp, gfp_t gfp_mask) in add_swap_count_continuation() argument
526 static inline void swap_shmem_alloc(swp_entry_t swp, int nr) in swap_shmem_alloc() argument
530 static inline int swap_duplicate(swp_entry_t swp) in swap_duplicate() argument
535 static inline int swapcache_prepare(swp_entry_t swp, int nr) in swapcache_prepare() argument
544 static inline void put_swap_folio(struct folio *folio, swp_entry_t swp) in put_swap_folio() argument
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c80 * SWP: OutL3 InL3 InL4 in mlx5e_ipsec_set_swp()
84 * SWP: OutL3 OutL4 in mlx5e_ipsec_set_swp()
88 * SWP: OutL3 InL3 InL4 in mlx5e_ipsec_set_swp()
/linux/tools/testing/selftests/rcutorture/
H A D.gitignore5 *.swp
/linux/block/partitions/
H A Datari.c30 memcmp (s, "LNX", 3) == 0 || memcmp (s, "SWP", 3) == 0 || in OK_id()
140 /* accept only GEM,BGM,RAW,LNX,SWP partitions */ in atari_partition()
/linux/arch/arm/mm/
H A DKconfig719 bool "Emulate SWP/SWPB instructions" if !SMP
724 ARMv6 architecture deprecates use of the SWP/SWPB instructions.
731 In some older versions of glibc [<=2.8] SWP is used during futex
734 with SWP emulation enabled, leading to deadlock of the user
741 perform SWP operations to uncached memory to deadlock.
H A Dabort-ev6.S25 * Faulty SWP instruction on 1136 doesn't set bit 11 in DFSR.
/linux/drivers/dma-buf/
H A Dst-dma-fence-chain.c635 unsigned int swp; in randomise_fences() local
637 swp = get_random_u32_below(count + 1); in randomise_fences()
638 if (swp == count) in randomise_fences()
641 swap(fc->fences[count], fc->fences[swp]); in randomise_fences()
/linux/Documentation/devicetree/bindings/net/nfc/
H A Dst,st21nfca.yaml33 Specifies that the uicc swp signal can be physically connected to the

123