Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/cxl/
Dbase.c14 static struct cxl_calls *cxl_calls; variable
21 static inline struct cxl_calls *cxl_calls_get(void) in cxl_calls_get()
23 struct cxl_calls *calls = NULL; in cxl_calls_get()
26 calls = rcu_dereference(cxl_calls); in cxl_calls_get()
34 static inline void cxl_calls_put(struct cxl_calls *calls) in cxl_calls_put()
36 BUG_ON(calls != cxl_calls); in cxl_calls_put()
39 module_put(cxl_calls->owner); in cxl_calls_put()
44 static inline struct cxl_calls *cxl_calls_get(void) in cxl_calls_get()
46 return cxl_calls; in cxl_calls_get()
49 static inline void cxl_calls_put(struct cxl_calls *calls) { } in cxl_calls_put()
[all …]
Dmain.c103 static struct cxl_calls cxl_calls = { variable
333 rc = register_cxl_calls(&cxl_calls); in init_cxl()
354 unregister_cxl_calls(&cxl_calls); in init_cxl()
374 unregister_cxl_calls(&cxl_calls); in exit_cxl()
Dcxl.h855 struct cxl_calls { struct
859 int register_cxl_calls(struct cxl_calls *calls); argument
860 void unregister_cxl_calls(struct cxl_calls *calls);