Home
last modified time | relevance | path

Searched refs:split (Results 1 - 25 of 348) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/drivers/media/dvb-core/
H A 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()
185 size_t split; dvb_ringbuffer_write() local
212 size_t split; dvb_ringbuffer_write_user() local
256 size_t split; dvb_ringbuffer_pkt_read_user() local
284 size_t split; dvb_ringbuffer_pkt_read() local
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-core/
H A 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()
185 size_t split; dvb_ringbuffer_write() local
212 size_t split; dvb_ringbuffer_write_user() local
256 size_t split; dvb_ringbuffer_pkt_read_user() local
284 size_t split; dvb_ringbuffer_pkt_read() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dextent_map.c703 * are split.
710 struct extent_map *split; in btrfs_drop_extent_map_range() local
734 * because we need to split those two extent maps at the boundaries. in btrfs_drop_extent_map_range()
736 split = alloc_extent_map(); in btrfs_drop_extent_map_range()
769 * In case we split the extent map, we want to preserve the in btrfs_drop_extent_map_range()
778 * split it, we can remove it directly. 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 in btrfs_drop_extent_map_range()
[all...]
/kernel/linux/linux-5.10/lib/
H A 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
[all...]
/kernel/linux/linux-6.6/lib/
H A 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
[all...]
H A Dmaple_tree.c1820 * @split: the potential split location
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()
1840 * mab_no_null_split() - ensure the split doesn't fall on a NULL
1842 * @split: the suggested split location
1845 * Return: the split location.
1848 unsigned char split, unsigned char slot_count) in mab_no_null_split()
1850 if (!b_node->slot[split]) { in mab_no_null_split()
1847 mab_no_null_split(struct maple_big_node *b_node, unsigned char split, unsigned char slot_count) mab_no_null_split() argument
1876 int split = b_end / 2; /* Assume equal split. */ mab_calc_split() local
2405 unsigned char split = 0; mas_mab_to_node() local
2457 mas_set_split_parent(struct ma_state *mas, struct maple_enode *left, struct maple_enode *right, unsigned char *slot, unsigned char split) mas_set_split_parent() argument
2482 mte_mid_split_check(struct maple_enode **l, struct maple_enode **r, struct maple_enode *right, unsigned char slot, unsigned char *split, unsigned char mid_split) mte_mid_split_check() argument
2508 mast_set_split_parents(struct maple_subtree_state *mast, struct maple_enode *left, struct maple_enode *middle, struct maple_enode *right, unsigned char split, unsigned char mid_split) mast_set_split_parents() argument
2695 mast_cp_to_nodes(struct maple_subtree_state *mast, struct maple_enode *left, struct maple_enode *middle, struct maple_enode *right, unsigned char split, unsigned char mid_split) mast_cp_to_nodes() argument
2866 unsigned char split, mid_split; mas_spanning_rebalance() local
3054 unsigned char offset, tmp, split = mt_slots[mt] / 2; mas_destroy_rebalance() local
3208 unsigned char split; mast_fill_bnode() local
3247 mast_split_data(struct maple_subtree_state *mast, struct ma_state *mas, unsigned char split) mast_split_data() argument
3284 unsigned char end, space, split; mas_push_data() local
3352 unsigned char mid_split, split = 0; mas_split() local
[all...]
/kernel/linux/linux-6.6/fs/jfs/
H A 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);
227 int nsplit = 0; /* number of pages to split */ in xtSearch()
324 /* compute number of pages to split */ in xtSearch()
371 /* compute number of pages to split */ in xtSearch()
429 /* compute number of pages to split */ in xtSearch()
471 /* update number of pages to split */ in xtSearch()
524 struct xtsplit split; /* spli in xtInsert() local
664 xtSplitUp(tid_t tid, struct inode *ip, struct xtsplit * split, struct btstack * btstack) xtSplitUp() argument
934 xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split, struct metapage ** rmpp, s64 * rbnp) xtSplitPage() argument
1201 xtSplitRoot(tid_t tid, struct inode *ip, struct xtsplit * split, struct metapage ** rmpp) xtSplitRoot() argument
1348 struct xtsplit split; /* split information */ xtExtend() local
1507 struct xtsplit split; /* split information */ xtUpdate() local
1953 struct xtsplit split; /* split information */ xtAppend() local
[all...]
/kernel/linux/linux-5.10/drivers/virtio/
H A Dvirtio_ring.c117 /* Available for split ring */
137 } 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 in virtqueue_add_split()
[all...]
/kernel/linux/linux-6.6/tools/verification/dot2/
H A Dautomata.py54 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()
133 # so split them.
136 for i in event.split()
[all...]
/kernel/linux/linux-5.10/fs/jfs/
H A 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);
238 int nsplit = 0; /* number of pages to split */ in xtSearch()
335 /* compute number of pages to split */ in xtSearch()
382 /* compute number of pages to split */ in xtSearch()
440 /* compute number of pages to split */ in xtSearch()
482 /* update number of pages to split */ in xtSearch()
535 struct xtsplit split; /* spli in xtInsert() local
675 xtSplitUp(tid_t tid, struct inode *ip, struct xtsplit * split, struct btstack * btstack) xtSplitUp() argument
945 xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split, struct metapage ** rmpp, s64 * rbnp) xtSplitPage() argument
1212 xtSplitRoot(tid_t tid, struct inode *ip, struct xtsplit * split, struct metapage ** rmpp) xtSplitRoot() argument
1359 struct xtsplit split; /* split information */ xtExtend() local
1522 struct xtsplit split; /* split information */ xtTailgate() local
1701 struct xtsplit split; /* split information */ xtUpdate() local
2168 struct xtsplit split; /* split information */ xtAppend() local
[all...]
/kernel/linux/linux-6.6/drivers/virtio/
H A Dvirtio_ring.c189 * for split ring, it just contains last used index
200 /* Available for split ring */
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 in virtqueue_add_split()
[all...]
/kernel/linux/linux-6.6/security/apparmor/
H A Dlib.c49 * aa_split_fqname - split a fqname into a profile and namespace name
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 in aa_splitn_fqname()
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
H A 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 in amd_cpuid4()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A Dcacheinfo.c152 } 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 in amd_cpuid4()
[all...]
/kernel/liteos_m/tools/
H A 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()) !
[all...]
/kernel/liteos_a/tools/scripts/parse_exc/
H A 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/
H A Dlib.c29 * aa_split_fqname - split a fqname into a profile and namespace name
48 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 in aa_splitn_fqname()
[all...]
H A 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/
H A 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-6.6/arch/x86/events/amd/
H A Dlbr.c46 } 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 in amd_pmu_lbr_init()
[all...]
/kernel/linux/linux-6.6/drivers/thermal/intel/
H A Dintel_hfi.c64 } 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()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dpmu_intel.c351 pmu->version = eax.split.version_id; in intel_pmu_refresh()
357 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh()
359 eax.split.bit_width = min_t(int, eax.split.bit_width, x86_pmu.bit_width_gp); in intel_pmu_refresh()
360 pmu->counter_bitmask[KVM_PMC_GP] = ((u64)1 << eax.split.bit_width) - 1; in intel_pmu_refresh()
361 eax.split.mask_length = min_t(int, eax.split.mask_length, x86_pmu.events_mask_len); in intel_pmu_refresh()
363 ((1ull << eax.split.mask_length) - 1); in intel_pmu_refresh()
369 min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh()
371 edx.split in intel_pmu_refresh()
[all...]
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_ldm.c89 * Registers in the splits array all the split points found in the first
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
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dfile.c515 * [start, end]. Existing extents are split as required.
521 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 in btrfs_drop_extent_cache()
1086 u64 split; btrfs_mark_extent_written() local
[all...]
/kernel/linux/linux-5.10/scripts/
H A 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)]

Completed in 28 milliseconds

12345678910>>...14