Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/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-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-5.10/drivers/virtio/
Dvirtio_ring.c137 } split; member
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()
540 vq->split.desc_state[head].indir_desc = desc; in virtqueue_add_split()
542 vq->split.desc_state[head].indir_desc = ctx; in virtqueue_add_split()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dcacheinfo.c137 } 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-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);
535 struct xtsplit split; /* split information */ in xtInsert() local
597 split.mp = mp; in xtInsert()
598 split.index = index; in xtInsert()
599 split.flag = xflag; in xtInsert()
600 split.off = xoff; in xtInsert()
601 split.len = xlen; in xtInsert()
[all …]
Djfs_dtree.c140 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);
817 struct dtsplit split; /* split information */ in dtInsert() local
858 split.mp = mp; in dtInsert()
859 split.index = index; in dtInsert()
860 split.nslot = n; in dtInsert()
861 split.key = name; in dtInsert()
862 split.data = &data; in dtInsert()
[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-5.10/Documentation/vm/
Dsplit_page_table_lock.rst10 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: everything
65 PMD split lock only makes sense if you have more than two page table
[all …]
/kernel/liteos_a/tools/scripts/parse_exc/
Dparse_excinfo.py64 strlist = line.split(' ')
78 strlist = lines.split()
84 ret = ret.split('\n')
100 strlist = lines.split()
103 ret = ret.split('\n')
126 strlist = lines.split()
135 ret = ret.split('\n')
151 strlist = lines.split()
157 res = res.split('\n')
181 strlist = lines.split()
[all …]
/kernel/linux/linux-5.10/security/apparmor/
Dlib.c48 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()
101 *ns_len = split - *ns_name; in aa_splitn_fqname()
104 split++; in aa_splitn_fqname()
[all …]
Dpolicy_ns.c203 const char *split; in __aa_lookupn_ns() local
205 for (split = strnstr(hname, "//", n); split; in __aa_lookupn_ns()
206 split = strnstr(hname, "//", n)) { in __aa_lookupn_ns()
207 ns = __aa_findn_ns(&ns->sub_ns, hname, split - hname); in __aa_lookupn_ns()
211 n -= split + 2 - hname; in __aa_lookupn_ns()
212 hname = split + 2; in __aa_lookupn_ns()
/kernel/linux/linux-5.10/arch/x86/oprofile/
Dop_model_ppro.c86 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()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dpmu_intel.c338 pmu->version = eax.split.version_id; in intel_pmu_refresh()
346 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh()
348 eax.split.bit_width = min_t(int, eax.split.bit_width, x86_pmu.bit_width_gp); in intel_pmu_refresh()
349 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh()
350 eax.split.mask_length = min_t(int, eax.split.mask_length, x86_pmu.events_mask_len); in intel_pmu_refresh()
352 ((1ull << eax.split.mask_length) - 1); in intel_pmu_refresh()
358 min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh()
360 edx.split.bit_width_fixed = min_t(int, in intel_pmu_refresh()
361 edx.split.bit_width_fixed, x86_pmu.bit_width_fixed); in intel_pmu_refresh()
363 ((u64)1 << edx.split.bit_width_fixed) - 1; in intel_pmu_refresh()
/kernel/linux/linux-5.10/tools/hv/
Dvmbus_testing154 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]))
Dlsvmbus72 chn_vp_mapping, key=lambda c: int(c.split(':')[0]))
76 (c.split(':')[0], c.split(':')[1]) for c in chn_vp_mapping
/kernel/linux/linux-5.10/net/sched/
Dsch_cbq.c95 struct cbq_class *split; /* Ptr to split node */ member
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()
939 split->defaults[i] = c; in cbq_sync_defmap()
949 struct cbq_class *split = NULL; in cbq_change_defmap() local
[all …]
/kernel/linux/linux-5.10/fs/btrfs/
Dfile.c521 struct extent_map *split = NULL; in btrfs_drop_extent_cache() local
541 if (!split) in btrfs_drop_extent_cache()
542 split = alloc_extent_map(); in btrfs_drop_extent_cache()
545 if (!split || !split2) in btrfs_drop_extent_cache()
577 split->start = em->start; in btrfs_drop_extent_cache()
578 split->len = start - em->start; in btrfs_drop_extent_cache()
581 split->orig_start = em->orig_start; in btrfs_drop_extent_cache()
582 split->block_start = em->block_start; in btrfs_drop_extent_cache()
585 split->block_len = em->block_len; in btrfs_drop_extent_cache()
587 split->block_len = split->len; in btrfs_drop_extent_cache()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dperf_event.h119 } split; member
132 } split; member
143 } split; member
159 } split; member
171 } split; member
183 } split; member
/kernel/linux/linux-5.10/scripts/
Djobserver-exec23 opts = [x for x in flags.split(" ") if x.startswith("--jobserver")]
26 fds = opts[0].split("=", 1)[1]
27 reader, writer = [int(x) for x in fds.split(",", 1)]
/kernel/linux/linux-5.10/security/apparmor/include/
Dlib.h143 char *split; in basename() local
146 for (split = strstr(hname, "//"); split; split = strstr(hname, "//")) in basename()
147 hname = split + 2; in basename()
/kernel/linux/linux-5.10/Documentation/sphinx/
Dmaintainers_include.py124 field, details = line.split(':', 1)
150 for separated in output.split('\n'):
165 for separated in field_content.split('\n'):
185 (path, tail) = os.path.split(path)
/kernel/liteos_a/apps/shell/src/
Dshcmdparse.c99 unsigned int OsCmdTokenSplit(char *cmdStr, char split, CmdParsed *cmdParsed) in OsCmdTokenSplit() argument
123 if ((*p == split) && QUOTES_STATUS_CLOSE(quotes)) { in OsCmdTokenSplit()
130 if (*p != split) { in OsCmdTokenSplit()
/kernel/linux/linux-5.10/sound/usb/line6/
Dmidibuf.h14 int split; member
24 extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split);
Dmidibuf.c53 int line6_midibuf_init(struct midi_buffer *this, int size, int split) in line6_midibuf_init() argument
61 this->split = split; in line6_midibuf_init()
204 if (!this->split) in line6_midibuf_read()
/kernel/linux/linux-5.10/block/
Dblk-merge.c262 goto split; in blk_bio_segment_split()
271 goto split; in blk_bio_segment_split()
280 split: in blk_bio_segment_split()
301 struct bio *split = NULL; in __blk_queue_split() local
306 split = blk_bio_discard_split(q, *bio, &q->bio_split, nr_segs); in __blk_queue_split()
309 split = blk_bio_write_zeroes_split(q, *bio, &q->bio_split, in __blk_queue_split()
313 split = blk_bio_write_same_split(q, *bio, &q->bio_split, in __blk_queue_split()
332 split = blk_bio_segment_split(q, *bio, &q->bio_split, nr_segs); in __blk_queue_split()
336 if (split) { in __blk_queue_split()
338 split->bi_opf |= REQ_NOMERGE; in __blk_queue_split()
[all …]

12345678910>>...15