/linux-6.12.1/tools/testing/selftests/damon/ |
D | _damon_sysfs.py | 3 import os 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'), [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | stat-display.c | 377 struct outstate *os = ctx; in new_line_std() local 379 os->newline = true; in new_line_std() 383 struct outstate *os) in __new_line_std_csv() argument 385 fputc('\n', os->fh); in __new_line_std_csv() 386 if (os->prefix) in __new_line_std_csv() 387 fputs(os->prefix, os->fh); in __new_line_std_csv() 388 aggr_printout(config, os->evsel, os->id, os->aggr_nr); in __new_line_std_csv() 391 static inline void __new_line_std(struct outstate *os) in __new_line_std() argument 393 fprintf(os->fh, " "); in __new_line_std() 397 struct outstate *os) in do_new_line_std() argument [all …]
|
/linux-6.12.1/drivers/block/drbd/ |
D | drbd_state.c | 25 union drbd_state os; member 280 static void after_state_ch(struct drbd_device *device, union drbd_state os, 285 static enum drbd_state_rv is_valid_transition(union drbd_state os, union drbd_state ns); 286 static union drbd_state sanitize_state(struct drbd_device *device, union drbd_state os, 464 * @os: old (current) state. 468 union drbd_state os, union drbd_state ns) in cl_wide_st_chg() argument 470 return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && in cl_wide_st_chg() 471 ((os.role != R_PRIMARY && ns.role == R_PRIMARY) || in cl_wide_st_chg() 472 (os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || in cl_wide_st_chg() 473 (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S) || in cl_wide_st_chg() [all …]
|
/linux-6.12.1/tools/testing/selftests/devices/probe/ |
D | test_discoverable_devices.py | 19 import os 25 this_dir = os.path.dirname(os.path.realpath(__file__)) 26 sys.path.append(os.path.join(this_dir, "../../kselftest/")) 41 for path, dirs, _ in os.walk(sysfs_devices): 44 pci_controllers.append(os.path.join(path, d)) 51 for d in os.scandir(sysfs_usb_devices): 53 usb_controllers.append(os.path.realpath(d.path)) 64 with open(os.path.join(sysfs_dev_dir, "uevent")) as f: 69 sysfs_dev_dir = os.path.dirname(sysfs_dev_dir) 80 with open(os.path.join(sysfs_dev_dir, "uevent")) as f: [all …]
|
/linux-6.12.1/tools/testing/selftests/drivers/sdsi/ |
D | sdsi_test.py | 9 import os 38 return os.path.isfile(kmemleak) 59 assert os.path.isfile(folder + "guid") == True 60 assert os.path.isfile(folder + "provision_akc") == True 61 assert os.path.isfile(folder + "provision_cap") == True 62 assert os.path.isfile(folder + "state_certificate") == True 63 assert os.path.isfile(folder + "registers") == True 67 mode = os.stat(folder + "guid").st_mode & 0o777 69 mode = os.stat(folder + "registers").st_mode & 0o777 71 mode = os.stat(folder + "provision_akc").st_mode & 0o777 [all …]
|
/linux-6.12.1/Documentation/firmware-guide/acpi/ |
D | chromeos-acpi-device.rst | 4 Chrome OS ACPI Device 7 Hardware functionality specific to Chrome OS is exposed through a Chrome OS ACPI device. 8 The plug and play ID of a Chrome OS ACPI device is GGL0001 and the hardware ID is 19 - Chrome OS switch positions 22 - Chrome OS hardware ID 25 - Chrome OS firmware version 28 - Chrome OS read-only firmware version 31 - Chrome OS boot information 34 - Chrome OS GPIO assignments 37 - Chrome OS NVRAM locations [all …]
|
D | osi.rst | 24 but where Linux was installed to replace the original OS (Windows or OSX). 71 interpreter in the kernel would return to it a string identifying the OS: 77 The idea was on a platform tasked with running multiple OS's, 78 the BIOS could use _OS to enable devices that an OS 80 necessary to make the platform compatible with that pre-existing OS. 83 of every possible version of the OS that would run on it, and needed to know 84 all the quirks of those OS's. Certainly it would make more sense 85 for the BIOS to ask *specific* things of the OS, such 102 and asks the OS: "YES/NO, are you compatible with this interface?" 104 eg. _OSI("3.0 Thermal Model") would return TRUE if the OS knows how [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-mic | 9 Integrated Core (MIC) architecture that runs a Linux OS. 42 MIC device in the context of the card OS. Possible values that 47 "ready" The MIC device is ready to boot the card OS. 52 "booting" The MIC device has initiated booting a card OS. 54 "shutting_down" The card OS is shutting down. 60 operations depending upon the current state of the card OS. 65 "boot" Boot the card OS image specified by the combination 69 "shutdown" Initiates card OS shutdown. 77 An Intel MIC device runs a Linux OS during its operation. This 78 OS can shutdown because of various reasons. When read, this [all …]
|
/linux-6.12.1/scripts/ |
D | jobserver-exec | 10 import os, sys, errno 18 flags = os.environ['MAKEFLAGS'] 35 reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK) 36 writer = os.open(path, os.O_WRONLY) 41 reader = os.open("/proc/self/fd/%d" % (reader), 42 os.O_RDONLY | os.O_NONBLOCK) 47 slot = os.read(reader, 8) 55 os.write(writer, jobs) 69 os.environ['PARALLELISM'] = '%d' % (claim) 75 os.write(writer, jobs)
|
D | checktransupdate.py | 26 import os 46 pipe = os.popen(command) 76 pipe = os.popen(command) 87 pipe = os.popen(command) 100 if not os.path.isfile(opath): 134 script_path = os.path.dirname(os.path.abspath(__file__)) 135 linux_path = os.path.join(script_path, "..") 136 if not os.path.isdir(f"{linux_path}/Documentation/translations/{locale}"): 149 if os.path.basename(pwd) in exclude_folders: 152 for item in os.listdir(pwd): [all …]
|
/linux-6.12.1/Documentation/security/tpm/ |
D | xen-tpmfront.rst | 24 mini-os to reduce memory and processor overhead. 26 This mini-os vTPM subsystem was built on top of the previous vTPM work done by 44 | mini-os/tpmback | 50 | mini-os/tpmfront | 55 | mini-os/tpmback | 61 | mini-os/tpm_tis | 77 * mini-os/tpmback: 78 Mini-os TPM backend driver. The Linux frontend driver 84 A mini-os stub domain that implements a vTPM. There is a 89 * mini-os/tpmfront: [all …]
|
/linux-6.12.1/drivers/net/fddi/skfp/ |
D | hwmtm.c | 263 if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) in mac_drv_init() 273 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; in mac_drv_init() 276 if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, in mac_drv_init() 356 ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + in init_txd_ring() 393 ds = (struct s_smt_fp_rxd volatile *) smc->os.hwm.descr_p ; in init_rxd_ring() 426 mb = smc->os.hwm.mbuf_pool.mb_start ; in init_fddi_driver() 427 smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; in init_fddi_driver() 449 smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; in init_fddi_driver() 450 smc->os.hwm.txd_tx_pipe = smc->os.hwm.txd_tx_tail = NULL ; in init_fddi_driver() 451 smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = smc->os.hwm.pass_DB = 0 ; in init_fddi_driver() [all …]
|
/linux-6.12.1/Documentation/filesystems/ |
D | hpfs.rst | 49 When to mark filesystem dirty so that OS/2 checks it. 57 one hour more, than under os/2, use timeshift=-3600. 63 As in OS/2, filenames are case insensitive. However, shell thinks that names 70 OS/2 ignores dots and spaces at the end of file name, so this driver does as 78 On HPFS partitions, OS/2 can associate to each file a special information called 81 variable length. OS/2 stores window and icon positions and file types there. So 107 incompatible with OS/2. OS/2 PmShell symlinks are not supported because they are 118 file has a pointer to codepage its name is in. However OS/2 was created in 120 support is quite buggy. I have Czech OS/2 working in codepage 852 on my disk. 121 Once I booted English OS/2 working in cp 850 and I created a file on my 852 [all …]
|
/linux-6.12.1/tools/testing/kunit/ |
D | kunit_kernel.py | 13 import os 31 ABS_TOOL_PATH = os.path.abspath(os.path.dirname(__file__)) 32 QEMU_CONFIGS_DIR = os.path.join(ABS_TOOL_PATH, 'qemu_configs') 118 kernel_path = os.path.join(build_dir, self._kernel_path) 148 linux_bin = os.path.join(build_dir, 'linux') 158 return os.path.join(build_dir, KCONFIG_PATH) 161 return os.path.join(build_dir, KUNITCONFIG_PATH) 164 return os.path.join(build_dir, OLD_KUNITCONFIG_PATH) 170 if not os.path.exists(path): 177 if os.path.isdir(path): [all …]
|
/linux-6.12.1/Documentation/block/ |
D | stat.rst | 29 read I/Os requests number of read I/Os processed 30 read merges requests number of read I/Os merged with in-queue I/O 33 write I/Os requests number of write I/Os processed 34 write merges requests number of write I/Os merged with in-queue I/O 37 in_flight requests number of I/Os currently in flight 40 discard I/Os requests number of discard I/Os processed 41 discard merges requests number of discard I/Os merged with in-queue I/O 44 flush I/Os requests number of flush I/Os processed 48 read I/Os, write I/Os, discard I/0s 53 flush I/Os
|
/linux-6.12.1/drivers/scsi/elx/efct/ |
D | efct_hw.c | 50 struct efct *efct = hw->os; in efct_hw_read_max_dump_size() 66 efc_log_debug(hw->os, "set dump location cmd failed\n"); in efct_hw_read_max_dump_size() 73 efc_log_debug(hw->os, "Dump size %x\n", hw->dump_size); in efct_hw_read_max_dump_size() 85 struct efct *efct = hw->os; in __efct_read_topology_cb() 88 efc_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status, in __efct_read_topology_cb() 170 struct efct *efct = hw->os; in efct_hw_cb_link() 183 efc_log_info(hw->os, "Link Up, NPORT, speed is %d\n", in efct_hw_cb_link() 193 efc_log_info(hw->os, "Link Up, LOOP, speed is %d\n", in efct_hw_cb_link() 203 efc_log_debug(hw->os, "READ_TOPOLOGY failed\n"); in efct_hw_cb_link() 205 efc_log_info(hw->os, "%s(%#x), speed is %d\n", in efct_hw_cb_link() [all …]
|
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/toshiba/ |
D | spider_net.rst | 31 and is waiting to be emptied and processed by the OS. A "not-in-use" 35 During normal operation, on device startup, the OS (specifically, the 39 buffers, and marks them "full". The OS follows up, taking the full 43 and "tail" pointers, managed by the OS, and a hardware current 54 descr. The OS will process this descr, and then mark it "not-in-use", 59 The OS will then note that the current tail is "empty", and halt 64 a "not-in-use" descr. The OS will perform various housekeeping duties 66 dma-mapping it so as to make it visible to the hardware. The OS will 71 pointer, at which point the OS will notice that the head descr is 116 As long as the OS can empty out the RX buffers at a rate faster than [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_bpftool_synctypes.py | 8 import os, sys 10 LINUX_ROOT = os.path.abspath(os.path.join(__file__, 11 os.pardir, os.pardir, os.pardir, os.pardir, os.pardir)) 12 BPFTOOL_DIR = os.getenv('BPFTOOL_DIR', 13 os.path.join(LINUX_ROOT, 'tools/bpf/bpftool')) 14 BPFTOOL_BASHCOMP_DIR = os.getenv('BPFTOOL_BASHCOMP_DIR', 15 os.path.join(BPFTOOL_DIR, 'bash-completion')) 16 BPFTOOL_DOC_DIR = os.getenv('BPFTOOL_DOC_DIR', 17 os.path.join(BPFTOOL_DIR, 'Documentation')) 18 INCLUDE_DIR = os.getenv('INCLUDE_DIR', [all …]
|
/linux-6.12.1/drivers/gpu/drm/tegra/ |
D | riscv.c | 40 struct tegra_drm_riscv_descriptor *os = &riscv->os_desc; in tegra_drm_riscv_read_descriptors() local 54 READ_PROP("nvidia,os-manifest-offset", &os->manifest_offset); in tegra_drm_riscv_read_descriptors() 55 READ_PROP("nvidia,os-code-offset", &os->code_offset); in tegra_drm_riscv_read_descriptors() 56 READ_PROP("nvidia,os-data-offset", &os->data_offset); in tegra_drm_riscv_read_descriptors() 60 bl->data_offset == 0 && os->manifest_offset == 0 && in tegra_drm_riscv_read_descriptors() 61 os->code_offset == 0 && os->data_offset == 0) { in tegra_drm_riscv_read_descriptors()
|
/linux-6.12.1/tools/power/x86/amd_pstate_tracer/ |
D | amd_pstate_trace.py | 24 import os 33 sys.path.append(os.path.join(os.path.dirname(__file__), "..", "intel_pstate_tracer")) 68 if os.path.exists(file_name): 85 if os.path.exists(file_name): 100 if os.path.exists(file_name): 178 if os.path.exists('cpu.csv'): 179 os.remove('cpu.csv') 277 location = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__))) 278 file_name = os.path.join(location, arg) 302 if not os.path.exists('results'): [all …]
|
/linux-6.12.1/Documentation/PCI/ |
D | acpi-info.rst | 8 OS might use unless there's another way for the OS to find it [1, 2]. 17 described via ACPI. The OS can discover them via the standard PCI 25 namespace [2]. The _CRS is like a generalized PCI BAR: the OS can read 27 a driver for the device [3]. That's important because it means an old OS 28 can work correctly even on a system with new devices unknown to the OS. 29 The new devices might not do anything, but the OS can at least make sure no 33 reserving address space. The static tables are for things the OS needs to 35 is defined, an old OS needs to operate correctly even though it ignores the 37 OS; a static table does not. 39 If the OS is expected to manage a non-discoverable device described via [all …]
|
/linux-6.12.1/tools/testing/selftests/tc-testing/ |
D | tdc_config_local_template.py | 7 import os 9 ENVIR = os.environ.copy() 11 ENV_LD_LIBRARY_PATH = os.getenv('LD_LIBRARY_PATH', '') 12 ENV_OTHER_LIB = os.getenv('OTHER_LIB', '') 17 EXTRA_NAMES['SOME_BIN'] = os.path.join(os.getenv('OTHER_BIN', ''), 'some_bin')
|
/linux-6.12.1/Documentation/admin-guide/ |
D | kernel-per-CPU-kthreads.rst | 2 Reducing OS jitter due to per-cpu kthreads 6 options to control their OS jitter. Note that non-per-CPU kthreads are 7 not listed here. To reduce OS jitter from non-per-CPU kthreads, bind 26 - In order to locate kernel-generated OS jitter on CPU N: 43 To reduce its OS jitter, do any of the following: 62 To reduce its OS jitter, do the following: 73 To reduce its OS jitter, do one of the following: 87 To reduce its OS jitter, each softirq vector must be handled 202 housekeeping CPUs, which can tolerate OS jitter. 228 To reduce its OS jitter, do any of the following: [all …]
|
/linux-6.12.1/arch/s390/kernel/ |
D | os_info.c | 3 * OS info memory interface 24 * OS info structure has to be page aligned 29 * Compute checksum over OS info structure 38 * Add crashkernel info to OS info and update checksum 48 * Add OS info data entry and update checksum 59 * Add OS info value entry and update checksum 70 * Initialize OS info structure and set lowcore pointer 100 * Allocate and copy OS info entry from oldmem 142 * Initialize os info and os info entries from oldmem 183 * Return pointer to os infor entry and its size
|
/linux-6.12.1/drivers/gpu/drm/ci/ |
D | check-patch.py | 11 import os 12 import os.path 16 repourl = "https://gitlab.freedesktop.org/%s.git" % os.environ["CI_MERGE_REQUEST_PROJECT_PATH"] 21 os.environ["GIT_DEPTH"] = "1000" 24 subprocess.check_call(["git", "fetch", "check-patch", os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NA… 29 … "check-patch/%s" % os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NAME"], "HEAD"], 50 "--types", os.environ["CHECKPATCH_TYPES"],
|