Home
last modified time | relevance | path

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

12345678910>>...84

/linux-6.8/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.8/tools/testing/selftests/net/
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.8/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
59 - description: SPLIT Clock
72 const: mediatek,mt8195-mdp3-split
[all …]
/linux-6.8/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()
98 out_sg[-1].length = split->length_last_sg; in sg_split_phys()
107 struct sg_splitter *split; in sg_split_mapped() local
109 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_mapped()
[all …]
/linux-6.8/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
36 Split page table lock for PTE tables is enabled compile-time if
38 If split lock is disabled, all tables are guarded by mm->page_table_lock.
40 Split page table lock for PMD tables is enabled, if it's enabled for PTE
43 Hugetlb and split page table lock
46 Hugetlb can support several page sizes. We use split lock only for PMD
52 takes pmd split lock for PMD_SIZE page, mm->page_table_lock
[all …]
/linux-6.8/fs/btrfs/
Dextent_map.c673 * are split.
680 struct extent_map *split; in btrfs_drop_extent_map_range() local
704 * because we need to split those two extent maps at the boundaries. in btrfs_drop_extent_map_range()
706 split = alloc_extent_map(); in btrfs_drop_extent_map_range()
738 * In case we split the extent map, we want to preserve the in btrfs_drop_extent_map_range()
747 * split it, we can remove it directly. in btrfs_drop_extent_map_range()
756 if (!split) { in btrfs_drop_extent_map_range()
757 split = split2; in btrfs_drop_extent_map_range()
759 if (!split) in btrfs_drop_extent_map_range()
762 split->start = em->start; in btrfs_drop_extent_map_range()
[all …]
/linux-6.8/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 */
140 struct dtsplit * split, struct btstack * btstack);
142 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split,
146 struct dtsplit * split, struct btstack * btstack);
149 struct dtsplit * split, struct metapage ** rmpp);
602 /* init level count for max pages to split */ in dtSearch()
[all …]
/linux-6.8/tools/verification/dot2/
Dautomata.py54 line = dot_lines[cursor].split()
64 while self.__dot_lines[cursor].split()[0] != "{node":
70 while self.__dot_lines[cursor].split()[0] != "{node":
72 while self.__dot_lines[cursor].split()[0] == "{node":
87 while self.__dot_lines[cursor].split()[0] == "{node":
88 line = self.__dot_lines[cursor].split()
127 if self.__dot_lines[cursor].split()[1] == "->":
128 line = self.__dot_lines[cursor].split()
133 # so split them.
136 for i in event.split():
[all …]
/linux-6.8/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.8/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.8/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.8/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
440 * Split ring specific functions - *_split().
463 struct vring_desc_extra *extra = vq->split.desc_extra; in vring_unmap_one_split()
524 struct vring_desc_extra *extra = vring->split.desc_extra; in virtqueue_add_desc_split()
580 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split()
591 desc = vq->split.vring.desc; in virtqueue_add_split()
647 vq->split.desc_extra[prev & (vq->split.vring.num - 1)].flags &= in virtqueue_add_split()
662 virtqueue_add_desc_split(_vq, vq->split.vring.desc, in virtqueue_add_split()
[all …]
/linux-6.8/security/apparmor/
Dlib.c49 * aa_split_fqname - split a fqname into a profile and namespace name
55 * Split a namespace name from a profile name (see policy.c for naming
68 char *split = strchr(&name[1], ':'); in aa_split_fqname() local
70 if (split) { in aa_split_fqname()
72 *split++ = 0; in aa_split_fqname()
73 if (strncmp(split, "//", 2) == 0) in aa_split_fqname()
74 split += 2; in aa_split_fqname()
75 name = skip_spaces(split); in aa_split_fqname()
117 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname() local
121 if (split) { in aa_splitn_fqname()
[all …]
/linux-6.8/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.
31 #AC exception for split lock detection
34 Beginning with the Tremont Atom CPU split lock operations may raise an
35 Alignment Check (#AC) exception when a split lock operation is attempted.
51 |split_lock_detect=|#AC for split lock |#DB for bus lock |
60 | |split lock in parallel. | |
89 generating split lock and bus lock to block the hard real time code to
102 Disable checking for split lock and bus lock. This option can be useful if
/linux-6.8/block/
Dblk-merge.c208 * bvec_split_segs - verify whether or not a bvec should be split in the middle
209 * @lim: [in] queue limits to split based on
221 * big to fit in a single segment and hence that it has to be split in the
251 /* tell the caller to split the bvec if it is too big to fit */ in bvec_split_segs()
256 * bio_split_rw - split a bio in two bios
257 * @bio: [in] bio to be split
258 * @lim: [in] queue limits to split based on
273 * split bio has finished.
288 goto split; in bio_split_rw()
298 goto split; in bio_split_rw()
[all …]
/linux-6.8/arch/x86/kernel/cpu/
Dcacheinfo.c152 } split; member
161 } split; member
168 } split; member
300 eax->split.is_self_initializing = 1; in amd_cpuid4()
301 eax->split.type = types[leaf]; in amd_cpuid4()
302 eax->split.level = levels[leaf]; in amd_cpuid4()
303 eax->split.num_threads_sharing = 0; in amd_cpuid4()
304 eax->split.num_cores_on_die = __this_cpu_read(cpu_info.x86_max_cores) - 1; in amd_cpuid4()
308 eax->split.is_fully_associative = 1; in amd_cpuid4()
309 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4()
[all …]
/linux-6.8/lib/zstd/compress/
Dzstd_ldm.c89 * Registers in the splits array all the split points found in the first
291 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_fillHashTable() local
292 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_fillHashTable()
296 entry.offset = (U32)(split - base); in ZSTD_ldm_fillHashTable()
369 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_generateSequences_internal() local
370 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_generateSequences_internal()
373 candidates[n].split = split; in ZSTD_ldm_generateSequences_internal()
384 BYTE const* const split = candidates[n].split; in ZSTD_ldm_generateSequences_internal() local
392 newEntry.offset = (U32)(split - base); in ZSTD_ldm_generateSequences_internal()
395 /* If a split point would generate a sequence overlapping with in ZSTD_ldm_generateSequences_internal()
[all …]
/linux-6.8/tools/perf/pmu-events/arch/x86/goldmont/
Dmemory.json11 "BriefDescription": "Load uops that split a page (Precise event capable)",
15 …"PublicDescription": "Counts when a memory load of a uop spans a page boundary (a split) is retire…
20 "BriefDescription": "Store uops that split a page (Precise event capable)",
24 …"PublicDescription": "Counts when a memory store of a uop spans a page boundary (a split) is retir…
/linux-6.8/tools/perf/pmu-events/arch/x86/goldmontplus/
Dmemory.json11 "BriefDescription": "Load uops that split a page (Precise event capable)",
15 …"PublicDescription": "Counts when a memory load of a uop spans a page boundary (a split) is retire…
20 "BriefDescription": "Store uops that split a page (Precise event capable)",
24 …"PublicDescription": "Counts when a memory store of a uop spans a page boundary (a split) is retir…
/linux-6.8/tools/testing/selftests/mm/
Dsplit_huge_page_test.c114 /* split all THPs */ in split_pmd_thp()
126 printf("Still AnonHugePages not split\n"); in split_pmd_thp()
130 printf("Split huge pages successful\n"); in split_pmd_thp()
204 /* split all remapped THPs */ in split_pte_mapped_thp()
221 printf("Still %ld THPs not split\n", thp_size); in split_pte_mapped_thp()
225 printf("Split PTE-mapped huge pages successful\n"); in split_pte_mapped_thp()
252 printf("Fail to create file-backed THP split testing file\n"); in split_file_backed_thp()
271 /* split the file-backed THP */ in split_file_backed_thp()
290 printf("file-backed THP split test done, please check dmesg for more information\n"); in split_file_backed_thp()
/linux-6.8/drivers/gpu/drm/arm/display/komeda/
Dkomeda_format_caps.c69 /* 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-6.8/drivers/crypto/caam/
Dkey_gen.h10 * 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-6.8/Documentation/networking/devlink/
Dice.rst166 Port split
170 a predefined set of available port split options for the whole device.
172 A system reboot is required for port split to be applied.
174 The following command will select the port split option with 4 ports:
178 $ devlink port split pci/0000:16:00.0/0 count 4
181 each ``split`` and ``unsplit`` command. The first option is the default.
185 ice 0000:16:00.0: Available port split options and max port speeds (Gbps):
186 ice 0000:16:00.0: Status Split Quad 0 Quad 1
195 There could be multiple FW port options with the same port split count. When
196 the same port split count request is issued again, the next FW port option with
[all …]
/linux-6.8/arch/x86/events/amd/
Duncore.c69 } split; member
394 return info->split.cid; in amd_uncore_ctx_cid()
401 return info->split.gid; in amd_uncore_ctx_gid()
408 return info->split.num_pmcs; in amd_uncore_ctx_num_pmcs()
639 info.split.aux_data = 0; in amd_uncore_df_ctx_scan()
640 info.split.num_pmcs = NUM_COUNTERS_NB; in amd_uncore_df_ctx_scan()
641 info.split.gid = 0; in amd_uncore_df_ctx_scan()
642 info.split.cid = topology_die_id(cpu); in amd_uncore_df_ctx_scan()
646 info.split.num_pmcs = ebx.split.num_df_pmc; in amd_uncore_df_ctx_scan()
772 info.split.aux_data = 0; in amd_uncore_l3_ctx_scan()
[all …]

12345678910>>...84