Home
last modified time | relevance | path

Searched refs:swp (Results 1 – 25 of 46) sorted by relevance

12

/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/drivers/soc/fsl/dpio/
H A 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 …]
H A Dqbman-portal.h539 static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd, in qbman_swp_mc_complete() argument
544 qbman_swp_mc_submit(swp, cmd, cmd_verb); in qbman_swp_mc_complete()
547 cmd = qbman_swp_mc_result(swp); in qbman_swp_mc_complete()
/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.h261 #define __swp_type(swp) (((swp).val >> 26) & 0x1f) argument
262 #define __swp_offset(swp) ((swp).val & 0xfffff) argument
265 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) argument
/linux/mm/
H A Ddebug_vm_pgtable.c816 /* Create a swp entry with all possible bits set */ in pmd_swap_soft_dirty_tests()
841 swp_entry_t swp; in pte_swap_exclusive_tests()
846 swp = __pte_to_swp_entry(pte); in pte_swap_exclusive_tests()
847 pte = __swp_entry_to_pte(swp); in pte_swap_exclusive_tests()
854 swp_entry_t swp; in pte_swap_exclusive_tests()
862 swp = __pmd_to_swp_entry(pmd); in pte_swap_tests()
863 pmd = __swp_entry_to_pmd(swp); in pte_swap_tests()
873 swp_entry_t swp; in pmd_swap_tests()
896 swp = make_writable_migration_entry(page_to_pfn(page)); in swap_migration_tests()
897 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
861 swp_entry_t swp; pte_swap_tests() local
874 swp_entry_t swp; pmd_swap_tests() local
893 swp_entry_t swp; swap_migration_tests() local
[all...]
H A Dzswap.c235 static inline struct xarray *swap_zswap_tree(swp_entry_t swp)
237 return &zswap_trees[swp_type(swp)][swp_offset(swp) in swap_zswap_tree()
1409 swp_entry_t swp = folio->swap; in zswap_store()
1410 pgoff_t offset = swp_offset(swp); in zswap_store()
1411 struct xarray *tree = swap_zswap_tree(swp); in zswap_store()
1464 entry->swpentry = swp; in zswap_store()
1535 swp_entry_t swp = folio->swap; in zswap_load()
1536 pgoff_t offset = swp_offset(swp); in zswap_load()
1538 struct xarray *tree = swap_zswap_tree(swp); in zswap_load()
236 swap_zswap_tree(swp_entry_t swp) swap_zswap_tree() argument
1399 swp_entry_t swp = folio->swap; zswap_store() local
1537 swp_entry_t swp = folio->swap; zswap_load() local
1597 zswap_invalidate(swp_entry_t swp) zswap_invalidate() argument
[all...]
H A Dswap_state.c407 swp_entry_t swp; in filemap_get_incore_folio() local
418 swp = radix_to_swp_entry(folio); in filemap_get_incore_folio()
420 if (non_swap_entry(swp)) in filemap_get_incore_folio()
423 si = get_swap_device(swp); in filemap_get_incore_folio()
426 index = swap_cache_index(swp); in filemap_get_incore_folio()
427 folio = filemap_get_folio(swap_address_space(swp), index); in filemap_get_incore_folio()
H A Dswap.h138 static inline struct folio *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in filemap_get_incore_folio()
112 swapin_readahead(swp_entry_t swp,gfp_t gfp_mask,struct vm_fault * vmf) swapin_readahead() argument
/linux/lib/
H A Dtest_min_heap.c75 .swp = swap_ints, in test_heapify_all()
107 .swp = swap_ints, in test_heap_push()
139 .swp = swap_ints, in test_heap_pop_push()
178 .swp = swap_ints, in test_heap_del()
/linux/include/linux/
H A Dzswap.h30 void zswap_invalidate(swp_entry_t swp);
52 static inline void zswap_invalidate(swp_entry_t swp) {} in zswap_load()
54 zswap_invalidate(swp_entry_t swp) zswap_invalidate() argument
H A Dmin_heap.h38 void (*swp)(void *lhs, void *rhs, void *args); member
107 func->swp(data + i * elem_size, data + j * elem_size, args); in __min_heap_sift_down()
126 func->swp(data + parent * elem_size, data + idx * elem_size, args); in __min_heap_sift_up()
226 func->swp(data + (idx * elem_size), data + (heap->nr * elem_size), args); in __min_heap_del()
H A Dswapops.h354 static inline int is_migration_entry(swp_entry_t swp) in is_migration_entry() argument
416 static inline int is_hwpoison_entry(swp_entry_t swp) in is_hwpoison_entry() argument
/linux/drivers/net/dsa/microchip/
H A Dksz_common.h808 #define KSZ_SPI_OP_FLAG_MASK(opcode, swp, regbits, regpad) \ argument
809 swab##swp((opcode) << ((regbits) + (regpad)))
811 #define KSZ_REGMAP_ENTRY(width, swp, regbits, regpad, regalign) \ argument
821 KSZ_SPI_OP_FLAG_MASK(KSZ_SPI_OP_RD, swp, \
824 KSZ_SPI_OP_FLAG_MASK(KSZ_SPI_OP_WR, swp, \
832 #define KSZ_REGMAP_TABLE(ksz, swp, regbits, regpad, regalign) \ argument
834 [KSZ_REGMAP_8] = KSZ_REGMAP_ENTRY(8, swp, (regbits), (regpad), (regalign)), \
835 [KSZ_REGMAP_16] = KSZ_REGMAP_ENTRY(16, swp, (regbits), (regpad), (regalign)), \
836 [KSZ_REGMAP_32] = KSZ_REGMAP_ENTRY(32, swp, (regbits), (regpad), (regalign)), \
/linux/fs/bcachefs/
H A Dclock.c29 .swp = io_timer_swp, in bch2_io_timer_add()
53 .swp = io_timer_swp, in bch2_io_timer_del()
147 .swp = io_timer_swp, in get_expired_timer()
/linux/tools/testing/selftests/rcutorture/
H A D.gitignore5 *.swp
/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/drivers/mtd/spi-nor/
H A DMakefile3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
/linux/arch/arm/include/asm/
H A Dpgtable.h304 #define __swp_entry_to_pte(swp) __pte((swp).val) argument
/linux/Documentation/translations/zh_CN/arch/arm64/
H A Dlegacy_instructions.txt57 节点: /proc/sys/abi/swp
/linux/Documentation/translations/zh_TW/arch/arm64/
H A Dlegacy_instructions.txt61 節點: /proc/sys/abi/swp
/linux/ipc/
H A Dshm.c958 unsigned long *swp) in shm_get_stat() argument
964 *swp = 0; in shm_get_stat()
977 shm_add_rss_swap(shp, rss, swp); in shm_get_stat()
1841 unsigned long rss = 0, swp = 0; in sysvipc_shm_proc_show() local
1844 shm_add_rss_swap(shp, &rss, &swp); in sysvipc_shm_proc_show()
1871 swp * PAGE_SIZE); in sysvipc_shm_proc_show()
/linux/Documentation/arch/arm64/
H A Dlegacy_instructions.rst49 :Node: /proc/sys/abi/swp
/linux/drivers/md/bcache/
H A Dalloc.c204 .swp = new_bucket_swap, in invalidate_buckets_lru()
208 .swp = new_bucket_swap, in invalidate_buckets_lru()

12