Home
last modified time | relevance | path

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

/kernel/
Dstatic_call_inline.c33 static inline void *static_call_addr(struct static_call_site *site) in static_call_addr() argument
35 return (void *)((long)site->addr + (long)&site->addr); in static_call_addr()
38 static inline unsigned long __static_call_key(const struct static_call_site *site) in __static_call_key() argument
40 return (long)site->key + (long)&site->key; in __static_call_key()
43 static inline struct static_call_key *static_call_key(const struct static_call_site *site) in static_call_key() argument
45 return (void *)(__static_call_key(site) & ~STATIC_CALL_SITE_FLAGS); in static_call_key()
49 static inline bool static_call_is_init(struct static_call_site *site) in static_call_is_init() argument
51 return __static_call_key(site) & STATIC_CALL_SITE_INIT; in static_call_is_init()
54 static inline bool static_call_is_tail(struct static_call_site *site) in static_call_is_tail() argument
56 return __static_call_key(site) & STATIC_CALL_SITE_TAIL; in static_call_is_tail()
[all …]