/linux-6.12.1/mm/ |
D | oom_kill.c | 72 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument 74 return oc->memcg != NULL; in is_memcg_oom() 91 struct oom_control *oc) in oom_cpuset_eligible() argument 95 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible() 122 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible() argument 157 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument 159 return oc->order == -1; in is_sysrq_oom() 252 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument 256 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc() 260 if (is_memcg_oom(oc)) { in constrained_alloc() [all …]
|
/linux-6.12.1/fs/xfs/scrub/ |
D | dirtree_repair.c | 70 struct xchk_dirtree_outcomes *oc) in xrep_dirtree_delete_all_paths() argument 78 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() 92 ASSERT(oc->suspect == 0); in xrep_dirtree_delete_all_paths() 93 ASSERT(oc->good == 0); in xrep_dirtree_delete_all_paths() 116 struct xchk_dirtree_outcomes *oc) in xrep_dirtree_find_surviving_path() argument 138 ASSERT(oc->suspect + oc->good == 1); in xrep_dirtree_find_surviving_path() 145 struct xchk_dirtree_outcomes *oc) in xrep_dirtree_keep_one_good_path() argument [all …]
|
D | dirtree.c | 850 struct xchk_dirtree_outcomes *oc) in xchk_dirtree_evaluate() argument 857 memset(oc, 0, sizeof(struct xchk_dirtree_outcomes)); in xchk_dirtree_evaluate() 869 oc->bad++; in xchk_dirtree_evaluate() 874 oc->suspect++; in xchk_dirtree_evaluate() 882 oc->good++; in xchk_dirtree_evaluate() 894 trace_xchk_dirtree_evaluate(dl, oc); in xchk_dirtree_evaluate() 902 struct xchk_dirtree_outcomes oc; in xchk_dirtree() local 969 xchk_dirtree_evaluate(dl, &oc); in xchk_dirtree() 971 if (oc.good || oc.bad || oc.suspect) in xchk_dirtree() 974 if (oc.bad || oc.good + oc.suspect != 1) in xchk_dirtree() [all …]
|
D | dirtree.h | 176 struct xchk_dirtree_outcomes *oc);
|
/linux-6.12.1/arch/arm/mach-omap2/ |
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()
|
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() 947 if (oc->_clk) { in _enable_optional_clocks() 948 pr_debug("omap_hwmod: enable %s:%s\n", oc->role, in _enable_optional_clocks() [all …]
|
/linux-6.12.1/drivers/net/ethernet/brocade/bna/ |
D | bfa_cs.h | 67 #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.12.1/drivers/scsi/bfa/ |
D | bfa_cs.h | 187 #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.12.1/arch/arm/boot/dts/st/ |
D | stih410-pinctrl.dtsi | 15 usb-oc-detect = <&pio35 0 ALT1 IN>; 24 usb-oc-detect = <&pio35 2 ALT1 IN>;
|
/linux-6.12.1/Documentation/devicetree/bindings/usb/ |
D | pxa-usb.txt | 18 - "marvell,no-oc-protection" - disable over-current protection. 19 - "marvell,oc-mode-perport" - enable per-port over-current protection.
|
/linux-6.12.1/drivers/block/drbd/ |
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() 2039 enum drbd_conns oc; member 2052 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch() local 2062 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch() [all …]
|
/linux-6.12.1/arch/s390/include/asm/ |
D | chsc.h | 60 u8 oc; member
|
D | eadm.h | 44 u8 oc:4; member
|
D | pci_clp.h | 179 u8 oc; /* operation controls */ member
|
/linux-6.12.1/include/linux/ |
D | oom.h | 103 extern bool out_of_memory(struct oom_control *oc);
|
/linux-6.12.1/arch/powerpc/boot/dts/ |
D | eiger.dts | 326 has-inverted-stacr-oc; 356 has-inverted-stacr-oc; 386 has-inverted-stacr-oc; 416 has-inverted-stacr-oc;
|
D | arches.dts | 277 has-inverted-stacr-oc; 306 has-inverted-stacr-oc; 335 has-inverted-stacr-oc;
|
D | glacier.dts | 363 has-inverted-stacr-oc; 393 has-inverted-stacr-oc; 423 has-inverted-stacr-oc; 453 has-inverted-stacr-oc;
|
/linux-6.12.1/sound/soc/codecs/ |
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()
|
/linux-6.12.1/arch/arm/boot/dts/microchip/ |
D | at91-gatwick.dts | 116 /delete-property/atmel,oc-gpio;
|
D | at91-wb45n.dtsi | 130 atmel,oc-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
|
/linux-6.12.1/drivers/thermal/tegra/ |
D | soctherm.c | 1870 struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; in soctherm_oc_cfg_program() local 1872 if (oc->mode == OC_THROTTLE_MODE_DISABLED) in soctherm_oc_cfg_program() 1876 r = REG_SET_MASK(r, OC1_CFG_THROTTLE_MODE_MASK, oc->mode); in soctherm_oc_cfg_program() 1877 r = REG_SET_MASK(r, OC1_CFG_ALARM_POLARITY_MASK, oc->active_low); in soctherm_oc_cfg_program() 1880 writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt)); in soctherm_oc_cfg_program() 1881 writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt)); in soctherm_oc_cfg_program() 1882 writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt)); in soctherm_oc_cfg_program() 1883 soctherm_oc_intr_enable(ts, throt, oc->intr_en); in soctherm_oc_cfg_program()
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | pm4125.dtsi | 59 "vconn-oc",
|
/linux-6.12.1/arch/arm/boot/dts/rockchip/ |
D | rk3288-vmarc-som.dtsi | 311 usb1_en_oc: usb1-en-oc { 317 usb0_en_oc: usb0-en-oc {
|
/linux-6.12.1/arch/arm/boot/dts/marvell/ |
D | kirkwood-openblocks_a6.dts | 81 pmx_usb_oc: pmx-usb-oc {
|