Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c102 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.h853 struct cxl_calls { struct
857 int register_cxl_calls(struct cxl_calls *calls); argument
858 void unregister_cxl_calls(struct cxl_calls *calls);