Home
last modified time | relevance | path

Searched refs:osc_lock (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_lock.c64 struct osc_lock *ols, int force);
65 static int osc_lock_has_pages(struct osc_lock *olck);
67 int osc_lock_is_lockless(const struct osc_lock *olck) in osc_lock_is_lockless()
90 static int osc_lock_invariant(struct osc_lock *ols) in osc_lock_invariant()
146 static void osc_lock_detach(const struct lu_env *env, struct osc_lock *olck) in osc_lock_detach()
189 static int osc_lock_unhold(struct osc_lock *ols) in osc_lock_unhold()
204 struct osc_lock *ols = cl2osc_lock(slice); in osc_lock_unuse()
240 struct osc_lock *ols = cl2osc_lock(slice); in osc_lock_fini()
288 static struct osc_lock *osc_ast_data_get(struct ldlm_lock *dlm_lock) in osc_ast_data_get()
290 struct osc_lock *olck; in osc_ast_data_get()
[all …]
Dosc_cl_internal.h247 struct osc_lock { struct
463 int osc_lock_is_lockless (const struct osc_lock *olck);
569 static inline struct osc_lock *cl2osc_lock(const struct cl_lock_slice *slice) in cl2osc_lock()
572 return container_of0(slice, struct osc_lock, ols_cl); in cl2osc_lock()
575 static inline struct osc_lock *osc_lock_at(const struct cl_lock *lock) in osc_lock_at()
DMakefile3 osc_page.o osc_lock.o osc_io.o osc_quota.o osc_cache.o
Dosc_dev.c64 .ckd_size = sizeof(struct osc_lock)
Dosc_page.c140 struct osc_lock *olck;
257 struct osc_lock *olock; in osc_page_addref_lock()
278 struct osc_lock *olock; in osc_page_putref_lock()
Dosc_io.c723 struct osc_lock *olck; in osc_req_attr_set()
/linux-4.1.27/drivers/acpi/
Dpci_root.c78 static DEFINE_MUTEX(osc_lock);
243 mutex_lock(&osc_lock); in acpi_pci_osc_support()
245 mutex_unlock(&osc_lock); in acpi_pci_osc_support()
388 mutex_lock(&osc_lock); in acpi_pci_osc_control_set()
421 mutex_unlock(&osc_lock); in acpi_pci_osc_control_set()
/linux-4.1.27/drivers/mfd/
D88pm860x-core.c670 mutex_lock(&chip->osc_lock); in pm8606_osc_enable()
688 mutex_unlock(&chip->osc_lock); in pm8606_osc_enable()
695 mutex_unlock(&chip->osc_lock); in pm8606_osc_enable()
711 mutex_lock(&chip->osc_lock); in pm8606_osc_disable()
727 mutex_unlock(&chip->osc_lock); in pm8606_osc_disable()
734 mutex_unlock(&chip->osc_lock); in pm8606_osc_disable()
743 mutex_init(&chip->osc_lock); in device_osc_init()
/linux-4.1.27/include/linux/mfd/
D88pm860x.h382 struct mutex osc_lock; member