/linux-4.4.14/mm/ |
D | oom_kill.c | 125 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument 127 return oc->order == -1; in is_sysrq_oom() 208 static enum oom_constraint constrained_alloc(struct oom_control *oc, in constrained_alloc() argument 213 enum zone_type high_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc() 220 if (!oc->zonelist) in constrained_alloc() 227 if (oc->gfp_mask & __GFP_THISNODE) in constrained_alloc() 235 if (oc->nodemask && in constrained_alloc() 236 !nodes_subset(node_states[N_MEMORY], *oc->nodemask)) { in constrained_alloc() 238 for_each_node_mask(nid, *oc->nodemask) in constrained_alloc() 244 for_each_zone_zonelist_nodemask(zone, z, oc->zonelist, in constrained_alloc() [all …]
|
D | memcontrol.c | 1339 struct oom_control oc = { in mem_cgroup_out_of_memory() local 1363 check_panic_on_oom(&oc, CONSTRAINT_MEMCG, memcg); in mem_cgroup_out_of_memory() 1371 switch (oom_scan_process_thread(&oc, task, totalpages)) { in mem_cgroup_out_of_memory() 1409 oom_kill_process(&oc, chosen, points, totalpages, memcg, in mem_cgroup_out_of_memory()
|
D | page_alloc.c | 2706 struct oom_control oc = { in __alloc_pages_may_oom() local 2763 if (out_of_memory(&oc) || WARN_ON_ONCE(gfp_mask & __GFP_NOFAIL)) in __alloc_pages_may_oom()
|
/linux-4.4.14/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-4.4.14/fs/exofs/ |
D | exofs.h | 78 struct ore_components oc; /* comps for the partition */ member 93 struct ore_components oc; /* inode view of the device table */ member 220 static inline void exofs_init_comps(struct ore_components *oc, in exofs_init_comps() argument 230 oc->first_dev = 0; in exofs_init_comps() 231 oc->numdevs = sbi->layout.group_width * sbi->layout.mirrors_p1 * in exofs_init_comps() 233 oc->single_comp = EC_SINGLE_COMP; in exofs_init_comps() 234 oc->comps = one_comp; in exofs_init_comps() 237 first_dev = (dev_mod * sbi->layout.mirrors_p1) % sbi->oc.numdevs; in exofs_init_comps() 238 oc->ods = &sbi->oc.ods[first_dev]; in exofs_init_comps()
|
D | super.c | 274 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in __sbi_read_stats() 329 ret = ore_get_io_state(&sbi->layout, &sbi->oc, &ios); in exofs_sbi_write_stats() 368 struct ore_components oc; in exofs_sync_fs() local 386 exofs_init_comps(&oc, &one_comp, sbi, EXOFS_SUPER_ID); in exofs_sync_fs() 388 ret = ore_get_io_state(&sbi->layout, &oc, &ios); in exofs_sync_fs() 425 unsigned numdevs = sbi->oc.numdevs; in exofs_free_sbi() 429 struct osd_dev *od = ore_comp_dev(&sbi->oc, i); in exofs_free_sbi() 432 ore_comp_set_dev(&sbi->oc, i, NULL); in exofs_free_sbi() 436 kfree(sbi->oc.ods); in exofs_free_sbi() 463 _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 221 ios->oc = oc; in _ore_get_io_state() 242 int ore_get_rw_state(struct ore_layout *layout, struct ore_components *oc, in ore_get_rw_state() argument 282 ret = _ore_get_io_state(layout, oc, numdevs, sgs_per_dev, max_par_pages, in ore_get_rw_state() 311 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() 1013 ret = ore_truncate(&sbi->layout, &oi->oc, (u64)newsize); in _do_truncate() 1080 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); in exofs_get_inode() 1086 attrs[1].len = exofs_on_disk_inode_layout_size(sbi->oc.numdevs); in exofs_get_inode() 1087 attrs[2].len = exofs_on_disk_inode_layout_size(sbi->oc.numdevs); in exofs_get_inode() 1170 exofs_init_comps(&oi->oc, &oi->one_comp, sb->s_fs_info, in exofs_iget() 1323 exofs_init_comps(&oi->oc, &oi->one_comp, sb->s_fs_info, in exofs_new_inode() 1329 ret = ore_get_io_state(&sbi->layout, &oi->oc, &ios); in exofs_new_inode() 1418 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,
|
D | ore_raid.c | 328 ret = _ore_get_io_state(layout, ios->oc, in _alloc_read_4_write() 374 q = osd_request_queue(ore_comp_dev(read_ios->oc, per_dev->dev)); in _add_to_r4w()
|
/linux-4.4.14/fs/nfs/objlayout/ |
D | objio_osd.c | 67 struct ore_components oc; member 160 static void copy_single_comp(struct ore_components *oc, unsigned c, in copy_single_comp() argument 163 struct ore_comp *ocomp = &oc->comps[c]; in copy_single_comp() 191 numdevs * sizeof(lseg->oc.ods[0]) + in __alloc_objio_seg() 192 numdevs * sizeof(*lseg->oc.comps); in __alloc_objio_seg() 201 lseg->oc.numdevs = numdevs; in __alloc_objio_seg() 202 lseg->oc.single_comp = EC_MULTPLE_COMPS; in __alloc_objio_seg() 203 lseg->oc.ods = (void *)(lseg + 1); in __alloc_objio_seg() 204 lseg->oc.comps = (void *)(lseg->oc.ods + numdevs); in __alloc_objio_seg() 243 objio_seg->oc.first_dev = layout.olo_comps_index; in objio_alloc_lseg() [all …]
|
/linux-4.4.14/include/linux/ |
D | oom.h | 81 extern void oom_kill_process(struct oom_control *oc, struct task_struct *p, 85 extern void check_panic_on_oom(struct oom_control *oc, 89 extern enum oom_scan_t oom_scan_process_thread(struct oom_control *oc, 92 extern bool out_of_memory(struct oom_control *oc);
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | display.c | 523 struct omap_hwmod_opt_clk *oc; in omap_dss_reset() local 532 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset() 533 if (oc->_clk) in omap_dss_reset() 534 clk_prepare_enable(oc->_clk); in omap_dss_reset() 559 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset() 560 if (oc->_clk) in omap_dss_reset() 561 clk_disable_unprepare(oc->_clk); in omap_dss_reset()
|
D | omap_hwmod.c | 865 struct omap_hwmod_opt_clk *oc; in _init_opt_clks() local 870 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) { in _init_opt_clks() 871 c = clk_get(NULL, oc->clk); in _init_opt_clks() 874 oh->name, oc->clk); in _init_opt_clks() 878 oc->_clk = c; in _init_opt_clks() 887 clk_prepare(oc->_clk); in _init_opt_clks() 895 struct omap_hwmod_opt_clk *oc; in _enable_optional_clocks() local 900 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in _enable_optional_clocks() 901 if (oc->_clk) { in _enable_optional_clocks() 902 pr_debug("omap_hwmod: enable %s:%s\n", oc->role, in _enable_optional_clocks() [all …]
|
/linux-4.4.14/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-4.4.14/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 | stih416-pinctrl.dtsi | 153 oc-detect = <&pio40 0 ALT1 IN>; 364 oc-detect = <&pio9 4 ALT1 IN>; 563 oc-detect = <&pio18 0 ALT1 IN>; 569 oc-detect = <&pio18 2 ALT1 IN>;
|
D | kirkwood-openblocks_a6.dts | 80 pmx_usb_oc: pmx-usb-oc {
|
D | kirkwood-openblocks_a7.dts | 98 pmx_usb_oc: pmx-usb-oc {
|
D | stih407-pinctrl.dtsi | 1023 usb-oc-detect = <&pio35 4 ALT1 IN>;
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_cs.h | 227 #define bfa_sm_state_decl(oc, st, otype, etype) \ argument 228 static void oc ## _sm_ ## st(otype * fsm, etype event) 256 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument 257 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 258 static void oc ## _sm_ ## st ## _entry(otype * fsm)
|
/linux-4.4.14/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.
|
D | atmel-usb.txt | 18 - atmel,oc-gpio: If present, specifies a gpio that needs to be
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_state.c | 690 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) in is_valid_conn_transition() argument 693 if (oc == nc) in is_valid_conn_transition() 697 if (oc == C_STANDALONE && nc == C_DISCONNECTING) in is_valid_conn_transition() 701 if (oc == C_STANDALONE && nc != C_UNCONNECTED) in is_valid_conn_transition() 706 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED) in is_valid_conn_transition() 710 if (oc >= C_TIMEOUT && oc <= C_TEAR_DOWN && nc != C_UNCONNECTED && nc != C_DISCONNECTING) in is_valid_conn_transition() 714 if (oc == C_DISCONNECTING && nc != C_STANDALONE) in is_valid_conn_transition() 1570 enum drbd_conns oc; member 1582 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch() local 1590 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch() [all …]
|
D | drbd_receiver.c | 4651 enum drbd_conns oc; in conn_disconnect() local 4691 oc = connection->cstate; in conn_disconnect() 4692 if (oc >= C_UNCONNECTED) in conn_disconnect() 4697 if (oc == C_DISCONNECTING) in conn_disconnect()
|
/linux-4.4.14/drivers/s390/block/ |
D | scm_blk_cluster.c | 148 msb->oc = MSB_OC_READ; in scm_prepare_cluster_request() 174 msb->oc = MSB_OC_WRITE; in scm_prepare_cluster_request()
|
D | scm_blk.c | 199 msb->oc = (rq_data_dir(req) == READ) ? MSB_OC_READ : MSB_OC_WRITE; in scm_request_prepare()
|
/linux-4.4.14/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;
|
D | obs600.dts | 270 has-inverted-stacr-oc; 300 has-inverted-stacr-oc;
|
D | rainier.dts | 283 has-inverted-stacr-oc; 312 has-inverted-stacr-oc;
|
D | sequoia.dts | 341 has-inverted-stacr-oc; 370 has-inverted-stacr-oc;
|
D | makalu.dts | 236 has-inverted-stacr-oc; 266 has-inverted-stacr-oc;
|
D | kilauea.dts | 290 has-inverted-stacr-oc; 320 has-inverted-stacr-oc;
|
D | canyonlands.dts | 386 has-inverted-stacr-oc; 416 has-inverted-stacr-oc;
|
D | haleakala.dts | 235 has-inverted-stacr-oc;
|
D | bluestone.dts | 338 has-inverted-stacr-oc;
|
D | redwood.dts | 234 has-inverted-stacr-oc;
|
D | akebono.dts | 204 has-inverted-stacr-oc;
|
D | icon.dts | 281 has-inverted-stacr-oc;
|
D | katmai.dts | 271 has-inverted-stacr-oc;
|
/linux-4.4.14/arch/s390/include/asm/ |
D | eadm.h | 41 u8 oc:4; member
|
D | pci_clp.h | 149 u8 oc; /* operation controls */ member
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | as3722.txt | 73 voltage-in-standby, oc-pg-sd0, oc-pg-sd6,
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-as3722.c | 146 FUNCTION_GROUP(oc-pg-sd0, OC_PG_SD0), 147 FUNCTION_GROUP(oc-pg-sd6, OC_PG_SD6),
|
/linux-4.4.14/drivers/s390/cio/ |
D | chsc.h | 223 u8 oc; member
|
D | chsc.c | 1321 brinfo_area->oc = 0; /* Store-network-bridging-information list */ in chsc_pnso_brinfo()
|
/linux-4.4.14/security/selinux/ss/ |
D | services.c | 1857 struct ocontext *oc; in convert_context() local 1949 oc = args->newp->ocontexts[OCON_ISID]; in convert_context() 1950 while (oc && oc->sid[0] != SECINITSID_UNLABELED) in convert_context() 1951 oc = oc->next; in convert_context() 1953 if (!oc) { in convert_context() 1958 range = &oc->context[0].range; in convert_context()
|
/linux-4.4.14/drivers/tty/ |
D | sysrq.c | 357 struct oom_control oc = { in moom_callback() local 365 if (!out_of_memory(&oc)) in moom_callback()
|
/linux-4.4.14/sound/pci/echoaudio/ |
D | echoaudio.c | 503 int oc; in pcm_close() local 510 oc = atomic_read(&chip->opencount); in pcm_close() 511 dev_dbg(chip->card->dev, "pcm_close oc=%d cs=%d rs=%d\n", oc, in pcm_close() 513 if (oc < 2) in pcm_close() 515 if (oc == 0) in pcm_close() 517 dev_dbg(chip->card->dev, "pcm_close2 oc=%d cs=%d rs=%d\n", oc, in pcm_close()
|
/linux-4.4.14/drivers/spi/ |
D | Makefile | 55 obj-$(CONFIG_SPI_OC_TINY) += spi-oc-tiny.o
|
/linux-4.4.14/arch/s390/pci/ |
D | pci_clp.c | 214 rrb->request.oc = command; in clp_set_pci_fn()
|
/linux-4.4.14/fs/nfsd/ |
D | xdr4.h | 689 struct nfsd4_compound_state *, struct nfsd4_open_confirm *oc);
|
D | nfs4state.c | 5016 struct nfsd4_open_confirm *oc) in nfsd4_open_confirm() argument 5031 oc->oc_seqid, &oc->oc_req_stateid, in nfsd4_open_confirm() 5042 nfs4_inc_and_copy_stateid(&oc->oc_resp_stateid, &stp->st_stid); in nfsd4_open_confirm() 5045 __func__, oc->oc_seqid, STATEID_VAL(&stp->st_stid.sc_stateid)); in nfsd4_open_confirm()
|
D | nfs4xdr.c | 3319 …4_encode_open_confirm(struct nfsd4_compoundres *resp, __be32 nfserr, struct nfsd4_open_confirm *oc) in nfsd4_encode_open_confirm() argument 3324 nfserr = nfsd4_encode_stateid(xdr, &oc->oc_resp_stateid); in nfsd4_encode_open_confirm()
|
/linux-4.4.14/fs/dlm/ |
D | lock.c | 5269 int error = 0, mstype, err, oc, ou; in dlm_recover_waiters_post() local 5287 oc = is_overlap_cancel(lkb); in dlm_recover_waiters_post() 5295 dlm_dir_nodeid(r), oc, ou); in dlm_recover_waiters_post() 5311 if (oc || ou) { in dlm_recover_waiters_post() 5321 if (oc) { in dlm_recover_waiters_post() 5351 dlm_dir_nodeid(r), oc, ou); in dlm_recover_waiters_post()
|
/linux-4.4.14/Documentation/filesystems/ |
D | coda.txt | 511 44..22.. TThhee ppiiooccttll iinntteerrffaaccee 1058 44..1177.. iiooccttll
|