Home
last modified time | relevance | path

Searched full:split (Results 1 – 25 of 2259) sorted by relevance

12345678910>>...91

/linux-6.15/drivers/media/dvb-core/
Ddvb_ringbuffer.c136 size_t split; in dvb_ringbuffer_read_user() local
138 split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; in dvb_ringbuffer_read_user()
139 if (split > 0) { in dvb_ringbuffer_read_user()
140 if (copy_to_user(buf, rbuf->data+rbuf->pread, split)) in dvb_ringbuffer_read_user()
142 buf += split; in dvb_ringbuffer_read_user()
143 todo -= split; in dvb_ringbuffer_read_user()
162 size_t split; in dvb_ringbuffer_read() local
164 split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; in dvb_ringbuffer_read()
165 if (split > 0) { in dvb_ringbuffer_read()
166 memcpy(buf, rbuf->data+rbuf->pread, split); in dvb_ringbuffer_read()
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/hw/
Ddevlink_port_split.py12 # 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-6.15/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,split.yaml4 $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-6.15/lib/
Dsg_split.c81 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-6.15/Documentation/mm/
Dsplit_page_table_lock.rst2 Split page table lock
8 scalability, split page table lock was introduced.
10 With split page table lock we have separate per-table lock to serialize
11 access to the table. At the moment we use split lock for PTE and PMD
40 Split page table lock for PTE tables is enabled compile-time if
42 If split lock is disabled, all tables are guarded by mm->page_table_lock.
44 Split page table lock for PMD tables is enabled, if it's enabled for PTE
47 Hugetlb and split page table lock
50 Hugetlb can support several page sizes. We use split lock only for PMD
56 takes pmd split lock for PMD_SIZE page, mm->page_table_lock
[all …]
/linux-6.15/fs/jfs/
Djfs_xtree.c96 uint split; member
109 struct xtsplit * split, struct btstack * btstack);
111 static int xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split,
115 struct xtsplit * split, struct metapage ** rmpp);
227 int nsplit = 0; /* number of pages to split */ in xtSearch()
324 /* compute number of pages to split */ in xtSearch()
371 /* compute number of pages to split */ in xtSearch()
429 /* compute number of pages to split */ in xtSearch()
471 /* update number of pages to split */ in xtSearch()
524 struct xtsplit split; /* split information */ in xtInsert() local
[all …]
Djfs_dtree.c32 * it is extended rather than split (its size is doubled),
33 * until its length becoms 4 KBytes, from then the extent is split
63 * (e.g., if split occurs <abc> and <aBd>, <ABD> trather than <aB>
64 * should be made the router key for the split)
101 /* dtree split parameter */
141 struct dtsplit * split, struct btstack * btstack);
143 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split,
147 struct dtsplit * split, struct btstack * btstack);
150 struct dtsplit * split, struct metapage ** rmpp);
603 /* init level count for max pages to split */ in dtSearch()
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/
Dhds.py17 if 'tcp-data-split' not in rings:
18 raise KsftSkipEx('tcp-data-split not supported by device')
19 return rings['tcp-data-split']
63 netnl.rings_set({'header': {'dev-index': cfg.ifindex}, 'tcp-data-split': 'enabled'})
73 if 'tcp-data-split' not in rings:
74 raise KsftSkipEx('tcp-data-split not supported by device')
76 ksft_eq('enabled', rings['tcp-data-split'])
80 netnl.rings_set({'header': {'dev-index': cfg.ifindex}, 'tcp-data-split': 'disabled'})
90 if 'tcp-data-split' not in rings:
91 raise KsftSkipEx('tcp-data-split not supported by device')
[all …]
/linux-6.15/arch/powerpc/platforms/powernv/
Dsubcore.c30 * 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-6.15/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dcake.json17 …+ 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-6.15/tools/verification/dot2/
Dautomata.py55 line = dot_lines[cursor].split()
65 while self.__dot_lines[cursor].split()[0] != "{node":
71 while self.__dot_lines[cursor].split()[0] != "{node":
73 while self.__dot_lines[cursor].split()[0] == "{node":
88 while self.__dot_lines[cursor].split()[0] == "{node":
89 line = self.__dot_lines[cursor].split()
128 if self.__dot_lines[cursor].split()[1] == "->":
129 line = self.__dot_lines[cursor].split()
134 # so split them.
137 for i in event.split():
[all …]
/linux-6.15/fs/btrfs/tests/
Dextent-buffer-tests.c76 * 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-6.15/fs/btrfs/
Dextent_map.c796 * are split.
803 struct extent_map *split; in btrfs_drop_extent_map_range() local
827 * because we need to split those two extent maps at the boundaries. in btrfs_drop_extent_map_range()
829 split = alloc_extent_map(); in btrfs_drop_extent_map_range()
860 * In case we split the extent map, we want to preserve the in btrfs_drop_extent_map_range()
869 * split it, we can remove it directly. in btrfs_drop_extent_map_range()
877 if (!split) { in btrfs_drop_extent_map_range()
878 split = split2; in btrfs_drop_extent_map_range()
880 if (!split) in btrfs_drop_extent_map_range()
883 split->start = em->start; in btrfs_drop_extent_map_range()
[all …]
/linux-6.15/tools/testing/selftests/vDSO/
Dvdso_test_chacha.c98 for (unsigned int split = 0; split < BLOCKS; ++split) { in main() local
101 if (split) in main()
102 __arch_chacha20_blocks_nostack(output2, key, counter2, split); in main()
103 __arch_chacha20_blocks_nostack(output2 + split * BLOCK_SIZE, key, counter2, BLOCKS - split); in main()
105 ksft_exit_fail_msg("Main loop outputs do not match on trial %u, split %u\n", trial, split); in main()
107 ksft_exit_fail_msg("Main loop counters do not match on trial %u, split %u\n", trial, split); in main()
/linux-6.15/drivers/virtio/
Dvirtio_ring.c189 * for split ring, it just contains last used index
200 /* Available for split ring */
201 struct vring_virtqueue_split split; member
441 * Split ring specific functions - *_split().
567 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split()
579 desc = vq->split.vring.desc; in virtqueue_add_split()
580 extra = vq->split.desc_extra; in virtqueue_add_split()
637 vq->split.desc_extra[prev & (vq->split.vring.num - 1)].flags &= in virtqueue_add_split()
648 virtqueue_add_desc_split(_vq, vq->split.vring.desc, in virtqueue_add_split()
649 vq->split.desc_extra, in virtqueue_add_split()
[all …]
/linux-6.15/drivers/net/ethernet/intel/ice/devlink/
Dport.c44 * ice_devlink_port_options_print - Print available port split options
45 * @pf: the PF to print split port options
47 * Prints a table with available port split options and max port speeds
80 dev_dbg(dev, "Available port split options and max port speeds (Gbps):\n"); in ice_devlink_port_options_print()
81 dev_dbg(dev, "Status Split Quad 0 Quad 1\n"); in ice_devlink_port_options_print()
116 * @pf: the PF to print split port options
134 NL_SET_ERR_MSG_MOD(extack, "Port split request failed"); in ice_devlink_aq_set_port_option()
150 NL_SET_ERR_MSG_MOD(extack, "Port split request failed to save data"); in ice_devlink_aq_set_port_option()
157 NL_SET_ERR_MSG_MOD(extack, "Reboot required to finish port split"); in ice_devlink_aq_set_port_option()
165 * @count: number of ports to split to
[all …]
/linux-6.15/tools/testing/selftests/mm/
Dsplit_huge_page_test.c118 ksft_exit_fail_msg("No RssAnon is allocated before split\n"); in verify_rss_anon_split_huge_page_all_zeroes()
120 /* split all THPs */ in verify_rss_anon_split_huge_page_all_zeroes()
129 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in verify_rss_anon_split_huge_page_all_zeroes()
145 ksft_test_result_pass("Split zero filled huge pages successful\n"); in split_pmd_zero_pages()
167 /* split all THPs */ in split_pmd_thp_to_order()
177 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in split_pmd_thp_to_order()
179 ksft_test_result_pass("Split huge pages to order %d successful\n", order); in split_pmd_thp_to_order()
242 /* split all remapped THPs */ in split_pte_mapped_thp()
258 ksft_exit_fail_msg("Still %ld THPs not split\n", thp_size); in split_pte_mapped_thp()
260 ksft_test_result_pass("Split PTE-mapped huge pages successful\n"); in split_pte_mapped_thp()
[all …]
/linux-6.15/fs/iomap/
Dioend.c148 * Split up to the first @max_len bytes from @ioend if the ioend covers more
151 * If @is_append is set, the split will be based on the hardware limits for
166 struct bio *split; in iomap_split_ioend() local
185 /* ensure the split ioend is still block size aligned */ in iomap_split_ioend()
189 split = bio_split(bio, sector_offset, GFP_NOFS, &iomap_ioend_bioset); in iomap_split_ioend()
190 if (IS_ERR(split)) in iomap_split_ioend()
191 return ERR_CAST(split); in iomap_split_ioend()
192 split->bi_private = bio->bi_private; in iomap_split_ioend()
193 split->bi_end_io = bio->bi_end_io; in iomap_split_ioend()
195 split_ioend = iomap_init_ioend(ioend->io_inode, split, ioend->io_offset, in iomap_split_ioend()
/linux-6.15/arch/x86/kernel/cpu/
Dbus_lock.c3 #define pr_fmt(fmt) "x86/split lock detection: " fmt
22 * Default to sld_off because most systems do not support split lock detection.
24 * split lock/bus lock detect, unless there is a command line override.
171 * #DB for bus lock handles ratelimit and #AC for split lock is in split_lock_init()
224 * If a CPU goes offline with pending delayed work to re-enable split lock
227 * different CPU probably won't re-enable split lock detection. This is a
229 * left running with split lock detection disabled.
254 * sleep 10ms before trying to execute split lock. in split_lock_warn()
270 /* Disable split lock detection on this CPU to make progress */ in split_lock_warn()
306 * Warn and fatal are handled by #AC for split lock if #AC for in bus_lock_init()
[all …]
Dcacheinfo.c145 } split; member
154 } split; member
161 } split; member
291 eax->split.is_self_initializing = 1; in amd_cpuid4()
292 eax->split.type = types[leaf]; in amd_cpuid4()
293 eax->split.level = levels[leaf]; in amd_cpuid4()
294 eax->split.num_threads_sharing = 0; in amd_cpuid4()
295 eax->split.num_cores_on_die = topology_num_cores_per_package(); in amd_cpuid4()
299 eax->split.is_fully_associative = 1; in amd_cpuid4()
300 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4()
[all …]
/linux-6.15/Documentation/arch/x86/
Dbuslock.rst16 A split lock is any atomic operation whose operand crosses two cache lines.
20 A bus lock is acquired through either split locked access to writeback (WB)
29 mechanisms to detect split locks and bus locks. Some AMD processors also
32 #AC exception for split lock detection
35 Beginning with the Tremont Atom CPU split lock operations may raise an
36 Alignment Check (#AC) exception when a split lock operation is attempted.
52 |split_lock_detect=|#AC for split lock |#DB for bus lock |
61 | |split lock in parallel. | |
90 generating split lock and bus lock to block the hard real time code to
103 Disable checking for split lock and bus lock. This option can be useful if
/linux-6.15/mm/
Dhuge_memory.c629 DEFINE_MTHP_STAT_ATTR(split, MTHP_STAT_SPLIT);
1765 * under splitting since we don't split the page itself, only pmd to in copy_huge_pmd()
1784 /* Page maybe pinned: split and retry the fault on PTEs. */ in copy_huge_pmd()
1845 * folio_try_dup_anon_rmap_*() and split if duplicating fails. in copy_huge_pud()
2163 * If user want to discard part-pages of THP, split it so MADV_FREE in madvise_free_huge_pmd()
2278 * With split pmd lock we also need to move preallocated in pmd_move_must_withdraw()
2936 * the whole access to the hugepage during the split (which in __split_huge_pmd_locked()
2952 * remain set at all times on the pmd until the split is in __split_huge_pmd_locked()
2973 * Without "freeze", we'll simply split the PMD, propagating the in __split_huge_pmd_locked()
2982 * In case we cannot clear PageAnonExclusive(), split the PMD in __split_huge_pmd_locked()
[all …]
/linux-6.15/block/
Dblk-merge.c114 struct bio *split; in bio_submit_split() local
116 split = bio_split(bio, split_sectors, GFP_NOIO, in bio_submit_split()
118 if (IS_ERR(split)) { in bio_submit_split()
119 split_sectors = PTR_ERR(split); in bio_submit_split()
122 split->bi_opf |= REQ_NOMERGE; in bio_submit_split()
123 blkcg_bio_issue_init(split); in bio_submit_split()
124 bio_chain(split, bio); in bio_submit_split()
125 trace_block_split(split, bio->bi_iter.bi_sector); in bio_submit_split()
128 return split; in bio_submit_split()
250 * bvec_split_segs - verify whether or not a bvec should be split in the middle
[all …]
/linux-6.15/lib/zstd/compress/
Dzstd_ldm.c90 * 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-6.15/tools/perf/pmu-events/arch/x86/goldmont/
Dmemory.json12 "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…

12345678910>>...91