| /linux/tools/testing/selftests/damon/ |
| H A D | _damon_sysfs.py | 60 return os.path.join(self.scheme.sysfs_dir(), 'access_pattern') 64 os.path.join(self.sysfs_dir(), 'sz', 'min'), self.size[0]) 68 os.path.join(self.sysfs_dir(), 'sz', 'max'), self.size[1]) 71 err = write_file(os.path.join(self.sysfs_dir(), 'nr_accesses', 'min'), 75 err = write_file(os.path.join(self.sysfs_dir(), 'nr_accesses', 'max'), 80 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0]) 84 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[1]) 108 return os.path.join(self.quota.sysfs_dir(), 'goals', '%d' % self.idx) 111 err = write_file(os.path.join(self.sysfs_dir(), 'target_metric'), 115 err = write_file(os.path.join(sel [all...] |
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| H A D | vmmnv50.c | 147 struct nvkm_vmm_join *join; in nv50_vmm_pgd_pde() local 154 list_for_each_entry(join, &vmm->join, head) { in nv50_vmm_pgd_pde() 155 nvkm_kmap(join->inst); in nv50_vmm_pgd_pde() 156 nvkm_wo64(join->inst, pdeo, data); in nv50_vmm_pgd_pde() 157 nvkm_done(join->inst); in nv50_vmm_pgd_pde() 329 struct nvkm_vmm_join *join; in nv50_vmm_part() local 331 list_for_each_entry(join, &vmm->join, head) { in nv50_vmm_part() 332 if (join->inst == inst) { in nv50_vmm_part() 333 list_del(&join->head); in nv50_vmm_part() 334 kfree(join); in nv50_vmm_part() [all …]
|
| /linux/drivers/comedi/drivers/ni_routing/tools/ |
| H A D | convert_csv_to_c.py | 56 lines = '\n'.join(lines) 113 return '\n'.join(lines) 152 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H)) 241 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S)) 258 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f: 259 f.write('\n'.join(s_chunks)) 262 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f: 265 f.write('\n'.join(objs)) 268 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H) 269 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f: [all …]
|
| H A D | convert_py_to_csv.py | 34 csv_fname = path.join(CSV_DIR, name + '.csv') 54 os.makedirs(path.join(CSV_DIR,d)) 59 create_csv(path.join('route_values',family), dst_src_map, iter_src_values) 62 create_csv(path.join('device_routes',device), dst_src_map, iter_src)
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | cmd.c | 232 struct cmd_join *join; in wl1251_cmd_join() local 236 join = kzalloc_obj(*join); in wl1251_cmd_join() 237 if (!join) in wl1251_cmd_join() 240 wl1251_debug(DEBUG_CMD, "cmd join%s ch %d %d/%d", in wl1251_cmd_join() 245 bssid = (u8 *) &join->bssid_lsb; in wl1251_cmd_join() 249 join->rx_config_options = wl->rx_config; in wl1251_cmd_join() 250 join->rx_filter_options = wl->rx_filter; in wl1251_cmd_join() 252 join->basic_rate_set = RATE_MASK_1MBPS | RATE_MASK_2MBPS | in wl1251_cmd_join() 255 join->beacon_interval = beacon_interval; in wl1251_cmd_join() 256 join->dtim_interval = dtim_interval; in wl1251_cmd_join() [all …]
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_kernel.py | 33 QEMU_CONFIGS_DIR = os.path.join(ABS_TOOL_PATH, 'qemu_configs') 67 print('Populating config with:\n$', ' '.join(command)) 82 print('Building with:\n$', ' '.join(command)) 121 kernel_path = os.path.join(build_dir, self._kernel_path) 126 '-append', ' '.join(params + [self._kernel_command_line]), 133 # Note: shlex.join() does what we want, but requires python 3.8+. 134 print('Running tests with:\n$', ' '.join(shlex.quote(arg) for arg in qemu_command)) 154 linux_bin = os.path.join(build_dir, 'linux') 156 print('Running tests with:\n$', linux_bin, ' '.join(shlex.quote(arg) for arg in params)) 164 return os.path.join(build_dir, KCONFIG_PATH) [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_bpftool_synctypes.py | 10 LINUX_ROOT = os.path.abspath(os.path.join(__file__, 13 os.path.join(LINUX_ROOT, 'tools/bpf/bpftool')) 15 os.path.join(BPFTOOL_DIR, 'bash-completion')) 17 os.path.join(BPFTOOL_DIR, 'Documentation')) 19 os.path.join(LINUX_ROOT, 'tools/include')) 304 filename = os.path.join(BPFTOOL_DIR, 'main.h') 330 filename = os.path.join(BPFTOOL_DOC_DIR, 'substitutions.rst') 353 filename = os.path.join(BPFTOOL_DIR, 'prog.c') 366 filename = os.path.join(BPFTOOL_DIR, 'map.c') 375 filename = os.path.join(BPFTOOL_DIR, 'cgroup.c') [all …]
|
| H A D | cgroup_helpers.c | 276 * join_cgroup() - Join a cgroup 277 * @relative_path: The cgroup path, relative to the workdir, to join 295 * join_root_cgroup() - Join the root cgroup 307 * join_parent_cgroup() - Join a cgroup in the parent process workdir 308 * @relative_path: The cgroup path, relative to parent process workdir, to join 437 * @relative_path: The cgroup path, relative to the workdir, to join 542 fprintf(stderr, "Failed to join cgroup\n"); in cgroup_setup_and_join() 641 * join_classid() - Join a cgroupv1 net_cls classid 644 * join it here. This causes the process sockets to be tagged with the given
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 288 * Each pass the common prefix shrinks and we have to insert a join. in igt_syncmap_join_above() 289 * Each join will only contain two branches, the latest of which in igt_syncmap_join_above() 298 struct i915_syncmap *join; in igt_syncmap_join_above() local 304 join = sync->parent; in igt_syncmap_join_above() 305 if (!join) /* very first insert will have no parents */ in igt_syncmap_join_above() 308 if (!join->height) { in igt_syncmap_join_above() 314 if (hweight32(join->bitmap) != 2) { in igt_syncmap_join_above() 315 pr_err("Join does not have 2 children: %x (%d)\n", in igt_syncmap_join_above() 316 join->bitmap, hweight32(join->bitmap)); in igt_syncmap_join_above() 321 if (__sync_child(join)[__sync_branch_idx(join, context)] != sync) { in igt_syncmap_join_above() local [all …]
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | dot2k.py | 33 return "\n".join(buff) 59 return '\n'.join(buff) 65 return '\n'.join(buff) 71 return '\n'.join(buff) 100 return '\n'.join(buff) 137 tp_proto_c = ", ".join([a + b for a, b in tp_args]) 138 tp_args_c = ", ".join([b for a, b in tp_args]) 141 return '\n'.join(buff) 262 return ["res = " + separator.join(rules)] 318 self.guards[key] = ";".join(re [all...] |
| H A D | generator.py | 19 os.path.join(os.path.dirname(__file__), "templates", self.template_dir) 34 kernel_path = os.path.join("../..", self.rv_dir) 43 kernel_path = os.path.join(f"/lib/modules/{platform.release()}/build", self.rv_dir) 47 if os.path.exists(os.path.join(kernel_path, "rv_trace.h")): 60 path = os.path.join(self.abs_template_dir, file) 65 path = os.path.join(self.abs_template_dir, "..", file) 121 return '\n'.join(buff) 136 file_to_patch = os.path.join(self.rv_dir, file) 192 path = os.path.join(self.rv_dir, "monitors", path) 205 path = os.path.join(sel [all...] |
| /linux/tools/docs/ |
| H A D | sphinx-build-wrapper | 63 sys.path.insert(0, os.path.join(SRC_DIR, LIB_DIR)) 105 join self.srctree. Finally, if requested, convert to abspath. 115 path = os.path.join(base, path) 126 config = os.path.join(self.srctree, ".config") 282 bin_dir = os.path.join(venv, "bin") 283 if not os.path.isfile(os.path.join(bin_dir, "activate")): 344 print(" ".join(cmd)) 359 css = os.path.join(self.srctree, css) 361 static_dir = os.path.join(output_dir, "_static") 414 pdf_from = os.path.join(from_di [all...] |
| H A D | checktransupdate.py | 42 return "/".join(opaths) 173 linux_path = os.path.join(script_path, "../..") 191 ab_item = os.path.join(pwd, item) 237 linux_path = os.path.join(script_path, "../..") 279 os.path.join(linux_path, "Documentation"), ["translations", "output"], "rst" 290 # join the path parts back together 291 new_file = os.sep.join(new_path_parts)
|
| /linux/scripts/ |
| H A D | rustdoc_test_gen.rs | 62 let joined_potential_components = potential_components.join("_") + ".rs"; in find_real_path() 64 .join("rust/kernel") in find_real_path() 65 .join(prefix) in find_real_path() 66 .join(&joined_potential_components) in find_real_path() 72 .join(prefix) in find_real_path() 73 .join(joined_potential_components), in find_real_path() 81 let prefix = prefix.join(components_prefix.join("_")); in find_real_path() 82 if srctree.join("rust/kernel").join( in find_real_path() [all...] |
| /linux/tools/net/ynl/pyynl/lib/ |
| H A D | doc_generator.py | 103 return self.headroom(level) + "[" + ", ".join(self.inline(i) for i in list_) + "]" 122 return "\n".join(lines) 132 return "\n".join(lines) 155 return "\n".join(lines) 172 return "\n".join(lines) 182 return "\n".join(lines) 226 return "\n".join(lines) 253 return "\n".join(lines) 282 return "\n".join(lines) 322 return "\n".join(lines) [all …]
|
| /linux/scripts/kconfig/tests/ |
| H A D | conftest.py | 18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf')) 66 shutil.copyfile(os.path.join(self._test_dir, dot_config), 67 os.path.join(temp_dir, '.config')) 109 with open(os.path.join(temp_dir, out_file)) as f: 119 print("[command]\n{}\n".format(' '.join(command))) 169 defconfig_path = os.path.join(self._test_dir, defconfig) 174 all_config_path = os.path.join(self._test_dir, all_config) 249 with open(os.path.join(self._test_dir, expected)) as f:
|
| /linux/rust/proc-macro2/ |
| H A D | extra.rs | 93 join: proc_macro::Span, 105 join: group.span(), in new() 122 pub fn join(&self) -> Span { in join() method 125 DelimSpanEnum::Compiler { join, .. } => Span::_new(imp::Span::Compiler(*join)), in join() 151 Debug::fmt(&self.join(), f) in fmt()
|
| /linux/tools/perf/scripts/python/ |
| H A D | export-to-sqlite.py | 399 ' FROM call_paths c INNER JOIN call_paths p ON p.id = c.parent_id') 424 ' FROM calls INNER JOIN call_paths ON call_paths.id = call_path_id') 459 ' INNER JOIN samples ON samples.id = ptwrite.id') 470 ' INNER JOIN samples ON samples.id = cbr.id') 480 ' INNER JOIN samples ON samples.id = mwait.id') 491 ' INNER JOIN samples ON samples.id = pwre.id') 500 ' INNER JOIN samples ON samples.id = exstop.id') 516 ' INNER JOIN samples ON samples.id = pwrx.id') 544 ' INNER JOIN selected_events ON selected_events.id = evsel_id' 565 ' INNER JOIN threads AS th_out ON th_out.id = context_switches.thread_out_id' [all …]
|
| H A D | export-to-postgresql.py | 561 ' FROM call_paths c INNER JOIN call_paths p ON p.id = c.parent_id') 586 ' FROM calls INNER JOIN call_paths ON call_paths.id = call_path_id') 621 ' INNER JOIN samples ON samples.id = ptwrite.id') 632 ' INNER JOIN samples ON samples.id = cbr.id') 642 ' INNER JOIN samples ON samples.id = mwait.id') 653 ' INNER JOIN samples ON samples.id = pwre.id') 662 ' INNER JOIN samples ON samples.id = exstop.id') 678 ' INNER JOIN samples ON samples.id = pwrx.id') 704 ' FULL JOIN mwait ON mwait.id = cbr.id' 705 ' FULL JOIN pwre ON pwre.id = cbr.id' [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | netpoll_basic.py | 141 random_suffix = "".join(random.choices(string.ascii_lowercase + string.digits, k=8)) 258 BPF_THREAD.join() 261 def bpftrace_any_hit(join: bool) -> bool: 267 if join: 269 BPF_THREAD.join() 291 if bpftrace_any_hit(join=True): 304 if not BPF_THREAD.is_alive() or bpftrace_any_hit(join=False):
|
| /linux/tools/testing/selftests/tc-testing/ |
| H A D | tdc_helper.py | 37 print(curcase['id'] + ': (' + ', '.join(curcase['category']) + ") " + curcase['name']) 48 print(", ".join(sorted(categories))) 62 print("\n".join(str(s) for s in items))
|
| /linux/tools/lib/python/kdoc/ |
| H A D | enrich_formatter.py | 50 return "\n".join(indent + line for line in enriched.splitlines()) 70 usage_text = f"{prefix or 'usage: '} {prog} {' '.join(parts)}\n" 80 return ", ".join(action.option_strings)
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_join.sh | 1418 fail_test "got $count JOIN[s] syn tx expected $syn_tx" 1427 fail_test "got $count JOIN[s] syn tx create socket error expected $create" 1436 fail_test "got $count JOIN[s] syn tx bind error expected $bind" 1445 fail_test "got $count JOIN[s] syn tx connect error expected $connect" 1448 print_results "join Tx" ${rc} 1586 fail_test "got $count JOIN[s] syn rx expected $syn_nr" 1600 fail_test "got $count JOIN[s] synack rx expected $syn_ack_nr" 1610 fail_test "got $count JOIN[s] synack HMAC failure expected 0" 1619 fail_test "got $count JOIN[s] ack rx expected $ack_nr" 1628 fail_test "got $count JOIN[s] ack HMAC failure expected 0" [all …]
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | sta.c | 1167 pr_debug("[STA] Join complete (%d)\n", priv->join_complete_status); in cw1200_join_complete() 1212 struct wsm_join join = { in cw1200_do_join() local 1222 pr_warn("[STA] - Join request already pending, skipping..\n"); in cw1200_do_join() 1253 if (!join.basic_rate_set) in cw1200_do_join() 1254 join.basic_rate_set = 7; in cw1200_do_join() 1260 join.beacon_interval = priv->beacon_int; in cw1200_do_join() 1277 join.dtim_period = priv->join_dtim_period; in cw1200_do_join() 1279 join.channel_number = priv->channel->hw_value; in cw1200_do_join() 1280 join.band = (priv->channel->band == NL80211_BAND_5GHZ) ? in cw1200_do_join() 1283 memcpy(join.bssid, bssid, sizeof(join.bssid)); in cw1200_do_join() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | join.c | 3 * NXP Wireless LAN device driver: association and ad-hoc start/join 22 * This function is called from the network join command preparation routine. 78 * This function is called from the network join command preparation routine. 188 * target BSS and our adapter settings for use in an assoc/join command. 219 * This function appends a WPS IE. It is called from the network join command 264 * This function is called from the network join command preparation routine. 316 * It is called from the network join command preparation routine. 1133 * This function prepares command for ad-hoc join. 1228 /* Copy the adhoc join rates into Current BSS state structure */ in mwifiex_cmd_802_11_ad_hoc_join() 1290 * ad-hoc join. [all …]
|