Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.15/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.15/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.15/drivers/virtio/
Dvirtio_ring.c142 } split; member
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()
607 vq->split.desc_state[head].data = data; in virtqueue_add_split()
609 vq->split.desc_state[head].indir_desc = desc; in virtqueue_add_split()
[all …]
/Linux-v5.15/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.15/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.15/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 are guarded 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.15/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()
/Linux-v5.15/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.15/Documentation/x86/
Dbuslock.rst16 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/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.15/fs/btrfs/
Dfile.c529 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()
595 split->block_len = split->len; in btrfs_drop_extent_cache()
[all …]
/Linux-v5.15/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.15/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.py147 split = args.diff.split("..")
148 commit_a = split[0]
149 commit_b = split[1]
200 commit = commit.split(" ", 1)
241 return [x for x in commits.split("\n") if x]
447 line = line.split("#")[0] # ignore comments
/Linux-v5.15/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.15/arch/x86/kvm/vmx/
Dpmu_intel.c487 pmu->version = eax.split.version_id; in intel_pmu_refresh()
493 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh()
495 eax.split.bit_width = min_t(int, eax.split.bit_width, x86_pmu.bit_width_gp); in intel_pmu_refresh()
496 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh()
497 eax.split.mask_length = min_t(int, eax.split.mask_length, x86_pmu.events_mask_len); in intel_pmu_refresh()
499 ((1ull << eax.split.mask_length) - 1); in intel_pmu_refresh()
505 min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh()
507 edx.split.bit_width_fixed = min_t(int, in intel_pmu_refresh()
508 edx.split.bit_width_fixed, x86_pmu.bit_width_fixed); in intel_pmu_refresh()
510 ((u64)1 << edx.split.bit_width_fixed) - 1; in intel_pmu_refresh()
/Linux-v5.15/Documentation/sphinx/
Dmaintainers_include.py122 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)
Dkerneldoc.py84 export_file_patterns = str(self.options.get('export')).split()
87 export_file_patterns = str(self.options.get('internal')).split()
91 identifiers = self.options.get('identifiers').split()
99 no_identifiers = self.options.get('no-identifiers').split()
/Linux-v5.15/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()
308 struct bio *split = NULL; in __blk_queue_split() local
313 split = blk_bio_discard_split(q, *bio, &q->bio_split, nr_segs); in __blk_queue_split()
316 split = blk_bio_write_zeroes_split(q, *bio, &q->bio_split, in __blk_queue_split()
320 split = blk_bio_write_same_split(q, *bio, &q->bio_split, in __blk_queue_split()
339 split = blk_bio_segment_split(q, *bio, &q->bio_split, nr_segs); in __blk_queue_split()
343 if (split) { in __blk_queue_split()
345 split->bi_opf |= REQ_NOMERGE; in __blk_queue_split()
[all …]
/Linux-v5.15/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.15/tools/testing/selftests/kvm/x86_64/
Dvmx_pmu_msrs_test.c33 } split; member
86 if (!eax.split.version_id) { in main()
121 eax.split.version_id = 0; in main()

12345678910>>...15