Home
last modified time | relevance | path

Searched refs:join (Results 1 – 25 of 153) sorted by relevance

1234567

/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py56 return os.path.join(self.scheme.sysfs_dir(), 'access_pattern')
60 os.path.join(self.sysfs_dir(), 'sz', 'min'), self.size[0])
64 os.path.join(self.sysfs_dir(), 'sz', 'max'), self.size[1])
67 err = write_file(os.path.join(self.sysfs_dir(), 'nr_accesses', 'min'),
71 err = write_file(os.path.join(self.sysfs_dir(), 'nr_accesses', 'max'),
76 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0])
80 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[1])
102 return os.path.join(self.quota.sysfs_dir(), 'goals', '%d' % self.idx)
105 err = write_file(os.path.join(self.sysfs_dir(), 'target_metric'),
109 err = write_file(os.path.join(self.sysfs_dir(), 'target_value'),
[all …]
/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py56 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 Dconvert_py_to_csv.py34 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/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmnv50.c147 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 …]
H A Dvmmgk20a.c38 .join = gf100_vmm_join,
53 .join = gf100_vmm_join,
H A Dvmmgm20b.c26 .join = gm200_vmm_join,
42 .join = gm200_vmm_join,
H A Dvmmgk104.c69 .join = gf100_vmm_join,
84 .join = gf100_vmm_join,
/linux/tools/testing/selftests/devices/probe/
H A Dtest_discoverable_devices.py26 sys.path.append(os.path.join(this_dir, "../../kselftest/"))
44 pci_controllers.append(os.path.join(path, d))
64 with open(os.path.join(sysfs_dev_dir, "uevent")) as f:
80 with open(os.path.join(sysfs_dev_dir, "uevent")) as f:
89 with open(os.path.join(sysfs_dev_dir, "firmware_node", "uid")) as f:
95 with open(os.path.join(sysfs_dev_dir, "uevent")) as f:
101 with open(os.path.join(sysfs_dev_dir, "uevent")) as f:
147 dirname = os.path.join(
156 path_glob = os.path.join(path_glob, pci_dev_sysfs_fmt.format(dev_func))
158 dir_list = glob.glob(os.path.join(parent_sysf
[all...]
/linux/scripts/
H A Drustdoc_test_gen.rs62 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(&prefix).is_dir() { in find_real_path()
H A Dchecktransupdate.py39 return "/".join(opaths)
135 linux_path = os.path.join(script_path, "..")
153 ab_item = os.path.join(pwd, item)
199 linux_path = os.path.join(script_path, "..")
241 os.path.join(linux_path, "Documentation"), ["translations", "output"], "rst"
253 new_file = os.sep.join(new_path_parts)
/linux/tools/testing/selftests/bpf/
H A Dtest_bpftool_synctypes.py10 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 …]
/linux/drivers/net/wireless/ti/wl1251/
H A Dcmd.c273 struct cmd_join *join; in wl1251_cmd_join() local
277 join = kzalloc(sizeof(*join), GFP_KERNEL); in wl1251_cmd_join()
278 if (!join) in wl1251_cmd_join()
286 bssid = (u8 *) &join->bssid_lsb; in wl1251_cmd_join()
290 join->rx_config_options = wl->rx_config; in wl1251_cmd_join()
291 join->rx_filter_options = wl->rx_filter; in wl1251_cmd_join()
293 join->basic_rate_set = RATE_MASK_1MBPS | RATE_MASK_2MBPS | in wl1251_cmd_join()
296 join->beacon_interval = beacon_interval; in wl1251_cmd_join()
297 join->dtim_interval = dtim_interval; in wl1251_cmd_join()
298 join->bss_type = bss_type; in wl1251_cmd_join()
[all …]
/linux/tools/testing/kunit/
H A Dkunit_kernel.py32 QEMU_CONFIGS_DIR = os.path.join(ABS_TOOL_PATH, 'qemu_configs')
66 print('Populating config with:\n$', ' '.join(command))
81 print('Building with:\n$', ' '.join(command))
120 kernel_path = os.path.join(build_dir, self._kernel_path)
125 '-append', ' '.join(params + [self._kernel_command_line]),
130 print('Running tests with:\n$', ' '.join(shlex.quote(arg) for arg in qemu_command))
150 linux_bin = os.path.join(build_dir, 'linux')
152 print('Running tests with:\n$', linux_bin, ' '.join(shlex.quote(arg) for arg in params))
160 return os.path.join(build_dir, KCONFIG_PATH)
163 return os.path.join(build_dir, KUNITCONFIG_PATH)
[all …]
/linux/Documentation/sphinx/
H A Dkfigure.py252 src_fname = path.join(translator.builder.srcdir, img_node['uri'])
254 src_fname = path.join(translator.builder.outdir, img_node['uri'])
270 dst_fname = path.join(translator.builder.outdir, fname + '.pdf')
276 dst_fname = path.join(
280 img_node['uri'] = path.join(
283 '*': path.join(translator.builder.imgpath, fname + '.svg')}
299 dst_fname = path.join(translator.builder.outdir, fname + '.pdf')
319 svg_fname = path.join(translator.builder.outdir, fname + '.svg')
358 "Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
391 kernellog.warn(app, "Error #%d when calling: %s" % (exit_code, " ".join(cmd)))
[all …]
H A Dkerneldoc.py113 'calling kernel-doc \'%s\'' % (" ".join(cmd)))
124 … 'kernel-doc \'%s\' failed with return code %d' % (" ".join(cmd), p.returncode))
152 (" ".join(cmd), str(e)))
H A Dtranslations.py47 docname = os.path.join(*components[2:])
59 target_name = os.path.join('translations', lang_code, docname)
H A Dkernel_include.py94 path = os.path.join(self.standard_include_path, path[1:-1])
95 path = os.path.normpath(os.path.join(source_dir, path))
123 rawtext = ''.join(lines[startline:endline])
/linux/tools/net/ynl/
H A Dynl-gen-rst.py102 return headroom(level) + "[" + ", ".join(inline(i) for i in list_) + "]"
123 return "\n".join(lines)
133 return "\n".join(lines)
151 return "\n".join(lines)
164 return "\n".join(lines)
173 return "\n".join(lines)
207 return "\n".join(lines)
232 return "\n".join(lines)
257 return "\n".join(lines)
288 return "\n".join(lines)
[all …]
/linux/scripts/kconfig/tests/
H A Dconftest.py18 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'))
94 with open(os.path.join(temp_dir, out_file)) as f:
104 print("[command]\n{}\n".format(' '.join(command)))
154 defconfig_path = os.path.join(self._test_dir, defconfig)
159 all_config_path = os.path.join(self._test_dir, all_config)
234 with open(os.path.join(self._test_dir, expected)) as f:
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_syncmap.c298 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()
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
/linux/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py37 print(curcase['id'] + ': (' + ', '.join(curcase['category']) + ") " + curcase['name'])
44 print(", ".join(str(s) for s in categories))
58 print("\n".join(str(s) for s in items))
/linux/scripts/clang-tools/
H A Dgen_compile_commands.py86 exclude_dirs = [ os.path.join(directory, d) for d in _EXCLUDE_DIRS ]
96 yield os.path.join(dirpath, filename)
109 return os.path.join(dir, '.' + base + '.cmd')
176 abs_path = os.path.realpath(os.path.join(root_directory, file_path))
/linux/tools/cgroup/
H A Dmemcg_shrinker.py15 path = os.path.join(root, cgroup)
28 count_path = os.path.join(root, shrinker, "count")
/linux/tools/usb/
H A Dp9_fwd.py22 dev_path = ".".join(str(i) for i in dev.port_numbers)
27 HEXDUMP_FILTER = "".join(chr(x).isprintable() and chr(x) or "." for x in range(128)) + "." * 128
38 dump = " ".join(f"{x:02x}" for x in chars)
39 printable = "".join(HEXDUMP_FILTER[x] for x in chars)
/linux/drivers/net/wireless/st/cw1200/
H A Dsta.c1211 struct wsm_join join = { in cw1200_do_join() local
1252 if (!join.basic_rate_set) in cw1200_do_join()
1253 join.basic_rate_set = 7; in cw1200_do_join()
1259 join.beacon_interval = priv->beacon_int; in cw1200_do_join()
1276 join.dtim_period = priv->join_dtim_period; in cw1200_do_join()
1278 join.channel_number = priv->channel->hw_value; in cw1200_do_join()
1279 join.band = (priv->channel->band == NL80211_BAND_5GHZ) ? in cw1200_do_join()
1282 memcpy(join.bssid, bssid, sizeof(join.bssid)); in cw1200_do_join()
1285 join.bssid, in cw1200_do_join()
1286 join.dtim_period, priv->beacon_int); in cw1200_do_join()
[all …]

1234567