/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
H A D | cl_object.c | 539 static void cl_env_init0(struct cl_env *cle, void *debug) cl_env_init0() argument 541 LASSERT(cle->ce_ref == 0); cl_env_init0() 542 LASSERT(cle->ce_magic == &cl_env_init0); cl_env_init0() 543 LASSERT(cle->ce_debug == NULL && cle->ce_owner == NULL); cl_env_init0() 545 cle->ce_ref = 1; cl_env_init0() 546 cle->ce_debug = debug; cl_env_init0() 568 struct cl_env *cle = hlist_entry(hn, struct cl_env, ce_node); cl_env_hops_obj() local 570 LASSERT(cle->ce_magic == &cl_env_init0); cl_env_hops_obj() 571 return (void *)cle; cl_env_hops_obj() 576 struct cl_env *cle = cl_env_hops_obj(hn); cl_env_hops_keycmp() local 578 LASSERT(cle->ce_owner != NULL); cl_env_hops_keycmp() 579 return (key == cle->ce_owner); cl_env_hops_keycmp() 584 struct cl_env *cle = hlist_entry(hn, struct cl_env, ce_node); cl_env_hops_noop() local 586 LASSERT(cle->ce_magic == &cl_env_init0); cl_env_hops_noop() 600 struct cl_env *cle; cl_env_fetch() local 602 cle = cfs_hash_lookup(cl_env_hash, (void *) (long) current->pid); cl_env_fetch() 603 LASSERT(ergo(cle, cle->ce_magic == &cl_env_init0)); cl_env_fetch() 604 return cle; cl_env_fetch() 607 static inline void cl_env_attach(struct cl_env *cle) cl_env_attach() argument 609 if (cle) { cl_env_attach() 612 LASSERT(cle->ce_owner == NULL); cl_env_attach() 613 cle->ce_owner = (void *) (long) current->pid; cl_env_attach() 614 rc = cfs_hash_add_unique(cl_env_hash, cle->ce_owner, cl_env_attach() 615 &cle->ce_node); cl_env_attach() 620 static inline void cl_env_do_detach(struct cl_env *cle) cl_env_do_detach() argument 624 LASSERT(cle->ce_owner == (void *) (long) current->pid); cl_env_do_detach() 625 cookie = cfs_hash_del(cl_env_hash, cle->ce_owner, cl_env_do_detach() 626 &cle->ce_node); cl_env_do_detach() 627 LASSERT(cookie == cle); cl_env_do_detach() 628 cle->ce_owner = NULL; cl_env_do_detach() 648 static inline struct cl_env *cl_env_detach(struct cl_env *cle) cl_env_detach() argument 650 if (cle == NULL) cl_env_detach() 651 cle = cl_env_fetch(); cl_env_detach() 653 if (cle && cle->ce_owner) cl_env_detach() 654 cl_env_do_detach(cle); cl_env_detach() 656 return cle; cl_env_detach() 662 struct cl_env *cle; cl_env_new() local 664 cle = kmem_cache_alloc(cl_env_kmem, GFP_NOFS | __GFP_ZERO); cl_env_new() 665 if (cle != NULL) { cl_env_new() 668 INIT_LIST_HEAD(&cle->ce_linkage); cl_env_new() 669 cle->ce_magic = &cl_env_init0; cl_env_new() 670 env = &cle->ce_lu; cl_env_new() 673 rc = lu_context_init(&cle->ce_ses, cl_env_new() 676 lu_context_enter(&cle->ce_ses); cl_env_new() 677 env->le_ses = &cle->ce_ses; cl_env_new() 678 cl_env_init0(cle, debug); cl_env_new() 683 kmem_cache_free(cl_env_kmem, cle); cl_env_new() 694 static void cl_env_fini(struct cl_env *cle) cl_env_fini() argument 697 lu_context_fini(&cle->ce_lu.le_ctx); cl_env_fini() 698 lu_context_fini(&cle->ce_ses); cl_env_fini() 699 kmem_cache_free(cl_env_kmem, cle); cl_env_fini() 710 struct cl_env *cle; cl_env_peek() local 718 cle = cl_env_fetch(); cl_env_peek() 719 if (cle != NULL) { cl_env_peek() 721 env = &cle->ce_lu; cl_env_peek() 722 *refcheck = ++cle->ce_ref; cl_env_peek() 724 CDEBUG(D_OTHER, "%d@%p\n", cle ? cle->ce_ref : 0, cle); cl_env_peek() 751 struct cl_env *cle; cl_env_get() local 753 cle = cl_env_container(env); cl_env_get() 754 cl_env_attach(cle); cl_env_get() 755 *refcheck = cle->ce_ref; cl_env_get() 756 CDEBUG(D_OTHER, "%d@%p\n", cle->ce_ref, cle); cl_env_get() 775 struct cl_env *cle; cl_env_alloc() local 777 cle = cl_env_container(env); cl_env_alloc() 778 *refcheck = cle->ce_ref; cl_env_alloc() 779 CDEBUG(D_OTHER, "%d@%p\n", cle->ce_ref, cle); cl_env_alloc() 785 static void cl_env_exit(struct cl_env *cle) cl_env_exit() argument 787 LASSERT(cle->ce_owner == NULL); cl_env_exit() 788 lu_context_exit(&cle->ce_lu.le_ctx); cl_env_exit() 789 lu_context_exit(&cle->ce_ses); cl_env_exit() 801 struct cl_env *cle; cl_env_put() local 803 cle = cl_env_container(env); cl_env_put() 805 LASSERT(cle->ce_ref > 0); cl_env_put() 806 LASSERT(ergo(refcheck != NULL, cle->ce_ref == *refcheck)); cl_env_put() 808 CDEBUG(D_OTHER, "%d@%p\n", cle->ce_ref, cle); cl_env_put() 809 if (--cle->ce_ref == 0) { cl_env_put() 811 cl_env_detach(cle); cl_env_put() 812 cle->ce_debug = NULL; cl_env_put() 813 cl_env_exit(cle); cl_env_put() 814 cl_env_fini(cle); cl_env_put() 849 struct cl_env *cle = cl_env_container(env); cl_env_implant() local 851 LASSERT(cle->ce_ref > 0); cl_env_implant() 853 cl_env_attach(cle); cl_env_implant() 855 CDEBUG(D_OTHER, "%d@%p\n", cle->ce_ref, cle); cl_env_implant() 864 struct cl_env *cle = cl_env_container(env); cl_env_unplant() local 866 LASSERT(cle->ce_ref > 1); cl_env_unplant() 868 CDEBUG(D_OTHER, "%d@%p\n", cle->ce_ref, cle); cl_env_unplant() 870 cl_env_detach(cle); cl_env_unplant()
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | mtd-orion_nand.h | 18 u8 cle; /* address line number connected to CLE */ member in struct:orion_nand_data
|
H A D | atmel.h | 33 u8 cle; /* address line number connected to CLE */ member in struct:atmel_nand_data
|
/linux-4.4.14/drivers/mtd/nand/ |
H A D | orion_nand.c | 36 offs = (1 << board->cle); orion_nand_cmd_ctrl() 106 if (!of_property_read_u32(pdev->dev.of_node, "cle", &val)) orion_nand_probe() 107 board->cle = (u8)val; orion_nand_probe() 109 board->cle = 0; orion_nand_probe()
|
H A D | nandsim.c | 361 int cle; /* command Latch Enable */ member in struct:nandsim::__anon6387 1919 if (ns->lines.ale || ns->lines.cle) { ns_nand_read_byte() 1979 if (ns->lines.ale && ns->lines.cle) { ns_nand_write_byte() 1984 if (ns->lines.cle == 1) { ns_nand_write_byte() 2128 ns->lines.cle = bitmask & NAND_CLE ? 1 : 0; ns_hwcontrol() 2187 if (ns->lines.ale || ns->lines.cle) { ns_nand_read_buf()
|
H A D | atmel_nand.c | 198 writeb(cmd, host->io_base + (1 << host->board.cle)); atmel_nand_cmd_ctrl() 1515 board->cle = val; atmel_of_init_port()
|
H A D | davinci_nand.c | 581 "ti,davinci-mask-cle", &prop)) nand_davinci_get_pdata()
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-cd.c | 1482 const struct cd_list_entry *cle = ide_cd_quirks_list; ide_cd_flags() local 1484 while (cle->id_model) { ide_cd_flags() 1485 if (strcmp(cle->id_model, (char *)&id[ATA_ID_PROD]) == 0 && ide_cd_flags() 1486 (cle->id_firmware == NULL || ide_cd_flags() 1487 strstr((char *)&id[ATA_ID_FW_REV], cle->id_firmware))) ide_cd_flags() 1488 return cle->cd_flags; ide_cd_flags() 1489 cle++; ide_cd_flags()
|
/linux-4.4.14/arch/avr32/boards/atngw100/ |
H A D | setup.c | 95 .cle = 21,
|
/linux-4.4.14/arch/avr32/boards/atstk1000/ |
H A D | atstk1002.c | 94 .cle = 21,
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
H A D | db88f5281-setup.c | 152 .cle = 0,
|
H A D | kurobox_pro-setup.c | 78 .cle = 0,
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-xway.c | 299 GRP_MUX("nand cle", EBU, pins_nand_cle), 372 "nand cle"}; 389 "nand cle", "nand rdy",
|
/linux-4.4.14/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-375.c | 115 MPP_FUNCTION(0x5, "nand", "cle")),
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
H A D | cvmx-pci-defs.h | 209 uint32_t cle:1; member in struct:cvmx_pci_cfg01::cvmx_pci_cfg01_s 237 uint32_t cle:1;
|