| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_port_split.py | 12 # Test port split configuration using devlink-port lanes attribute. 15 # First, check that all the ports with 1 lane fail to split. 16 # Second, check that all the ports with more than 1 lane can be split 17 # to all valid configurations (e.g., split to 2, split to 4 etc.) 95 Get the $port split ability. 96 Return: split ability, true or false. 107 def split(k, port, should_fail=False): function 109 Split $port into $k ports. 110 If should_fail == True, the split should fail. Otherwise, should pass. 112 If the $port wasn't split, the array will be empty. [all …]
|
| /linux/rust/zerocopy/src/ |
| H A D | split_at.rs | 15 /// Types that can be split in two. 98 /// The element type exposed by the split's returned slice. in split_at_unchecked() 136 unsafe fn split_at_unchecked(&self, l_len: usize) -> Split<&Self> { 138 unsafe { Split::<&Self>::new(self, l_len) } 141 /// Attempts to split `self` in two. 167 /// // Attempt to split `packet` at `length`. in split_at() 168 /// let split = packet.split_at(packet.length as usize).unwrap(); in split_at() 172 /// let (packet, rest) = split.via_immutable(); 198 fn split_at(&self, l_len: usize) -> Option<Split<&Self>> { 204 unsafe { Split 278 pub struct Split<T> { global() struct 290 impl<T> Split<T> { global() implementation 302 impl<'a, T> Split<&'a T> global() implementation 600 impl<'a, T> Split<&'a mut T> global() implementation 805 impl<'a, T, I> Split<Ptr<'a, T, I>> global() implementation 1020 let split = dst.split_at(i).unwrap().via_runtime_check(); test_split_at_overlapping() localVariable 1034 let split = unsafe { SplitAt::split_at_unchecked(slice, 2) }; test_split_at_unchecked() localVariable 1042 let split = unsafe { SplitAt::split_at_mut_unchecked(slice_mut, 2) }; test_split_at_unchecked() localVariable 1085 let split = packet.split_at(2).unwrap(); test_split_at_via_unaligned() localVariable [all...] |
| /linux/Documentation/devicetree/bindings/display/mediatek/ |
| H A D | mediatek,split.yaml | 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,split.yaml# 7 title: Mediatek display split 14 Mediatek display split, namely SPLIT, is used to split stream to two 16 SPLIT device node must be siblings to the central MMSYS_CONFIG node. 25 - mediatek,mt8173-disp-split 26 - mediatek,mt8195-mdp3-split 28 - const: mediatek,mt6795-disp-split 29 - const: mediatek,mt8173-disp-split 60 - description: SPLIT Clock 76 const: mediatek,mt8195-mdp3-split [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | hds.py | 19 if 'tcp-data-split' not in rings: 20 raise KsftSkipEx('tcp-data-split not supported by device') 21 return rings['tcp-data-split'] 68 if cur.get('tcp-data-split') != rings.get('tcp-data-split'): 71 arg['tcp-data-split'] = "unknown" 74 if cur['tcp-data-split'] == rings['tcp-data-split']: 75 del arg['tcp-data-split'] 78 arg['tcp-data-split'] [all...] |
| /linux/lib/ |
| H A D | sg_split.c | 81 struct sg_splitter *split; in sg_split_phys() local 83 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_phys() 84 in_sg = split->in_sg0; in sg_split_phys() 85 out_sg = split->out_sg; in sg_split_phys() 86 for (j = 0; j < split->nents; j++, out_sg++) { in sg_split_phys() 89 out_sg->offset += split->skip_sg0; in sg_split_phys() 90 out_sg->length -= split->skip_sg0; in sg_split_phys() 96 out_sg[-1].length = split->length_last_sg; in sg_split_phys() 105 struct sg_splitter *split; in sg_split_mapped() local 107 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_mapped() [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| H A D | cake.json | 17 …+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw … 38 …0-9]+ bandwidth 1Kbit diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw … 59 …ited autorate-ingress diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw … 80 …+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 200us raw … 101 … bandwidth unlimited besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw … 122 …+ bandwidth unlimited diffserv8 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw … 143 …+ bandwidth unlimited diffserv4 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw … 164 …[0-9]+ bandwidth unlimited diffserv3 flowblind nonat nowash no-ack-filter split-gso rtt 100ms raw … 185 …cnt [0-9]+ bandwidth unlimited diffserv3 dsthost nat nowash no-ack-filter split-gso rtt 100ms raw … 206 …efcnt [0-9]+ bandwidth unlimited diffserv3 hosts nonat wash no-ack-filter split-gso rtt 100ms raw … [all …]
|
| /linux/fs/btrfs/tests/ |
| H A D | extent-buffer-tests.c | 76 * space in this leaf to split the item without having to split the in test_btrfs_split_item() 81 test_err("split item failed %d", ret); in test_btrfs_split_item() 98 test_err("invalid len in the first split"); in test_btrfs_split_item() 107 "data in the buffer doesn't match what it should in the first split have='%.*s' want '%s'", in test_btrfs_split_item() 122 test_err("invalid len in the second split"); in test_btrfs_split_item() 131 "data in the buffer doesn't match what it should in the second split"); in test_btrfs_split_item() 140 test_err("second split item failed %d", ret); in test_btrfs_split_item() 153 test_err("invalid len in the first split"); in test_btrfs_split_item() 162 "data in the buffer doesn't match what it should in the third split"); in test_btrfs_split_item() 176 test_err("invalid len in the second split"); in test_btrfs_split_item() [all …]
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | automata.py | |
| /linux/tools/testing/selftests/mm/ |
| H A D | split_huge_page_test.c | 121 ksft_exit_fail_msg("No RssAnon is allocated before split\n"); in check_after_split_folio_orders() 123 /* split all THPs */ in check_after_split_folio_orders() 132 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in check_after_split_folio_orders() 148 ksft_test_result_pass("Split zero filled huge pages successful\n"); in write_debugfs() 170 /* split all THPs */ 184 ksft_exit_fail_msg("Unexpected THP split\n"); in verify_rss_anon_split_huge_page_all_zeroes() 187 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in verify_rss_anon_split_huge_page_all_zeroes() 189 ksft_test_result_pass("Split huge pages to order %d successful\n", order); in verify_rss_anon_split_huge_page_all_zeroes() 245 * Verify that our THPs were not split yet. Note that in split_pmd_thp_to_order() 256 /* Split al in split_pte_mapped_thp() [all...] |
| /linux/tools/testing/selftests/vDSO/ |
| H A D | vdso_test_chacha.c | 99 for (unsigned int split = 0; split < BLOCKS; ++split) { in main() local 102 if (split) in main() 103 __arch_chacha20_blocks_nostack(output2, key, counter2, split); in main() 104 __arch_chacha20_blocks_nostack(output2 + split * BLOCK_SIZE, key, counter2, BLOCKS - split); in main() 106 ksft_exit_fail_msg("Main loop outputs do not match on trial %u, split %u\n", trial, split); in main() 108 ksft_exit_fail_msg("Main loop counters do not match on trial %u, split %u\n", trial, split); in main()
|
| /linux/fs/btrfs/ |
| H A D | extent_map.c | 807 * are split. 814 struct extent_map *split; in btrfs_drop_extent_map_range() local 838 * because we need to split those two extent maps at the boundaries. in btrfs_drop_extent_map_range() 840 split = btrfs_alloc_extent_map(); in btrfs_drop_extent_map_range() 870 * In case we split the extent map, we want to preserve the in btrfs_drop_extent_map_range() 880 * split it, we can remove it directly. in btrfs_drop_extent_map_range() 888 if (!split) { in btrfs_drop_extent_map_range() 889 split = split2; in btrfs_drop_extent_map_range() 891 if (!split) in btrfs_drop_extent_map_range() 894 split in btrfs_drop_extent_map_range() [all...] |
| /linux/fs/ext4/ |
| H A D | extents-test.c | 6 * extent split and conversion in ext4. 8 * Currently, ext4 can split extents in 2 ways: 16 * We test both of the methods of split. The behavior we try to enforce is: 18 * the split extent should be converted to initialized. 20 * ext4_split_convert_extents(), the split extent should be converted to 99 /* map describing range to split */ 105 /* no of extents expected after split */ 109 * expected state of extents after split. We will never split into more 372 * ext4_map_create_blocks() to do actual split and conversion. This is easier 523 { .desc = "split unwrit extent to 2 extents and convert 1st half writ", [all …]
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | port.c | 46 * ice_devlink_port_options_print - Print available port split options 47 * @pf: the PF to print split port options 49 * Prints a table with available port split options and max port speeds 82 dev_dbg(dev, "Available port split options and max port speeds (Gbps):\n"); in ice_devlink_port_options_print() 83 dev_dbg(dev, "Status Split Quad 0 Quad 1\n"); in ice_devlink_port_options_print() 118 * @pf: the PF to print split port options 136 NL_SET_ERR_MSG_MOD(extack, "Port split request failed"); in ice_devlink_aq_set_port_option() 152 NL_SET_ERR_MSG_MOD(extack, "Port split request failed to save data"); in ice_devlink_aq_set_port_option() 159 NL_SET_ERR_MSG_MOD(extack, "Reboot required to finish port split"); in ice_devlink_aq_set_port_option() 167 * @count: number of ports to split to [all …]
|
| /linux/mm/ |
| H A D | huge_memory.c | 828 DEFINE_MTHP_STAT_ATTR(split, MTHP_STAT_SPLIT); 2014 * under splitting since we don't split the page itself, only pmd to in copy_huge_pmd() 2033 /* Page maybe pinned: split and retry the fault on PTEs. */ in copy_huge_pmd() 2100 * folio_try_dup_anon_rmap_*() and split if duplicating fails. in copy_huge_pud() 2446 * If user want to discard part-pages of THP, split it so MADV_FREE in madvise_free_huge_pmd() 2590 * With split pmd lock we also need to move preallocated in pmd_move_must_withdraw() 3300 * the whole access to the hugepage during the split (which in __split_huge_pmd_locked() 3316 * remain set at all times on the pmd until the split is in __split_huge_pmd_locked() 3337 * Without "freeze", we'll simply split the PMD, propagating the in __split_huge_pmd_locked() 3346 * In case we cannot clear PageAnonExclusive(), split th in __split_huge_pmd_locked() 4661 int split = 0; deferred_split_scan() local 4725 unsigned long total = 0, split = 0; split_huge_pages_all() local 4790 unsigned long total = 0, split = 0; split_huge_pages_pid() local 4908 unsigned long total = 0, split = 0; split_huge_pages_in_file() local [all...] |
| /linux/arch/x86/kernel/cpu/ |
| H A D | bus_lock.c | 3 #define pr_fmt(fmt) "x86/split lock detection: " fmt 24 * Default to sld_off because most systems do not support split lock detection. 26 * split lock/bus lock detect, unless there is a command line override. 179 * #DB for bus lock handles ratelimit and #AC for split lock is in split_lock_init() 232 * If a CPU goes offline with pending delayed work to re-enable split lock 235 * different CPU probably won't re-enable split lock detection. This is a 237 * left running with split lock detection disabled. 262 * sleep 10ms before trying to execute split lock. in split_lock_warn() 278 /* Disable split lock detection on this CPU to make progress */ in split_lock_warn() 314 * Warn and fatal are handled by #AC for split lock if #AC for in bus_lock_init() [all …]
|
| /linux/drivers/virtio/ |
| H A D | virtio_ring.c | 214 * IN_ORDER and SPLIT, it's the next available buffer 234 * for split ring, it just contains last used index 241 /* With IN_ORDER and SPLIT, last descriptor id we used to 250 /* Available for split ring */ 251 struct vring_virtqueue_split split; member 284 READ_ONCE(vq->split.vring.used->idx)); in vring_read_split_used_idx() 291 READ_ONCE(vq->split.vring.used->ring[idx].id)); in vring_read_split_used_id() 297 READ_ONCE(vq->split.vring.used->ring[idx].len)); in vring_read_split_used_len() 303 READ_ONCE(vring_avail_event(&vq->split.vring))); in vring_read_split_avail_event() 566 * Split ring specific functions - *_split(). [all …]
|
| /linux/block/ |
| H A D | blk-merge.c | 109 * @bio: the original bio to be submitted and split 110 * @split_sectors: the sector count at which to split 111 * @bs: the bio set used for allocating the new split bio 122 struct bio *split = bio_split(bio, split_sectors, GFP_NOIO, bs); in bio_submit_split_bioset() local 124 if (IS_ERR(split)) { in bio_submit_split_bioset() 125 bio_endio_status(bio, errno_to_blk_status(PTR_ERR(split))); in bio_submit_split_bioset() 129 bio_chain(split, bio); in bio_submit_split_bioset() 130 trace_block_split(split, bio->bi_iter.bi_sector); in bio_submit_split_bioset() 138 return split; in bio_submit_split_bioset() 263 * bvec_split_segs - verify whether or not a bvec should be split in the middle [all …]
|
| /linux/arch/x86/events/amd/ |
| H A D | lbr.c | 49 } split; member 60 } split; member 183 if ((!entry.to.split.valid && !entry.to.split.spec) || in amd_pmu_lbr_read() 184 entry.to.split.reserved) in amd_pmu_lbr_read() 203 idx = (entry.to.split.valid << 1) | entry.to.split.spec; in amd_pmu_lbr_read() 206 .from = sign_ext_branch_ip(entry.from.split.ip), in amd_pmu_lbr_read() 207 .to = sign_ext_branch_ip(entry.to.split.ip), in amd_pmu_lbr_read() 208 .mispred = entry.from.split.mispredict, in amd_pmu_lbr_read() 209 .predicted = !entry.from.split.mispredict, in amd_pmu_lbr_read() 434 x86_pmu.lbr_nr = ebx.split.lbr_v2_stack_sz; in amd_pmu_lbr_init()
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_ldm.c | 90 * Registers in the splits array all the split points found in the first 311 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_fillHashTable() local 312 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_fillHashTable() 316 entry.offset = (U32)(split - base); in ZSTD_ldm_fillHashTable() 391 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_generateSequences_internal() local 392 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_generateSequences_internal() 395 candidates[n].split = split; in ZSTD_ldm_generateSequences_internal() 406 BYTE const* const split = candidates[n].split; in ZSTD_ldm_generateSequences_internal() local 414 newEntry.offset = (U32)(split - base); in ZSTD_ldm_generateSequences_internal() 417 /* If a split point would generate a sequence overlapping with in ZSTD_ldm_generateSequences_internal() [all …]
|
| /linux/tools/objtool/tests/generic/ |
| H A D | test-cold-function.sh | 4 # Both halves of a split function belong to the patch; carrying only the hot 9 # Clang does not split functions into a cold part at all, so there is nothing 10 # for this test to look at there. A given gcc may or may not split, which is a 12 gcc_only "clang does not split functions into a cold part" 25 probe_skip "compiler did not split the function into a cold part"
|
| /linux/tools/perf/pmu-events/arch/x86/goldmont/ |
| H A D | memory.json | 12 "BriefDescription": "Load uops that split a page (Precise event capable)", 17 …"PublicDescription": "Counts when a memory load of a uop spans a page boundary (a split) is retire… 22 "BriefDescription": "Store uops that split a page (Precise event capable)", 27 …"PublicDescription": "Counts when a memory store of a uop spans a page boundary (a split) is retir…
|
| /linux/tools/perf/pmu-events/arch/x86/goldmontplus/ |
| H A D | memory.json | 12 "BriefDescription": "Load uops that split a page (Precise event capable)", 17 …"PublicDescription": "Counts when a memory load of a uop spans a page boundary (a split) is retire… 22 "BriefDescription": "Store uops that split a page (Precise event capable)", 27 …"PublicDescription": "Counts when a memory store of a uop spans a page boundary (a split) is retir…
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_format_caps.c | 69 /* SPLIT + SPARSE + YTR RGB only */ 70 /* split mode is only allowed for sparse mode */ 76 /* TILED + SC + (SPLIT+SPARSE | SPARSE) + (YTR) */ 84 /* SPLIT + SPARSE + (YTR) */ 85 /* split mode is only allowed for sparse mode */ 87 /* TILED + SC + (SPLIT+SPARSE | SPARSE) + YTR */
|
| /linux/drivers/crypto/caam/ |
| H A D | key_gen.h | 10 * split_key_len - Compute MDHA split key length for a given algorithm 14 * Return: MDHA split key length 28 * split_key_pad_len - Compute MDHA split key pad length for a given algorithm 32 * Return: MDHA split key pad length
|
| /linux/tools/lib/bpf/ |
| H A D | btf.h | 69 * creates non-split BTF. 95 * ELF BTF section except with a base BTF on top of which split BTF should be 102 * `btf__new_empty()` and creates non-split BTF. 133 * @brief **btf__distill_base()** creates new versions of the split BTF 135 * needed to improve robustness of the split BTF to small changes in base BTF. 136 * When that split BTF is loaded against a (possibly changed) base, this 139 * @param src_btf source split BTF object 141 * @param new_split_btf pointer to where the new split BTF object pointer will be stored 144 * Both the new split and its associated new base BTF must be freed by 148 * will point at new base/split BT [all...] |