| /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/arch/x86/kernel/cpu/ |
| H A D | cacheinfo.c | 53 } split; member 62 } split; member 69 } split; member 207 eax->split.is_self_initializing = 1; in legacy_amd_cpuid4() 208 eax->split.type = types[index]; in legacy_amd_cpuid4() 209 eax->split.level = levels[index]; in legacy_amd_cpuid4() 210 eax->split.num_threads_sharing = 0; in legacy_amd_cpuid4() 211 eax->split.num_cores_on_die = topology_num_cores_per_package(); in legacy_amd_cpuid4() 214 eax->split.is_fully_associative = 1; in legacy_amd_cpuid4() 216 ebx->split.coherency_line_size = line_size - 1; in legacy_amd_cpuid4() [all …]
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | automata.py | 55 line = dot_lines[cursor].split() 65 while self.__dot_lines[cursor].split()[0] != "{node": 71 while self.__dot_lines[cursor].split()[0] != "{node": 73 while self.__dot_lines[cursor].split()[0] == "{node": 88 while self.__dot_lines[cursor].split()[0] == "{node": 89 line = self.__dot_lines[cursor].split() 128 if self.__dot_lines[cursor].split()[1] == "->": 129 line = self.__dot_lines[cursor].split() 134 # so split them. 137 for i in event.split() [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 | 251 struct vring_virtqueue_split split; member 639 WARN_ON_ONCE(total_sg > vq->split.vring.num && !vq->indirect); in virtqueue_add_split() 651 desc = vq->split.vring.desc; in virtqueue_add_split() 652 extra = vq->split.desc_extra; in virtqueue_add_split() 721 virtqueue_add_desc_split(vq, vq->split.vring.desc, in virtqueue_add_split() 722 vq->split.desc_extra, in virtqueue_add_split() 734 if (vq->free_head >= vq->split.vring.num) in virtqueue_add_split() 735 vq->free_head -= vq->split.vring.num; in virtqueue_add_split() 736 vq->split.desc_state[head].total_in_len = total_in_len; in virtqueue_add_split() 738 vq->free_head = vq->split.desc_extra[head].next; in virtqueue_add_split() [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/arch/x86/events/amd/ |
| H A D | uncore.c | 73 } split; member 455 return info->split.cid; in amd_uncore_ctx_cid() 462 return info->split.gid; in amd_uncore_ctx_gid() 469 return info->split.num_pmcs; in amd_uncore_ctx_num_pmcs() 700 info.split.aux_data = 0; in amd_uncore_df_ctx_scan() 701 info.split.num_pmcs = NUM_COUNTERS_NB; in amd_uncore_df_ctx_scan() 702 info.split.gid = 0; in amd_uncore_df_ctx_scan() 703 info.split.cid = topology_logical_package_id(cpu); in amd_uncore_df_ctx_scan() 707 info.split.num_pmcs = ebx.split.num_df_pmc; in amd_uncore_df_ctx_scan() 836 info.split.aux_data = 0; in amd_uncore_l3_ctx_scan() [all …]
|
| /linux/security/apparmor/ |
| H A D | lib.c | 195 char *split = strnchr(&name[1], end - &name[1], ':'); in aa_splitn_fqname() local 199 if (split) { in aa_splitn_fqname() 200 *ns_len = split - *ns_name; in aa_splitn_fqname() 203 split++; in aa_splitn_fqname() 204 if (end - split > 1 && strncmp(split, "//", 2) == 0) in aa_splitn_fqname() 205 split += 2; in aa_splitn_fqname() 206 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 | 496 char *split; in __lookup_parent() local 500 for (split = strstr(hname, "//"); split;) { in __lookup_parent() 502 split - hname); in __lookup_parent() 506 hname = split + 2; in __lookup_parent() 507 split = strstr(hname, "//"); in __lookup_parent() 531 char *split; in __create_missing_ancestors() local 538 for (split = strstr(hname, "//"); split;) { in __create_missing_ancestors() 541 split - hname); in __create_missing_ancestors() 543 const char *name = kstrndup(hname, split - hname, in __create_missing_ancestors() 555 hname = split + 2; in __create_missing_ancestors() [all …]
|
| /linux/drivers/thermal/intel/ |
| H A D | intel_hfi.c | 64 } split; member 74 } split; member 337 info->index = edx.split.index; in init_hfi_cpu_index() 549 if (!edx.split.capabilities.split.performance) { in hfi_parse_features() 558 edx.split.capabilities.split.__reserved = 0; in hfi_parse_features() 559 nr_capabilities = hweight8(edx.split.capabilities.bits); in hfi_parse_features() 562 hfi_features.nr_table_pages = edx.split.table_pages + 1; in hfi_parse_features()
|
| /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/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/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_distill.c | 541 struct btf *base = NULL, *split = NULL, *new_base = NULL, *new_split = NULL; in test_distilled_endianness() local 557 split = btf__new_empty_split(base); in test_distilled_endianness() 558 if (!ASSERT_OK_PTR(split, "empty_split_btf")) in test_distilled_endianness() 560 btf__add_ptr(split, 1); in test_distilled_endianness() 562 split, in test_distilled_endianness() 565 if (!ASSERT_EQ(0, btf__distill_base(split, &new_base, &new_split), in test_distilled_endianness() 600 btf__free(split); in test_distilled_endianness()
|
| /linux/tools/lib/python/ |
| H A D | jobserver.py | 76 opts = [x for x in flags.split(" ") if x.startswith("--jobserver")] 82 split_opt = opts[-1].split('=', 1) 103 split_fds = fds.split(',')
|
| /linux/security/apparmor/include/ |
| H A D | lib.h | 203 char *split; in basename() local 206 for (split = strstr(hname, "//"); split; split = strstr(hname, "//")) in basename() 207 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/fs/iomap/ |
| H A D | ioend.c | 442 struct bio *split; in iomap_split_ioend() local 465 split = bio_split(bio, sector_offset, GFP_NOFS, &iomap_ioend_bioset); in iomap_split_ioend() 466 if (IS_ERR(split)) in iomap_split_ioend() 467 return ERR_CAST(split); in iomap_split_ioend() 468 split->bi_private = bio->bi_private; in iomap_split_ioend() 469 split->bi_end_io = bio->bi_end_io; in iomap_split_ioend() 471 split_ioend = iomap_init_ioend(ioend->io_inode, split, ioend->io_offset, in iomap_split_ioend()
|
| /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 | 10 cc_tokens = cc.split() 31 cmd = shlex.split(f"{cc} {cc_options} {option}") + [ 77 cflags = getenv('CFLAGS', '').split()
|
| /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()
|
| H A D | midibuf.h | 17 int split; member 27 extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split);
|
| /linux/fs/nfs/blocklayout/ |
| H A D | extent_tree.c | 298 struct pnfs_block_extent *split; in ext_tree_insert() local 302 split = kmemdup(new, sizeof(*new), GFP_ATOMIC); in ext_tree_insert() 303 if (!split) { in ext_tree_insert() 308 split->be_length = be->be_f_offset - split->be_f_offset; in ext_tree_insert() 309 split->be_device = nfs4_get_deviceid(new->be_device); in ext_tree_insert() 310 __ext_tree_insert(root, split, true); in ext_tree_insert() 382 sector_t split) in ext_tree_split() argument 391 be->be_length = split - be->be_f_offset; in ext_tree_split() 393 new->be_f_offset = split; in ext_tree_split()
|