/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/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 …]
|
/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/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/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]), 127 # Note: shlex.join() does what we want, but requires python 3.8+. 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) [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() 281 wl1251_debug(DEBUG_CMD, "cmd join%s ch %d %d/%d", 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() [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 | cgroup_helpers.c | 275 * join_cgroup() - Join a cgroup 276 * @relative_path: The cgroup path, relative to the workdir, to join 294 * join_root_cgroup() - Join the root cgroup 306 * join_parent_cgroup() - Join a cgroup in the parent process workdir 307 * @relative_path: The cgroup path, relative to parent process workdir, to join 396 * @relative_path: The cgroup path, relative to the workdir, to join 501 fprintf(stderr, "Failed to join cgroup\n"); in cgroup_setup_and_join() 600 * join_classid() - Join a cgroupv1 net_cls classid 603 * join it here. This causes the process sockets to be tagged with the given
|
/linux-6.12.1/drivers/gpu/drm/i915/selftests/ |
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-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 …]
|
D | ethtool.py | 71 print(f'{name}: {" ".join(speed)}') 157 spec = os.path.join(script_abs_dir, 159 schema = os.path.join(script_abs_dir, 358 print(f'Supported ports: [ {" ".join(ports)} ]') 367 fec_str = " ".join(fec) 425 print(f'Current message level: {" ".join(msgmask)}')
|
/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 …]
|
/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" 252 # join the path parts back together 253 new_file = os.sep.join(new_path_parts)
|
/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/perf/scripts/python/ |
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 …]
|
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-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/fs/ocfs2/dlm/ |
D | dlmdomain.c | 5 * defines domain join / leave apis 316 /* we may still be in the list if we hit an error during join. */ in dlm_ctxt_release() 509 * state and the dlm spinlock for join state... Sorry! */ in dlm_mark_domain_leaving() 735 "node %u wanted to join with %s locking protocol " in dlm_query_join_proto_check() 745 "Node %u wanted to join with %s locking " in dlm_query_join_proto_check() 802 mlog(0, "node %u wants to join domain %s\n", query->node_idx, in dlm_query_join_handler() 828 * join request if joining node has different node map. in dlm_query_join_handler() 834 mlog(0, "disallow join as node %u does not " in dlm_query_join_handler() 855 * haven't started our join process yet, then in dlm_query_join_handler() 862 mlog(0, "node %u trying to join, but recovery " in dlm_query_join_handler() [all …]
|
/linux-6.12.1/drivers/net/wireless/st/cw1200/ |
D | sta.c | 1166 pr_debug("[STA] Join complete (%d)\n", priv->join_complete_status); in cw1200_join_complete() 1211 struct wsm_join join = { in cw1200_do_join() local 1221 pr_warn("[STA] - Join request already pending, skipping..\n"); in cw1200_do_join() 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() [all …]
|
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/ |
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. 1140 * This function prepares command for ad-hoc join. 1235 /* Copy the adhoc join rates into Current BSS state structure */ in mwifiex_cmd_802_11_ad_hoc_join() 1297 * ad-hoc join. [all …]
|
/linux-6.12.1/tools/testing/selftests/net/mptcp/ |
D | mptcp_join.sh | 1373 fail_test "got $count JOIN[s] syn tx expected $syn_tx" 1382 fail_test "got $count JOIN[s] syn tx create socket error expected $create" 1391 fail_test "got $count JOIN[s] syn tx bind error expected $bind" 1400 fail_test "got $count JOIN[s] syn tx connect error expected $connect" 1403 print_results "join Tx" ${rc} 1431 fail_test "got $count JOIN[s] syn rx expected $syn_nr" 1445 fail_test "got $count JOIN[s] synack rx expected $syn_ack_nr" 1455 fail_test "got $count JOIN[s] ack rx expected $ack_nr" 1458 print_results "join Rx" ${rc} 1575 fail_test "got $count JOIN[s] syn with a different \ [all …]
|
/linux-6.12.1/include/rdma/ |
D | ib_sa.h | 74 * There are 4 types of join states: 429 * ib_sa_join_multicast - Initiates a join request to the specified multicast 439 * @callback: User callback invoked once the join operation completes. 442 * This call initiates a multicast join request with the SA for the specified 443 * multicast group. If the join operation is started successfully, it returns 446 * join operation later fails. (The callback status is non-zero.) 448 * If the join operation fails; status will be non-zero, with the following
|
/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))
|