Home
last modified time | relevance | path

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

12345678910>>...139

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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.)
93 Get the $port split ability.
94 Return: split ability, true or false.
105 def split(k, port, should_fail=False): function
107 Split $port into $k ports.
108 If should_fail == True, the split should fail. Otherwise, should pass.
110 If the $port wasn't split, the array will be empty.
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/vm/
Dsplit_page_table_lock.rst4 Split page table lock
10 scalability, split page table lock was introduced.
12 With split page table lock we have separate per-table lock to serialize
13 access to the table. At the moment we use split lock for PTE and PMD
33 Split page table lock for PTE tables is enabled compile-time if
35 If split lock is disabled, all tables guaded by mm->page_table_lock.
37 Split page table lock for PMD tables is enabled, if it's enabled for PTE
40 Hugetlb and split page table lock
43 Hugetlb can support several page sizes. We use split lock only for PMD
49 takes pmd split lock for PMD_SIZE page, mm->page_table_lock
[all …]
/kernel/linux/linux-6.6/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
27 - const: mediatek,mt6795-disp-split
28 - const: mediatek,mt8173-disp-split
43 - description: SPLIT Clock
62 split0: split@14018000 {
63 compatible = "mediatek,mt8173-disp-split";
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/fs/btrfs/
Dextent_map.c703 * are split.
710 struct extent_map *split; in btrfs_drop_extent_map_range() local
734 * because we need to split those two extent maps at the boundaries. in btrfs_drop_extent_map_range()
736 split = alloc_extent_map(); in btrfs_drop_extent_map_range()
769 * In case we split the extent map, we want to preserve the in btrfs_drop_extent_map_range()
778 * split it, we can remove it directly. in btrfs_drop_extent_map_range()
787 if (!split) { in btrfs_drop_extent_map_range()
788 split = split2; in btrfs_drop_extent_map_range()
790 if (!split) in btrfs_drop_extent_map_range()
793 split->start = em->start; in btrfs_drop_extent_map_range()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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);
238 int nsplit = 0; /* number of pages to split */ in xtSearch()
335 /* compute number of pages to split */ in xtSearch()
382 /* compute number of pages to split */ in xtSearch()
440 /* compute number of pages to split */ in xtSearch()
482 /* update number of pages to split */ in xtSearch()
535 struct xtsplit split; /* split information */ in xtInsert() local
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dsubcore.c28 * Split/unsplit procedure:
30 * A core can be in one of three states, unsplit, 2-way split, and 4-way split.
37 * 2-way split | 2
38 * 4-way split | 4
40 * The core is split along thread boundaries, the mapping between subcores and
50 * 2-way split:
57 * 4-way split:
68 * It is not possible to transition between either of the split states, the
72 * | | <----> | 2-way split |
76 * | | <----> | 4-way split |
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_ring.c117 /* Available for split ring */
137 } split; member
364 * Split ring specific functions - *_split().
451 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split()
462 desc = vq->split.vring.desc; in virtqueue_add_split()
518 vq->split.vring.desc[head].flags = cpu_to_virtio16(_vq->vdev, in virtqueue_add_split()
520 vq->split.vring.desc[head].addr = cpu_to_virtio64(_vq->vdev, in virtqueue_add_split()
523 vq->split.vring.desc[head].len = cpu_to_virtio32(_vq->vdev, in virtqueue_add_split()
533 vq->split.vring.desc[head].next); in virtqueue_add_split()
538 vq->split.desc_state[head].data = data; in virtqueue_add_split()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/fs/btrfs/tests/
Dextent-buffer-tests.c72 * space in this leaf to split the item without having to split the in test_btrfs_split_item()
77 test_err("split item failed %d", ret); in test_btrfs_split_item()
95 test_err("invalid len in the first split"); in test_btrfs_split_item()
104 "data in the buffer doesn't match what it should in the first split have='%.*s' want '%s'", in test_btrfs_split_item()
120 test_err("invalid len in the second split"); in test_btrfs_split_item()
129 "data in the buffer doesn't match what it should in the second split"); in test_btrfs_split_item()
138 test_err("second split item failed %d", ret); in test_btrfs_split_item()
152 test_err("invalid len in the first split"); in test_btrfs_split_item()
161 "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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dcake.json18 …+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw …
41 …0-9]+ bandwidth 1Kbit diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw …
64 …ited autorate-ingress diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw …
87 …+ bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 200us raw …
110 … bandwidth unlimited besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw …
133 …+ bandwidth unlimited diffserv8 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw …
156 …+ bandwidth unlimited diffserv4 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw …
179 …[0-9]+ bandwidth unlimited diffserv3 flowblind nonat nowash no-ack-filter split-gso rtt 100ms raw …
202 …cnt [0-9]+ bandwidth unlimited diffserv3 dsthost nat nowash no-ack-filter split-gso rtt 100ms raw …
225 …efcnt [0-9]+ bandwidth unlimited diffserv3 hosts nonat wash no-ack-filter split-gso rtt 100ms raw …
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/liteos_m/tools/
Dmem_analysis.py204 function_name = line.split(".text.")[1]
206 function_name = line.split(".rodata.")[1]
208 function_name = line.split(".bss.")[1]
210 function_name = line.split(".sram.text.")[1]
212 function_name = line.split(".data.")[1]
230 if len(function_name.split()) > 1:
231 strs = function_name.split()
241 char_temp = strs[3].split('(')
243 lib_name = char_temp[0].split('/')[-1]
254 if len(line.strip().split()) != 3:
[all …]
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/security/apparmor/
Dlib.c29 * aa_split_fqname - split a fqname into a profile and namespace name
35 * Split a namespace name from a profile name (see policy.c for naming
48 char *split = strchr(&name[1], ':'); in aa_split_fqname() local
50 if (split) { in aa_split_fqname()
52 *split++ = 0; in aa_split_fqname()
53 if (strncmp(split, "//", 2) == 0) in aa_split_fqname()
54 split += 2; in aa_split_fqname()
55 name = skip_spaces(split); in aa_split_fqname()
96 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname() local
100 if (split) { in aa_splitn_fqname()
[all …]
/kernel/linux/linux-6.6/block/
Dblk-merge.c212 * bvec_split_segs - verify whether or not a bvec should be split in the middle
213 * @lim: [in] queue limits to split based on
225 * big to fit in a single segment and hence that it has to be split in the
255 /* tell the caller to split the bvec if it is too big to fit */ in bvec_split_segs()
268 * bio_split_rw - split a bio in two bios
269 * @bio: [in] bio to be split
270 * @lim: [in] queue limits to split based on
285 * split bio has finished.
300 goto split; in bio_split_rw()
310 goto split; in bio_split_rw()
[all …]

12345678910>>...139