Searched refs:os (Results 151 - 175 of 265) sorted by relevance

1234567891011

/linux-master/drivers/iio/adc/
H A Dad7606_spi.c252 unsigned long os[3] = {1}; local
261 gpiod_set_array_value(ARRAY_SIZE(os),
262 st->gpio_os->desc, st->gpio_os->info, os); local
/linux-master/tools/perf/scripts/python/
H A Darm-cs-trace-disasm.py10 import os namespace
11 from os import path
78 dso_path = os.environ['PERF_BUILDID_DIR'] + "/" + dso_name + "/" + dso_build_id + append;
H A Dexport-to-postgresql.py15 import os namespace
262 sys.path.append(os.environ['PERF_EXEC_PATH'] + \
312 output_dir_name = os.getcwd() + "/" + dbname + "-perf-data"
313 os.mkdir(output_dir_name)
329 os.rmdir(output_dir_name)
778 os.unlink(name)
871 os.rmdir(output_dir_name)
H A Dflamegraph.py26 import os namespace
145 if os.path.isfile(self.args.template):
/linux-master/arch/powerpc/kernel/
H A Drtas.c319 .name = "ibm,os-term",
865 char *os; local
931 os = s;
932 while (*os) {
933 if (*os == '\n' || *os == '\r') {
938 if (*os == '\n' && !os[1]) {
949 if (*os == '\n') {
956 rtas_call(display_character, 1, 1, NULL, *os);
[all...]
/linux-master/arch/arm/mach-omap2/
H A Domap_hwmod.c872 struct omap_hwmod_ocp_if *os; local
876 list_for_each_entry(os, &oh->slave_ports, node) {
877 if (!os->clk)
880 c = clk_get(NULL, os->clk);
883 oh->name, os->clk);
887 os->_clk = c;
896 clk_prepare(os->_clk);
978 struct omap_hwmod_ocp_if *os; local
988 list_for_each_entry(os, &oh->slave_ports, node) {
989 if (os
1036 struct omap_hwmod_ocp_if *os; local
1121 struct omap_hwmod_ocp_if *os = NULL; local
2367 struct omap_hwmod_ocp_if *os; local
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_offload.py21 import os namespace
35 bpf_test_dir = os.path.dirname(os.path.realpath(__file__))
80 os.sys.exit(0)
89 os.sys.exit(1)
214 args = "prog load %s %s" % (os.path.join(bpf_test_dir, sample), file_name)
241 return "obj %s sec %s" % (os.path.join(path, name), sec)
316 p = os.path.join(path, f)
317 if not os.stat(p).st_mode & stat.S_IRUSR:
320 if os
[all...]
/linux-master/tools/perf/pmu-events/
H A Djevents.py9 import os namespace
461 for item in os.scandir(archpath):
470 def add_events_table_entries(item: os.DirEntry, topic: str) -> None:
595 def preprocess_one_file(parents: Sequence[str], item: os.DirEntry) -> None:
631 def process_one_file(parents: Sequence[str], item: os.DirEntry) -> None:
634 for item in os.scandir(path):
1223 if os.path.isdir(path):
1228 action: Callable[[Sequence[str], os.DirEntry], None]) -> None:
1230 for item in sorted(os.scandir(path), key=lambda e: e.name):
1277 for item in os
[all...]
/linux-master/scripts/
H A Dbpf_doc.py12 import sys, os namespace
857 script = os.path.abspath(sys.argv[0])
858 linuxRoot = os.path.dirname(os.path.dirname(script))
859 bpfh = os.path.join(linuxRoot, 'include/uapi/linux/bpf.h')
873 if (os.path.isfile(bpfh)):
/linux-master/tools/testing/selftests/hid/tests/
H A Dbase.py9 import os namespace
312 os.remove(self.rulesfile.name)
324 os.makedirs("/run/udev/rules.d", exist_ok=True)
/linux-master/tools/power/pm-graph/
H A Dsleepgraph.py55 import os namespace
317 (os.path.basename(sys.argv[0]), ' '.join(sys.argv[1:]))
325 if os.path.exists('/dev/rtc'):
326 rtc = os.readlink('/dev/rtc')
328 if os.path.exists(rtc) and os.path.exists(rtc+'/date') and \
329 os.path.exists(rtc+'/time') and os.path.exists(rtc+'/wakealarm'):
334 if os.getuid() == 0 and 'SUDO_USER' in os
[all...]
/linux-master/arch/um/drivers/
H A Dslirp_user.c11 #include <os.h>
H A Dharddog_user.c9 #include <os.h>
H A Dpty.c15 #include <os.h>
H A Ddaemon_user.c19 #include <os.h>
/linux-master/drivers/message/fusion/
H A Dmptsas.h79 struct mptsas_mapping os; /* operating system mapping*/ member in struct:mptsas_device_info
/linux-master/tools/perf/tests/
H A Dattr.py5 import os namespace
272 junk1, junk2, junk3, junk4, myarch = (os.uname())
288 ret = os.WEXITSTATUS(os.system(cmd))
/linux-master/arch/x86/um/
H A DMakefile16 mem_$(BITS).o subarch.o os-Linux/
/linux-master/tools/perf/util/
H A Dsetup.py1 from os import getenv, path
/linux-master/tools/testing/kunit/
H A Dkunit_tool_test.py16 import os namespace
33 abs_test_data_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'test_data'))
39 return os.path.join(abs_test_data_dir, path)
68 kconfig_path = os.path.join(test_tmpdir, '.config')
420 with open(os.path.join(dir, '.kunitconfig'), 'w'):
430 other = os.path.join(dir, 'otherkunitconfig')
431 with open(os.path.join(dir, '.kunitconfig'), 'w') as f:
443 other = os
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dplpks.c54 u8 os; member in struct:label_attr
226 label->attr.os = varos;
452 label = construct_label(var->component, var->os, var->name, var->namelen);
502 label = construct_label(var.component, var.os, var.name, var.namelen);
573 label = construct_label(var->component, var->os, var->name,
/linux-master/tools/testing/selftests/tpm2/
H A Dtpm2.py4 import os namespace
350 d = os.linesep.join(d)
370 flags |= os.O_NONBLOCK
394 sys.stderr.write('cmd' + os.linesep)
395 sys.stderr.write(hex_dump(cmd) + os.linesep)
396 sys.stderr.write('rsp' + os.linesep)
397 sys.stderr.write(hex_dump(rsp) + os.linesep)
/linux-master/tools/perf/
H A Dbuiltin-mem.c400 char *s, *os = NULL, *p; local
409 s = os = strdup(str);
444 free(os);
/linux-master/drivers/block/drbd/
H A Ddrbd_worker.c858 union drbd_state os, ns; local
901 os = drbd_read_state(device);
903 verify_done = (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T);
907 if (os.conn <= C_CONNECTED)
910 ns = os;
919 if (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T) {
928 if (os.conn == C_SYNC_TARGET || os
[all...]
/linux-master/arch/um/os-Linux/
H A Dmain.c17 #include <os.h>

Completed in 222 milliseconds

1234567891011