Home
last modified time | relevance | path

Searched refs:os (Results 1 - 25 of 464) sorted by relevance

12345678910>>...19

/kernel/linux/linux-5.10/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()
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 in cl_wide_st_chg()
467 cl_wide_st_chg(struct drbd_device *device, union drbd_state os, union drbd_state ns) cl_wide_st_chg() argument
481 apply_mask_val(union drbd_state os, union drbd_state mask, union drbd_state val) apply_mask_val() argument
520 union drbd_state os, ns; _req_st_cond() local
568 union drbd_state os, ns; drbd_req_state() local
733 print_st_err(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum drbd_state_rv err) print_st_err() argument
743 print_state_change(char *pb, union drbd_state os, union drbd_state ns, enum chg_state_flags flags) print_state_change() argument
774 drbd_pr_state_change(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum chg_state_flags flags) drbd_pr_state_change() argument
799 conn_pr_state_change(struct drbd_connection *connection, union drbd_state os, union drbd_state ns, enum chg_state_flags flags) conn_pr_state_change() argument
912 is_valid_soft_transition(union drbd_state os, union drbd_state ns, struct drbd_connection *connection) is_valid_soft_transition() argument
1014 is_valid_transition(union drbd_state os, union drbd_state ns) is_valid_transition() argument
1052 sanitize_state(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum sanitize_state_warnings *warn) sanitize_state() argument
1266 union drbd_state os; _drbd_set_state() local
1674 lost_contact_to_peer_data(enum drbd_disk_state os, enum drbd_disk_state ns) lost_contact_to_peer_data() argument
1700 after_state_ch(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum chg_state_flags flags, struct drbd_state_change *state_change) after_state_ch() argument
2109 union drbd_dev_state os, cs = { conn_old_common_state() local
2155 union drbd_state ns, os; conn_is_valid_transition() local
2197 union drbd_state ns, os, ns_max = { }; conn_set_state() local
2290 union drbd_state ns_max, ns_min, os; _conn_request_state() local
[all...]
/kernel/linux/linux-6.6/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()
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 in cl_wide_st_chg()
467 cl_wide_st_chg(struct drbd_device *device, union drbd_state os, union drbd_state ns) cl_wide_st_chg() argument
481 apply_mask_val(union drbd_state os, union drbd_state mask, union drbd_state val) apply_mask_val() argument
520 union drbd_state os, ns; _req_st_cond() local
568 union drbd_state os, ns; drbd_req_state() local
733 print_st_err(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum drbd_state_rv err) print_st_err() argument
743 print_state_change(char *pb, union drbd_state os, union drbd_state ns, enum chg_state_flags flags) print_state_change() argument
774 drbd_pr_state_change(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum chg_state_flags flags) drbd_pr_state_change() argument
799 conn_pr_state_change(struct drbd_connection *connection, union drbd_state os, union drbd_state ns, enum chg_state_flags flags) conn_pr_state_change() argument
912 is_valid_soft_transition(union drbd_state os, union drbd_state ns, struct drbd_connection *connection) is_valid_soft_transition() argument
1014 is_valid_transition(union drbd_state os, union drbd_state ns) is_valid_transition() argument
1052 sanitize_state(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum sanitize_state_warnings *warn) sanitize_state() argument
1268 union drbd_state os; _drbd_set_state() local
1677 lost_contact_to_peer_data(enum drbd_disk_state os, enum drbd_disk_state ns) lost_contact_to_peer_data() argument
1704 after_state_ch(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum chg_state_flags flags, struct drbd_state_change *state_change) after_state_ch() argument
2114 union drbd_dev_state os, cs = { conn_old_common_state() local
2160 union drbd_state ns, os; conn_is_valid_transition() local
2202 union drbd_state ns, os, ns_max = { }; conn_set_state() local
2295 union drbd_state ns_max, ns_min, os; _conn_request_state() local
[all...]
/kernel/uniproton/
H A Dbuild.py20 import os namespace
27 UniProton_home = os.path.dirname(os.path.abspath(__file__))
55 os.environ["CPU_TYPE"] = self.cpu_type
56 os.environ["PLAM_TYPE"] = self.plam_type
57 os.environ["LIB_TYPE"] = self.lib_type
58 os.environ["COMPILE_OPTION"] = self.compile_option
59 os.environ["HCC_PATH"] = self.hcc_path
60 os.environ["UNIPROTON_PACKING_PATH"] = self.UniProton_packing_path
61 os
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dstat-display.c363 struct outstate *os = ctx; in new_line_std() local
365 os->newline = true; in new_line_std()
369 struct outstate *os) in __new_line_std_csv()
371 fputc('\n', os->fh); in __new_line_std_csv()
372 if (os->prefix) in __new_line_std_csv()
373 fputs(os->prefix, os->fh); in __new_line_std_csv()
374 aggr_printout(config, os->evsel, os->id, os in __new_line_std_csv()
368 __new_line_std_csv(struct perf_stat_config *config, struct outstate *os) __new_line_std_csv() argument
377 __new_line_std(struct outstate *os) __new_line_std() argument
382 do_new_line_std(struct perf_stat_config *config, struct outstate *os) do_new_line_std() argument
395 struct outstate *os = ctx; print_metric_std() local
420 struct outstate *os = ctx; new_line_csv() local
433 struct outstate *os = ctx; print_metric_csv() local
455 struct outstate *os = ctx; print_metric_json() local
466 struct outstate *os = ctx; new_line_json() local
489 struct outstate *os = ctx; print_metricgroup_header_csv() local
509 struct outstate *os = ctx; print_metricgroup_header_std() local
549 struct outstate *os = ctx; print_metric_only() local
573 struct outstate *os = ctx; print_metric_only_csv() local
595 struct outstate *os = ctx; print_metric_only_json() local
624 struct outstate *os = ctx; print_metric_header() local
767 printout(struct perf_stat_config *config, struct outstate *os, double uval, u64 run, u64 ena, double noise, int aggr_idx) printout() argument
955 print_counter_aggrdata(struct perf_stat_config *config, struct evsel *counter, int aggr_idx, struct outstate *os) print_counter_aggrdata() argument
1006 print_metric_begin(struct perf_stat_config *config, struct evlist *evlist, struct outstate *os, int aggr_idx) print_metric_begin() argument
1031 print_metric_end(struct perf_stat_config *config, struct outstate *os) print_metric_end() argument
1046 print_aggr(struct perf_stat_config *config, struct evlist *evlist, struct outstate *os) print_aggr() argument
1070 print_aggr_cgroup(struct perf_stat_config *config, struct evlist *evlist, struct outstate *os) print_aggr_cgroup() argument
1100 print_counter(struct perf_stat_config *config, struct evsel *counter, struct outstate *os) print_counter() argument
1114 print_no_aggr_metric(struct perf_stat_config *config, struct evlist *evlist, struct outstate *os) print_no_aggr_metric() argument
1185 struct outstate os = { print_metric_headers() local
1459 print_percore(struct perf_stat_config *config, struct evsel *counter, struct outstate *os) print_percore() argument
1507 print_cgroup_counter(struct perf_stat_config *config, struct evlist *evlist, struct outstate *os) print_cgroup_counter() argument
1535 struct outstate os = { evlist__print_counters() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py9 import os namespace
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
[all...]
/kernel/linux/linux-5.10/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 in init_fddi_driver()
[all...]
H A Dskfddi.c261 smc->os.dev = dev; in skfp_init_one()
262 smc->os.bus_type = SK_BUS_TYPE_PCI; in skfp_init_one()
263 smc->os.pdev = *pdev; in skfp_init_one()
264 smc->os.QueueSkb = MAX_TX_QUEUE_LEN; in skfp_init_one()
265 smc->os.MaxFrameSize = MAX_FRAME_SIZE; in skfp_init_one()
266 smc->os.dev = dev; in skfp_init_one()
269 smc->os.ResetRequested = FALSE; in skfp_init_one()
270 skb_queue_head_init(&smc->os.SendSkbQueue); in skfp_init_one()
295 if (smc->os.SharedMemAddr) in skfp_init_one()
296 dma_free_coherent(&pdev->dev, smc->os in skfp_init_one()
[all...]
/kernel/linux/linux-6.6/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 in init_fddi_driver()
[all...]
/kernel/linux/linux-5.10/scripts/
H A Djobserver-exec10 import os, sys, errno namespace
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)
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_bpftool_synctypes.py8 import os, sys namespace
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
[all...]
/kernel/linux/linux-6.6/Documentation/
H A Dconf.py16 import os namespace
43 # documentation root, use os.path.abspath to make it absolute, like shown here.
44 sys.path.insert(0, os.path.abspath('sphinx'))
140 if 'SPHINX_IMGMATH' in os.environ:
141 env_sphinx_imgmath = os.environ['SPHINX_IMGMATH']
281 if "DOCS_THEME" in os.environ:
282 html_theme = os.environ["DOCS_THEME"]
316 if "DOCS_CSS" in os.environ:
317 css = os.environ["DOCS_CSS"].split(" ")
443 for fn in os
[all...]
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py29 import os namespace
104 if os.path.exists(file_name):
125 if os.path.exists(file_name):
144 if os.path.exists(file_name):
159 if os.path.exists(file_name):
174 if os.path.exists('cpu.csv'):
350 if os.path.exists('cpu.csv'):
353 os.system('grep -m 1 common_cpu cpu.csv > cpu{:0>3}.csv'.format(index))
354 os.system('grep CPU_{:0>3} cpu.csv >> cpu{:0>3}.csv'.format(index, index))
359 uid = os
[all...]
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py29 import os namespace
104 if os.path.exists(file_name):
125 if os.path.exists(file_name):
144 if os.path.exists(file_name):
159 if os.path.exists(file_name):
174 if os.path.exists('cpu.csv'):
348 if os.path.exists('cpu.csv'):
351 os.system('grep -m 1 common_cpu cpu.csv > cpu{:0>3}.csv'.format(index))
352 os.system('grep CPU_{:0>3} cpu.csv >> cpu{:0>3}.csv'.format(index, index))
357 uid = os
[all...]
/kernel/linux/linux-6.6/tools/testing/kunit/
H A Dkunit_kernel.py13 import os namespace
31 ABS_TOOL_PATH = os.path.abspath(os.path.dirname(__file__))
32 QEMU_CONFIGS_DIR = os.path.join(ABS_TOOL_PATH, 'qemu_configs')
117 kernel_path = os.path.join(build_dir, self._kernel_path)
147 linux_bin = os.path.join(build_dir, 'linux')
156 return os.path.join(build_dir, KCONFIG_PATH)
159 return os.path.join(build_dir, KUNITCONFIG_PATH)
162 return os.path.join(build_dir, OLD_KUNITCONFIG_PATH)
168 if not os
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/
H A Dtdc_config_local_template.py7 import os namespace
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')
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/
H A Dtdc_config_local_template.py7 import os namespace
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')
/kernel/uniproton/build/uniproton_ci_lib/
H A Dgloble.py20 import os namespace
23 build_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
24 home_path = os.path.dirname(build_dir)
25 config_dir = os.path.join(home_path,'config.xml')
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py8 import os, sys, re namespace
154 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
245 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S))
262 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f:
266 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
272 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
273 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f:
282 filename=os.path.join(self.OUTPUT_DIR, self.SET_C)
285 os.makedirs(os
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py7 import os, sys, re namespace
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:
262 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
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
[all...]
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py24 import os namespace
69 if os.path.exists(file_name):
86 if os.path.exists(file_name):
101 if os.path.exists(file_name):
179 if os.path.exists('cpu.csv'):
180 os.remove('cpu.csv')
278 location = os.path.realpath(os.path.join(os.getcwd(), os
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/ci/
H A Dcheck-patch.py11 import os namespace
12 import os.path namespace
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_NAME"]],
29 "check-patch/%s" % os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NAME"], "HEAD"],
50 "--types", os.environ["CHECKPATCH_TYPES"],
/kernel/linux/linux-6.6/scripts/clang-tools/
H A Dgen_compile_commands.py13 import os namespace
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')
142 base, ext = os.path.splitext(obj)
175 # Use os.path.abspath() to normalize the path resolving '.' and '..' .
176 abs_path = os
[all...]
/kernel/linux/linux-5.10/scripts/clang-tools/
H A Dgen_compile_commands.py13 import os namespace
65 os.path.abspath(args.directory),
85 for dirpath, _, filenames in os.walk(directory):
88 yield os.path.join(dirpath, filename)
100 dir, base = os.path.split(path)
101 return os.path.join(dir, '.' + base + '.cmd')
148 base, ext = os.path.splitext(ko)
181 # Use os.path.abspath() to normalize the path resolving '.' and '..' .
182 abs_path = os.path.abspath(os
[all...]
/kernel/linux/linux-6.6/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, " in efct_hw_cb_link()
230 efct_hw_setup(struct efct_hw *hw, void *os, struct pci_dev *pdev) efct_hw_setup() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dstat-display.c156 struct outstate *os = ctx; in new_line_std() local
158 os->newline = true; in new_line_std()
162 struct outstate *os) in do_new_line_std()
164 fputc('\n', os->fh); in do_new_line_std()
165 fputs(os->prefix, os->fh); in do_new_line_std()
166 aggr_printout(config, os->evsel, os->id, os->nr); in do_new_line_std()
168 fprintf(os in do_new_line_std()
161 do_new_line_std(struct perf_stat_config *config, struct outstate *os) do_new_line_std() argument
176 struct outstate *os = ctx; print_metric_std() local
201 struct outstate *os = ctx; new_line_csv() local
217 struct outstate *os = ctx; print_metric_csv() local
260 struct outstate *os = ctx; print_metric_only() local
283 struct outstate *os = ctx; print_metric_only_csv() local
309 struct outstate *os = ctx; print_metric_header() local
402 struct outstate os = { printout() local
924 struct outstate os = { print_metric_headers() local
[all...]

Completed in 18 milliseconds

12345678910>>...19