/linux/tools/testing/selftests/damon/ |
H A 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/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 | 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/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 | 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/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/Documentation/sphinx/ |
H A 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/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(&prefix).is_dir() { in find_real_path()
|
H A 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/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')) 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/tools/verification/dot2/ |
H A D | dot2k.py | 66 kernel_path = os.path.join("../..", self.rv_dir) 75 kernel_path = os.path.join("/lib/modules/%s/build" % platform.release(), self.rv_dir) 79 if os.path.exists(os.path.join(kernel_path, "rv_trace.h")): 212 tp_proto_c = ", ".join([a+b for a,b in tp_args]) 213 tp_args_c = ", ".join([b for a,b in tp_args]) 242 file_to_patch = os.path.join(self.rv_dir, file) 294 path = os.path.join(self.rv_dir, "monitors", path) 315 path = os.path.join(self.rv_dir, "monitors", path)
|
/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/tc-testing/ |
H A 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/drivers/net/wireless/st/cw1200/ |
H A 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/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 …]
|
/linux/include/rdma/ |
H A 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/scripts/clang-tools/ |
H A 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/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond_options.sh | 255 # arp_valid == 0 or active_slave should not join any maddrs 260 # arp_valid != 0 and backup_slave should join both maddrs 278 # arp_valid == 0 or active_slave should not join any maddrs 283 # arp_valid != 0 and backup_slave should join both maddrs 317 log_test "arp_validate" "join mcast group"
|
/linux/drivers/infiniband/core/ |
H A D | multicast.c | 225 * type based on their join state. Adjust the number of members the belong to 226 * the specified join states. 238 * If a multicast group has zero members left for a particular join state, but 239 * the group is still a member with the SA, we need to leave that join state. 240 * Determine which join states we still belong to, but that do not have any 489 * Fail a join request if it is still active - at the head of the pending queue. 600 * We serialize all join requests to a single group to make our lives much 601 * easier. Otherwise, two users could try to join the same group 603 * join is in progress, etc., which makes locking around error recovery
|
/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_multicast.c | 67 /* join state that allows creating mcg with sendonly member request */ 95 * task immediately. The join task will make sure to in __ipoib_mcast_schedule_join_thread() 402 ipoib_dbg_mcast(priv, "%smulticast join failed for %pI6, status %d\n", in ipoib_mcast_join_complete() 406 ipoib_warn(priv, "%smulticast join failed for %pI6, status %d\n", in ipoib_mcast_join_complete() 423 * and restart the join thread. The empty queue in ipoib_mcast_join_complete() 424 * is why the join thread ignores this group. in ipoib_mcast_join_complete() 435 /* Requeue this join task with a backoff delay */ in ipoib_mcast_join_complete() 540 /* Requeue this join task with a backoff delay */ in ipoib_mcast_join() 566 ipoib_dbg(priv, "port state is not ACTIVE (state = %d) suspending join task\n", in ipoib_mcast_join_task() 684 ipoib_warn(priv, "ipoib_mcast_leave on an in-flight join\n"); in ipoib_mcast_leave() [all …]
|
/linux/tools/usb/ |
H A 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)
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | linear.rst | 29 # Join 2 devices together 38 # Split a device into 4M chunks and then join them together in reverse order.
|