| /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/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/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/arch/powerpc/platforms/powernv/ |
| H A D | subcore.c | 30 * Split/unsplit procedure: 32 * A core can be in one of three states, unsplit, 2-way split, and 4-way split. 39 * 2-way split | 2 40 * 4-way split | 4 42 * The core is split along thread boundaries, the mapping between subcores and 52 * 2-way split: 59 * 4-way split: 70 * It is not possible to transition between either of the split states, the 74 * | | <----> | 2-way split | 78 * | | <----> | 4-way split | [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/arch/x86/kernel/cpu/ |
| H A D | cacheinfo.c | 53 } split; member 62 } split; member 69 } split; member 207 eax->split.is_self_initializing = 1; in legacy_amd_cpuid4() 208 eax->split.type = types[index]; in legacy_amd_cpuid4() 209 eax->split.level = levels[index]; in legacy_amd_cpuid4() 210 eax->split.num_threads_sharing = 0; in legacy_amd_cpuid4() 211 eax->split.num_cores_on_die = topology_num_cores_per_package(); in legacy_amd_cpuid4() 214 eax->split.is_fully_associative = 1; in legacy_amd_cpuid4() 216 ebx->split.coherency_line_size = line_size - 1; in legacy_amd_cpuid4() [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 | 105 line = dot_lines[0].split() 114 split_line = line.split() 126 line = line.split() 155 split_line = line.split() 202 split_line = line.split() 208 # so split them. 210 for i in event.split("\\n"): 214 ev, *constr = i.split(";") 225 state = line.split("label")[1].split('"')[ [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/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 98 /* map describing range to split */ 104 /* no of extents expected after split */ 108 * expected state of extents after split. We will never split into more 361 * ext4_map_create_blocks() to do actual split and conversion. This is easier 512 { .desc = "split unwrit extent to 2 extents and convert 1st half writ", [all …]
|
| /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/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 | 699 DEFINE_MTHP_STAT_ATTR(split, MTHP_STAT_SPLIT); 1190 * deferred split queue, and during this period the THPs in the deferred in split_queue_lock() 1191 * split queue will be hidden from the shrinker side. in split_queue_lock() 1226 * The memcg destruction path is acquiring the split queue lock for in folio_split_queue_lock() 1985 * under splitting since we don't split the page itself, only pmd to in copy_huge_pmd() 2004 /* Page maybe pinned: split and retry the fault on PTEs. */ in copy_huge_pmd() 2065 * folio_try_dup_anon_rmap_*() and split if duplicating fails. in copy_huge_pud() 2379 * If user want to discard part-pages of THP, split it so MADV_FREE in madvise_free_huge_pmd() 2533 * With split pmd lock we also need to move preallocated in pmd_move_must_withdraw() 3206 * the whole access to the hugepage during the split (which 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 517 * Split ring specific functions - *_split(). 639 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split() 651 desc = vq->split.vring.desc; in virtqueue_add_split() 652 extra = vq->split.desc_extra; in virtqueue_add_split() 721 virtqueue_add_desc_split(vq, vq->split.vring.desc, in virtqueue_add_split() [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/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
|
| H A D | key_gen.c | 31 get a split ipad/opad key 33 Split key generation----------------------------------------------- 59 dev_dbg(jrdev, "split keylen %d split keylen padded %d\n", in gen_split_key() 97 * FIFO_STORE with the explicit split-key content store in gen_split_key()
|
| /linux/arch/x86/events/amd/ |
| H A D | uncore.c | 73 } split; member 455 return info->split.cid; in amd_uncore_ctx_cid() 462 return info->split.gid; in amd_uncore_ctx_gid() 469 return info->split.num_pmcs; in amd_uncore_ctx_num_pmcs() 700 info.split.aux_data = 0; in amd_uncore_df_ctx_scan() 701 info.split.num_pmcs = NUM_COUNTERS_NB; in amd_uncore_df_ctx_scan() 702 info.split.gid = 0; in amd_uncore_df_ctx_scan() 703 info.split.cid = topology_logical_package_id(cpu); in amd_uncore_df_ctx_scan() 707 info.split.num_pmcs = ebx.split.num_df_pmc; in amd_uncore_df_ctx_scan() 836 info.split.aux_data = 0; in amd_uncore_l3_ctx_scan() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
| H A D | dcn20_resource.c | 1502 * @dc: DC object with resource pool info required for pipe split 1513 * Return true if split stream for ODM is possible, otherwise, return false. 1802 /* merge previously split odm pipes since mode support needs to make the decision */ in dcn20_merge_pipes_for_validate() 1831 /* merge previously mpc split pipes since mode support needs to make the decision */ in dcn20_merge_pipes_for_validate() 1864 int *split, in dcn20_validate_apply_pipe_split_flags() argument 1884 * Workaround for avoiding pipe-split in cases where we'd split in dcn20_validate_apply_pipe_split_flags() 1895 /* TODO: fix dc bugs and remove this split threshold thing */ in dcn20_validate_apply_pipe_split_flags() 1903 /* W/A: Mode timing with borders may not work well with pipe split, avoid for this corner case */ in dcn20_validate_apply_pipe_split_flags() 1920 /* Avoid split loop looks for lowest voltage level that allows most unsplit pipes possible */ in dcn20_validate_apply_pipe_split_flags() 1930 /* Impossible to not split this pipe */ in dcn20_validate_apply_pipe_split_flags() [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 …]
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-vp9.c | 132 { 158, 97, 94 }, /* a/l both not split */ 133 { 93, 24, 99 }, /* a split, l not split */ 134 { 85, 119, 44 }, /* l split, a not split */ 135 { 62, 59, 67 }, /* a/l both split */ 137 { 149, 53, 53 }, /* a/l both not split */ 138 { 94, 20, 48 }, /* a split, l not split */ 139 { 83, 53, 24 }, /* l split, a not split */ 140 { 52, 18, 18 }, /* a/l both split */ 142 { 150, 40, 39 }, /* a/l both not split */ 143 { 78, 12, 26 }, /* a split, l not split */ [all …]
|