/kernel/linux/linux-5.10/drivers/media/dvb-core/ |
H A D | dvb_ringbuffer.c | 136 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 D | dvb_ringbuffer.c | 136 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 D | extent_map.c | 703 * 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 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() 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 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() 98 out_sg[-1].length = split->length_last_sg; in sg_split_phys() 107 struct sg_splitter *split; in sg_split_mapped() local [all...] |
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | util.py | 105 clean_lines = out.split('\n') 109 connector_tokens = line_text.split() 114 connector_tokens = line_text.split("tcp:") 183 version = tuple(version.split(".")) 212 v1 = tuple(map(int, version1.split('.'))) 213 v2 = tuple(map(int, version2.split('.'))) 228 and len(str(ret).split()) \ 229 != 0 and str(ret).split()[0] == "0": 241 and len(str(ret).split()) != 0 and str(ret).split()[ [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_xtree.c | 96 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 D | virtio_ring.c | 117 /* 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 D | automata.py | 54 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 D | jfs_xtree.c | 96 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/security/apparmor/ |
H A D | lib.c | 49 * 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-6.6/drivers/virtio/ |
H A D | virtio_ring.c | 189 * 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-5.10/arch/x86/kernel/cpu/ |
H A D | cacheinfo.c | 137 } 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 D | cacheinfo.c | 152 } 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...] |
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | public_method.py | 56 for line in strout.split("\n"): 66 root_path = current_path.split("/test/testfwk/developer_test")[0] 98 _, testsuite = command.split(" -ts ") 115 component_name = command.split(" -tp ")[-1].split(" ")[0] 131 system_name = command.split(" -ss ")[-1].split(" ")[0]
|
/test/xts/tools/lite/reliability/ |
H A D | NativePressTest.py | 52 splitlines = cmdRet.strip('\n\t\r').split("\n") 55 if len(line.split()) >= 1: 57 testPID.append(line.split()[1]) 86 splitlines = cmdRet.strip('\n\t\r').split("\n") 89 splitlines = line.split() 109 print("abs path is %s" % (os.path.split(os.path.realpath(__file__))[0])) 110 testScriptPath = os.path.split(os.path.realpath(__file__))[0]
|
/kernel/liteos_m/tools/ |
H A D | mem_analysis.py | 204 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 D | parse_excinfo.py | 64 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 D | lib.c | 29 * 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...] |
/kernel/linux/linux-5.10/arch/x86/oprofile/ |
H A D | op_model_ppro.c | 86 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 D | lbr.c | 46 } 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...] |
/test/xts/acts/arkui/libuv/ |
H A D | genlocal.py | 60 subprocess.run(commond.split(" "), shell=False, capture_output=True) 89 linelist = line.split(",") 226 timelist = latestpath.split("/") 238 suitelist = tasklogline.split("[Start test suite [") 239 suiteitem = suitelist[1].split("]") 242 freslist = tasklogline.split("ok") 246 caseline = numcase.split("-") 251 freslist = tasklogline.split("not ok") 255 caseline = numcase.split("-") 269 loccasename = casename.split(" [all...] |
/test/testfwk/developer_test/aw/python/distributed/common/ |
H A D | drivers.py | 40 level_list = list(set(level_string.split(","))) 72 file_dir = suite_file.split("distributedtest")[1].strip(os.sep).split(os.sep)[0] 122 case_dir, file_name = os.path.split(suite_file) 123 dst_dir = case_dir.split("distributedtest")[1].strip(os.sep) 136 strip_num = len(coverage_outpath.split("/")) - 1
|
/kernel/linux/linux-6.6/drivers/thermal/intel/ |
H A D | intel_hfi.c | 64 } 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()
|
/base/startup/init/services/etc/passwd_appender/ |
H A D | passwd_appender.py | 44 arr = line.strip().split(":") 65 arr = line.strip().split(":") 80 arr = line.strip().split(":") 139 passwd_info = line.strip("\n").split(":") 155 limits = limit.split("-") 165 file_list = options.source_file.split(":") 166 range_list = options.input_ranges.split(":")
|