Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/mm/
H A Doom_kill.c74 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument
76 return oc->memcg != NULL; in is_memcg_oom()
93 struct oom_control *oc) in oom_cpuset_eligible() argument
97 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible()
99 if (is_memcg_oom(oc)) in oom_cpuset_eligible()
127 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible() argument
162 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument
164 return oc->order == -1; in is_sysrq_oom()
255 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument
259 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()
[all …]
/OK3568_Linux_fs/external/xserver/os/
H A Dconnection.c616 OsCommPtr oc; in AllocNewConnection() local
619 oc = malloc(sizeof(OsCommRec)); in AllocNewConnection()
620 if (!oc) in AllocNewConnection()
622 oc->trans_conn = trans_conn; in AllocNewConnection()
623 oc->fd = fd; in AllocNewConnection()
624 oc->input = (ConnectionInputPtr) NULL; in AllocNewConnection()
625 oc->output = (ConnectionOutputPtr) NULL; in AllocNewConnection()
626 oc->auth_id = None; in AllocNewConnection()
627 oc->conn_time = conn_time; in AllocNewConnection()
628 oc->flags = 0; in AllocNewConnection()
[all …]
H A Dio.c188 OsCommPtr oc = client->osPrivate; in YieldControlNoInput() local
190 if (oc->trans_conn) in YieldControlNoInput()
191 ospoll_reset_events(server_poll, oc->fd); in YieldControlNoInput()
206 NextAvailableInput(OsCommPtr oc) in NextAvailableInput() argument
209 if (AvailableInput != oc) { in NextAvailableInput()
229 OsCommPtr oc = (OsCommPtr) client->osPrivate; in ReadRequestFromClient() local
230 ConnectionInputPtr oci = oc->input; in ReadRequestFromClient()
237 NextAvailableInput(oc); in ReadRequestFromClient()
249 oc->input = oci; in ReadRequestFromClient()
345 if (!oc->trans_conn) { in ReadRequestFromClient()
[all …]
H A Dosdep.h111 typedef int (*OsFlushFunc) (ClientPtr who, struct _osComm * oc, char *extraBuf,
137 CloseDownFileDescriptor(OsCommPtr oc);
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A Ddisplay.c381 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 Domap_hwmod.c911 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H A Dbfa_cs.h39 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument
40 static void oc ## _sm_ ## st(otype * fsm, etype event); \
41 static void oc ## _sm_ ## st ## _entry(otype * fsm)
/OK3568_Linux_fs/kernel/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)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/dhcp/files/
H A DCVE-2022-2928.patch19 if (!option_cache_allocate(&oc, MDL)) {
33 option_cache_dereference(&oc, MDL);
37 save_option(&dhcp_universe, options, oc);
38 option_cache_dereference(&oc, MDL);
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dstih410-pinctrl.dtsi15 usb-oc-detect = <&pio35 0 ALT1 IN>;
24 usb-oc-detect = <&pio35 2 ALT1 IN>;
H A Drk3288-vmarc-som.dtsi282 usb1_en_oc: usb1-en-oc {
288 usb0_en_oc: usb0-en-oc {
H A Dat91-gatwick.dts116 /delete-property/atmel,oc-gpio;
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dstih410-pinctrl.dtsi18 usb-oc-detect = <&pio35 0 ALT1 IN>;
27 usb-oc-detect = <&pio35 2 ALT1 IN>;
/OK3568_Linux_fs/kernel/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.
/OK3568_Linux_fs/kernel/drivers/block/drbd/
H A Ddrbd_state.c974 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 = acscw->oc; in w_after_conn_state_ch() local
2052 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dstat-shadow.c336 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()
/OK3568_Linux_fs/kernel/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 Dklondike.dts172 has-inverted-stacr-oc;
202 has-inverted-stacr-oc;
H A Darches.dts277 has-inverted-stacr-oc;
306 has-inverted-stacr-oc;
335 has-inverted-stacr-oc;
/OK3568_Linux_fs/u-boot/include/
H A Dsja1000.h24 u8 oc; member
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dak4613.c101 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()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dchsc.h57 u8 oc; member
H A Deadm.h43 u8 oc:4; member
/OK3568_Linux_fs/kernel/include/linux/
H A Doom.h116 extern bool out_of_memory(struct oom_control *oc);
/OK3568_Linux_fs/kernel/drivers/thermal/tegra/
H A Dsoctherm.c1911 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()

1234