| /kernel/linux/linux-5.10/drivers/media/dvb-core/ |
| D | dvb_ringbuffer.c | 136 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-4.19/drivers/media/dvb-core/ |
| D | dvb_ringbuffer.c | 136 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/ |
| 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.) 91 Get the $port split ability. 92 Return: split ability, true or false. 103 def split(k, port, should_fail=False): function 105 Split $port into $k ports. 106 If should_fail == True, the split should fail. Otherwise, should pass. 108 If the $port wasn't split, the array will be empty. [all …]
|
| /kernel/linux/linux-5.10/Documentation/vm/ |
| D | split_page_table_lock.rst | 4 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-4.19/Documentation/vm/ |
| D | split_page_table_lock.rst | 4 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-4.19/lib/ |
| D | sg_split.c | 83 struct sg_splitter *split; in sg_split_phys() local 85 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_phys() 86 in_sg = split->in_sg0; in sg_split_phys() 87 out_sg = split->out_sg; in sg_split_phys() 88 for (j = 0; j < split->nents; j++, out_sg++) { in sg_split_phys() 91 out_sg->offset += split->skip_sg0; in sg_split_phys() 92 out_sg->length -= split->skip_sg0; in sg_split_phys() 100 out_sg[-1].length = split->length_last_sg; in sg_split_phys() 109 struct sg_splitter *split; in sg_split_mapped() local 111 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_mapped() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| 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() 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-4.19/fs/jfs/ |
| D | jfs_xtree.c | 109 uint split; member 122 struct xtsplit * split, struct btstack * btstack); 124 static int xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split, 128 struct xtsplit * split, struct metapage ** rmpp); 251 int nsplit = 0; /* number of pages to split */ in xtSearch() 348 /* compute number of pages to split */ in xtSearch() 395 /* compute number of pages to split */ in xtSearch() 453 /* compute number of pages to split */ in xtSearch() 495 /* update number of pages to split */ in xtSearch() 548 struct xtsplit split; /* split information */ in xtInsert() local [all …]
|
| D | jfs_dtree.c | 45 * it is extended rather than split (its size is doubled), 46 * until its length becoms 4 KBytes, from then the extent is split 76 * (e.g., if split occurs <abc> and <aBd>, <ABD> trather than <aB> 77 * should be made the router key for the split) 114 /* dtree split parameter */ 153 struct dtsplit * split, struct btstack * btstack); 155 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split, 159 struct dtsplit * split, struct btstack * btstack); 162 struct dtsplit * split, struct metapage ** rmpp); 615 /* init level count for max pages to split */ in dtSearch() [all …]
|
| /kernel/linux/linux-5.10/fs/jfs/ |
| D | jfs_xtree.c | 96 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 …]
|
| D | jfs_dtree.c | 32 * 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 …]
|
| /kernel/linux/linux-4.19/arch/powerpc/platforms/powernv/ |
| D | subcore.c | 32 * Split/unsplit procedure: 34 * A core can be in one of three states, unsplit, 2-way split, and 4-way split. 41 * 2-way split | 2 42 * 4-way split | 4 44 * The core is split along thread boundaries, the mapping between subcores and 54 * 2-way split: 61 * 4-way split: 72 * It is not possible to transition between either of the split states, the 76 * | | <----> | 2-way split | 80 * | | <----> | 4-way split | [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
| D | subcore.c | 28 * 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-5.10/drivers/virtio/ |
| D | virtio_ring.c | 117 /* 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-4.19/fs/btrfs/tests/ |
| D | extent-buffer-tests.c | 73 * space in this leaf to split the item without having to split the in test_btrfs_split_item() 78 test_err("split item failed %d", ret); in test_btrfs_split_item() 96 test_err("invalid len in the first split"); in test_btrfs_split_item() 105 "data in the buffer doesn't match what it should in the first split have='%.*s' want '%s'", in test_btrfs_split_item() 121 test_err("invalid len in the second split"); in test_btrfs_split_item() 130 "data in the buffer doesn't match what it should in the second split"); in test_btrfs_split_item() 139 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() 177 test_err("invalid len in the second split"); in test_btrfs_split_item() [all …]
|
| /kernel/linux/linux-5.10/fs/btrfs/tests/ |
| D | extent-buffer-tests.c | 72 * 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/liteos_m/tools/ |
| D | mem_analysis.py | 204 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-5.10/security/apparmor/ |
| D | lib.c | 29 * 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-4.19/security/apparmor/ |
| D | lib.c | 33 * aa_split_fqname - split a fqname into a profile and namespace name 39 * Split a namespace name from a profile name (see policy.c for naming 52 char *split = strchr(&name[1], ':'); in aa_split_fqname() local 54 if (split) { in aa_split_fqname() 56 *split++ = 0; in aa_split_fqname() 57 if (strncmp(split, "//", 2) == 0) in aa_split_fqname() 58 split += 2; in aa_split_fqname() 59 name = skip_spaces(split); in aa_split_fqname() 100 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname() local 104 if (split) { in aa_splitn_fqname() [all …]
|
| /kernel/linux/linux-4.19/arch/x86/kernel/cpu/ |
| D | cacheinfo.c | 136 } split; member 145 } split; member 152 } split; member 283 eax->split.is_self_initializing = 1; in amd_cpuid4() 284 eax->split.type = types[leaf]; in amd_cpuid4() 285 eax->split.level = levels[leaf]; in amd_cpuid4() 286 eax->split.num_threads_sharing = 0; in amd_cpuid4() 287 eax->split.num_cores_on_die = __this_cpu_read(cpu_info.x86_max_cores) - 1; in amd_cpuid4() 291 eax->split.is_fully_associative = 1; in amd_cpuid4() 292 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
| D | cacheinfo.c | 137 } split; member 146 } split; member 153 } split; member 285 eax->split.is_self_initializing = 1; in amd_cpuid4() 286 eax->split.type = types[leaf]; in amd_cpuid4() 287 eax->split.level = levels[leaf]; in amd_cpuid4() 288 eax->split.num_threads_sharing = 0; in amd_cpuid4() 289 eax->split.num_cores_on_die = __this_cpu_read(cpu_info.x86_max_cores) - 1; in amd_cpuid4() 293 eax->split.is_fully_associative = 1; in amd_cpuid4() 294 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4() [all …]
|
| /kernel/linux/linux-4.19/arch/nds32/ |
| D | Kconfig.cpu | 133 Depending on the selected kernel/user memory split, minimum 149 prompt "Memory split" 153 Select the desired split between kernel and user memory. 159 bool "3G/1G user/kernel split" 161 bool "3G/1G user/kernel split (for full 1G low memory)" 163 bool "2G/2G user/kernel split" 165 bool "1G/3G user/kernel split"
|
| /kernel/liteos_a/tools/scripts/parse_exc/ |
| D | parse_excinfo.py | 64 strlist = line.split(' ') 78 strlist = lines.split() 84 ret = ret.split('\n') 102 strlist = lines.split() 105 ret = ret.split('\n') 130 strlist = lines.split() 141 ret = ret.split('\n') 159 strlist = lines.split() 166 res = res.split('\n') 192 strlist = lines.split() [all …]
|
| /kernel/linux/linux-5.10/block/ |
| D | blk-merge.c | 178 * bvec_split_segs - verify whether or not a bvec should be split in the middle 191 * big to fit in a single segment and hence that it has to be split in the 222 /* tell the caller to split the bvec if it is too big to fit */ in bvec_split_segs() 227 * blk_bio_segment_split - split a bio in two bios 229 * @bio: [in] bio to be split 243 * split bio has finished. 262 goto split; in blk_bio_segment_split() 271 goto split; in blk_bio_segment_split() 280 split: in blk_bio_segment_split() 286 * __blk_queue_split - split a bio and submit the second half [all …]
|
| /kernel/linux/linux-5.10/arch/nds32/ |
| D | Kconfig.cpu | 168 Depending on the selected kernel/user memory split, minimum 191 prompt "Memory split" 195 Select the desired split between kernel and user memory. 201 bool "3G/1G user/kernel split" 203 bool "3G/1G user/kernel split (for full 1G low memory)" 205 bool "2G/2G user/kernel split" 207 bool "1G/3G user/kernel split"
|