Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/misc/cxl/
Dbase.c15 static struct cxl_calls *cxl_calls; variable
22 static inline struct cxl_calls *cxl_calls_get(void) in cxl_calls_get()
24 struct cxl_calls *calls = NULL; in cxl_calls_get()
27 calls = rcu_dereference(cxl_calls); in cxl_calls_get()
35 static inline void cxl_calls_put(struct cxl_calls *calls) in cxl_calls_put()
37 BUG_ON(calls != cxl_calls); in cxl_calls_put()
40 module_put(cxl_calls->owner); in cxl_calls_put()
45 static inline struct cxl_calls *cxl_calls_get(void) in cxl_calls_get()
47 return cxl_calls; in cxl_calls_get()
50 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.h856 struct cxl_calls { struct
860 int register_cxl_calls(struct cxl_calls *calls); argument
861 void unregister_cxl_calls(struct cxl_calls *calls);