Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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()
Dpolicy.c366 char *split; in __lookup_parent() local
370 for (split = strstr(hname, "//"); split;) { in __lookup_parent()
372 split - hname); in __lookup_parent()
376 hname = split + 2; in __lookup_parent()
377 split = strstr(hname, "//"); in __lookup_parent()
400 const char *split; in __lookupn_profile() local
402 for (split = strnstr(hname, "//", n); split; in __lookupn_profile()
403 split = strnstr(hname, "//", n)) { in __lookupn_profile()
405 split - hname); in __lookupn_profile()
410 n -= split + 2 - hname; in __lookupn_profile()
[all …]
/Linux-v5.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()
/Linux-v5.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
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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
/Linux-v5.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)]
Dcheckkconfigsymbols.py145 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
Dspdxcheck.py49 lid = l.split(':')[1].strip().upper()
56 exception = l.split(':')[1].strip().upper()
60 … for lic in l.split(':')[1].upper().strip().replace(' ', '').replace('\t', '').split(','):
179 expr = line.split(':')[1].strip()
220 for p in path.strip('/').split('/'):
/Linux-v5.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()
/Linux-v5.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)
/Linux-v5.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 …]
/Linux-v5.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()
/Linux-v5.10/drivers/firewire/
Dnosy.c161 size_t split = end - buffer->head->data; in packet_buffer_get() local
163 if (copy_to_user(data, buffer->head->data, split)) in packet_buffer_get()
165 if (copy_to_user(data + split, buffer->data, length - split)) in packet_buffer_get()
167 buffer->head = (struct packet *) &buffer->data[length - split]; in packet_buffer_get()
200 size_t split = end - buffer->tail->data; in packet_buffer_put() local
202 memcpy(buffer->tail->data, data, split); in packet_buffer_put()
203 memcpy(buffer->data, data + split, length - split); in packet_buffer_put()
204 buffer->tail = (struct packet *) &buffer->data[length - split]; in packet_buffer_put()

12345678910>>...14