Home
last modified time | relevance | path

Searched refs:oc (Results 1 – 25 of 84) sorted by relevance

1234

/linux-6.15/mm/
H A Doom_kill.c261 oc->totalpages = mem_cgroup_get_max(oc->memcg) ?: 1; in constrained_alloc()
318 if (!is_memcg_oom(oc) && !oom_cpuset_eligible(task, oc)) in oom_evaluate_task()
347 if (oc->chosen) in oom_evaluate_task()
370 mem_cgroup_scan_tasks(oc->memcg, oom_evaluate_task, oc); in select_bad_process()
391 if (!is_memcg_oom(oc) && !oom_cpuset_eligible(p, oc)) in dump_task()
431 mem_cgroup_scan_tasks(oc->memcg, dump_task, oc); in dump_tasks()
462 current->comm, oc->gfp_mask, &oc->gfp_mask, oc->order, in dump_header()
1142 if (!(oc->gfp_mask & __GFP_FS) && !is_memcg_oom(oc)) in out_of_memory()
1149 oc->constraint = constrained_alloc(oc); in out_of_memory()
1174 if (!is_sysrq_oom(oc) && !is_memcg_oom(oc)) in out_of_memory()
[all …]
/linux-6.15/fs/xfs/scrub/
H A Ddirtree_repair.c78 oc->suspect--; in xrep_dirtree_delete_all_paths()
79 oc->bad++; in xrep_dirtree_delete_all_paths()
83 oc->good--; in xrep_dirtree_delete_all_paths()
84 oc->bad++; in xrep_dirtree_delete_all_paths()
138 ASSERT(oc->suspect + oc->good == 1); in xrep_dirtree_find_surviving_path()
155 oc->bad++; in xrep_dirtree_keep_one_good_path()
164 oc->good--; in xrep_dirtree_keep_one_good_path()
165 oc->bad++; in xrep_dirtree_keep_one_good_path()
196 oc->bad++; in xrep_dirtree_keep_one_suspect_path()
229 if (oc->good + oc->suspect == 1) { in xrep_dirtree_decide_fate()
[all …]
H A Ddirtree.c861 struct xchk_dirtree_outcomes *oc) in xchk_dirtree_evaluate() argument
868 memset(oc, 0, sizeof(struct xchk_dirtree_outcomes)); in xchk_dirtree_evaluate()
880 oc->bad++; in xchk_dirtree_evaluate()
885 oc->suspect++; in xchk_dirtree_evaluate()
893 oc->good++; in xchk_dirtree_evaluate()
905 trace_xchk_dirtree_evaluate(dl, oc); in xchk_dirtree_evaluate()
913 struct xchk_dirtree_outcomes oc; in xchk_dirtree() local
980 xchk_dirtree_evaluate(dl, &oc); in xchk_dirtree()
982 if (oc.good || oc.bad || oc.suspect) in xchk_dirtree()
985 if (oc.bad || oc.good + oc.suspect != 1) in xchk_dirtree()
[all …]
H A Ddirtree.h166 struct xchk_dirtree_outcomes *oc);
/linux-6.15/arch/arm/mach-omap2/
H A Ddisplay.c373 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 Domap_hwmod.c916 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()
946 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in _enable_optional_clocks()
947 if (oc->_clk) { in _enable_optional_clocks()
950 clk_enable(oc->_clk); in _enable_optional_clocks()
961 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in _disable_optional_clocks()
962 if (oc->_clk) { in _disable_optional_clocks()
[all …]
/linux-6.15/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ibm-sbp1.dts4738 regulator-oc-protection-microamp = <410000>;
4781 regulator-oc-protection-microamp = <410000>;
4824 regulator-oc-protection-microamp = <410000>;
4867 regulator-oc-protection-microamp = <410000>;
4910 regulator-oc-protection-microamp = <410000>;
4953 regulator-oc-protection-microamp = <410000>;
4996 regulator-oc-protection-microamp = <410000>;
5039 regulator-oc-protection-microamp = <410000>;
5085 regulator-oc-protection-microamp = <410000>;
5128 regulator-oc-protection-microamp = <410000>;
[all …]
/linux-6.15/drivers/net/ethernet/brocade/bna/
H A Dbfa_cs.h67 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument
68 static void oc ## _sm_ ## st(otype * fsm, etype event); \
69 static void oc ## _sm_ ## st ## _entry(otype * fsm)
/linux-6.15/drivers/scsi/bfa/
H A Dbfa_cs.h187 #define bfa_sm_state_decl(oc, st, otype, etype) \ argument
188 static void oc ## _sm_ ## st(otype * fsm, etype event)
216 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument
217 static void oc ## _sm_ ## st(otype * fsm, etype event); \
218 static void oc ## _sm_ ## st ## _entry(otype * fsm)
/linux-6.15/arch/arm/boot/dts/st/
H A Dstih410-pinctrl.dtsi15 usb-oc-detect = <&pio35 0 ALT1 IN>;
24 usb-oc-detect = <&pio35 2 ALT1 IN>;
/linux-6.15/Documentation/devicetree/bindings/usb/
H A Dpxa-usb.txt18 - "marvell,no-oc-protection" - disable over-current protection.
19 - "marvell,oc-mode-perport" - enable per-port over-current protection.
H A Dqcom,pmic-typec.yaml68 - const: vconn-oc
163 "vconn-oc",
/linux-6.15/drivers/block/drbd/
H A Ddrbd_state.c977 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()
2039 enum drbd_conns oc; member
2052 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch() local
2298 enum drbd_conns oc = connection->cstate; in _conn_request_state() local
2304 rv = is_valid_conn_transition(oc, val.conn); in _conn_request_state()
[all …]
/linux-6.15/arch/s390/include/asm/
H A Dchsc.h60 u8 oc; member
H A Deadm.h44 u8 oc:4; member
/linux-6.15/include/linux/
H A Doom.h102 extern bool out_of_memory(struct oom_control *oc);
/linux-6.15/arch/powerpc/boot/dts/
H A Deiger.dts326 has-inverted-stacr-oc;
356 has-inverted-stacr-oc;
386 has-inverted-stacr-oc;
416 has-inverted-stacr-oc;
H A Darches.dts277 has-inverted-stacr-oc;
306 has-inverted-stacr-oc;
335 has-inverted-stacr-oc;
H A Dglacier.dts363 has-inverted-stacr-oc;
393 has-inverted-stacr-oc;
423 has-inverted-stacr-oc;
453 has-inverted-stacr-oc;
/linux-6.15/sound/soc/codecs/
H A Dak4613.c233 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()
/linux-6.15/arch/arm/boot/dts/microchip/
H A Dat91-gatwick.dts116 /delete-property/atmel,oc-gpio;
H A Dat91-wb45n.dtsi130 atmel,oc-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
/linux-6.15/drivers/thermal/tegra/
H A Dsoctherm.c1869 struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; in soctherm_oc_cfg_program() local
1871 if (oc->mode == OC_THROTTLE_MODE_DISABLED) in soctherm_oc_cfg_program()
1875 r = REG_SET_MASK(r, OC1_CFG_THROTTLE_MODE_MASK, oc->mode); in soctherm_oc_cfg_program()
1876 r = REG_SET_MASK(r, OC1_CFG_ALARM_POLARITY_MASK, oc->active_low); in soctherm_oc_cfg_program()
1879 writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt)); in soctherm_oc_cfg_program()
1880 writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt)); in soctherm_oc_cfg_program()
1881 writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt)); in soctherm_oc_cfg_program()
1882 soctherm_oc_intr_enable(ts, throt, oc->intr_en); in soctherm_oc_cfg_program()
/linux-6.15/arch/arm64/boot/dts/qcom/
H A Dpm4125.dtsi59 "vconn-oc",
/linux-6.15/arch/arm/boot/dts/rockchip/
H A Drk3288-vmarc-som.dtsi311 usb1_en_oc: usb1-en-oc {
317 usb0_en_oc: usb0-en-oc {

1234