Home
last modified time | relevance | path

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

12345678910>>...55

/linux/tools/perf/util/
H A Dstat-display.c144 static const char *json_sep(struct outstate *os) in json_sep() argument
146 const char *sep = os->first ? "" : ", "; in json_sep()
148 os->first = false; in json_sep()
152 #define json_out(os, format, ...) fprintf((os)->fh, "%s" format, json_sep(os), ##__VA_ARGS__) argument
154 static void print_running_json(struct outstate *os, u64 run, u64 ena) in print_running_json() argument
160 json_out(os, "\"event-runtime\" : %" PRIu64 ", \"pcnt-running\" : %.2f", in print_running_json()
164 static void print_running(struct perf_stat_config *config, struct outstate *os, in print_running() argument
169 print_running_json(os, ru in print_running()
192 print_noise_pct_json(struct outstate * os,double pct) print_noise_pct_json() argument
198 print_noise_pct(struct perf_stat_config * config,struct outstate * os,double total,double avg,bool before_metric) print_noise_pct() argument
215 print_noise(struct perf_stat_config * config,struct outstate * os,struct evsel * evsel,double avg,bool before_metric) print_noise() argument
237 print_cgroup_json(struct outstate * os,const char * cgrp_name) print_cgroup_json() argument
242 print_cgroup(struct perf_stat_config * config,struct outstate * os,struct cgroup * cgrp) print_cgroup() argument
364 print_aggr_id_json(struct perf_stat_config * config,struct outstate * os,struct evsel * evsel,struct aggr_cpu_id id,int aggr_nr) print_aggr_id_json() argument
414 aggr_printout(struct perf_stat_config * config,struct outstate * os,struct evsel * evsel,struct aggr_cpu_id id,int aggr_nr) aggr_printout() argument
428 struct outstate *os = ctx; new_line_std() local
434 __new_line_std_csv(struct perf_stat_config * config,struct outstate * os) __new_line_std_csv() argument
442 __new_line_std(struct perf_stat_config * config,struct outstate * os) __new_line_std() argument
448 do_new_line_std(struct perf_stat_config * config,struct outstate * os) do_new_line_std() argument
460 struct outstate *os = ctx; print_metric_std() local
486 struct outstate *os = ctx; new_line_csv() local
499 struct outstate *os = ctx; print_metric_csv() local
521 struct outstate *os = ctx; print_metric_json() local
537 struct outstate *os = ctx; new_line_json() local
562 struct outstate *os = ctx; print_metricgroup_header_csv() local
582 struct outstate *os = ctx; print_metricgroup_header_std() local
599 struct outstate *os = ctx; print_metric_only() local
624 struct outstate *os = ctx; print_metric_only_csv() local
646 struct outstate *os = ctx; print_metric_only_json() local
668 struct outstate *os = ctx; print_metric_header() local
733 print_counter_value_json(struct outstate * os,struct evsel * evsel,double avg,bool ok) print_counter_value_json() argument
749 print_counter_value(struct perf_stat_config * config,struct outstate * os,struct evsel * evsel,double avg,bool ok) print_counter_value() argument
761 abs_printout(struct perf_stat_config * config,struct outstate * os,struct aggr_cpu_id id,int aggr_nr,struct evsel * evsel,double avg,bool ok) abs_printout() argument
797 printout(struct perf_stat_config * config,struct outstate * os,double uval,u64 run,u64 ena,double noise,int aggr_idx) printout() argument
953 print_counter_aggrdata(struct perf_stat_config * config,struct evsel * counter,int aggr_idx,struct outstate * os) print_counter_aggrdata() argument
1014 print_metric_begin(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os,int aggr_idx) print_metric_begin() argument
1041 print_metric_end(struct perf_stat_config * config,struct outstate * os) print_metric_end() argument
1058 print_aggr(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_aggr() argument
1082 print_aggr_cgroup(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_aggr_cgroup() argument
1111 print_counter(struct perf_stat_config * config,struct evsel * counter,struct outstate * os) print_counter() argument
1126 print_no_aggr_metric(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_no_aggr_metric() argument
1211 struct outstate os = { print_metric_headers() local
1250 prepare_timestamp(struct perf_stat_config * config,struct outstate * os,struct timespec * ts) prepare_timestamp() argument
1467 print_percore(struct perf_stat_config * config,struct evsel * counter,struct outstate * os) print_percore() argument
1515 print_cgroup_counter(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_cgroup_counter() argument
1540 struct outstate os = { evlist__print_counters() local
[all...]
/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py3 import os
18 if not os.path.exists(sysfs_root):
60 return os.path.join(self.scheme.sysfs_dir(), 'access_pattern')
64 os.path.join(self.sysfs_dir(), 'sz', 'min'), self.size[0])
68 os.path.join(self.sysfs_dir(), 'sz', 'max'), self.size[1])
71 err = write_file(os.path.join(self.sysfs_dir(), 'nr_accesses', 'min'),
75 err = write_file(os.path.join(self.sysfs_dir(), 'nr_accesses', 'max'),
80 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0])
84 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[1])
108 return os
[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/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/tools/docs/
H A Dsphinx-build-wrapper49 import os
61 SRC_DIR = os.path.dirname(os.path.realpath(__file__))
63 sys.path.insert(0, os.path.join(SRC_DIR, LIB_DIR))
108 path = os.path.expanduser(path)
111 base = os.getcwd()
115 path = os.path.join(base, path)
118 return os.path.abspath(path)
126 config = os.path.join(self.srctree, ".config")
131 if not os.path.isfile(config):
177 sphinxopts = shlex.split(os.environ.get("SPHINXOPTS", ""))
[all …]
H A Dchecktransupdate.py28 import os
49 pipe = os.popen(command)
111 pipe = os.popen(command)
122 pipe = os.popen(command)
135 if not os.path.isfile(opath):
172 script_path = os.path.dirname(os.path.abspath(__file__))
173 linux_path = os.path.join(script_path, "../..")
174 if not os.path.isdir(f"{linux_path}/Documentation/translations/{locale}"):
187 if os
[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/tools/lib/python/
H A Djobserver.py16 claim = os.read(reader, 1)
20 os.write(writer, b"+") # os.write(writer, claim)
41 import os
81 flags = os.environ.get('MAKEFLAGS', '')
100 self.reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK)
101 self.writer = os.open(path, os
[all...]
/linux/Documentation/translations/pt_BR/admin-guide/
H A Ddevices.rst17 "BLOCK LAYER" no arquivo MAINTAINERS para encontrar os mantenedores certos
27 Este documento está em domínio público. Os autores solicitam, no entanto,
29 dos autores, presumindo-se que os autores possam ser contatados sem um
57 tornar públicos, de qualquer forma, os nomes e números do seu dispositivo
69 diretório /dev. É preferível que os links simbólicos usem a mesma forma
70 (absoluta ou relativa) indicada aqui. Os links são classificados como
77 Estes links devem existir em todos os sistemas:
93 Recomenda-se que estes links existam em todos os sistemas:
105 Os nomes alternativos ``/dev/scd?``, sugeridos anteriormente para os
112 Os links a seguir podem ser estabelecidos localmente para se adequar à
[all …]
H A DREADME.rst20 Possui todos os recursos que você esperaria de um Unix moderno e completo,
62 informações sobre os problemas que podem resultar da atualização do seu
81 - Você também pode atualizar entre versões 6.x aplicando patches. Os patches
83 todos os arquivos de patch mais novos, entre no diretório de nível
90 remover os arquivos de backup (algum-nome-de-arquivo~ ou
95 Diferentemente dos patches para os kernels 6.x, os patches para os kernels
99 aplicar antes os patches 6.0.1 e 6.0.2. Da mesma forma, se você está
112 kernel. Os patches são aplicados a partir do diretório atual, mas um
126 Compilar e executar os kernels 6.x exige versões atualizadas de vários
128 Documentation/translations/pt_BR/process/changes.rst para os números de
[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 …]
/linux/Documentation/translations/pt_BR/process/
H A Dbotching-up-ioctls.rst11 Uma percepção clara que os hackers de gráficos do kernel tiveram nos últimos
20 Para evitar repetir todos os mesmos erros novamente, escrevi algumas das lições
22 delas aborda apenas tecnicalidades e não os problemas macro (big-picture), como
31 Primeiro, os pré-requisitos. Sem estes você já falhou, porque precisará
36 __s64. Use-os.
68 puder confiar que os kernels antigos rejeitarão as novas flags/modos ou
78 notará que os campos recém-adicionados no final estão sendo ignorados.
81 * Verifique todos os campos e flags não utilizados, além de todo o preenchimento
97 Hoje em dia, não temos mais nenhuma desculpa para que os drivers drm sejam pequenos
105 de limitação (clamping) de valores inteiros em geral. O exemplo usual são os
[all …]
H A Dcode-of-conduct-interpretation.rst21 incluído no kernel. Saiba que isso acontece porque todos os envolvidos
24 mais robusto de todos os tempos, e nós não queremos fazer nada que cause
38 O Código de Conduta menciona direitos e responsabilidades para os
41 Em primeiro lugar e acima de tudo, é uma expectativa razoável que os
45 para que os mantenedores lidem unilateralmente com o comportamento de
47 é de todos nós e, em última análise, o Código de Conduta documenta os
51 Os mantenedores devem estar dispostos a ajudar quando ocorrerem problemas
60 No final, "sejam gentis uns com os outros" é realmente o objetivo final
85 Embora os mantenedores sejam em geral receptivos aos novatos, sua
86 capacidade de ajudar os contribuidores a superar os obstáculos de entrada
[all …]
H A Dapplying-patches.rst30 alterações entre duas versões diferentes de uma árvore de código-fonte. Os
46 Os patches para o kernel Linux são gerados relativamente ao diretório pai que
49 Isso significa que os caminhos para os arquivos dentro do arquivo de patch
50 contêm o nome dos diretórios do código-fonte do kernel contra os quais ele foi
76 Em todos os exemplos abaixo, eu passo o arquivo (em formato não compactado) para
81 Se você quer apenas ser capaz de seguir os exemplos abaixo e não deseja
132 mas os números das linhas forem diferentes. Isso pode acontecer, por exemplo, se
136 patch geralmente ajustará os números das linhas e aplicará o patch.
150 kernel, mas apenas patches do kernel.org, e você aplica os patches na ordem
193 Isso também pode acontecer se o criador do patch inverteu os diretórios de
[all …]
H A Dmaintainer-netdev.rst23 A **netdev** é a lista de discussão para todos os assuntos do Linux relacionados
44 (*merge window*) de duas semanas, onde os mantenedores principais enviam suas
135 para revisão; os dois estados são usados alternadamente
166 Os patches são indexados pelo cabeçalho ``Message-ID`` dos e-mails que os
191 existência dele. Os mantenedores classificarão e atualizarão o estado dos
193 propósito principal de se comunicar com o bot; os comandos do bot devem ser
208 De modo geral, os patches são triados rapidamente (em menos de 48h). Mas
213 O alto volume de desenvolvimento na netdev faz com que os revisores encerrem
217 uma semana - esclareça os próximos passos e/ou envie a próxima versão.
219 Especificamente para envios de RFC, se ninguém responder em uma semana ou os
[all …]
H A Dcontribution-maturity-model.rst12 `discussão <https://lwn.net/Articles/870581/>`_ sobre os desafios na
15 parte da comunidade do Kernel Linux precisam permitir que os engenheiros atuem
18 apoiar um fluxo forte de talentos, os desenvolvedores devem ser autorizados e
19 incentivados a assumir contribuições no upstream, como revisar os patches de
31 organização, incluindo a gerência e os desenvolvedores de todos os níveis de
53 * Espera-se que os Engenheiros de Software contribuam para o Kernel Linux como
55 * Os Engenheiros de Software receberão apoio para participar de conferências
63 * Espera-se que os Engenheiros de Software revisem patches (incluindo patches
82 * O intervalo de tempo entre os kernels usados nos servidores e/ou produtos
91 * Os Engenheiros de Software são incentivados a dedicar uma parte do seu tempo
[all …]
H A D6.Followthrough.rst18 comunidade do kernel para garantir que seu código esteja de acordo com os
33 * Se você explicou bem o seu patch, os revisores entenderão o seu valor
35 não os impedirá de fazer uma pergunta fundamental: como será manter um
43 fama duradoura para aqueles que o revisaram. Portanto, os revisores podem
44 ficar ranzinzas, especialmente quando veem os mesmos erros sendo cometidos
47 de código diz respeito ao código, não às pessoas, e os revisores de código
50 * Da mesma forma, os revisores de código não estão tentando promover os
51 interesses de seus empregadores em detrimento dos seus. Os desenvolvedores
64 O que tudo isso significa é que, quando os revisores lhe enviam comentários,
86 no próprio código; isso pode ajudar os futuros revisores a evitar as dúvidas
[all …]
H A D3.Early-stage.rst31 Para os desenvolvedores de áudio, esse módulo de segurança era suficiente para
47 comunicar os requisitos dos usuários a essas pessoas é uma perda de tempo.
48 Eles são 'inteligentes' demais para ouvir os meros mortais."
52 A realidade da situação era diferente; os desenvolvedores do kernel estavam muito
64 - Quem são os usuários afetados por esse problema? Quais casos de uso a
125 evitados com alguma discussão inicial com os desenvolvedores do kernel.
128 Como encontrar os mantenedores?
131 Quando os desenvolvedores decidem tornar seus planos públicos, a próxima
140 Encontrar os mantenedores pode ser um pouco mais difícil. Novamente, o arquivo
142 sempre atualizado, e nem todos os subsistemas estão representados ali. A
[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/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/tools/net/ynl/pyynl/lib/
H A Dspecdir.py10 import os
21 script_dir = os.path.dirname(os.path.abspath(__file__))
22 schema_dir_ = os.path.abspath(f"{script_dir}/{RELATIVE_SCHEMA_DIR}")
23 if not os.path.isdir(schema_dir_):
25 if not os.path.isdir(schema_dir_):
35 if not os.path.isdir(spec_dir_):
43 if not os.path.isfile(spec):
51 for f in os.listdir(spec_dir()) if f.endswith('.yaml'))
/linux/tools/testing/kunit/
H A Dkunit_kernel.py13 import os
32 ABS_TOOL_PATH = os.path.abspath(os.path.dirname(__file__))
33 QEMU_CONFIGS_DIR = os.path.join(ABS_TOOL_PATH, 'qemu_configs')
121 kernel_path = os.path.join(build_dir, self._kernel_path)
154 linux_bin = os.path.join(build_dir, 'linux')
164 return os.path.join(build_dir, KCONFIG_PATH)
167 return os.path.join(build_dir, KUNITCONFIG_PATH)
170 return os.path.join(build_dir, OLD_KUNITCONFIG_PATH)
176 if not os
[all...]
/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 …]

12345678910>>...55