/linux-6.6.21/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-6.6.21/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 …]
|
D | maple_tree.c | 1825 static inline bool mab_middle_node(struct maple_big_node *b_node, int split, in mab_middle_node() argument 1833 if (!b_node->slot[split] && (size >= 2 * slot_count - 1)) in mab_middle_node() 1848 unsigned char split, unsigned char slot_count) in mab_no_null_split() argument 1850 if (!b_node->slot[split]) { in mab_no_null_split() 1855 if ((split < slot_count - 1) && in mab_no_null_split() 1856 (b_node->b_end - split) > (mt_min_slots[b_node->type])) in mab_no_null_split() 1857 split++; in mab_no_null_split() 1859 split--; in mab_no_null_split() 1861 return split; in mab_no_null_split() 1876 int split = b_end / 2; /* Assume equal split. */ in mab_calc_split() local [all …]
|
/linux-6.6.21/fs/btrfs/ |
D | extent_map.c | 710 struct extent_map *split; in btrfs_drop_extent_map_range() local 736 split = alloc_extent_map(); 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() 794 split->len = start - em->start; in btrfs_drop_extent_map_range() 797 split->orig_start = em->orig_start; in btrfs_drop_extent_map_range() 798 split->block_start = em->block_start; in btrfs_drop_extent_map_range() 801 split->block_len = em->block_len; in btrfs_drop_extent_map_range() [all …]
|
/linux-6.6.21/tools/verification/dot2/ |
D | automata.py | 54 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() 136 for i in event.split(): 165 if self.__dot_lines[cursor].split()[1] == "->": [all …]
|
/linux-6.6.21/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); 524 struct xtsplit split; /* split information */ in xtInsert() local 586 split.mp = mp; in xtInsert() 587 split.index = index; in xtInsert() 588 split.flag = xflag; in xtInsert() 589 split.off = xoff; in xtInsert() 590 split.len = xlen; in xtInsert() [all …]
|
D | jfs_dtree.c | 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); 822 struct dtsplit split; /* split information */ in dtInsert() local 863 split.mp = mp; in dtInsert() 864 split.index = index; in dtInsert() 865 split.nslot = n; in dtInsert() 866 split.key = name; in dtInsert() 867 split.data = &data; in dtInsert() [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,split.yaml | 4 $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 25 - mediatek,mt8173-disp-split 27 - const: mediatek,mt6795-disp-split 28 - const: mediatek,mt8173-disp-split 62 split0: split@14018000 { 63 compatible = "mediatek,mt8173-disp-split";
|
/linux-6.6.21/security/apparmor/ |
D | lib.c | 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() 122 *ns_len = split - *ns_name; in aa_splitn_fqname() 125 split++; in aa_splitn_fqname() [all …]
|
D | policy_ns.c | 214 const char *split; in __aa_lookupn_ns() local 216 for (split = strnstr(hname, "//", n); split; in __aa_lookupn_ns() 217 split = strnstr(hname, "//", n)) { in __aa_lookupn_ns() 218 ns = __aa_findn_ns(&ns->sub_ns, hname, split - hname); in __aa_lookupn_ns() 222 n -= split + 2 - hname; in __aa_lookupn_ns() 223 hname = split + 2; in __aa_lookupn_ns()
|
D | policy.c | 411 char *split; in __lookup_parent() local 415 for (split = strstr(hname, "//"); split;) { in __lookup_parent() 417 split - hname); in __lookup_parent() 421 hname = split + 2; in __lookup_parent() 422 split = strstr(hname, "//"); in __lookup_parent() 446 char *split; in __create_missing_ancestors() local 453 for (split = strstr(hname, "//"); split;) { in __create_missing_ancestors() 456 split - hname); in __create_missing_ancestors() 458 const char *name = kstrndup(hname, split - hname, in __create_missing_ancestors() 470 hname = split + 2; in __create_missing_ancestors() [all …]
|
/linux-6.6.21/drivers/virtio/ |
D | virtio_ring.c | 201 struct vring_virtqueue_split split; member 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() 674 vq->free_head = vq->split.desc_extra[head].next; in virtqueue_add_split() 679 vq->split.desc_state[head].data = data; in virtqueue_add_split() 681 vq->split.desc_state[head].indir_desc = desc; in virtqueue_add_split() [all …]
|
/linux-6.6.21/arch/x86/kernel/cpu/ |
D | cacheinfo.c | 152 } 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.6.21/Documentation/mm/ |
D | split_page_table_lock.rst | 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 38 If split lock is disabled, all tables are guarded by mm->page_table_lock. 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 57 Support of split page table lock by an architecture 60 There's no need in special enabling of PTE split page table lock: everything 68 PMD split lock only makes sense if you have more than two page table [all …]
|
/linux-6.6.21/arch/x86/events/amd/ |
D | lbr.c | 46 } split; member 57 } split; member 178 if (!entry.to.split.valid && !entry.to.split.spec) in amd_pmu_lbr_read() 183 br[out].from = sign_ext_branch_ip(entry.from.split.ip); in amd_pmu_lbr_read() 184 br[out].to = sign_ext_branch_ip(entry.to.split.ip); in amd_pmu_lbr_read() 185 br[out].mispred = entry.from.split.mispredict; in amd_pmu_lbr_read() 204 idx = (entry.to.split.valid << 1) | entry.to.split.spec; in amd_pmu_lbr_read() 434 x86_pmu.lbr_nr = ebx.split.lbr_v2_stack_sz; in amd_pmu_lbr_init()
|
/linux-6.6.21/drivers/thermal/intel/ |
D | intel_hfi.c | 64 } split; member 74 } split; member 336 info->index = edx.split.index; in init_hfi_cpu_index() 542 if (!edx.split.capabilities.split.performance) { in hfi_parse_features() 551 edx.split.capabilities.split.__reserved = 0; in hfi_parse_features() 552 nr_capabilities = hweight8(edx.split.capabilities.bits); in hfi_parse_features() 555 hfi_features.nr_table_pages = edx.split.table_pages + 1; in hfi_parse_features()
|
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_ldm.c | 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() 398 if (split < anchor) { in ZSTD_ldm_generateSequences_internal() 418 ZSTD_count_2segments(split, pMatch, iend, matchEnd, lowPrefixPtr); in ZSTD_ldm_generateSequences_internal() [all …]
|
/linux-6.6.21/Documentation/arch/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 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.6.21/tools/hv/ |
D | vmbus_testing | 154 f_name = f_path.split("/")[-1] 169 .format(device.split("/")[5])) 172 .format(device.split("/")[5])) 209 .format(state_path.split("/")[5])) 213 .format(state_path.split("/")[5])) 238 interrupt.split("/")[5])) 241 message.split("/")[5])) 263 print("ALL testing now OFF for {}".format(device.split("/")[-1]))
|
D | lsvmbus | 72 chn_vp_mapping, key=lambda c: int(c.split(':')[0])) 76 (c.split(':')[0], c.split(':')[1]) for c in chn_vp_mapping
|
/linux-6.6.21/arch/x86/include/asm/ |
D | perf_event.h | 147 } split; member 160 } split; member 171 } split; member 195 } split; member 207 } split; member 219 } split; member 235 } split; member
|
/linux-6.6.21/scripts/ |
D | jobserver-exec | 23 opts = [x for x in flags.split(" ") if x.startswith("--jobserver")] 28 fds = opts[-1].split("=", 1)[1] 38 reader, writer = [int(x) for x in fds.split(",", 1)]
|
/linux-6.6.21/security/apparmor/include/ |
D | lib.h | 159 char *split; in basename() local 162 for (split = strstr(hname, "//"); split; split = strstr(hname, "//")) in basename() 163 hname = split + 2; in basename()
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | pmu_intel.c | 525 pmu->version = eax.split.version_id; in intel_pmu_refresh() 529 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh() 531 eax.split.bit_width = min_t(int, eax.split.bit_width, in intel_pmu_refresh() 533 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh() 534 eax.split.mask_length = min_t(int, eax.split.mask_length, in intel_pmu_refresh() 537 ((1ull << eax.split.mask_length) - 1); in intel_pmu_refresh() 542 pmu->nr_arch_fixed_counters = min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh() 544 edx.split.bit_width_fixed = min_t(int, edx.split.bit_width_fixed, in intel_pmu_refresh() 547 ((u64)1 << edx.split.bit_width_fixed) - 1; in intel_pmu_refresh()
|
/linux-6.6.21/Documentation/sphinx/ |
D | maintainers_include.py | 122 field, details = line.split(':', 1) 148 for separated in output.split('\n'): 163 for separated in field_content.split('\n'): 183 (path, tail) = os.path.split(path)
|