| /linux/lib/ |
| H A D | sg_split.c | 81 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() 96 out_sg[-1].length = split->length_last_sg; in sg_split_phys() 105 struct sg_splitter *split; in sg_split_mapped() local 107 for (i = 0, split = splitters; i < nb_splits; i++, split++) { in sg_split_mapped() [all …]
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | automata.py | |
| /linux/fs/btrfs/ |
| H A D | extent_map.c | 807 * are split. 814 struct extent_map *split; in btrfs_drop_extent_map_range() local 838 * because we need to split those two extent maps at the boundaries. in btrfs_drop_extent_map_range() 840 split = btrfs_alloc_extent_map(); in btrfs_drop_extent_map_range() 870 * In case we split the extent map, we want to preserve the in btrfs_drop_extent_map_range() 880 * split it, we can remove it directly. in btrfs_drop_extent_map_range() 888 if (!split) { in btrfs_drop_extent_map_range() 889 split = split2; in btrfs_drop_extent_map_range() 891 if (!split) in btrfs_drop_extent_map_range() 894 split in btrfs_drop_extent_map_range() [all...] |
| /linux/tools/testing/selftests/vDSO/ |
| H A D | vdso_test_chacha.c | 99 for (unsigned int split = 0; split < BLOCKS; ++split) { in main() local 102 if (split) in main() 103 __arch_chacha20_blocks_nostack(output2, key, counter2, split); in main() 104 __arch_chacha20_blocks_nostack(output2 + split * BLOCK_SIZE, key, counter2, BLOCKS - split); in main() 106 ksft_exit_fail_msg("Main loop outputs do not match on trial %u, split %u\n", trial, split); in main() 108 ksft_exit_fail_msg("Main loop counters do not match on trial %u, split %u\n", trial, split); in main()
|
| /linux/drivers/virtio/ |
| H A D | virtio_ring.c | 234 * for split ring, it just contains last used index 250 /* Available for split ring */ 251 struct vring_virtqueue_split split; member 284 READ_ONCE(vq->split.vring.used->idx)); in vring_read_split_used_idx() 291 READ_ONCE(vq->split.vring.used->ring[idx].id)); in vring_read_split_used_id() 297 READ_ONCE(vq->split.vring.used->ring[idx].len)); in vring_read_split_used_len() 303 READ_ONCE(vring_avail_event(&vq->split.vring))); in vring_read_split_avail_event() 693 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split() 705 desc = vq->split.vring.desc; in virtqueue_add_split() 706 extra = vq->split in virtqueue_add_split() [all...] |
| /linux/arch/x86/events/amd/ |
| H A D | lbr.c | 49 } split; member 60 } split; member 183 if ((!entry.to.split.valid && !entry.to.split.spec) || in amd_pmu_lbr_read() 184 entry.to.split.reserved) in amd_pmu_lbr_read() 203 idx = (entry.to.split.valid << 1) | entry.to.split.spec; in amd_pmu_lbr_read() 206 .from = sign_ext_branch_ip(entry.from.split.ip), in amd_pmu_lbr_read() 207 .to = sign_ext_branch_ip(entry.to.split.ip), in amd_pmu_lbr_read() 208 .mispred = entry.from.split.mispredict, in amd_pmu_lbr_read() 209 .predicted = !entry.from.split.mispredict, in amd_pmu_lbr_read() 434 x86_pmu.lbr_nr = ebx.split.lbr_v2_stack_sz; in amd_pmu_lbr_init()
|
| H A D | uncore.c | 74 } split; member 481 return info->split.cid; in amd_uncore_ctx_cid() 488 return info->split.gid; in amd_uncore_ctx_gid() 495 return info->split.num_pmcs; in amd_uncore_ctx_num_pmcs() 717 info.split.aux_data = 0; in amd_uncore_df_ctx_scan() 718 info.split.num_pmcs = NUM_COUNTERS_NB; in amd_uncore_df_ctx_scan() 719 info.split.gid = 0; in amd_uncore_df_ctx_scan() 720 info.split.cid = topology_amd_node_id(cpu); in amd_uncore_df_ctx_scan() 724 info.split.num_pmcs = ebx.split in amd_uncore_df_ctx_scan() [all...] |
| /linux/arch/x86/kernel/cpu/resctrl/ |
| H A D | internal.h | 160 } split; member 168 } split; member 177 } split; member 185 } split; member 221 } split; member
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_ldm.c | 311 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_fillHashTable() local 312 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_fillHashTable() 316 entry.offset = (U32)(split - base); in ZSTD_ldm_fillHashTable() 391 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_generateSequences_internal() local 392 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_generateSequences_internal() 395 candidates[n].split = split; in ZSTD_ldm_generateSequences_internal() 406 BYTE const* const split = candidates[n].split; in ZSTD_ldm_generateSequences_internal() local 414 newEntry.offset = (U32)(split - base); in ZSTD_ldm_generateSequences_internal() 420 if (split < anchor) { in ZSTD_ldm_generateSequences_internal() 440 ZSTD_count_2segments(split, pMatch, iend, matchEnd, lowPrefixPtr); in ZSTD_ldm_generateSequences_internal() [all …]
|
| /linux/tools/hv/ |
| H A D | vmbus_testing | 154 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]))
|
| H A D | lsvmbus | 72 chn_vp_mapping, key=lambda c: int(c.split(':')[0])) 76 (c.split(':')[0], c.split(':')[1]) for c in chn_vp_mapping
|
| /linux/security/apparmor/ |
| H A D | lib.c | 196 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname() local 200 if (split) { in aa_splitn_fqname() 201 *ns_len = split - *ns_name; in aa_splitn_fqname() 204 split++; in aa_splitn_fqname() 205 if (end - split > 1 && strncmp(split, "//", 2) == 0) in aa_splitn_fqname() 206 split += 2; in aa_splitn_fqname() 207 name = skipn_spaces(split, end - split); in aa_splitn_fqname()
|
| H A D | policy_ns.c | 177 const char *split; in __aa_lookupn_ns() local 179 for (split = strnstr(hname, "//", n); split; in __aa_lookupn_ns() 180 split = strnstr(hname, "//", n)) { in __aa_lookupn_ns() 181 ns = __aa_findn_ns(&ns->sub_ns, hname, split - hname); in __aa_lookupn_ns() 185 n -= split + 2 - hname; in __aa_lookupn_ns() 186 hname = split + 2; in __aa_lookupn_ns()
|
| H A D | policy.c | 528 char *split; in __lookup_parent() local 532 for (split = strstr(hname, "//"); split;) { in __lookup_parent() 534 split - hname); in __lookup_parent() 538 hname = split + 2; in __lookup_parent() 539 split = strstr(hname, "//"); in __lookup_parent() 563 char *split; in __create_missing_ancestors() local 570 for (split = strstr(hname, "//"); split;) { in __create_missing_ancestors() 573 split in __create_missing_ancestors() 611 const char *split; __lookupn_profile() local [all...] |
| /linux/arch/x86/include/asm/ |
| H A D | perf_event.h | 177 } split; member 190 } split; member 201 } split; member 228 } split; member 241 } split; member 257 } split; member 269 } split; member 284 } split; member 302 } split; member
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | pmu_intel.c | 534 pmu->version = eax.split.version_id; in intel_pmu_refresh() 538 pmu->nr_arch_gp_counters = min_t(int, eax.split.num_counters, in intel_pmu_refresh() 540 eax.split.bit_width = min_t(int, eax.split.bit_width, in intel_pmu_refresh() 542 pmu->counter_bitmask[KVM_PMC_GP] = BIT_ULL(eax.split.bit_width) - 1; in intel_pmu_refresh() 543 eax.split.mask_length = min_t(int, eax.split.mask_length, in intel_pmu_refresh() 545 pmu->available_event_types = ~entry->ebx & (BIT_ULL(eax.split.mask_length) - 1); in intel_pmu_refresh() 568 pmu->nr_arch_fixed_counters = min_t(int, edx.split.num_counters_fixed, in intel_pmu_refresh() 570 edx.split.bit_width_fixed = min_t(int, edx.split.bit_width_fixed, in intel_pmu_refresh() 572 pmu->counter_bitmask[KVM_PMC_FIXED] = BIT_ULL(edx.split.bit_width_fixed) - 1; in intel_pmu_refresh()
|
| /linux/tools/testing/selftests/turbostat/ |
| H A D | added_perf_counters.py | 157 actual_columns = proc_turbostat.stdout.split(b'\n')[0].split(b'\t') 176 actual_columns = proc_turbostat.stdout.split(b'\n')[0].split(b'\t')
|
| /linux/rust/zerocopy/src/ |
| H A D | split_at.rs | 15 /// Types that can be split in two. 98 /// The element type exposed by the split's returned slice. in split_at_unchecked() 141 /// Attempts to split `self` in two. 167 /// // Attempt to split `packet` at `length`. in split_at() 168 /// let split = packet.split_at(packet.length as usize).unwrap(); in split_at() 172 /// let (packet, rest) = split.via_immutable(); 226 /// Attempts to split `self` in two. 253 /// // Attempt to split `packet` at `length`. 254 /// let split = packet.split_at_mut(packet.length as usize).unwrap(); 258 /// let (packet, rest) = split 1020 let split = dst.split_at(i).unwrap().via_runtime_check(); test_split_at_overlapping() localVariable 1034 let split = unsafe { SplitAt::split_at_unchecked(slice, 2) }; test_split_at_unchecked() localVariable 1042 let split = unsafe { SplitAt::split_at_mut_unchecked(slice_mut, 2) }; test_split_at_unchecked() localVariable 1085 let split = packet.split_at(2).unwrap(); test_split_at_via_unaligned() localVariable [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_distill.c | 8 /* Fabricate base, split BTF with references to base types needed; then create 9 * split BTF with distilled base BTF and ensure expectations are met: 10 * - only referenced base types from split BTF are present 12 * are represented in full in split BTF 189 /* split BTF; these types should match split BTF above from 17-28, with in test_distilled_base() 206 /* split BTF types added from original base BTF below */ in test_distilled_base() 272 * process to split BTF. in test_distilled_base() 497 /* create split reference BTF from vmlinux + split BT 541 struct btf *base = NULL, *split = NULL, *new_base = NULL, *new_split = NULL; test_distilled_endianness() local [all...] |
| /linux/tools/lib/python/ |
| H A D | jobserver.py | 82 opts = [x for x in flags.split(" ") if x.startswith("--jobserver")] 88 split_opt = opts[-1].split('=', 1) 109 split_fds = fds.split(',')
|
| /linux/security/apparmor/include/ |
| H A D | lib.h | 215 char *split; in basename() local 218 for (split = strstr(hname, "//"); split; split = strstr(hname, "//")) in basename() 219 hname = split + 2; in basename()
|
| /linux/scripts/ |
| H A D | checkkconfigsymbols.py | 147 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/drivers/firewire/ |
| H A D | nosy.c | 165 size_t split = end - buffer->head->data; in packet_buffer_get() local 167 if (copy_to_user(data, buffer->head->data, split)) in packet_buffer_get() 169 if (copy_to_user(data + split, buffer->data, length - split)) in packet_buffer_get() 171 buffer->head = (struct packet *) &buffer->data[length - split]; in packet_buffer_get() 204 size_t split = end - buffer->tail->data; in packet_buffer_put() local 206 memcpy(buffer->tail->data, data, split); in packet_buffer_put() 207 memcpy(buffer->data, data + split, length - split); in packet_buffer_put() 208 buffer->tail = (struct packet *) &buffer->data[length - split]; in packet_buffer_put()
|
| /linux/tools/perf/util/ |
| H A D | setup.py | 64 flags = shlex.split(config_vars[var]) 132 cc_tokens = shlex.split(cc_env) 176 depends=shlex.split(os.getenv('PYTHON_EXT_DEPS', '')),
|
| /linux/sound/usb/line6/ |
| H A D | midibuf.c | 49 int line6_midibuf_init(struct midi_buffer *this, int size, int split) in line6_midibuf_init() argument 57 this->split = split; in line6_midibuf_init() 213 if (!this->split) in line6_midibuf_read()
|