/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | hw_stats_l3.sh | 12 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"
|
H A D | qos_headroom.sh | 22 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 300 [all...] |
/linux-master/drivers/soc/fsl/dpio/ |
H A D | dpio-service.c | 24 struct qbman_swp *swp; member in struct:dpaa2_io 48 struct qbman_swp *swp; /* portal used to issue VDQCR */ member in struct:dpaa2_io_store 160 obj->swp = qbman_swp_init(&obj->swp_desc); 162 if (!obj->swp) { 174 qbman_swp_interrupt_set_trigger(obj->swp, 176 qbman_swp_interrupt_clear_status(obj->swp, 0xffffffff); 178 qbman_swp_push_set(obj->swp, 0, 1); 230 struct qbman_swp *swp; local 235 swp = obj->swp; 769 struct qbman_swp *swp; local 802 struct qbman_swp *swp; local 830 struct qbman_swp *swp = d->swp; local 844 struct qbman_swp *swp = d->swp; local [all...] |
H A D | qbman-portal.h | 539 static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd, argument 544 qbman_swp_mc_submit(swp, cmd, cmd_verb); 547 cmd = qbman_swp_mc_result(swp);
|
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_random.c | 58 size_t swp; local 60 swp = i915_prandom_u32_max_state(count + 1, state); 61 if (swp == count) 65 memcpy(arr + count * elsz, arr + swp * elsz, elsz); 66 memcpy(arr + swp * elsz, stack, elsz);
|
/linux-master/include/linux/ |
H A D | zswap.h | 32 void zswap_invalidate(swp_entry_t swp); 53 static inline void zswap_invalidate(swp_entry_t swp) {} argument
|
H A D | min_heap.h | 25 * @swp: Swap elements function. 30 void (*swp)(void *lhs, void *rhs); member in struct:min_heap_callbacks 64 func->swp(data + i * func->elem_size, data + j * func->elem_size); 132 func->swp(parent, child);
|
H A D | swap.h | 528 static inline int add_swap_count_continuation(swp_entry_t swp, gfp_t gfp_mask) argument 533 static inline void swap_shmem_alloc(swp_entry_t swp) argument 537 static inline int swap_duplicate(swp_entry_t swp) argument 542 static inline int swapcache_prepare(swp_entry_t swp) argument 547 static inline void swap_free(swp_entry_t swp) argument 551 static inline void put_swap_folio(struct folio *folio, swp_entry_t swp) argument
|
H A D | swapops.h | 57 * free bits in arch specific swp offset. By default we'll ignore A/D bits 354 static inline int is_migration_entry(swp_entry_t swp) argument 416 static inline int is_hwpoison_entry(swp_entry_t swp) argument 521 /* Make sure the swp offset can always store the needed fields */
|
/linux-master/arch/nios2/include/asm/ |
H A D | pgtable.h | 258 #define __swp_type(swp) (((swp).val >> 26) & 0x1f) 259 #define __swp_offset(swp) ((swp).val & 0xfffff) 262 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val })
|
/linux-master/lib/ |
H A D | test_min_heap.c | 74 .swp = swap_ints, 107 .swp = swap_ints, 140 .swp = swap_ints,
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | Makefile | 3 spi-nor-objs := core.o sfdp.o swp.o otp.o sysfs.o
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz_common.h | 752 #define KSZ_SPI_OP_FLAG_MASK(opcode, swp, regbits, regpad) \ 753 swab##swp((opcode) << ((regbits) + (regpad))) 755 #define KSZ_REGMAP_ENTRY(width, swp, regbits, regpad, regalign) \ 765 KSZ_SPI_OP_FLAG_MASK(KSZ_SPI_OP_RD, swp, \ 768 KSZ_SPI_OP_FLAG_MASK(KSZ_SPI_OP_WR, swp, \ 776 #define KSZ_REGMAP_TABLE(ksz, swp, regbits, regpad, regalign) \ 778 [KSZ_REGMAP_8] = KSZ_REGMAP_ENTRY(8, swp, (regbits), (regpad), (regalign)), \ 779 [KSZ_REGMAP_16] = KSZ_REGMAP_ENTRY(16, swp, (regbits), (regpad), (regalign)), \ 780 [KSZ_REGMAP_32] = KSZ_REGMAP_ENTRY(32, swp, (regbits), (regpad), (regalign)), \
|
/linux-master/mm/ |
H A D | debug_vm_pgtable.c | 836 /* Create a swp entry with all possible bits set */ 861 swp_entry_t swp; local 866 swp = __pte_to_swp_entry(pte); 867 pte = __swp_entry_to_pte(swp); 874 swp_entry_t swp; local 882 swp = __pmd_to_swp_entry(pmd); 883 pmd = __swp_entry_to_pmd(swp); 893 swp_entry_t swp; local 916 swp = make_writable_migration_entry(page_to_pfn(page)); 917 WARN_ON(!is_migration_entry(swp)); [all...] |
H A D | zswap.c | 258 static inline struct zswap_tree *swap_zswap_tree(swp_entry_t swp) argument 260 return &zswap_trees[swp_type(swp)][swp_offset(swp) 1493 swp_entry_t swp = folio->swap; local 1494 pgoff_t offset = swp_offset(swp); 1495 struct zswap_tree *tree = swap_zswap_tree(swp); 1577 entry->swpentry = swp; 1636 swp_entry_t swp = folio->swap; local 1637 pgoff_t offset = swp_offset(swp); 1640 struct zswap_tree *tree = swap_zswap_tree(swp); 1688 zswap_invalidate(swp_entry_t swp) argument [all...] |
H A D | swap.h | 90 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, argument
|
H A D | swap_state.c | 404 swp_entry_t swp; local 415 swp = radix_to_swp_entry(folio); 417 if (non_swap_entry(swp)) 420 si = get_swap_device(swp); 423 index = swp_offset(swp); 424 folio = filemap_get_folio(swap_address_space(swp), index);
|
/linux-master/fs/nilfs2/ |
H A D | the_nilfs.c | 595 int valid[2], swp = 0; local 622 * Compare two super blocks and set 1 in swp if the secondary 623 * super block is valid and newer. Otherwise, set 0 in swp. 627 swp = valid[1] && (!valid[0] || 631 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { 636 swp = 0; 638 if (!valid[swp]) { 644 if (!valid[!swp]) 648 if (swp) [all...] |
/linux-master/drivers/dma-buf/ |
H A D | st-dma-fence-chain.c | 635 unsigned int swp; local 637 swp = get_random_u32_below(count + 1); 638 if (swp == count) 641 swap(fc->fences[count], fc->fences[swp]);
|
/linux-master/arch/arm/include/asm/ |
H A D | pgtable.h | 304 #define __swp_entry_to_pte(swp) __pte((swp).val)
|
/linux-master/arch/mips/include/asm/ |
H A D | asm.h | 218 #define LONG_SP swp
|
/linux-master/ipc/ |
H A D | shm.c | 962 unsigned long *swp) 968 *swp = 0; 981 shm_add_rss_swap(shp, rss, swp); 1845 unsigned long rss = 0, swp = 0; local 1848 shm_add_rss_swap(shp, &rss, &swp); 1875 swp * PAGE_SIZE); 961 shm_get_stat(struct ipc_namespace *ns, unsigned long *rss, unsigned long *swp) argument
|
/linux-master/fs/proc/ |
H A D | task_mmu.c | 1800 swp_entry_t swp; local 1807 swp = pte_to_swp_entry(pte); 1808 if (is_pfn_swap_entry(swp) && 1809 !folio_test_anon(pfn_swap_entry_folio(swp))) 1864 swp_entry_t swp; local 1873 swp = pmd_to_swp_entry(pmd); 1874 if (is_pfn_swap_entry(swp) && 1875 !folio_test_anon(pfn_swap_entry_folio(swp)))
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | ipsec.c | 316 if (!MLX5_GET(per_protocol_networking_offload_caps, hca_cap, swp))
|
/linux-master/arch/arm64/include/asm/ |
H A D | pgtable.h | 1267 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) 1271 #define __swp_entry_to_pmd(swp) __pmd((swp).val)
|