Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 125) sorted by relevance

12345

/Linux-v4.19/drivers/block/drbd/
Ddrbd_state.c37 union drbd_state os; member
292 static void after_state_ch(struct drbd_device *device, union drbd_state os,
297 static enum drbd_state_rv is_valid_transition(union drbd_state os, union drbd_state ns);
298 static union drbd_state sanitize_state(struct drbd_device *device, union drbd_state os,
480 union drbd_state os, union drbd_state ns) in cl_wide_st_chg() argument
482 return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && in cl_wide_st_chg()
483 ((os.role != R_PRIMARY && ns.role == R_PRIMARY) || in cl_wide_st_chg()
484 (os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || in cl_wide_st_chg()
485 (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S) || in cl_wide_st_chg()
486 (os.disk != D_FAILED && ns.disk == D_FAILED))) || in cl_wide_st_chg()
[all …]
/Linux-v4.19/drivers/net/fddi/skfp/
Dhwmtm.c271 if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) in mac_drv_init()
281 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; in mac_drv_init()
284 if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, in mac_drv_init()
364 ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + in init_txd_ring()
401 ds = (struct s_smt_fp_rxd volatile *) smc->os.hwm.descr_p ; in init_rxd_ring()
434 mb = smc->os.hwm.mbuf_pool.mb_start ; in init_fddi_driver()
435 smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; in init_fddi_driver()
457 smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; in init_fddi_driver()
458 smc->os.hwm.txd_tx_pipe = smc->os.hwm.txd_tx_tail = NULL ; in init_fddi_driver()
459 smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = smc->os.hwm.pass_DB = 0 ; in init_fddi_driver()
[all …]
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-v4.19/tools/testing/selftests/tc-testing/
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-v4.19/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py28 import os
103 if os.path.exists(file_name):
124 if os.path.exists(file_name):
143 if os.path.exists(file_name):
160 if os.path.exists(file_name):
175 if os.path.exists('cpu.csv'):
352 if os.path.exists('cpu.csv'):
355 os.system('grep -m 1 common_cpu cpu.csv > cpu{:0>3}.csv'.format(index))
356 os.system('grep CPU_{:0>3} cpu.csv >> cpu{:0>3}.csv'.format(index, index))
361 uid = os.environ.get('SUDO_UID')
[all …]
/Linux-v4.19/Documentation/sphinx/
Dload_config.py4 import os
19 config_file = os.environ.get("SPHINX_CONF", None)
21 and os.path.normpath(namespace["__file__"]) != os.path.normpath(config_file) ):
22 config_file = os.path.abspath(config_file)
24 if os.path.isfile(config_file):
Dkernel_include.py34 import os.path
62 path = os.path.realpath(
63 os.path.expandvars(self.arguments[0]))
66 if path.startswith(os.sep + "etc"):
88 source_dir = os.path.dirname(os.path.abspath(source))
91 path = os.path.join(self.standard_include_path, path[1:-1])
92 path = os.path.normpath(os.path.join(source_dir, path))
Dkfigure.py48 import os
49 from os import path
89 envpath = os.environ.get('PATH', None) or os.defpath
90 for folder in envpath.split(os.pathsep):
91 fname = folder + os.sep + cmd
97 os.makedirs(folder, mode)
112 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
/Linux-v4.19/scripts/kconfig/tests/
Dconftest.py12 import os
18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf'))
36 self._test_dir = os.path.dirname(str(request.fspath))
62 shutil.copyfile(os.path.join(self._test_dir, dot_config),
63 os.path.join(temp_dir, '.config'))
70 env=dict(os.environ, **extra_env))
90 with open(os.path.join(temp_dir, out_file)) as f:
150 defconfig_path = os.path.join(self._test_dir, defconfig)
155 all_config_path = os.path.join(self._test_dir, all_config)
226 with open(os.path.join(self._test_dir, expected)) as f:
/Linux-v4.19/Documentation/security/tpm/
Dxen-tpmfront.txt21 mini-os to reduce memory and processor overhead.
23 This mini-os vTPM subsystem was built on top of the previous vTPM work done by
41 | mini-os/tpmback |
47 | mini-os/tpmfront |
52 | mini-os/tpmback |
58 | mini-os/tpm_tis |
72 * mini-os/tpmback: Mini-os TPM backend driver. The Linux frontend driver
77 * vtpm-stubdom: A mini-os stub domain that implements a vTPM. There is a
82 * mini-os/tpmfront: Mini-os TPM frontend driver. The vTPM mini-os domain
84 vtpmmgr-stubdom. This driver is also used in mini-os
[all …]
/Linux-v4.19/net/ceph/
Dceph_fs.c15 __u32 os = layout->object_size; in ceph_file_layout_is_valid() local
20 if (!os || (os & (CEPH_MIN_STRIPE_UNIT-1))) in ceph_file_layout_is_valid()
23 if (os < su || os % su) in ceph_file_layout_is_valid()
/Linux-v4.19/arch/arm/boot/dts/
Dkirkwood-ib62x0.dts23 pmx_led_os_red: pmx-led-os-red {
31 pmx_led_os_green: pmx-led-os-green {
84 green-os {
85 label = "ib62x0:green:os";
89 red-os {
90 label = "ib62x0:red:os";
/Linux-v4.19/fs/ocfs2/
Djournal.c1913 struct ocfs2_orphan_scan *os; in ocfs2_queue_orphan_scan() local
1917 os = &osb->osb_orphan_scan; in ocfs2_queue_orphan_scan()
1919 if (atomic_read(&os->os_state) == ORPHAN_SCAN_INACTIVE) in ocfs2_queue_orphan_scan()
1922 trace_ocfs2_queue_orphan_scan_begin(os->os_count, os->os_seqno, in ocfs2_queue_orphan_scan()
1923 atomic_read(&os->os_state)); in ocfs2_queue_orphan_scan()
1933 if (atomic_read(&os->os_state) == ORPHAN_SCAN_INACTIVE) in ocfs2_queue_orphan_scan()
1936 if (os->os_seqno != seqno) { in ocfs2_queue_orphan_scan()
1937 os->os_seqno = seqno; in ocfs2_queue_orphan_scan()
1949 os->os_count++; in ocfs2_queue_orphan_scan()
1950 os->os_scantime = ktime_get_seconds(); in ocfs2_queue_orphan_scan()
[all …]
/Linux-v4.19/tools/perf/
Dbuiltin-stat.c887 struct outstate *os = ctx; in new_line_std() local
889 os->newline = true; in new_line_std()
892 static void do_new_line_std(struct outstate *os) in do_new_line_std() argument
894 fputc('\n', os->fh); in do_new_line_std()
895 fputs(os->prefix, os->fh); in do_new_line_std()
896 aggr_printout(os->evsel, os->id, os->nr); in do_new_line_std()
898 fprintf(os->fh, " "); in do_new_line_std()
899 fprintf(os->fh, " "); in do_new_line_std()
905 struct outstate *os = ctx; in print_metric_std() local
906 FILE *out = os->fh; in print_metric_std()
[all …]
/Linux-v4.19/tools/perf/Documentation/
Dperf-kvm.txt6 perf-kvm - Tool to trace/measure kvm guest os
23 a performance counter profile of guest os in realtime
47 for use by perf report. As buildid is read from /sys/kernel/notes in os, then
80 Guest os root file system mount directory. Users mounts guest os
82 typically, sshfs. For example, start 2 guest os. The one's pid is 8888
89 Guest os /proc/kallsyms file copy. 'perf' kvm' reads it to get guest
90 kernel symbols. Users copy it out from guest os.
92 Guest os /proc/modules file copy. 'perf' kvm' reads it to get guest
93 kernel module information. Users copy it out from guest os.
95 Guest os kernel vmlinux.
/Linux-v4.19/tools/perf/util/
Dparse-regs-options.c13 char *s, *os = NULL, *p; in parse_regs() local
28 s = os = strdup(str); in parse_regs()
70 free(os); in parse_regs()
Dparse-branch-options.c45 char *os = NULL; in parse_branch_str() local
54 s = os = strdup(str); in parse_branch_str()
87 free(os); in parse_branch_str()
/Linux-v4.19/scripts/
Dbpf_helpers_doc.py11 import sys, os
399 script = os.path.abspath(sys.argv[0])
400 linuxRoot = os.path.dirname(os.path.dirname(script))
401 bpfh = os.path.join(linuxRoot, 'include/uapi/linux/bpf.h')
408 if (os.path.isfile(bpfh)):
/Linux-v4.19/scripts/gdb/linux/
Dsymbols.py15 import os
78 for root, dirs, files in os.walk(path):
88 if re.match(module_pattern, name) and os.path.exists(name):
156 self.module_paths = [os.path.expanduser(p) for p in arg.split()]
157 self.module_paths.append(os.getcwd())
/Linux-v4.19/arch/ia64/scripts/
Dunwcheck.py14 import os
22 readelf = os.getenv("READELF", "readelf")
40 for line in os.popen("%s -u %s" % (readelf, sys.argv[1])):
/Linux-v4.19/drivers/gpu/drm/tegra/
Dfalcon.c90 struct falcon_fw_os_header_v1 *os; in falcon_parse_firmware_image() local
110 os = falcon->firmware.vaddr + bin->os_header_offset; in falcon_parse_firmware_image()
114 falcon->firmware.code.offset = os->code_offset; in falcon_parse_firmware_image()
115 falcon->firmware.code.size = os->code_size; in falcon_parse_firmware_image()
116 falcon->firmware.data.offset = os->data_offset; in falcon_parse_firmware_image()
117 falcon->firmware.data.size = os->data_size; in falcon_parse_firmware_image()
/Linux-v4.19/drivers/hwmon/
Dlm75.c530 int conf, hyst, os; in lm75_detect() local
577 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
586 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
587 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
588 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
589 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
590 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
597 if (hyst == 0 && os == 0) in lm75_detect()
604 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
/Linux-v4.19/tools/power/pm-graph/
Dbootgraph.py28 import os
69 if os.path.exists('/proc/version'):
138 cmdline = '%s -cronjob' % os.path.abspath(sys.argv[0])
147 cmdline += ' %s "%s"' % (arg, os.path.abspath(args.next()))
151 cmdline += ' %s "%s"' % (arg, os.path.abspath(file))
156 cmdline += ' -o "%s"' % os.path.abspath(self.testdir)
174 if not os.path.exists('/etc/default/grub'):
180 if not os.path.exists(cfg):
287 os.path.basename(sysvals.dmesgfile))
373 os.path.basename(sysvals.ftracefile))
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Drtas.c204 char *os; in rtas_progress() local
270 os = s; in rtas_progress()
271 while (*os) { in rtas_progress()
272 if (*os == '\n' || *os == '\r') { in rtas_progress()
277 if (*os == '\n' && !os[1]) { in rtas_progress()
288 if (*os == '\n') { in rtas_progress()
295 rtas_call(display_character, 1, 1, NULL, *os); in rtas_progress()
304 rtas_call(display_character, 1, 1, NULL, *os); in rtas_progress()
307 os++; in rtas_progress()
311 while ((*os != 0) && (*os != '\n') && (*os != '\r')) in rtas_progress()
[all …]
/Linux-v4.19/tools/testing/selftests/bpf/
Dtcp_server.py6 import sys, os, os.path, getopt
52 os.system(cmdStr)

12345