/Linux-v5.15/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 …]
|
/Linux-v5.15/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.) 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 …]
|
/Linux-v5.15/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 are guarded 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 …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/drivers/virtio/ |
D | virtio_ring.c | 121 /* Available for split ring */ 142 } split; member 369 * Split ring specific functions - *_split(). 400 struct vring_desc_extra *extra = vq->split.desc_extra; in vring_unmap_one_split() 458 struct vring_desc_extra *extra = vring->split.desc_extra; in virtqueue_add_desc_split() 514 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split() 525 desc = vq->split.vring.desc; in virtqueue_add_split() 579 vq->split.desc_extra[prev & (vq->split.vring.num - 1)].flags &= in virtqueue_add_split() 590 virtqueue_add_desc_split(_vq, vq->split.vring.desc, in virtqueue_add_split() 602 vq->free_head = vq->split.desc_extra[head].next; in virtqueue_add_split() [all …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/Documentation/x86/ |
D | buslock.rst | 16 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 attemped. 51 |split_lock_detect=|#AC for split lock |#DB for bus lock | 83 generating split lock and bus lock to block the hard real time code to 96 Disable checking for split lock and bus lock. This option can be useful if
|
/Linux-v5.15/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 * big IO can be trival, disable iopoll when split needed. in blk_bio_segment_split() [all …]
|
/Linux-v5.15/arch/nds32/ |
D | Kconfig.cpu | 169 Depending on the selected kernel/user memory split, minimum 192 prompt "Memory split" 196 Select the desired split between kernel and user memory. 202 bool "3G/1G user/kernel split" 204 bool "3G/1G user/kernel split (for full 1G low memory)" 206 bool "2G/2G user/kernel split" 208 bool "1G/3G user/kernel split"
|
/Linux-v5.15/Documentation/devicetree/bindings/dma/ti/ |
D | k3-bcdma.yaml | 17 BCDMA includes block copy channels and Split channels. 23 Split channels can be used to service PSI-L based peripherals. 28 PDMAs can be configured via BCDMA split channel's peer registers to match with 42 0 - split channel 48 if cell 1 is 0 (split channel): 98 Array of BCDMA split tx channel resource subtypes for resource allocation 109 Array of BCDMA split rx channel resource subtypes for resource allocation
|
D | k3-pktdma.yaml | 17 PKTDMA only includes Split channels to service PSI-L based peripherals. 23 PDMAs can be configured via PKTDMA split channel's peer registers to match 61 Array of PKTDMA split tx channel resource subtypes for resource allocation 72 Array of PKTDMA split tx flow resource subtypes for resource allocation 83 Array of PKTDMA split rx channel resource subtypes for resource allocation 94 Array of PKTDMA split rx flow resource subtypes for resource allocation
|
/Linux-v5.15/tools/perf/pmu-events/arch/x86/goldmont/ |
D | memory.json | 5 …"PublicDescription": "Counts when a memory load of a uop spans a page boundary (a split) is retire… 11 "BriefDescription": "Load uops that split a page (Precise event capable)" 16 …"PublicDescription": "Counts when a memory store of a uop spans a page boundary (a split) is retir… 22 "BriefDescription": "Store uops that split a page (Precise event capable)"
|
/Linux-v5.15/tools/perf/pmu-events/arch/x86/goldmontplus/ |
D | memory.json | 5 …"PublicDescription": "Counts when a memory load of a uop spans a page boundary (a split) is retire… 12 "BriefDescription": "Load uops that split a page (Precise event capable)" 17 …"PublicDescription": "Counts when a memory store of a uop spans a page boundary (a split) is retir… 24 "BriefDescription": "Store uops that split a page (Precise event capable)"
|
/Linux-v5.15/drivers/gpu/drm/arm/display/komeda/ |
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-v5.15/drivers/crypto/caam/ |
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
|
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-v5.15/tools/testing/selftests/vm/ |
D | split_huge_page_test.c | 193 /* split all THPs */ in split_pmd_thp() 206 printf("Still %ld kB AnonHugePages not split\n", thp_size); in split_pmd_thp() 210 printf("Split huge pages successful\n"); in split_pmd_thp() 285 /* split all remapped THPs */ in split_pte_mapped_thp() 302 printf("Still %ld THPs not split\n", thp_size); in split_pte_mapped_thp() 306 printf("Split PTE-mapped huge pages successful\n"); in split_pte_mapped_thp() 333 printf("Fail to create file-backed THP split testing file\n"); in split_file_backed_thp() 352 /* split the file-backed THP */ in split_file_backed_thp() 371 printf("file-backed THP split test done, please check dmesg for more information\n"); in split_file_backed_thp()
|
/Linux-v5.15/net/sched/ |
D | sch_cbq.c | 95 struct cbq_class *split; /* Ptr to split node */ member 199 * so that it resolves to split nodes. Then packets are classified 201 * to the split node. 914 struct cbq_class *split = cl->split; in cbq_sync_defmap() local 918 if (split == NULL) in cbq_sync_defmap() 922 if (split->defaults[i] == cl && !(cl->defmap & (1<<i))) in cbq_sync_defmap() 923 split->defaults[i] = NULL; in cbq_sync_defmap() 927 int level = split->level; in cbq_sync_defmap() 929 if (split->defaults[i]) in cbq_sync_defmap() 937 if (c->split == split && c->level < level && in cbq_sync_defmap() [all …]
|
/Linux-v5.15/fs/btrfs/ |
D | file.c | 523 * [start, end]. Existing extents are split as required. 529 struct extent_map *split = NULL; in btrfs_drop_extent_cache() local 549 if (!split) in btrfs_drop_extent_cache() 550 split = alloc_extent_map(); in btrfs_drop_extent_cache() 553 if (!split || !split2) in btrfs_drop_extent_cache() 585 split->start = em->start; in btrfs_drop_extent_cache() 586 split->len = start - em->start; in btrfs_drop_extent_cache() 589 split->orig_start = em->orig_start; in btrfs_drop_extent_cache() 590 split->block_start = em->block_start; in btrfs_drop_extent_cache() 593 split->block_len = em->block_len; in btrfs_drop_extent_cache() [all …]
|
/Linux-v5.15/include/uapi/linux/ |
D | vduse.h | 138 * struct vduse_vq_state_split - split virtqueue state 166 * @split: split virtqueue state 179 struct vduse_vq_state_split split; member 231 * @split: split virtqueue state 237 struct vduse_vq_state_split split; member
|