/linux-6.12.1/tools/testing/selftests/damon/ |
D | _damon_sysfs.py | 56 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-6.12.1/drivers/comedi/drivers/ni_routing/tools/ |
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 …]
|
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-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
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 …]
|
D | vmmgk20a.c | 38 .join = gf100_vmm_join, 53 .join = gf100_vmm_join,
|
D | vmmgm20b.c | 26 .join = gm200_vmm_join, 42 .join = gm200_vmm_join,
|
D | vmmgk104.c | 69 .join = gf100_vmm_join, 84 .join = gf100_vmm_join,
|
/linux-6.12.1/scripts/ |
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(&prefix).is_dir() { in find_real_path()
|
D | checktransupdate.py | 39 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-6.12.1/tools/testing/selftests/devices/probe/ |
D | test_discoverable_devices.py | 26 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_sysfs, path_glob)) [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
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 …]
|
D | veristat.c | 1882 struct verif_stats_join *join; in handle_comparison_mode() local 1905 join = &env.join_stats[env.join_stat_cnt]; in handle_comparison_mode() 1906 memset(join, 0, sizeof(*join)); in handle_comparison_mode() 1910 join->file_name = base->file_name; in handle_comparison_mode() 1911 join->prog_name = base->prog_name; in handle_comparison_mode() 1912 join->stats_a = base; in handle_comparison_mode() 1913 join->stats_b = comp; in handle_comparison_mode() 1917 join->file_name = base->file_name; in handle_comparison_mode() 1918 join->prog_name = base->prog_name; in handle_comparison_mode() 1919 join->stats_a = base; in handle_comparison_mode() [all …]
|
/linux-6.12.1/drivers/net/wireless/ti/wl1251/ |
D | cmd.c | 273 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-6.12.1/tools/testing/kunit/ |
D | kunit_kernel.py | 32 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)) 118 kernel_path = os.path.join(build_dir, self._kernel_path) 123 '-append', ' '.join(params + [self._kernel_command_line]), 128 print('Running tests with:\n$', ' '.join(shlex.quote(arg) for arg in qemu_command)) 148 linux_bin = os.path.join(build_dir, 'linux') 150 print('Running tests with:\n$', linux_bin, ' '.join(shlex.quote(arg) for arg in params)) 158 return os.path.join(build_dir, KCONFIG_PATH) 161 return os.path.join(build_dir, KUNITCONFIG_PATH) [all …]
|
/linux-6.12.1/Documentation/sphinx/ |
D | kfigure.py | 252 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 …]
|
D | kerneldoc.py | 113 'calling kernel-doc \'%s\'' % (" ".join(cmd))) 124 … 'kernel-doc \'%s\' failed with return code %d' % (" ".join(cmd), p.returncode)) 152 (" ".join(cmd), str(e)))
|
D | translations.py | 47 docname = os.path.join(*components[2:]) 59 target_name = os.path.join('translations', lang_code, docname)
|
D | kernel_include.py | 94 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-6.12.1/tools/net/ynl/ |
D | ynl-gen-rst.py | 102 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-6.12.1/scripts/kconfig/tests/ |
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')) 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-6.12.1/tools/testing/selftests/tc-testing/ |
D | tdc_helper.py | 37 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-6.12.1/drivers/gpu/drm/i915/selftests/ |
D | i915_syncmap.c | 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() 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-6.12.1/scripts/clang-tools/ |
D | gen_compile_commands.py | 86 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-6.12.1/tools/cgroup/ |
D | memcg_shrinker.py | 15 path = os.path.join(root, cgroup) 28 count_path = os.path.join(root, shrinker, "count")
|
/linux-6.12.1/tools/usb/ |
D | p9_fwd.py | 22 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)
|