| /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/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/rust/zerocopy/src/ |
| H A D | split_at.rs | 15 /// Types that can be split in two. 98 unsafe fn split_at_unchecked(&self, l_len: usize) -> Split<&Self> { in split_at_unchecked() 100 unsafe { Split::<&Self>::new(self, l_len) } in split_at_unchecked() 103 /// Attempts to split `self` in two. 129 /// // Attempt to split `packet` at `length`. 130 /// let split = packet.split_at(packet.length as usize).unwrap(); 134 /// let (packet, rest) = split.via_immutable(); 160 fn split_at(&self, l_len: usize) -> Option<Split<&Self>> { in split_at() 166 unsafe { Split::new(self, l_len.get()) } in split_at() 183 unsafe fn split_at_mut_unchecked(&mut self, l_len: usize) -> Split<&mut Self> { in split_at_mut_unchecked() [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/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'] = rings['tcp-data-split'] 88 if 'hds-thresh' in rings or 'tcp-data-split' in rings: 97 netnl.rings_set({'header': {'dev-index': cfg.ifindex}, 'tcp-data-split': 'enabled'}) [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/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/tools/testing/selftests/mm/ |
| H A D | split_huge_page_test.c | 139 * NOTE: the function is used to check folio orders after a split is performed, 140 * so it assumes [vaddr_start, len) fully maps to after-split folios within that 304 ksft_exit_fail_msg("No RssAnon is allocated before split\n"); in allocate_zero_filled_hugepage() 306 /* split all THPs */ in allocate_zero_filled_hugepage() 315 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in verify_rss_anon_split_huge_page_all_zeroes() 331 ksft_test_result_pass("Split zero filled huge pages successful\n"); in verify_rss_anon_split_huge_page_all_zeroes() 353 /* split all THPs */ in split_pmd_thp_to_order() 367 ksft_exit_fail_msg("Unexpected THP split\n"); in split_pmd_thp_to_order() 370 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in split_pmd_thp_to_order() 372 ksft_test_result_pass("Split hug in split_pmd_thp_to_order() [all...] |
| /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->start = em->start; in btrfs_drop_extent_map_range() [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/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/mm/ |
| H A D | huge_memory.c | 786 DEFINE_MTHP_STAT_ATTR(split, MTHP_STAT_SPLIT); 1966 * under splitting since we don't split the page itself, only pmd to in copy_huge_pmd() 1985 /* Page maybe pinned: split and retry the fault on PTEs. */ in copy_huge_pmd() 2046 * folio_try_dup_anon_rmap_*() and split if duplicating fails. in copy_huge_pud() 2360 * If user want to discard part-pages of THP, split it so MADV_FREE in madvise_free_huge_pmd() 2514 * With split pmd lock we also need to move preallocated in pmd_move_must_withdraw() 3191 * the whole access to the hugepage during the split (which in __split_huge_pmd_locked() 3207 * remain set at all times on the pmd until the split is in __split_huge_pmd_locked() 3228 * Without "freeze", we'll simply split the PMD, propagating the in __split_huge_pmd_locked() 3237 * In case we cannot clear PageAnonExclusive(), split the PMD in __split_huge_pmd_locked() [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/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/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/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() 189 br[out].from = sign_ext_branch_ip(entry.from.split.ip); in amd_pmu_lbr_read() 190 br[out].to = sign_ext_branch_ip(entry.to.split.ip); in amd_pmu_lbr_read() 191 br[out].mispred = entry.from.split.mispredict; in amd_pmu_lbr_read() 210 idx = (entry.to.split.valid << 1) | entry.to.split.spec; in amd_pmu_lbr_read() 434 x86_pmu.lbr_nr = ebx.split.lbr_v2_stack_sz; in amd_pmu_lbr_init()
|
| /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/drivers/net/mctp/ |
| H A D | mctp-usblib-test.c | 381 /* A packet split over two transfers, at the MCTP payload */ 382 { "1p2x-split-payload", 1, { 16 }, 2, { 8, 8 } }, 383 /* A packet split over two transfers, at the USB transport header */ 384 { "1p2x-split-usbhdr", 1, { 16 }, 2, { 2, 14 } }, 385 /* A packet split over two transfers, at the MCTP header */ 386 { "1p2x-split-mctphdr", 1, { 16 }, 2, { 6, 10 } }, 387 /* Single packet split over 3 transfers, middle entirely continuation */ 388 { "1p3x-split", 1, { 12 }, 3, { 4, 4, 4 } }, 391 /* Two large packets, split at the worst-case for allocation, with a 394 { "2p2x-large-split", 2, { 8190, 8190 }, 2, { 8191, 8189 } },
|
| /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 BTF. Both the new split and its associated [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_distill.c | 8 /* Fabricate base, split BTF with references to base types needed; then create 9 * split BTF with distilled base BTF and ensure expectations are met: 10 * - only referenced base types from split BTF are present 12 * are represented in full in split BTF 189 /* split BTF; these types should match split BTF above from 17-28, with in test_distilled_base() 206 /* split BTF types added from original base BTF below */ in test_distilled_base() 272 * process to split BTF. in test_distilled_base() 497 /* create split reference BTF from vmlinux + split BTF with a few type references; 498 * ensure the resultant split reference BTF is as expected, containing only types 499 * needed to disambiguate references from split BTF. [all …]
|