Home
last modified time | relevance | path

Searched refs:cxl_calls (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/misc/cxl/
Dbase.c18 static struct cxl_calls *cxl_calls; variable
25 static inline struct cxl_calls *cxl_calls_get(void) in cxl_calls_get()
27 struct cxl_calls *calls = NULL; in cxl_calls_get()
30 calls = rcu_dereference(cxl_calls); in cxl_calls_get()
38 static inline void cxl_calls_put(struct cxl_calls *calls) in cxl_calls_put()
40 BUG_ON(calls != cxl_calls); in cxl_calls_put()
43 module_put(cxl_calls->owner); in cxl_calls_put()
48 static inline struct cxl_calls *cxl_calls_get(void) in cxl_calls_get()
50 return cxl_calls; in cxl_calls_get()
53 static inline void cxl_calls_put(struct cxl_calls *calls) { } in cxl_calls_put()
[all …]
Dmain.c105 static struct cxl_calls cxl_calls = { variable
332 rc = register_cxl_calls(&cxl_calls); in init_cxl()
353 unregister_cxl_calls(&cxl_calls); in init_cxl()
373 unregister_cxl_calls(&cxl_calls); in exit_cxl()
Dcxl.h857 struct cxl_calls { struct
861 int register_cxl_calls(struct cxl_calls *calls); argument
862 void unregister_cxl_calls(struct cxl_calls *calls);