Home
last modified time | relevance | path

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

1234567

/linux/drivers/block/drbd/
A Ddrbd_state.c955 ns.conn != os.conn && os.conn > C_CONNECTED) in is_valid_soft_transition()
967 os.conn < C_CONNECTED && os.pdsk > D_OUTDATED) in is_valid_soft_transition()
1195 !(os.role == R_PRIMARY && os.conn < C_CONNECTED && os.pdsk > D_OUTDATED)) in sanitize_state()
1200 !(os.role == R_PRIMARY && os.disk < D_UP_TO_DATE && os.pdsk < D_UP_TO_DATE)) in sanitize_state()
1471 ascw->os = os; in _drbd_set_state()
1676 if ((os >= D_INCONSISTENT && os != D_UNKNOWN && os != D_OUTDATED) in lost_contact_to_peer_data()
1713 sib.os = os; in after_state_ch()
1726 if (!(os.role == R_PRIMARY && os.disk < D_UP_TO_DATE && os.pdsk < D_UP_TO_DATE) && in after_state_ch()
1873 if ((!os.aftr_isp && !os.peer_isp && !os.user_isp) && in after_state_ch()
2011 if ((os.conn > C_CONNECTED && os.conn < C_AHEAD) && in after_state_ch()
[all …]
/linux/drivers/net/fddi/skfp/
A Dhwmtm.c273 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; in mac_drv_init()
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()
453 smc->os.hwm.queued_rx_frames = smc->os.hwm.queued_txd_mb = 0 ; in init_fddi_driver()
455 smc->os.hwm.rx_break = 0 ; in init_fddi_driver()
1006 smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = FALSE ; in mac_drv_rx_mode()
1676 smc->os.hwm.tx_data = in hwm_tx_frag()
1681 smc->os.hwm.tx_len) ; in hwm_tx_frag()
1686 if (smc->os.hwm.tx_mb) { in hwm_tx_frag()
[all …]
A Dskfddi.c264 smc->os.dev = dev; in skfp_init_one()
266 smc->os.pdev = *pdev; in skfp_init_one()
269 smc->os.dev = dev; in skfp_init_one()
303 smc->os.LocalRxBuffer, smc->os.LocalRxBufferDMA); in skfp_init_one()
331 lp->os.SharedMemSize, in skfp_remove_one()
332 lp->os.SharedMemAddr, in skfp_remove_one()
333 lp->os.SharedMemDMA); in skfp_remove_one()
339 lp->os.LocalRxBuffer, in skfp_remove_one()
612 bp = &smc->os; in skfp_interrupt()
1313 virt = (void *) (smc->os.SharedMemAddr + smc->os.SharedMemHeap); in mac_drv_get_space()
[all …]
/linux/scripts/
A Djobserver-exec10 import os, sys, errno
18 flags = os.environ['MAKEFLAGS']
30 reader = os.open("/proc/self/fd/%d" % (reader),
31 os.O_RDONLY | os.O_NONBLOCK)
36 slot = os.read(reader, 8)
44 os.write(writer, jobs)
58 os.environ['PARALLELISM'] = '%d' % (claim)
64 os.write(writer, jobs)
/linux/drivers/scsi/elx/efct/
A Defct_hw.c50 struct efct *efct = hw->os; in efct_hw_read_max_dump_size()
246 hw->os = os; in efct_hw_setup()
278 if (sli_setup(&hw->sli, hw->os, pdev, ((struct efct *)os)->reg)) { in efct_hw_setup()
321 efc_log_info(hw->os, in efct_logfcfi()
554 efc_log_err(hw->os, in efct_hw_setup_io()
1785 efc_log_err(hw->os, in efct_hw_io_add_sge()
1792 efc_log_err(hw->os, in efct_hw_io_add_sge()
2578 efc_log_err(hw->os, in efct_hw_bls_send()
2627 efc_log_err(hw->os, in efct_hw_bls_send()
2836 efc_log_err(hw->os, in efct_els_hw_srrs_send()
[all …]
A Defct_hw_queues.c98 struct efct *efct = hw->os; in efct_hw_map_wq_cpu()
223 efc_log_err(hw->os, "Failed to create CQ Set.\n"); in efct_hw_new_cq_set()
261 efc_log_err(hw->os, "MQ allocation failure\n"); in efct_hw_new_mq()
296 efc_log_err(hw->os, "WQ allocation failure\n"); in efct_hw_new_wq()
498 efc_log_err(hw->os, in efct_hw_rqpair_get()
511 efc_log_err(hw->os, in efct_hw_rqpair_get()
542 efc_log_debug(hw->os, in efct_hw_rqpair_process_rq()
553 efc_log_debug(hw->os, in efct_hw_rqpair_process_rq()
596 efct_unsolicited_cb(hw->os, seq); in efct_hw_rqpair_process_rq()
645 efc_log_debug(hw->os, in efct_hw_rqpair_put()
[all …]
/linux/tools/power/x86/intel_pstate_tracer/
A Dintel_pstate_tracer.py29 import os
104 if os.path.exists(file_name):
125 if os.path.exists(file_name):
368 os.remove('cpu.csv')
526 location = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
552 os.mkdir('results')
556 os.chdir('results')
557 if os.path.exists(testname):
560 os.mkdir(testname)
563 os.chdir(testname)
[all …]
/linux/tools/testing/selftests/bpf/
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.path.join(LINUX_ROOT, 'tools/bpf/bpftool')
283 filename = os.path.join(BPFTOOL_DIR, 'prog.c')
298 filename = os.path.join(BPFTOOL_DIR, 'map.c')
310 filename = os.path.join(BPFTOOL_DIR, 'cgroup.c')
319 filename = os.path.join(BPFTOOL_DIR, 'common.c')
346 self.filename = os.path.join(BPFTOOL_DIR, filename)
407 self.filename = os.path.join(BPFTOOL_DIR, filename)
[all …]
A Dtest_bpftool.py7 import os
14 cur_dir = os.path.dirname(os.path.realpath(__file__))
15 bpftool_dir = os.path.abspath(os.path.join(cur_dir, "..", "..", "..", "..",
17 os.environ["PATH"] = bpftool_dir + ":/usr/local/sbin:" + os.environ["PATH"]
69 if os.getuid() != 0:
/linux/drivers/comedi/drivers/ni_routing/tools/
A Dconvert_csv_to_c.py7 import os, sys, re
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))
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:
278 filename=os.path.join(self.OUTPUT_DIR, self.SET_C)
281 os.makedirs(os.path.join(self.OUTPUT_DIR, self.ITEMS_DIR))
457 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
458 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f:
467 filename=os.path.join(self.OUTPUT_DIR, self.SET_C)
[all …]
/linux/scripts/clang-tools/
A Dgen_compile_commands.py13 import os
67 os.path.abspath(args.directory),
86 exclude_dirs = [ os.path.join(directory, d) for d in _EXCLUDE_DIRS ]
88 for dirpath, dirnames, filenames in os.walk(directory, topdown=True):
96 yield os.path.join(dirpath, filename)
108 dir, base = os.path.split(path)
109 return os.path.join(dir, '.' + base + '.cmd')
156 base, ext = os.path.splitext(ko)
190 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
191 if not os.path.exists(abs_path):
[all …]
/linux/tools/perf/util/
A Dstat-display.c162 os->newline = true; in new_line_std()
169 fputs(os->prefix, os->fh); in do_new_line_std()
170 aggr_printout(config, os->evsel, os->id, os->nr); in do_new_line_std()
209 if (os->prefix) in new_line_csv()
210 fprintf(os->fh, "%s%s", os->prefix, config->csv_sep); in new_line_csv()
211 aggr_printout(config, os->evsel, os->id, os->nr); in new_line_csv()
318 os->evsel->priv != os->evsel->evlist->selected->priv) in print_metric_header()
445 os.nfields = 3; in printout()
448 os.nfields++; in printout()
499 out.ctx = &os; in printout()
[all …]
/linux/tools/testing/selftests/tc-testing/
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/tools/testing/kunit/
A Dkunit_kernel.py12 import os
27 ABS_TOOL_PATH = os.path.abspath(os.path.dirname(__file__))
32 default = os.path.join(build_dir, default)
190 elif os.path.isfile(config_path):
207 module_path = '.' + os.path.join(os.path.basename(QEMU_CONFIGS_DIR), os.path.basename(config_path))
243 if os.path.isdir(kunitconfig_path):
245 if not os.path.exists(kunitconfig_path):
249 if not os.path.exists(kunitconfig_path):
280 os.mkdir(build_dir)
293 if os.path.exists(kconfig_path):
[all …]
/linux/scripts/kconfig/tests/
A 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))
66 shutil.copyfile(os.path.join(self._test_dir, dot_config),
67 os.path.join(temp_dir, '.config'))
74 env=dict(os.environ, **extra_env))
94 with open(os.path.join(temp_dir, out_file)) as f:
154 defconfig_path = os.path.join(self._test_dir, defconfig)
159 all_config_path = os.path.join(self._test_dir, all_config)
230 with open(os.path.join(self._test_dir, expected)) as f:
/linux/Documentation/security/tpm/
A Dxen-tpmfront.rst24 mini-os to reduce memory and processor overhead.
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:
90 Mini-os TPM frontend driver. The vTPM mini-os domain
[all …]
/linux/Documentation/sphinx/
A 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)
47 if os.path.isfile(config_file):
A 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))
A Dkernel_feat.py35 import os
39 from os import path
91 srctree = path.abspath(os.environ["srctree"])
96 path_env = os.pathsep.join([
97 srctree + os.sep + "scripts",
98 os.environ["PATH"]
100 shell_env = os.environ.copy()
A Dkernel_abi.py36 import os
42 from os import path
89 srctree = path.abspath(os.environ["srctree"])
94 path_env = os.pathsep.join([
95 srctree + os.sep + "scripts",
96 os.environ["PATH"]
98 shell_env = os.environ.copy()
/linux/tools/testing/kunit/qemu_configs/
A Driscv.py2 import os
3 import os.path
7 OPENSBI_FILE = os.path.basename(GITHUB_OPENSBI_URL)
9 if not os.path.isfile(OPENSBI_FILE):
14 os.system('wget ' + GITHUB_OPENSBI_URL)
/linux/tools/cgroup/
A Diocost_coef_gen.py25 import os
64 devname = os.path.basename(devname).decode('utf-8').strip()
69 devname = os.path.basename(os.path.dirname(parents[0]))
70 rdev = os.stat(f'/dev/{devname}').st_rdev
76 if os.path.isfile(path) and os.stat(path).st_size == size:
127 devname = os.path.basename(args.testdev)
128 rdev = os.stat(f'/dev/{devname}').st_rdev
/linux/fs/ocfs2/
A Djournal.c1947 trace_ocfs2_queue_orphan_scan_begin(os->os_count, os->os_seqno, in ocfs2_queue_orphan_scan()
1962 os->os_seqno = seqno; in ocfs2_queue_orphan_scan()
1974 os->os_count++; in ocfs2_queue_orphan_scan()
1979 trace_ocfs2_queue_orphan_scan_end(os->os_count, os->os_seqno, in ocfs2_queue_orphan_scan()
1992 osb = os->os_osb; in ocfs2_orphan_scan_work()
1994 mutex_lock(&os->os_lock); in ocfs2_orphan_scan_work()
2009 mutex_lock(&os->os_lock); in ocfs2_orphan_scan_stop()
2020 os->os_osb = osb; in ocfs2_orphan_scan_init()
2021 os->os_count = 0; in ocfs2_orphan_scan_init()
2022 os->os_seqno = 0; in ocfs2_orphan_scan_init()
[all …]
/linux/fs/ceph/
A Dutil.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/Documentation/
A Dconf.py16 import os
26 sys.path.insert(0, os.path.abspath('sphinx'))
510 for fn in os.listdir('.'):
511 doc = os.path.join(fn, "index")
512 if os.path.exists(doc + ".rst"):

Completed in 59 milliseconds

1234567