/Linux-v4.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 …]
|
/Linux-v4.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 …]
|
/Linux-v4.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 …]
|
/Linux-v4.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); 548 struct xtsplit split; /* split information */ in xtInsert() local 610 split.mp = mp; in xtInsert() 611 split.index = index; in xtInsert() 612 split.flag = xflag; in xtInsert() 613 split.off = xoff; in xtInsert() 614 split.len = xlen; in xtInsert() [all …]
|
D | jfs_dtree.c | 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); 830 struct dtsplit split; /* split information */ in dtInsert() local 871 split.mp = mp; in dtInsert() 872 split.index = index; in dtInsert() 873 split.nslot = n; in dtInsert() 874 split.key = name; in dtInsert() 875 split.data = &data; in dtInsert() [all …]
|
/Linux-v4.19/Documentation/vm/ |
D | split_page_table_lock.rst | 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 35 If split lock is disabled, all tables guaded by mm->page_table_lock. 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 54 Support of split page table lock by an architecture 57 There's no need in special enabling of PTE split page table lock: 65 PMD split lock only makes sense if you have more than two page table [all …]
|
/Linux-v4.19/security/apparmor/ |
D | lib.c | 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() 98 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname() local 102 if (split) { in aa_splitn_fqname() 103 *ns_len = split - *ns_name; in aa_splitn_fqname() 106 split++; in aa_splitn_fqname() [all …]
|
D | policy_ns.c | 207 const char *split; in __aa_lookupn_ns() local 209 for (split = strnstr(hname, "//", n); split; in __aa_lookupn_ns() 210 split = strnstr(hname, "//", n)) { in __aa_lookupn_ns() 211 ns = __aa_findn_ns(&ns->sub_ns, hname, split - hname); in __aa_lookupn_ns() 215 n -= split + 2 - hname; in __aa_lookupn_ns() 216 hname = split + 2; in __aa_lookupn_ns()
|
D | policy.c | 367 char *split; in __lookup_parent() local 371 for (split = strstr(hname, "//"); split;) { in __lookup_parent() 373 split - hname); in __lookup_parent() 377 hname = split + 2; in __lookup_parent() 378 split = strstr(hname, "//"); in __lookup_parent() 401 const char *split; in __lookupn_profile() local 403 for (split = strnstr(hname, "//", n); split; in __lookupn_profile() 404 split = strnstr(hname, "//", n)) { in __lookupn_profile() 406 split - hname); in __lookupn_profile() 411 n -= split + 2 - hname; in __lookupn_profile() [all …]
|
/Linux-v4.19/arch/x86/oprofile/ |
D | op_model_ppro.c | 86 if (!(eax.split.version_id == 0 && in ppro_setup_ctrs() 90 if (counter_width < eax.split.bit_width) in ppro_setup_ctrs() 91 counter_width = eax.split.bit_width; in ppro_setup_ctrs() 215 if (eax.split.version_id == 0 && boot_cpu_data.x86 == 6 && in arch_perfmon_setup_counters() 217 eax.split.version_id = 2; in arch_perfmon_setup_counters() 218 eax.split.num_counters = 2; in arch_perfmon_setup_counters() 219 eax.split.bit_width = 40; in arch_perfmon_setup_counters() 222 num_counters = min((int)eax.split.num_counters, OP_MAX_COUNTER); in arch_perfmon_setup_counters()
|
/Linux-v4.19/fs/btrfs/ |
D | file.c | 582 struct extent_map *split = NULL; in btrfs_drop_extent_cache() local 602 if (!split) in btrfs_drop_extent_cache() 603 split = alloc_extent_map(); in btrfs_drop_extent_cache() 606 if (!split || !split2) in btrfs_drop_extent_cache() 638 split->start = em->start; in btrfs_drop_extent_cache() 639 split->len = start - em->start; in btrfs_drop_extent_cache() 642 split->orig_start = em->orig_start; in btrfs_drop_extent_cache() 643 split->block_start = em->block_start; in btrfs_drop_extent_cache() 646 split->block_len = em->block_len; in btrfs_drop_extent_cache() 648 split->block_len = split->len; in btrfs_drop_extent_cache() [all …]
|
/Linux-v4.19/net/sched/ |
D | sch_cbq.c | 100 struct cbq_class *split; /* Ptr to split node */ member 919 struct cbq_class *split = cl->split; in cbq_sync_defmap() local 923 if (split == NULL) in cbq_sync_defmap() 927 if (split->defaults[i] == cl && !(cl->defmap & (1<<i))) in cbq_sync_defmap() 928 split->defaults[i] = NULL; in cbq_sync_defmap() 932 int level = split->level; in cbq_sync_defmap() 934 if (split->defaults[i]) in cbq_sync_defmap() 942 if (c->split == split && c->level < level && in cbq_sync_defmap() 944 split->defaults[i] = c; in cbq_sync_defmap() 954 struct cbq_class *split = NULL; in cbq_change_defmap() local [all …]
|
/Linux-v4.19/block/ |
D | blk-merge.c | 119 goto split; in blk_bio_segment_split() 131 goto split; in blk_bio_segment_split() 151 goto split; in blk_bio_segment_split() 165 split: in blk_bio_segment_split() 185 struct bio *split, *res; in blk_queue_split() local 191 split = blk_bio_discard_split(q, *bio, &q->bio_split, &nsegs); in blk_queue_split() 194 split = blk_bio_write_zeroes_split(q, *bio, &q->bio_split, &nsegs); in blk_queue_split() 197 split = blk_bio_write_same_split(q, *bio, &q->bio_split, &nsegs); in blk_queue_split() 200 split = blk_bio_segment_split(q, *bio, &q->bio_split, &nsegs); in blk_queue_split() 205 res = split ? split : *bio; in blk_queue_split() [all …]
|
/Linux-v4.19/security/apparmor/include/ |
D | lib.h | 143 char *split; in basename() local 146 for (split = strstr(hname, "//"); split; split = strstr(hname, "//")) in basename() 147 hname = split + 2; in basename()
|
/Linux-v4.19/tools/hv/ |
D | lsvmbus | 70 key = lambda c : int(c.split(':')[0])) 73 (c.split(':')[0], c.split(':')[1])
|
/Linux-v4.19/arch/x86/kvm/ |
D | pmu_intel.c | 277 pmu->version = eax.split.version_id; in intel_pmu_refresh() 281 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh() 283 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh() 285 ((1ull << eax.split.mask_length) - 1); in intel_pmu_refresh() 291 min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh() 294 ((u64)1 << edx.split.bit_width_fixed) - 1; in intel_pmu_refresh()
|
/Linux-v4.19/sound/usb/line6/ |
D | midibuf.h | 18 int split; member 28 extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split);
|
D | midibuf.c | 57 int line6_midibuf_init(struct midi_buffer *this, int size, int split) in line6_midibuf_init() argument 65 this->split = split; in line6_midibuf_init() 208 if (!this->split) in line6_midibuf_read()
|
/Linux-v4.19/scripts/ |
D | checkkconfigsymbols.py | 145 split = args.diff.split("..") 146 commit_a = split[0] 147 commit_b = split[1] 198 commit = commit.split(" ", 1) 239 return [x for x in commits.split("\n") if x] 446 line = line.split("#")[0] # ignore comments
|
D | spdxcheck.py | 48 lid = l.split(':')[1].strip().upper() 55 exception = l.split(':')[1].strip().upper() 59 … for lic in l.split(':')[1].upper().strip().replace(' ', '').replace('\t', '').split(','): 178 expr = line.split(':')[1].replace('*/', '').strip() 210 for p in path.strip('/').split('/'):
|
/Linux-v4.19/drivers/firewire/ |
D | nosy.c | 174 size_t split = end - buffer->head->data; in packet_buffer_get() local 176 if (copy_to_user(data, buffer->head->data, split)) in packet_buffer_get() 178 if (copy_to_user(data + split, buffer->data, length - split)) in packet_buffer_get() 180 buffer->head = (struct packet *) &buffer->data[length - split]; in packet_buffer_get() 213 size_t split = end - buffer->tail->data; in packet_buffer_put() local 215 memcpy(buffer->tail->data, data, split); in packet_buffer_put() 216 memcpy(buffer->data, data + split, length - split); in packet_buffer_put() 217 buffer->tail = (struct packet *) &buffer->data[length - split]; in packet_buffer_put()
|
/Linux-v4.19/fs/nfs/blocklayout/ |
D | extent_tree.c | 297 struct pnfs_block_extent *split; in ext_tree_insert() local 301 split = kmemdup(new, sizeof(*new), GFP_ATOMIC); in ext_tree_insert() 302 if (!split) { in ext_tree_insert() 307 split->be_length = be->be_f_offset - split->be_f_offset; in ext_tree_insert() 308 split->be_device = nfs4_get_deviceid(new->be_device); in ext_tree_insert() 309 __ext_tree_insert(root, split, true); in ext_tree_insert() 381 sector_t split) in ext_tree_split() argument 390 be->be_length = split - be->be_f_offset; in ext_tree_split() 392 new->be_f_offset = split; in ext_tree_split()
|
/Linux-v4.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"
|
/Linux-v4.19/arch/x86/include/asm/ |
D | perf_event.h | 100 } split; member 113 } split; member 122 } split; member
|
/Linux-v4.19/tools/perf/scripts/python/ |
D | net_dropmonitor.py | 26 loc = int(line.split()[0], 16) 27 name = line.split()[2]
|