/kernel/linux/linux-5.10/mm/ |
H A D | oom_kill.c | 70 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument 72 return oc->memcg != NULL; in is_memcg_oom() 79 * @oc: pointer to struct oom_control 89 struct oom_control *oc) in oom_cpuset_eligible() 93 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible() 95 if (is_memcg_oom(oc)) in oom_cpuset_eligible() 123 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible() argument 158 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument 160 return oc->order == -1; in is_sysrq_oom() 251 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument 88 oom_cpuset_eligible(struct task_struct *start, struct oom_control *oc) oom_cpuset_eligible() argument 310 struct oom_control *oc = arg; oom_evaluate_task() local 364 select_bad_process(struct oom_control *oc) select_bad_process() argument 383 struct oom_control *oc = arg; dump_task() local 424 dump_tasks(struct oom_control *oc) dump_tasks() argument 441 dump_oom_summary(struct oom_control *oc, struct task_struct *victim) dump_oom_summary() argument 453 dump_header(struct oom_control *oc, struct task_struct *p) dump_header() argument 981 oom_kill_process(struct oom_control *oc, const char *message) oom_kill_process() argument 1029 check_panic_on_oom(struct oom_control *oc) check_panic_on_oom() argument 1073 out_of_memory(struct oom_control *oc) out_of_memory() argument [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | oom_kill.c | 71 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument 73 return oc->memcg != NULL; in is_memcg_oom() 80 * @oc: pointer to struct oom_control 90 struct oom_control *oc) in oom_cpuset_eligible() 94 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible() 121 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible() argument 156 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument 158 return oc->order == -1; in is_sysrq_oom() 251 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument 255 enum zone_type highest_zoneidx = gfp_zone(oc in constrained_alloc() 89 oom_cpuset_eligible(struct task_struct *start, struct oom_control *oc) oom_cpuset_eligible() argument 310 struct oom_control *oc = arg; oom_evaluate_task() local 364 select_bad_process(struct oom_control *oc) select_bad_process() argument 383 struct oom_control *oc = arg; dump_task() local 423 dump_tasks(struct oom_control *oc) dump_tasks() argument 440 dump_oom_summary(struct oom_control *oc, struct task_struct *victim) dump_oom_summary() argument 452 dump_header(struct oom_control *oc, struct task_struct *p) dump_header() argument 1010 oom_kill_process(struct oom_control *oc, const char *message) oom_kill_process() argument 1059 check_panic_on_oom(struct oom_control *oc) check_panic_on_oom() argument 1103 out_of_memory(struct oom_control *oc) out_of_memory() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | display.c | 381 struct omap_hwmod_opt_clk *oc; in omap_dss_reset() local 390 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset() 391 if (oc->_clk) in omap_dss_reset() 392 clk_prepare_enable(oc->_clk); in omap_dss_reset() 417 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset() 418 if (oc->_clk) in omap_dss_reset() 419 clk_disable_unprepare(oc->_clk); in omap_dss_reset()
|
H A D | omap_hwmod.c | 911 struct omap_hwmod_opt_clk *oc; in _init_opt_clks() local 916 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) { in _init_opt_clks() 917 c = clk_get(NULL, oc->clk); in _init_opt_clks() 920 oh->name, oc->clk); in _init_opt_clks() 924 oc->_clk = c; in _init_opt_clks() 933 clk_prepare(oc->_clk); in _init_opt_clks() 941 struct omap_hwmod_opt_clk *oc; in _enable_optional_clocks() local 946 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc in _enable_optional_clocks() 956 struct omap_hwmod_opt_clk *oc; _disable_optional_clocks() local [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | display.c | 373 struct omap_hwmod_opt_clk *oc; in omap_dss_reset() local 382 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset() 383 clk_prepare_enable(oc->_clk); in omap_dss_reset() 408 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset() 409 clk_disable_unprepare(oc->_clk); in omap_dss_reset()
|
H A D | omap_hwmod.c | 911 struct omap_hwmod_opt_clk *oc; in _init_opt_clks() local 916 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) { in _init_opt_clks() 917 c = clk_get(NULL, oc->clk); in _init_opt_clks() 920 oh->name, oc->clk); in _init_opt_clks() 924 oc->_clk = c; in _init_opt_clks() 933 clk_prepare(oc->_clk); in _init_opt_clks() 941 struct omap_hwmod_opt_clk *oc; in _enable_optional_clocks() local 946 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc in _enable_optional_clocks() 956 struct omap_hwmod_opt_clk *oc; _disable_optional_clocks() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cs.h | 34 /* oc - object class eg. bfa_ioc 39 #define bfa_fsm_state_decl(oc, st, otype, etype) \ 40 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 41 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_cs.h | 62 /* oc - object class eg. bfa_ioc 67 #define bfa_fsm_state_decl(oc, st, otype, etype) \ 68 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 69 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 182 * oc - object class eg. bfa_ioc 187 #define bfa_sm_state_decl(oc, st, otype, etype) \ 188 static void oc ## _sm_ ## st(otype * fsm, etype event) 211 * oc - object class eg. bfa_ioc 216 #define bfa_fsm_state_decl(oc, st, otype, etype) \ 217 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 218 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 182 * oc - object class eg. bfa_ioc 187 #define bfa_sm_state_decl(oc, st, otype, etype) \ 188 static void oc ## _sm_ ## st(otype * fsm, etype event) 211 * oc - object class eg. bfa_ioc 216 #define bfa_fsm_state_decl(oc, st, otype, etype) \ 217 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 218 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_state.c | 974 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) in is_valid_conn_transition() argument 977 if (oc == nc) in is_valid_conn_transition() 981 if (oc == C_STANDALONE && nc == C_DISCONNECTING) in is_valid_conn_transition() 985 if (oc == C_STANDALONE && nc != C_UNCONNECTED) in is_valid_conn_transition() 990 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED) in is_valid_conn_transition() 994 if (oc >= C_TIMEOUT && oc <= C_TEAR_DOWN && nc != C_UNCONNECTED && nc != C_DISCONNECTING) in is_valid_conn_transition() 998 if (oc == C_DISCONNECTING && nc != C_STANDALONE) in is_valid_conn_transition() 2029 enum drbd_conns oc; member 2042 enum drbd_conns oc in w_after_conn_state_ch() local 2289 enum drbd_conns oc = connection->cstate; _conn_request_state() local [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_state.c | 974 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) in is_valid_conn_transition() argument 977 if (oc == nc) in is_valid_conn_transition() 981 if (oc == C_STANDALONE && nc == C_DISCONNECTING) in is_valid_conn_transition() 985 if (oc == C_STANDALONE && nc != C_UNCONNECTED) in is_valid_conn_transition() 990 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED) in is_valid_conn_transition() 994 if (oc >= C_TIMEOUT && oc <= C_TEAR_DOWN && nc != C_UNCONNECTED && nc != C_DISCONNECTING) in is_valid_conn_transition() 998 if (oc == C_DISCONNECTING && nc != C_STANDALONE) in is_valid_conn_transition() 2035 enum drbd_conns oc; member 2048 enum drbd_conns oc in w_after_conn_state_ch() local 2294 enum drbd_conns oc = connection->cstate; _conn_request_state() local [all...] |
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | chsc.h | 57 u8 oc; member
|
H A D | eadm.h | 43 u8 oc:4; member
|
H A D | pci_clp.h | 174 u8 oc; /* operation controls */ member
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | chsc.h | 57 u8 oc; member
|
H A D | eadm.h | 43 u8 oc:4; member
|
H A D | pci_clp.h | 176 u8 oc; /* operation controls */ member
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | stat-shadow.c | 336 struct evsel *counter, *leader, **metric_events, *oc; in perf_stat__collect_metric_expr() local 375 for_each_group_member (oc, leader) { in perf_stat__collect_metric_expr() 376 if (!strcasecmp(oc->name, in perf_stat__collect_metric_expr() 378 !oc->collect_stat) { in perf_stat__collect_metric_expr() 386 oc = perf_stat__find_event(evsel_list, in perf_stat__collect_metric_expr() 389 if (!oc) { in perf_stat__collect_metric_expr() 411 metric_events[i++] = oc; in perf_stat__collect_metric_expr() 412 oc->collect_stat = true; in perf_stat__collect_metric_expr()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | oom.h | 103 extern bool out_of_memory(struct oom_control *oc);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | oom.h | 114 extern bool out_of_memory(struct oom_control *oc);
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | ak4613.c | 101 u8 oc; member 437 snd_soc_component_update_bits(component, OCTRL, OCTRL_MASK, priv->oc); in ak4613_dai_hw_params() 631 priv->oc |= 1 << i; in ak4613_parse_of()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | ak4613.c | 233 u8 oc; member 646 snd_soc_component_update_bits(component, OCTRL, OCTRL_MASK, priv->oc); in ak4613_dai_hw_params() 851 priv->oc |= 1 << i; in ak4613_parse_of()
|
/kernel/linux/linux-5.10/drivers/thermal/tegra/ |
H A D | soctherm.c | 1911 struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; in soctherm_oc_cfg_program() local 1913 if (oc->mode == OC_THROTTLE_MODE_DISABLED) in soctherm_oc_cfg_program() 1917 r = REG_SET_MASK(r, OC1_CFG_THROTTLE_MODE_MASK, oc->mode); in soctherm_oc_cfg_program() 1918 r = REG_SET_MASK(r, OC1_CFG_ALARM_POLARITY_MASK, oc->active_low); in soctherm_oc_cfg_program() 1921 writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt)); in soctherm_oc_cfg_program() 1922 writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt)); in soctherm_oc_cfg_program() 1923 writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt)); in soctherm_oc_cfg_program() 1924 soctherm_oc_intr_enable(ts, throt, oc->intr_en); in soctherm_oc_cfg_program()
|
/kernel/linux/linux-6.6/drivers/thermal/tegra/ |
H A D | soctherm.c | 1873 struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; in soctherm_oc_cfg_program() local 1875 if (oc->mode == OC_THROTTLE_MODE_DISABLED) in soctherm_oc_cfg_program() 1879 r = REG_SET_MASK(r, OC1_CFG_THROTTLE_MODE_MASK, oc->mode); in soctherm_oc_cfg_program() 1880 r = REG_SET_MASK(r, OC1_CFG_ALARM_POLARITY_MASK, oc->active_low); in soctherm_oc_cfg_program() 1883 writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt)); in soctherm_oc_cfg_program() 1884 writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt)); in soctherm_oc_cfg_program() 1885 writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt)); in soctherm_oc_cfg_program() 1886 soctherm_oc_intr_enable(ts, throt, oc->intr_en); in soctherm_oc_cfg_program()
|