/Linux-v4.19/mm/ |
D | oom_kill.c | 143 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument 145 return oc->order == -1; in is_sysrq_oom() 148 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument 150 return oc->memcg != NULL; in is_memcg_oom() 258 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument 262 enum zone_type high_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc() 266 if (is_memcg_oom(oc)) { in constrained_alloc() 267 oc->totalpages = mem_cgroup_get_max(oc->memcg) ?: 1; in constrained_alloc() 272 oc->totalpages = totalram_pages + total_swap_pages; in constrained_alloc() 277 if (!oc->zonelist) in constrained_alloc() [all …]
|
/Linux-v4.19/include/scsi/ |
D | osd_ore.h | 81 const struct ore_components *oc, unsigned i) in ore_comp_dev() argument 83 BUG_ON((i < oc->first_dev) || (oc->first_dev + oc->numdevs <= i)); in ore_comp_dev() 84 return oc->ods[i - oc->first_dev]->od; in ore_comp_dev() 88 struct ore_components *oc, unsigned i, struct osd_dev *od) in ore_comp_set_dev() argument 90 oc->ods[i - oc->first_dev]->od = od; in ore_comp_set_dev() 124 struct ore_components *oc; member
|
/Linux-v4.19/fs/exofs/ |
D | exofs.h | 77 struct ore_components oc; /* comps for the partition */ member 92 struct ore_components oc; /* inode view of the device table */ member 219 static inline void exofs_init_comps(struct ore_components *oc, in exofs_init_comps() argument 229 oc->first_dev = 0; in exofs_init_comps() 230 oc->numdevs = sbi->layout.group_width * sbi->layout.mirrors_p1 * in exofs_init_comps() 232 oc->single_comp = EC_SINGLE_COMP; in exofs_init_comps() 233 oc->comps = one_comp; in exofs_init_comps() 236 first_dev = (dev_mod * sbi->layout.mirrors_p1) % sbi->oc.numdevs; in exofs_init_comps() 237 oc->ods = &sbi->oc.ods[first_dev]; in exofs_init_comps()
|
D | super.c | 278 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in __sbi_read_stats() 333 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_sbi_write_stats() 372 struct ore_components oc; in exofs_sync_fs() local 390 exofs_init_comps(&oc, &one_comp, sbi, EXOFS_SUPER_ID); in exofs_sync_fs() 392 ret = ore_get_io_state(&sbi->layout, &oc, &ios); in exofs_sync_fs() 429 unsigned numdevs = sbi->oc.numdevs; in exofs_free_sbi() 433 struct osd_dev *od = ore_comp_dev(&sbi->oc, i); in exofs_free_sbi() 436 ore_comp_set_dev(&sbi->oc, i, NULL); in exofs_free_sbi() 440 kfree(sbi->oc.ods); in exofs_free_sbi() 467 _exofs_print_device("Unmounting", NULL, ore_comp_dev(&sbi->oc, 0), in exofs_put_super() [all …]
|
D | ore.c | 126 return ios->oc->comps[index & ios->oc->single_comp].cred; in _ios_cred() 131 return &ios->oc->comps[index & ios->oc->single_comp].obj; in _ios_obj() 137 ios->oc->first_dev, ios->oc->numdevs, index, in _ios_od() 138 ios->oc->ods); in _ios_od() 140 return ore_comp_dev(ios->oc, index); in _ios_od() 144 struct ore_components *oc, unsigned numdevs, in _ore_get_io_state() argument 235 ios->oc = oc; in _ore_get_io_state() 256 int ore_get_rw_state(struct ore_layout *layout, struct ore_components *oc, in ore_get_rw_state() argument 296 ret = _ore_get_io_state(layout, oc, numdevs, sgs_per_dev, max_par_pages, in ore_get_rw_state() 325 int ore_get_io_state(struct ore_layout *layout, struct ore_components *oc, in ore_get_io_state() argument [all …]
|
D | inode.c | 319 int ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, true, in read_exec() 635 ret = ore_get_rw_state(&pcol->sbi->layout, &oi->oc, false, in write_exec() 1004 ret = ore_truncate(&sbi->layout, &oi->oc, (u64)newsize); in _do_truncate() 1071 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); in exofs_get_inode() 1077 attrs[1].len = exofs_on_disk_inode_layout_size(sbi->oc.numdevs); in exofs_get_inode() 1078 attrs[2].len = exofs_on_disk_inode_layout_size(sbi->oc.numdevs); in exofs_get_inode() 1161 exofs_init_comps(&oi->oc, &oi->one_comp, sb->s_fs_info, in exofs_iget() 1315 exofs_init_comps(&oi->oc, &oi->one_comp, sb->s_fs_info, in exofs_new_inode() 1321 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); in exofs_new_inode() 1410 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); in exofs_update_inode() [all …]
|
D | ore_raid.h | 55 struct ore_components *oc, unsigned numdevs,
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | display.c | 320 struct omap_hwmod_opt_clk *oc; in omap_dss_reset() local 329 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset() 330 if (oc->_clk) in omap_dss_reset() 331 clk_prepare_enable(oc->_clk); in omap_dss_reset() 356 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset() 357 if (oc->_clk) in omap_dss_reset() 358 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-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bfa_cs.h | 47 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 48 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 49 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_cs.h | 195 #define bfa_sm_state_decl(oc, st, otype, etype) \ argument 196 static void oc ## _sm_ ## st(otype * fsm, etype event) 224 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 225 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 226 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | stih410-pinctrl.dtsi | 18 usb-oc-detect = <&pio35 0 ALT1 IN>; 27 usb-oc-detect = <&pio35 2 ALT1 IN>;
|
D | at91-gatwick.dts | 116 /delete-property/atmel,oc-gpio;
|
D | at91-wb45n.dtsi | 130 atmel,oc-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
|
/Linux-v4.19/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-v4.19/drivers/block/drbd/ |
D | drbd_state.c | 988 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) in is_valid_conn_transition() argument 991 if (oc == nc) in is_valid_conn_transition() 995 if (oc == C_STANDALONE && nc == C_DISCONNECTING) in is_valid_conn_transition() 999 if (oc == C_STANDALONE && nc != C_UNCONNECTED) in is_valid_conn_transition() 1004 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED) in is_valid_conn_transition() 1008 if (oc >= C_TIMEOUT && oc <= C_TEAR_DOWN && nc != C_UNCONNECTED && nc != C_DISCONNECTING) in is_valid_conn_transition() 1012 if (oc == C_DISCONNECTING && nc != C_STANDALONE) in is_valid_conn_transition() 2043 enum drbd_conns oc; member 2056 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch() local 2066 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | stat-shadow.c | 315 struct perf_evsel *counter, *leader, **metric_events, *oc; in perf_stat__collect_metric_expr() local 344 for_each_group_member (oc, leader) { in perf_stat__collect_metric_expr() 345 if (!strcasecmp(oc->name, metric_names[i])) { in perf_stat__collect_metric_expr() 353 oc = perf_stat__find_event(evsel_list, metric_names[i]); in perf_stat__collect_metric_expr() 355 if (!oc) { in perf_stat__collect_metric_expr() 376 metric_events[i] = oc; in perf_stat__collect_metric_expr() 377 oc->collect_stat = true; in perf_stat__collect_metric_expr()
|
/Linux-v4.19/include/linux/ |
D | oom.h | 104 extern bool out_of_memory(struct oom_control *oc);
|
/Linux-v4.19/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 | 291 has-inverted-stacr-oc; 320 has-inverted-stacr-oc; 349 has-inverted-stacr-oc;
|
D | klondike.dts | 187 has-inverted-stacr-oc; 217 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-v4.19/sound/soc/codecs/ |
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()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | eadm.h | 43 u8 oc:4; member
|
D | pci_clp.h | 133 u8 oc; /* operation controls */ member
|