Home
last modified time | relevance | path

Searched full:os (Results 1 – 25 of 1506) sorted by relevance

12345678910>>...61

/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py3 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/tools/perf/util/
H A Dstat-display.c377 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 in __new_line_std_csv()
391 __new_line_std(struct outstate * os) __new_line_std() argument
397 do_new_line_std(struct perf_stat_config * config,struct outstate * os) do_new_line_std() argument
409 struct outstate *os = ctx; print_metric_std() local
434 struct outstate *os = ctx; new_line_csv() local
447 struct outstate *os = ctx; print_metric_csv() local
469 struct outstate *os = ctx; print_metric_json() local
480 struct outstate *os = ctx; new_line_json() local
503 struct outstate *os = ctx; print_metricgroup_header_csv() local
523 struct outstate *os = ctx; print_metricgroup_header_std() local
563 struct outstate *os = ctx; print_metric_only() local
587 struct outstate *os = ctx; print_metric_only_csv() local
609 struct outstate *os = ctx; print_metric_only_json() local
638 struct outstate *os = ctx; print_metric_header() local
781 printout(struct perf_stat_config * config,struct outstate * os,double uval,u64 run,u64 ena,double noise,int aggr_idx) printout() argument
971 print_counter_aggrdata(struct perf_stat_config * config,struct evsel * counter,int aggr_idx,struct outstate * os) print_counter_aggrdata() argument
1022 print_metric_begin(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os,int aggr_idx) print_metric_begin() argument
1045 print_metric_end(struct perf_stat_config * config,struct outstate * os) print_metric_end() argument
1062 print_aggr(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_aggr() argument
1086 print_aggr_cgroup(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_aggr_cgroup() argument
1115 print_counter(struct perf_stat_config * config,struct evsel * counter,struct outstate * os) print_counter() argument
1130 print_no_aggr_metric(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_no_aggr_metric() argument
1215 struct outstate os = { print_metric_headers() local
1494 print_percore(struct perf_stat_config * config,struct evsel * counter,struct outstate * os) print_percore() argument
1542 print_cgroup_counter(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_cgroup_counter() argument
1569 struct outstate os = { evlist__print_counters() local
[all...]
/linux/drivers/block/drbd/
H A Ddrbd_state.c25 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/tools/testing/selftests/devices/probe/
H A Dtest_discoverable_devices.py19 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/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py9 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/Documentation/firmware-guide/acpi/
H A Dchromeos-acpi-device.rst4 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 …]
H A Dosi.rst24 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/Documentation/ABI/testing/
H A Dsysfs-class-mic9 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/scripts/
H A Djobserver-exec10 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)
H A Dchecktransupdate.py26 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
[all...]
/linux/drivers/net/fddi/skfp/
H A Dhwmtm.c263 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 …]
H A Dskfddi.c265 smc->os.dev = dev; in skfp_init_one()
266 smc->os.bus_type = SK_BUS_TYPE_PCI; in skfp_init_one()
267 smc->os.pdev = *pdev; in skfp_init_one()
268 smc->os.QueueSkb = MAX_TX_QUEUE_LEN; in skfp_init_one()
269 smc->os.MaxFrameSize = MAX_FRAME_SIZE; in skfp_init_one()
270 smc->os.dev = dev; in skfp_init_one()
273 smc->os.ResetRequested = FALSE; in skfp_init_one()
274 skb_queue_head_init(&smc->os.SendSkbQueue); in skfp_init_one()
299 if (smc->os.SharedMemAddr) in skfp_init_one()
300 dma_free_coherent(&pdev->dev, smc->os.SharedMemSize, in skfp_init_one()
[all …]
/linux/Documentation/security/tpm/
H A Dxen-tpmfront.rst24 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/Documentation/filesystems/
H A Dhpfs.rst49 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/tools/testing/kunit/
H A Dkunit_kernel.py13 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
[all...]
/linux/Documentation/block/
H A Dstat.rst29 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/drivers/scsi/elx/efct/
H A Defct_hw.c50 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/tools/testing/selftests/bpf/
H A Dtest_bpftool_synctypes.py8 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/Documentation/networking/device_drivers/ethernet/toshiba/
H A Dspider_net.rst31 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/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py24 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/Documentation/PCI/
H A Dacpi-info.rst8 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/drivers/gpu/drm/tegra/
H A Driscv.c40 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/Documentation/admin-guide/
H A Dkernel-per-CPU-kthreads.rst2 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/tools/testing/selftests/tc-testing/
H A Dtdc_config_local_template.py7 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/arch/s390/kernel/
H A Dos_info.c3 * 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

12345678910>>...61